1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00
guile/libguile
Gary Houston 67ec36676e * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD
wan't defined.  Don't include fd.h.

* Previously fd.h was regenerated whenever configure was run,
forcing a couple of files to be recompiled.

* fd.h.in: deleted, SET_FILE_FD_FIELD moved to ioext.c.
* configure.in: AC_DEFINE FD_SETTER instead of HAVE_FD_SETTER.
Check for _fileno as well as _file.
Don't output fd.h.
* ioext.c: don't fd.h.
* acconfig.h: remove duplicate HAVE_FD_SETTER and change the
other to FD_SETTER.

* Change the stratigy for getting information about errno
(and now signal number) values, e.g., ENOSYS, SIGKILL.  Instead of
generating lists of symbols during the build process, which will
not always work, include comprehensive lists in the distribution.
To help keep the lists up to date, the "check_signals" and
"check_errnos" make targets can be used.

* configure.in: don't check for a command to extract errno codes.
* Makefile.am: update file lists, remove errnos.list and errnos.c
targets, add cpp_err_symbols.c, cpp_sig_symbols.c, check_signals,
check_errnos targets.
(CLEANFILES): remove errnos.c and errnos.list, add
cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new
cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new
* errnos.default: deleted.
* cpp_signal.c: new file.
* cpp_errno.c: renamed from errnos_get.c.
* cpp_err_symbols, cpp_sig_symbols: new files.
* cpp_cnvt.awk: renamed from errnos_cnvt_awk.
* error.c (scm_init_error): #include cpp_err_symbols instead of
errnos.c.
* posix.c (scm_init_posix): don't intern signal symbols.  #include
cpp_sig_symbols.c.
* strop.c (scm_i_index): allow the lower bound to be equal to the
length of the string, so a null string doesn't always give an error.

* posix.h: new prototypes.
* posix.c (scm_status_exit_val, scm_status_term_sig,
scm_status_stop_sig): new functions, as in scsh.  They break down
process status values as returned by waitpid.
1997-03-29 18:42:43 +00:00
..
.cvsignore *** empty log message *** 1997-01-18 16:48:23 +00:00
__scm.h * ports.c: add SCM_PROC declarations for pt-size and pt-member. 1997-01-25 18:23:49 +00:00
_scm.h * _scm.h: Added #ifndef around definition of macros min and max. 1996-11-02 20:52:58 +00:00
acconfig.h * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
acinclude.m4 Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +00:00
aclocal.m4 * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
alist.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
alist.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
alloca.c * alloca.c: New file, needed to support the AC_FUNC_ALLOCA call in 1997-02-07 22:37:10 +00:00
append.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
append.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
appinit.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
arbiters.c * arbiters.c (scm_make_arbiter): Bugfix: Must SCM_DEFER_INTS 1997-03-09 15:29:21 +00:00
arbiters.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
async.c * posix.c (scm_uname): throw an error if uname fails instead 1997-03-15 18:10:35 +00:00
async.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
backtrace.c * snarf.h, backtrace.c: Name change SCM_GLOBAL --> SCM_VCELL. 1997-03-21 22:53:08 +00:00
backtrace.h * backtrace.c (scm_display_error_message): Made non-static, and 1996-12-10 01:41:37 +00:00
boolean.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
boolean.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
ChangeLog * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
ChangeLog-scm Renamed to ChangeLog-scm from ChangeLog.scm, so it won't interfere with 1996-11-21 16:03:02 +00:00
chars.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
chars.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
configure * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
configure.in * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
continuations.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
continuations.h * continuations.c, continuations.h, debug.c, gc.c, init.c, root.c, 1996-10-14 03:26:29 +00:00
COPYING maintainer changed: was lord, now jimb; first import 1996-07-25 22:56:11 +00:00
cpp_cnvt.awk * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
cpp_errno.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
cpp_signal.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
debug.c * debug.c: Only include `debug-hang' if GUILE_DEBUG is defined. 1997-03-08 14:43:29 +00:00
debug.h * debug.h (SCM_RESET_DEBUG_MODE): Bugfix: The old code didn't 1997-03-07 21:42:44 +00:00
DYNAMIC-LINKING *** empty log message *** 1997-01-18 11:51:03 +00:00
dynl-dl.c * dynl.c: The dynamic linking and module registration functions 1997-01-20 19:11:41 +00:00
dynl-dld.c * dynl.c: The dynamic linking and module registration functions 1997-01-20 19:11:41 +00:00
dynl-shl.c * dynl.c: The dynamic linking and module registration functions 1997-01-20 19:11:41 +00:00
dynl-vms.c Initial revision 1996-12-08 16:52:38 +00:00
dynl.c * dynl.c: The dynamic linking and module registration functions 1997-01-20 19:11:41 +00:00
dynl.h * dynl.c (scm_dynamic_func): New function to get the address of a 1997-01-18 11:40:31 +00:00
dynwind.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
dynwind.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
eq.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
eq.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
error.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
error.h * posix.c (scm_uname): throw an error if uname fails instead 1997-03-15 18:10:35 +00:00
eval.c * eval.c (safe_setjmp): Temporarily use old setjmp until someone 1997-03-16 16:45:21 +00:00
eval.h * eval.c (scm_definedp): Incompatibly changed to be a builtin 1996-11-27 13:28:38 +00:00
extchrs.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
extchrs.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
feature.c * feature.c (scm_set_program_arguments): New argument, FIRST. 1996-10-25 08:30:06 +00:00
feature.h * feature.c (scm_set_program_arguments): New argument, FIRST. 1996-10-25 08:30:06 +00:00
filesys.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
filesys.h * init.scm (index, rindex): replace versions in utilities.scm with 1997-01-18 17:51:33 +00:00
fports.c * init.scm (index, rindex): replace versions in utilities.scm with 1997-01-18 17:51:33 +00:00
fports.h * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
gc.c * * gc.c (scm_protect_object, scm_unprotect_object): New functions. 1996-12-23 04:37:03 +00:00
gc.h * gc.c (which_seg, scm_map_free_list, scm_newcell_count, 1996-11-10 20:46:11 +00:00
gdb_interface.h * gdb_interface.h (GDB_INTERFACE): Added some (void *) casts to avoid 1997-02-21 23:02:01 +00:00
gdbint.c * strports.c (scm_read_0str, scm_eval_0str): update scm_read usage. 1997-03-08 18:58:24 +00:00
gdbint.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
genio.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:28:01 +00:00
genio.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
gscm.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
gscm.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:28:01 +00:00
gsubr.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
gsubr.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
guile-snarf.in guile-snarf script once again used for creating .x files 1996-12-10 06:25:08 +00:00
hash.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
hash.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
hashtab.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
hashtab.h * hashtab.h (scm_hashx_remove_x): Renamed `delete' parameter to 1996-10-21 23:53:40 +00:00
inet_aton.c Fixed erroneous use of #ifdef 1996-12-09 20:21:47 +00:00
init.c * symbols.c (scm_sysintern0): New function. Contains the core of 1997-02-10 01:01:54 +00:00
init.h * init.c: (scm_boot_guile, scm_boot_guile_1): New, simplified 1996-10-23 02:14:52 +00:00
ioext.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
ioext.h * ioext.c, ioext.h: remove obsolete _sys_ from 9 procedure names. 1997-01-31 04:36:24 +00:00
kw.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
kw.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
libguile.h * libguile.h: Don't #include "libguile/libpath.h", contrary to Oct 1996-12-22 00:02:42 +00:00
list.c * * list.c (scm_delq_x, scm_delv_x, scm_delete_x): Delete all 1996-12-23 04:37:17 +00:00
list.h * list.h (scm_list_cdr_ref): Delete prototype; function no longer 1997-02-19 19:05:11 +00:00
load.c * strports.c (scm_read_0str, scm_eval_0str): update scm_read usage. 1997-03-08 18:58:24 +00:00
load.h * strports.c (scm_read_0str, scm_eval_0str): update scm_read usage. 1997-03-08 18:58:24 +00:00
Makefile.am * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
Makefile.in * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
mallocs.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
mallocs.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
markers.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
markers.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
mbstrings.c In some cases, the code is fine, but GCC isn't smart enough to 1996-12-18 21:42:09 +00:00
mbstrings.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
net_db.c * net_db.c (scm_gethost): don't check HAVE_GETHOSTENT, since 1997-03-22 18:24:31 +00:00
net_db.h * net_db.h (scm_init_net_db): Fix spelling from scm_init_netdb. 1996-12-23 04:37:24 +00:00
numbers.c I think the Sun compiler has chosen a perverse way to interpret 1997-01-07 23:42:35 +00:00
numbers.h * numbers.c (scm_fuck): Procedure removed; looks like old test code. 1996-12-17 21:24:03 +00:00
objprop.c * objprop.c (scm_object_property): No need to take the CDR of the 1997-01-08 01:28:01 +00:00
objprop.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
options.c * symbols.c (scm_sysintern0): New function. Contains the core of 1997-02-10 01:01:54 +00:00
options.h The following two changes (ramap.c, throw.c) are motivated by the 1997-01-30 20:25:09 +00:00
pairs.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
pairs.h * gc.c (which_seg, scm_map_free_list, scm_newcell_count, 1996-11-10 20:46:11 +00:00
ports.c * ports.h: Removed prototype for scm_ungetc_char_ready_p. 1997-03-09 15:28:50 +00:00
ports.h * ports.h: Removed prototype for scm_ungetc_char_ready_p. 1997-03-09 15:28:50 +00:00
posix.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
posix.h * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
print.c * print.c (scm_iprin1): Limit number of vector elements printed 1997-03-11 15:02:29 +00:00
print.h I think the Sun compiler has chosen a perverse way to interpret 1997-01-07 23:42:35 +00:00
procprop.c Change from Thomas Morgan: 1997-02-04 21:59:40 +00:00
procprop.h * procprop.h: Added declaration of scm_i_name. 1996-10-14 20:27:20 +00:00
procs.c * procs.c (make-cclo): New undocumented debugging procedure: Make 1997-03-08 14:45:16 +00:00
procs.h * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
ramap.c * unif.c (scm_array_set_x): Cast ICHR (obj) to char if storing in 1997-03-11 15:03:06 +00:00
ramap.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
read.c * read.c (scm_read_hash_extend): make scm_read_hash_procedures a 1997-03-11 03:57:04 +00:00
read.h * read.h (SCM_N_READ_OPTIONS): increase SCM_N_READ_OPTIONS to 4. 1997-03-10 06:49:15 +00:00
root.c * symbols.c (scm_sysintern0): New function. Contains the core of 1997-02-10 01:01:54 +00:00
root.h * symbols.c (scm_sysintern0): New function. Contains the core of 1997-02-10 01:01:54 +00:00
scmconfig.h.in * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
scmhob.h * * numbers.c (scm_integer_p): Renamed from scm_int_p; change its 1996-10-29 03:08:03 +00:00
scmsigs.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
scmsigs.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
sequences.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
sequences.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
simpos.c * simpos.c (SYSTNAME): Accept both 'unix' and '__unix' as 1997-02-04 22:00:42 +00:00
simpos.h * configure.in: add tests for figuring out whether buffered data 1996-10-28 09:44:07 +00:00
smob.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
smob.h * ports.h (SCM_PTOBNUM): Removed extraneous semicolon. 1997-01-08 01:51:14 +00:00
snarf.h * snarf.h, backtrace.c: Name change SCM_GLOBAL --> SCM_VCELL. 1997-03-21 22:53:08 +00:00
socket.c * ioext.c (scm_read_delimited_x): use RO string macros for delims. 1997-03-13 21:54:02 +00:00
socket.h * ports.c: add SCM_PROC declarations for pt-size and pt-member. 1997-01-25 18:23:49 +00:00
srcprop.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
srcprop.h * pairs.h, eval.c, gc.c, init.c, ioext.c, ports.c, ports.h, 1996-10-20 03:28:34 +00:00
stackchk.c * load.c: change s_try_load and s_try_load_path to s_primitive_load 1996-10-27 02:38:39 +00:00
stackchk.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
stacks.c Don't use GCC extensions to allocate space for debugging frames. 1996-12-19 07:55:42 +00:00
stacks.h * * stacks.c, stacks.h (scm_make_stack): Now takes arbitrary 1996-11-02 20:54:19 +00:00
stamp-h.in Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +00:00
stime.c * stime.c (scm_init_stime): Add feature "current-time". 1997-03-02 15:40:23 +00:00
stime.h * error.c, eval.c, load.c, stackchk.c: use scm_error not lgh_error. 1996-10-12 21:59:40 +00:00
strerror.c Doc fix. 1996-09-11 22:55:24 +00:00
strings.c * strings.c (scm_string scm_make_string scm_string_ref 1996-12-13 19:40:57 +00:00
strings.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
strop.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
strop.h * strop.c (scm_string_upcase_x, scm_string_downcase_x): moved from 1997-02-06 07:05:08 +00:00
strorder.c *** empty log message *** 1996-12-13 19:41:07 +00:00
strorder.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
strports.c * strports.c (scm_read_0str, scm_eval_0str): update scm_read usage. 1997-03-08 18:58:24 +00:00
strports.h * * strports.c, strports.h: Make scm_eval_0str return the value of 1996-12-13 19:41:18 +00:00
struct.c Give GCC more control flow information, so it can be sure that 1996-12-18 21:41:44 +00:00
struct.h Allocate data for structures on an eight-byte boundary, as 1996-10-15 00:10:59 +00:00
symbols.c * tags.h (SCM_ECONSP, SCM_NECONSP): Bugfix: Discriminate structs 1997-03-05 22:49:12 +00:00
symbols.h * symbols.c, symbols.h (scm_symbol_value0): New function. Can be 1997-02-26 12:08:26 +00:00
tag.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
tag.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
tags.h * tags.h, eval.c (iqq): Fixes to comments about SCM_ECONSP. 1997-03-06 00:57:11 +00:00
throw.c * throw.h: prototype for scm_exit_status. 1997-03-02 07:32:19 +00:00
throw.h * throw.h: prototype for scm_exit_status. 1997-03-02 07:32:19 +00:00
unif.c * unif.c (scm_array_set_x): Cast ICHR (obj) to char if storing in 1997-03-11 15:03:06 +00:00
unif.h * strop.c (scm_string_upcase_x, scm_string_downcase_x): moved from 1997-02-06 07:05:08 +00:00
variable.c Change from Thomas Morgan: 1997-02-04 22:21:37 +00:00
variable.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
vectors.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
vectors.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
version.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
version.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
vports.c * alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c, 1996-10-20 03:31:08 +00:00
vports.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
weaks.c * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00
weaks.h * __scm.h, alist.c, alist.h, append.c, append.h, appinit.c, 1996-10-14 01:33:50 +00:00