Commit graph

48 commits

Author SHA1 Message Date
Gary Houston
52859adfb9 * debug.c, unif.c: use scm_out_of_range instead of
wta for range errors (ASSERT still needs work).

* error.c, error.h (scm_out_of_range): new procedure.

* error.c, error.h (scm_out_of_range_key): new key.

* posix.c (scm_sync): #else was missing.

* error.c, error.h: append _key to names scm_num_overflow and
scm_system_error.

* __scm.h (SCM_SYSMISSING, SCM_NUM_OVERFLOW): use SCM_BOOL_F instead
of consing an empty list.
(SCM_SYSERROR etc.): move into error.c, make them procedures instead
of macros, saves code and string space.
error.c, fports.c, numbers.c, posix.c, ioext.c, filesys.c, socket.c,
fdsocket.c, simpos.c: change names of SCM_SYSERROR etc., to
lower case.  Rename scm_syserror_m to scm_syserror_msg.
error.h: prototypes for new procedures.
1996-09-15 06:41:31 +00:00
Gary Houston
e1724d200d * numbers.c: use SCM_NUM_OVERFLOW instead of scm_wta or ASSERT.
* error.c, error.h: setup scm_num_overflow key.

* __scm.h: SCM_NUM_OVERFLOW: macro for reporting numerical overflow.
Remove definition of SCM_OVSCM_FLOW.

* fports.c (scm_open_file): use SCM_SYSERROR_M.

* __scm.h: SCM_SYSERROR_M: new macro for system errors with an
explicit message and args.

* error.c, error.h, __scm.h: change system_error_sym to
scm_system_error.

* error.c (system_error_sym): remove leading %% from the Scheme name
"%%system-error".

* __scm.h (SCM_SYSMISSING): Redefine using lgh_error.

* boot-9.scm: remove leading %% from references to '%%system-error.
(%%handle-system-error): don't pass all the thrown arguments when
aborting, just the key and subr.
Remove the code to "Install default handlers for built-in errors."
Remove the definition of the syserror procedure.
Associate 'numerical-overflow with default handler.
1996-09-14 07:47:50 +00:00
Mikael Djurfeldt
05f9286947 *** empty log message *** 1996-09-13 13:32:46 +00:00
Mikael Djurfeldt
9a15c164c9 *** empty log message *** 1996-09-12 23:44:46 +00:00
Jim Blandy
1de1828496 . 1996-09-11 22:56:24 +00:00
Mikael Djurfeldt
7dc4b37a68 *** empty log message *** 1996-09-11 22:05:14 +00:00
Jim Blandy
d92b2b8972 *** empty log message *** 1996-09-11 20:30:27 +00:00
Jim Blandy
21dc7b4726 *** empty log message *** 1996-09-11 19:56:41 +00:00
Jim Blandy
30d14d5598 . 1996-09-10 22:01:48 +00:00
Jim Blandy
4c11c88530 . 1996-09-10 20:01:57 +00:00
Jim Blandy
07fc1e2078 . 1996-09-10 19:44:47 +00:00
Jim Blandy
35440081d7 . 1996-09-10 19:23:47 +00:00
Jim Blandy
c5d5195418 . 1996-09-10 19:09:18 +00:00
Jim Blandy
81643a3499 . 1996-09-10 02:45:38 +00:00
Jim Blandy
de15ba3ad6 . 1996-09-10 02:33:23 +00:00
Gary Houston
7cb1d4d305 * error.c (scm_error): declare scm_error_callback.
* error.h: prototype for scm_error_callback.

	* __scm.h: define lgh_error.
 	(SCM_SYSERROR): redefine using lgh_error.

	* boot-9.scm (%%handle-system-error): recognise errors thrown
	by lgh-error (fill-message etc.)
1996-09-07 20:48:45 +00:00
Gary Houston
cceac91b8b * Makefile.in (install): install scmconfig.h from the current
directory, not $(srcdir).
1996-09-06 00:26:48 +00:00
Jim Blandy
fef5d92f56 . 1996-09-05 20:20:34 +00:00
Jim Blandy
ae5d8fbb1d . 1996-09-05 19:32:48 +00:00
Jim Blandy
393ee9a851 *** empty log message *** 1996-09-05 16:53:17 +00:00
Mikael Djurfeldt
bb82c5ffb5 *** empty log message *** 1996-09-05 00:00:41 +00:00
Jim Blandy
7444090349 . 1996-09-04 07:07:43 +00:00
Jim Blandy
d35bbe1aeb *** empty log message *** 1996-09-04 06:34:50 +00:00
Jim Blandy
818a980daf *** empty log message *** 1996-09-04 06:24:25 +00:00
Jim Blandy
9e6758ee8c *** empty log message *** 1996-09-03 04:49:00 +00:00
Jim Blandy
3eee6dad76 . 1996-08-30 21:27:24 +00:00
Jim Blandy
e4ef46d43c *** empty log message *** 1996-08-30 21:15:31 +00:00
Jim Blandy
e9b367a54b *** empty log message *** 1996-08-30 04:35:06 +00:00
Jim Blandy
a585a27d24 *** empty log message *** 1996-08-30 03:36:49 +00:00
Mikael Djurfeldt
1f3f68bffe *** empty log message *** 1996-08-24 03:31:29 +00:00
Mikael Djurfeldt
1f99d12bc0 *** empty log message *** 1996-08-23 16:18:21 +00:00
Gary Houston
14a7e04c88 * configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* Makefile.in (c_files): add strerror.c.

	* strerror.c: new file from Emacs' sysdep.c.
	maybe configure should also check for sys_errlist.

	* configure.in (AC_REPLACE_FUNCS): add strerror.
1996-08-23 06:40:56 +00:00
Mikael Djurfeldt
37bac80058 *** empty log message *** 1996-08-23 04:43:24 +00:00
Mikael Djurfeldt
1efc5155a3 *** empty log message *** 1996-08-23 01:22:39 +00:00
Mikael Djurfeldt
a8959050f9 *** empty log message *** 1996-08-23 01:16:02 +00:00
Mikael Djurfeldt
5391bb635c *** empty log message *** 1996-08-22 15:37:35 +00:00
Mikael Djurfeldt
0190d6835a *** empty log message *** 1996-08-20 16:57:13 +00:00
Jim Blandy
253efac34e *** empty log message *** 1996-08-15 07:25:53 +00:00
Jim Blandy
dd447b634b . 1996-08-07 21:54:30 +00:00
Gary Houston
95b8881908 portability fixes for header inclusion etc. 1996-08-07 09:46:41 +00:00
Jim Blandy
458d621d1f . 1996-08-07 00:10:52 +00:00
Gary Houston
8b13c6b392 a few fixups to primitive functions 1996-08-04 22:32:07 +00:00
Gary Houston
2e18892a89 let fdsocket.c compile if struct linger is missing 1996-08-03 03:12:33 +00:00
Gary Houston
02b754d3a6 make C system primitives throw exceptions 1996-08-02 23:26:33 +00:00
Jim Blandy
0f1c2da66c . 1996-08-01 10:55:47 +00:00
Jim Blandy
9be2a49be1 . 1996-08-01 10:30:22 +00:00
Jim Blandy
a44a755d25 *** empty log message *** 1996-08-01 08:38:52 +00:00
Jim Blandy
0f2d19dd46 maintainer changed: was lord, now jimb; first import 1996-07-25 22:56:11 +00:00