1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

* error.c (scm_everr, scm_init_error): write now writes correct

number of characters.  Define %%system-error with SCM_SYMBOL.
This commit is contained in:
Mikael Djurfeldt 1996-08-22 15:37:57 +00:00
parent 5391bb635c
commit 043045f853

View file

@ -172,7 +172,7 @@ scm_everr (exp, env, arg, pos, s_subr)
/* No return, but just in case: */
write (2, "unhandled system error", sizeof ("unhandled system error"));
write (2, "unhandled system error", sizeof ("unhandled system error") - 1);
exit (1);
}
@ -201,8 +201,7 @@ void
scm_init_error ()
#endif
{
system_error_sym = SCM_CAR (scm_intern0 ("%%system-error"));
scm_permanent_object (system_error_sym);
SCM_SYMBOL (system_error_sym, "%%system-error");
#include "error.x"
}