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/unif.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/unif.c')
-rw-r--r-- | libguile/unif.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/unif.c b/libguile/unif.c index 3789c7280..85325d408 100644 --- a/libguile/unif.c +++ b/libguile/unif.c @@ -1487,7 +1487,7 @@ loop: switch SCM_TYP7 (v) { default: - badarg1:scm_wta (v, (char *) SCM_ARG1, FUNC_NAME); + badarg1:SCM_WTA (SCM_ARG1,v); case scm_tc7_smob: SCM_ASRTGO (SCM_ARRAYP (v), badarg1); cra = scm_ra2contig (ra, 0); @@ -1578,9 +1578,7 @@ loop: { if (remaining % sz != 0) { - scm_misc_error (FUNC_NAME, - "unexpected EOF", - SCM_EOL); + SCM_MISC_ERROR ("unexpected EOF", SCM_EOL); } ans -= remaining / sz; break; |