here; apparently it's not quite right to have const in a prototype
and then use a K&R declaration. I wonder if stuff like this will
go away if we compile with -Wrequire-prototypes, or whatever that
is...
struct stat doesn't have the st_blocks field. We take care of
that case in the code. Replace AC_STRUCT_ST_BLOCKS with its
definition, edited appropriately.
* configure: Regenerated.
* configure.in: Don't link against -lnsl or -lsocket unless we
actually need to. This causes trouble on Irix. (Thanks to Larry
Schwimmer.)
gdb_interface.h, gdbint.c, gdbint.h, gh_data.c, gh_init.c,
gh_io.c, gh_list.c, gh_predicates.c, gh_test_c.c, gh_test_repl.c,
init.c, net_db.c, options.c, options.h, ports.c, print.c, read.c,
script.h, snarf.h, srcprop.c, srcprop.h, stacks.c, stacks.h,
throw.c: Update copyright years; these files have been worked on
significantly in 1997, but only had copyright years for 1996.
Also, change name of copyright holder on some from Mikael
Djurfeldt to Free Software Foundation; he has signed papers
assigning the changes to the FSF.
Return #f on end-of-file when scanning table (i.e. when called
with no arguments). Try to catch errors, when we can.
* posix.c (scm_getgrgid, scm_getpwuid): Same.
select, since they were not used in this file.
* * filesys.c (scm_select): make the fifth parameter microseconds,
not milliseconds. let the fourth parameter be either a real value
or an integer or #f. The first, second and third arguments can
now be vectors: the type of the corresponding return set will be
the same.
(set_element, get_element): new static procedures.
* net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
Use a meaningful error message when signalling an error. For
this, scm_gethost must check h_errno rather than errno.