diff options
author | Greg J. Badros <gjb@cs.washington.edu> | 2000-01-11 23:56:47 +0000 |
---|---|---|
committer | Greg J. Badros <gjb@cs.washington.edu> | 2000-01-11 23:56:47 +0000 |
commit | 5d2d2ffca7d7e160dc7e99cab690cf512fbcfb86 (patch) | |
tree | 72e53fcebe77e9073511921aea4599c02ef1b822 /libguile/filesys.c | |
parent | 88423ab1abc7e901be9cf80989fa0bec9659dbc6 (diff) | |
download | guile-5d2d2ffca7d7e160dc7e99cab690cf512fbcfb86.tar.gz |
* dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR
where possible.
* symbols.c (scm_sysintern0): Fixed the function name in a
scm_misc_error invocation.
* print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and
use scm_return_first to ward off latent GC bug that Mikael caught.
* async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't
used before but should've been.
Diffstat (limited to 'libguile/filesys.c')
-rw-r--r-- | libguile/filesys.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c index eb93ee507..3ffbd76d2 100644 --- a/libguile/filesys.c +++ b/libguile/filesys.c @@ -529,11 +529,10 @@ An integer representing the access permission bits. { int en = errno; - scm_syserror_msg (FUNC_NAME, "~A: ~S", + SCM_SYSERROR_MSG ("~A: ~S", scm_listify (scm_makfrom0str (strerror (errno)), object, - SCM_UNDEFINED), - en); + SCM_UNDEFINED), en); } return scm_stat2scm (&stat_temp); } @@ -1179,11 +1178,10 @@ file it points to. @var{path} must be a string.") { int en = errno; - scm_syserror_msg (FUNC_NAME, "~A: ~S", + SCM_SYSERROR_MSG ("~A: ~S", scm_listify (scm_makfrom0str (strerror (errno)), str, - SCM_UNDEFINED), - en); + SCM_UNDEFINED), en); } return scm_stat2scm(&stat_temp); } |