* _scm.h: Removed #include <errno.h>.
[bpt/guile.git] / libguile / ChangeLog
index f6645b7..b402560 100644 (file)
@@ -1,3 +1,134 @@
+2001-03-10  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * _scm.h: Removed #include <errno.h>.
+
+       * error.c, net_db.c, putenv.c, stime.c: Removed declaration of
+       errno variable (can be a macro on some systems, for example when
+       using linux libc with threads).
+
+       * error.c, filesys.c, gc.c, ioext.c, iselect.c, net_db.c, ports.c,
+       posix.c, print.c, putenv.c, scmsigs.c, script.c, simpos.c, smob.c,
+       socket.c, srcprop.c, stime.c, strop.c, unif.c, vports.c: Added
+       #include <errno.h> in these 20 out of 100 files.
+       
+2001-03-10  Gary Houston  <ghouston@arglist.com>
+
+       * socket.c: add a definition of SUN_LEN (from glibc) for when it's
+       not already defined.
+
+2001-03-09  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * coop.c: Inserted #include <stdio.h>.
+
+       * iselect.c: Reinserted #include <stdio.h>.
+
+2001-03-10  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * posix.c: Replaced `#define' of __USE_XOPEN right before
+       including unistd.h with a define of _GNU_SOURCE at the very top of
+       the file.
+
+2001-03-09  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
+       continuations.c, debug-malloc.c, debug.c, dynwind.c, eq.c, eval.c,
+       feature.c, filesys.h, gc_os_dep.c, gh_data.c, gh_eval.c,
+       gh_funcs.c, gh_io.c, gh_list.c, gh_predicates.c, hash.c,
+       hashtab.c, iselect.c, keywords.c, list.c, load.c, mallocs.c,
+       net_db.c, numbers.c, objprop.c, objprop.h, options.c, pairs.c,
+       print.c, procprop.c, procs.c, properties.c, ramap.c,
+       regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c, srcprop.c,
+       stackchk.c, stacks.c, strings.c, strop.c, strorder.c, struct.c,
+       symbols.c, tag.c, threads.c, variable.c, vectors.c, weaks.c:
+       Remove #include <stdio.h>       
+       * gc.c, gdbint.c, root.c, sort.c, unif.c: Add #include <string.h>.
+
+       * procs.c (scm_make_subr_opt): Init symcell to avoid warning.
+
+2001-03-09  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * posix.c (scm_gethostname): Set initial name length to 256 for
+       Solaris.
+
+2001-03-09  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * posix.h (scm_crypt, scm_chroot, scm_getlogin, scm_cuserid),
+       (scm_getpriority, scm_setpriority, scm_getpass, scm_flock),
+       (scm_sethostname, scm_gethostname): New prototypes.
+
+       * posix.c: Added inclusion of <crypt.h>, <sys/resource.h> and
+       <sys/file.h>, if present.
+       (scm_init_posix): [PRIO_PROCESS, PRIO_PGRP, PRIO_USER, LOCK_SH,
+       LOCK_EX, LOCK_UN, LOCK_NB]: New variables.
+       (scm_crypt, scm_chroot, scm_getlogin, scm_cuserid),
+       (scm_getpriority, scm_setpriority, scm_getpass, scm_flock),
+       (scm_sethostname, scm_gethostname): New procedures.
+
+2001-03-08  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * ports.c (scm_port_column): Docstring fixes: (i) port-line arg is
+       not optional (ii) "recommend" spelling correction.
+
+2001-03-08  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * ramap.c (racp): Removed optimization which caused array copying
+       to fail if the two arrays shared storage.  Re-inserted the IVDEP
+       macros removed in the change of 2000-03-09.  (Don't really have a
+       complete grasp of what they are for, but they seem to be necessary
+       on Crays.  This needs testing!)  Thanks to Miroslav Silovic.
+
+       * hash.c (scm_string_hash): Don't downcase characters.
+
+2001-03-07  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * symbols.c (scm_symbols_prehistory): Changed symbol hash table
+       size from 277 --> 1009.
+
+       * symbols.c, symbols.h (scm_sys_symbols): New function GUILE_DEBUG
+       function.
+
+       * coop-threads.c: Fixed change of 2001-03-06.
+       
+       * validate.h: Code formatting.
+
+2001-03-07  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * Makefile.am (*.x): Add dependency on snarf.h and guile-doc-snarf.in.
+       (*.doc): Add dependency on guile-snarf.awk.in.
+
+       * guile-snarf.awk.in: Neglect spaces at the end of
+       SCM_SNARF_DOCSTRING_END.  Skip lines "# NN ..." in the
+       middle of docstrings.  (To avoid the problem with gcc-2.96.)
+
+2001-03-06  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * coop-threads.c (scm_call_with_new_thread), load.c
+       (scm_primitive_load, scm_sys_search_load_path), random.c
+       (scm_c_default_rstate), struct.c (scm_make_struct_layout,
+       scm_struct_ref, scm_struct_set_x):  Don't use SCM_ASSERT to
+       (potentially) issue a scm-misc-error or wrong-num-args error
+       message.
+
+       * load.c (scm_search_path):  Use SCM_ASSERT_TYPE to give details
+       about the expected type with the wrong-type-arg error message.
+
+       * smob.c (scm_make_smob):  Abort on misuse of smob - it indicates
+       a C level bug that can't be fixed from scheme anyway.
+
+2001-03-05  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * eval.c (scm_m_letstar): Removed check for duplicate bindings.
+       Duplicate bindings are OK in a let* since a let* is semantically
+       equivalent to a nested set of let:s.
+
+2001-03-05  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * print.c (scm_print_options): Fixed texinfo in docstring.
+
+       * net_db.c (scm_getserv, scm_getproto, scm_getnet): Return #f if
+       the underlying functions getservent, getprotoent or getnetent
+       return NULL instead of signalling an error.
+
 2001-03-04  Gary Houston  <ghouston@arglist.com>
 
        * socket.c (scm_fill_sockaddr): don't allow buffer overflows when