(distribute): Add README.libm.
[glibc.git] / ChangeLog
blob79912fcca7a3b77e0001465a4c74987a5055b150
1 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
3         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4         * tst-strtod.c (tests): Add fail case for above.
6         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
7         bootstrapping.  Produce saner error messages.
9         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
10         adjtimex.
11         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
12         asjtime.
13         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
14         syscalls that use 32-bit struct timeval.
15         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16         Update to 2.1.87 for the benefit of Alpha.
18         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
19         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
21 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
23         * nis/ypclnt.c: Give clnt handle after error checking free, change
24         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
26 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
28         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
29         __fsid_t. Reported by Gene McCulley <mcculley@iag.net>.
31 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
33         * resolv/gethnamaddr.c (addrsort): Make this function extern.
35 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
37         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
38         _dl_lookup_symbol_skip call.
40 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
42         * wctype/test_wctype.c (TEST): Fix paren nesting.
44 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
46         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
47         int value.
49 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
51         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
52         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
54         * math/math.h: Define M_* constants always as `double' and add new
55         macros M_*l which are of type `long double'.
57 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
59         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
60         starting from 0 not only from `from'.
61         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
63 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
65         * locale/programs/ld-messages.c (messages_finish): Don't skip
66         error checking when being quiet.
67         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
68         (set_class_defaults): Likewise.
69         * locale/programs/charmap.c (parse_charmap): Likewise.
70         * locale/programs/ld-collate.c (collate_finish): Likewise.
71         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
72         * locale/programs/ld-time.c (time_finish): Likewise.
73         * locale/programs/locfile.c (write_locale_data): Likewise.
75         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
76         unknown characters and empty ranges.
77         * locale/programs/ld-collate.c (collate_order_elem): When
78         processing an ellipsis properly form a linked list in the result
79         table, fix typo when allocating ordering array.
80         [PR libc/419]
82 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
84         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
86 1998-02-09  H.J. Lu  <hjl@gnu.org>
88         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
89         bind 4.9.6.
90         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
91         [PR libc/389 and 431]
93 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
95         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
97 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
99         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
100         instead of __mempcpy. Reported by OKUJI Yoshinori
101         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
103 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
105         * configure.in: Check for working msgfmt version (from GNU gettext
106         0.10 or later).
108 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
110         * configure.in: Check for a working makeinfo (3.11 or better).
111         * config.make.in: Add MAKEINFO to be substituted.
112         * manual/Makefile: Don't update info if makeinfo is too old.
114 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
116         * elf/dladdr.c: Use braces for correct logical grouping.
117         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
119 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
121         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
123 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
125         * manual/Makefile: Don't try to install the info files if makeinfo
126         is not available.
128 1998-01-26  Richard Henderson  <rth@cygnus.com>
130         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
131         kernel 2.1.82 has this fixed.
133 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
135         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
136         name to lowercase.
138         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
139         name to lowercase, add test for big enough buffer.
141 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
143         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
144         calculation.  Patch by Markus Schoder
145         <Markus.Schoder@dresdner-bank.de>.
147 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
149         * manual/errno.texi (Error Messages): Correct description of
150         strerror_r. Pointed out by jonas@bagge.se.
152 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
154         * db/makedb.c (main): Add output_name to error message.
156         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>. Patch
157         by Thorsten Kukuk.
159         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
160         last patch. Patch by Thorsten Kukuk.
162         * nss/getXXent_r.c: Include <errno.h>
164         * nss/getXXbyYY_r.c: Include <errno.h>.
166 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
168         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
169         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
170         * wctype/wctype.c: Likewise.
171         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
172         changed.  They are incompatible with the _ISxxx values from
173         <ctype.h> on little endian machines.
174         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
175         bit number.  This fixes the real bug and restores the integrity of
176         the LC_CTYPE locale file.
177         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
178         * wctype/wcfuncs_l.c: Likewise.
179         * wctype/wcextra.c: Likewise.
180         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
181         byte swapping.
182         [PR libc/405]
184 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
186         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
187         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
188         Reported by Craig Metz <cmetz@inner.net>.
190         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
192         * signal/signal.h: Always define sigset_t if __need_sigset_h is
193         defined.
195 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
197         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
198         Patch by Dean Gaudet <dgaudet@arctic.org>.
200 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
202         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
203         with hidden variable name.
204         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
206 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
208         * nss/getXXent_r.c: Include <errno.h>
210         * nss/getXXbyYY_r.c: Include <errno.h>.
212 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
214         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
215         is too small.
216         * nss/getXXent_r.c: Likewise.
218 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
220         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
222 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
224         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
225         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
226         [PR libc/441]
228         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
229         occurence in cache. Reported by Rudolf Leitgeb
230         <leitgeb@leland.stanford.edu>.
231         [PR libc/440]
233         * nss/nss_files/files-service.c: Undo last change.
235 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
237         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
238         [PR libc/410]
240 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
242         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
243         zero in alternate form with precision of zero, which must produce
244         "0".  Add braces to avoid ambiguous `else'.
246 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
248         * locale/programs/charset.c (insert_char): Correctly insert value
249         of eliipsis expression.
251 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
253         * stdlib/strfmon.c: Fix numerous bugs in formatting.
255 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
257         * string/strsignal.c: Regard signal number NSIG as illegal.
258         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
259         members.
261 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
263         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
264         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
266 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
268         * nis/ypclnt.c: Try at first to use the binding file from ypbind
269         before using RPC.
271 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
273         * manual/memory.texi (Heap Consistency Checking): mcheck is
274         declared in <mcheck.h>.
275         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
277         * malloc/Makefile (headers): Add mcheck.h.
278         (distribute): Remove mcheck.h.
280 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
282         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
283         beginning of haystack.
285 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
287         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
289 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
291         * login/utmp_file.c (pututline_file): Don't always report success
292         if similar entry is found.  Patch by Mark M. Kettenis.
294 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
296         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
297         kernel's network ioctls, rather than using <linux/sockios.h> to
298         get them.  This way we are sure of maintaining compatibility if
299         the kernel interface should change.
301 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
303         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
305 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
307         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
310 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
312         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
314 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
316         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
317         really kept as a variable.  Patch by Richard Henderson,
318         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
320 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
322         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
323         by uch@nop.or.jp. [PR libc/437]
325 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
327         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
328         prevent use of kernel headers.
329         Patch by Richard Henderson.
331 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
333         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
334         overflow while reading line with fgets.
335         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
337 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
339         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
340         unsigned short, not short.
341         Reported by Andreas Jaeger.
343 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
345         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
346         reading line with fgets.
347         * nis/nss_compat/compat-pwd.c: Likewise.
348         * nis/nss_compat/compat-spwd.c: Likewise.
349         * nss/nss_files/files-XXX.c: Likewise.
350         * nss/nss_files/files-alias.c: Likewise.
351         * shadow/fgetspent_r.c: Likewise.
353 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
355         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
356         Patch by Ulrich Drepper. [PR libc/413]
358 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
360         * nss/db-Makefile: Handle empty and comment lines better.
361         ($(VAR_DB)/services.db): Generate entries with missing protocol
362         value.
364 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
366         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
367         exit of loop.
369 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
371         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
372         (getservbyname): Allow proto == NULL.
373         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
374         [PR libc/430].
376         * string/strerror_r.c (__strerror_r): Fix description of
377         function.
378         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
379         unknown error in presense of small buffer.
380         * sysdeps/generic/_strerror.c: Likewise.
381         Pointed out by Jonas Bagge <jonas@bagge.se>.
383 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
385         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
386         instead of strcasecmp.
387         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
389 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
391         * locale/langinfo.h: Add defines.
392         * dirent/dirent.h: Add defines for DT_*.
394         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
395         _PC_VDISABLE.
396         Suggested by Roland McGrath.
398 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
400         * sysdeps/alpha/w_sqrt.S: Removed.
401         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
402         and build a version that is as fast as possible given the constraint.
403         [PR libc/423].
405 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
407         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
408         handling of enlarging buffers (clear errno).
409         * sunrpc/clnt_simp.c (callrpc): Likewise.
410         * sunrpc/getrpcport.c (getrpcport): Likewise.
411         * sunrpc/clnt_gen.c (clnt_create): Likewise.
412         * shadow/fgetspent.c (fgetspent): Likewise.
413         * shadow/sgetspent.c (sgetspent): Likewise.
414         * pwd/fgetpwent.c (fgetpwent): Likewise.
415         * nss/getXXent.c (GETFUNC_NAME): Likewise.
416         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
417         * inet/rexec.c (rexec): Likewise.
418         * inet/rcmd.c (rcmd): Likewise.
419         (ruserok): Likewise.
420         (__icheckhost): Likewise.
421         * grp/initgroups.c (initgroups): Likewise
422         * grp/fgetgrent.c (fgetgrent): Likewise.
423         Based on patches by Cristian Gafton <gafton@redhat.com>.
425 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
427         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
428         * nss/getXXent_r.c: Likewise.
429         Patches by Cristian Gafton <gafton@redhat.com>.
431 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
433         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
434         terminating null in key size.
436 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
438         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
439         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
440         [PR libc/417].
442         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
443         by Jochen Voss <voss@mathematik.uni-kl.de>.
444         [PR libc/415].
446         * manual/time.texi (Priority): Correct description of
447         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
448         [PR libc/416].
450         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
452 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
454         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
456 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
458         * nss/nss_files/files-service.c: Fix allocation size to include
459         length of PROTO.
461         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
462         applicable.  Fix return value and error checking.
463         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
464         unparsable lines.
465         (DB_LOOKUP): Allocate space for terminating null byte.
466         [PR libc/404]
468         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
469         uids specially.
471         * db2/makedb.c (process_input): Continue processing if a duplicate
472         key is encountered.
474 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
476         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
477         lookups ignoring case.
478         * nss/nss_files/files-network.c: Do network lookups ignoring
479         case.
480         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
481         case.
482         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
483         case insensitive comparing.
484         Patches by Cristian Gafton <gafton@redhat.com>.
486         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
487         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
488         <gafton@redhat.com>.
490 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
492         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
493         by Roland McGrath. [PR libc/395]
495 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
497         * manual/arith.texi (Parsing of Integers): Correct description of
498         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
499         [PR libc/396]
501 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
503         * signals.c (sigwait): Correct loop initilization and end
504         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
506 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
508         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
509         cancelable socket functions as __libc_xxx with __xxx as weak
510         alias.
512         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
513         redefined.
514         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
516         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
517         and __xxx a weak alias.
518         * sysdeps/unix/sysv/linux/connect.S: Likewise.
519         * sysdeps/unix/sysv/linux/recv.S: Likewise.
520         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
521         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
522         * sysdeps/unix/sysv/linux/send.S: Likewise.
523         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
524         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
525         [PR libc/391]
527 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
529         * configure.in: Fix --enable-add-ons code.
531 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
533         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
534         Patch by David Engel <david@sw.ods.com>.
536         * configure.in: Fix another typo in --enable-add-ons code.
538 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
540         * misc/lsearch.c (lsearch): Return a pointer to the new element
541         if one was "allocated".
543 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
545         * string/strsignal.c: Don't zap the last character of the "Unknown
546         signal" message.
548 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
550         * libio/iofgets.c (_IO_fgets): Return an error only if there
551         is a new error.
552         * libio/iogets.c (_IO_gets): Ditto.
554 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
556         * nss/nss_files/files-network.c: Correct order of parameters for
557         getnetbyaddr.
558         (LINE_PARSER): Set n_addrtype to AF_INET.
560 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
562         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
563         and JMP_SLOT see the relocation addend.
565 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
567         * version.h (RELEASE): Set to "production".
569         * po/nl.po: Updated.
570         * po/es.po: Updated.
572         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
574 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
576         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
577         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
579 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
581         * configure.in: Fix typo.  Correct check for available add-ons.
583         * limits.h: Always define MB_LEN_MAX.
585         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
586         * nis/nss_nis/nis-grp.c: Likewise.
587         * nis/nss_nis/nis-hosts.c: Likewise.
588         * nis/nss_nis/nis-network.c: Likewise.
589         * nis/nss_nis/nis-proto.c: Likewise.
590         * nis/nss_nis/nis-pwd.c: Likewise.
591         * nis/nss_nis/nis-rpc.c: Likewise.
592         * nis/nss_nis/nis-service.c: Likewise.
593         * nis/nss_nis/nis-spwd.c: Likewise.
595         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
596         directly.
598         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
600         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
602 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
604         * posix/sched.h: timespec is in <time.h>.
606         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
608 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
610         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
611         Define STREAM_MAX using FOPEN_MAX.
613         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
614         Define as size_t.
615         * locale/programs/locale.c: Use correct cast from pointer value.
617         * misc/regexp.h (compile): Use parameter names without __.
619         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
620         instead of strcpy for security reasons.
621         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
622         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
623         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
624         * sunrpc/clnt_simp.c (callrpc): Likewise.
626         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
627         for map_v4v6_hostent call.
629         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
630         __need_FOPEN_MAX.
631         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
632         __need_FOPEN_MAX.
633         * sysdeps/stub/stdio_lim.h: Likewise.
635         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
636         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
637         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
638         msg_lspid and msg_lrpid field.
639         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
640         shm_lpid field.
642 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
644         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
646 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
648         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
650 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
652         * elf/rtld.c: Don't count in multiply reference object in number
653         of preloaded objects.  [PR libc/375].
655         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
656         shifted correctly.
657         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
658         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
659         Reported by Richard Henderson.
661 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
663         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
664         return code for non existent +name entries.
665         * nis/nss_compat/compat-pwd.c: Likewise.
666         * nis/nss_compat/compat-spwd.c: Likewise.
668 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
670         * posix/glob.c: Update from glibc 2.1.
671         * posix/glob.h: Likewise.
673 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
675         * stdlib/exit.c (exit): Handle recursive calls to exit ().
677 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
679         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
680         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
682 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
684         * configure.in: If --enable-add-ons is given without an
685         argument, set the addons list to all subdirs with a configure
686         script.
688 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
690         * resolv/res_query.c (res_querydomain): Avoid potential buffer
691         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
693 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
695         * glibcbug.in: Add more information of build environment and flags.
697 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
699         * resolv/inet_neta.c (inet_neta): Change type of first parameter
700         to u_int32_t. Suggested by John Lavagnino
701         <John_Lavagnino@Brown.edu> [PR libc/366].
703         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
705         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
707 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
709         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
711 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
713         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
714         variable as well.
716         * locale/C-ctype.c: Correct data for isw* functions.
717         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
718         byte order.
719         * wctype/test_wctype.c: Add test for isw* functions.
720         * wctype/wctype.c: Return value with expected byte order.
722         * sysdeps/alpha/__math.h: Remove cabs definition.
723         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
725         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
727         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
728         __libc_* names.
730         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
731         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
732         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
733         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
734         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
736         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
738         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
740 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
742         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
743         * sysdeps/unix/sysv/linux/send.S: Likewise.
744         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
745         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
746         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
747         * sysdeps/unix/sysv/linux/recv.S: Likewise.
748         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
749         * sysdeps/unix/sysv/linux/connect.S: Likewise.
751 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
753         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
754         handle for /etc/group back in some more cases.
755         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
756         handle for /etc/passwd back in some more cases.
757         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
758         handle for /etc/shadow back in some more cases.
760 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
762         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
763         beyound its size.
764         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
765         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
767 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
769         Alpha changes for EGCS:
770         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
771         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
772         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
773         (_start): Likewise.
774         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
776         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
777         * sysdeps/alpha/__longjmp.S: Likewise.
778         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
779         * sysdeps/alpha/bsd-setjmp.S: Likewise.
780         * sysdeps/alpha/jmp_buf.h: Likewise.
781         * sysdeps/alpha/setjmp.S: Likewise.
782         * sysdeps/alpha/__longjmp.c: Removed.
783         * sysdeps/alpha/setjmp_aux.c: Removed.
785 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
787         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
788         constants from Linux headers.  Pointed out by
789         csmall@scooter.o.i.net. [PR libc/369]
791 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
793         * grp/initgroups.c: Increase buffer if it is too small.
795 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
797         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
798         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
799         [PR libc/367].
801 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
803         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
804         __typeof for C++ since this fails for class members.
805         Reported by Neal Becker <neal@ctd.comsat.com>.
807 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
809         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
810         incompatible with Linux 2.1.x. Packages using modules
811         (e.g. modutils) should/do provide their own version. Suggested by
812         Richard Henderson.
814         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
817         [$(subdir)=socket]: Remove sys/module.h.
819 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
821         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
822         not shadow the variable in the outer scope. Carry over from glibc 2.1.
824 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
826         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
828 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
830         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
831         return value.
833 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
835         * configure.in: Update from 2.1 version.
836         * glibcbug.in: Likewise.
837         * manual/maint.texi: Likewise.
839         * math/mathcalls.c: Remove declaration of infnan and cabs.
841         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
843         * manual/errno.texi: Define new Linux errors.
845         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
846         and __kernel_rem_pio2{,f,l}.
848         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
850         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
852         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
854         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
856         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
857         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
858         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
860         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
861         <bits/libc-lock.h>.
863         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
864         types in struct cmsghdr.
866         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
867         loading of return address.
869         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
870         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
872         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
874 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
876         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
877         value type to long int.
878         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
879         types.
881 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
883         * sysdeps/posix/writev.c: Correct condition to leave the loop.
885 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
887         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
888         zero isn't enough to determine illegal arguments.
889         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
890         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
892 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
894         * sysdeps/libm-i387/e_remainder.S: Pretty print.
895         * sysdeps/libm-i387/e_remainderf.S: Likewise.
896         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
898 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
900         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
902 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
904         * stdlib/stdlib.h: Remove mblen optimization.
905         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
906         Reported by anderson@metrolink.com.
908 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
910         * po/Makefile ($(mo-installed)): Don't fail during installation if
911         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
912         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
914 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
916         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
917         header is used in some others as well for historical reasons.
919 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
921         * locale/setlocale.c (setname): Only remove old name when it
922         is for category LC_ALL.
924 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
926         * intl/localealias.c (read_alias_file): Correct handling of line
927         reader which sometimes skipped complete lines (PR 205).
929 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
931         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
932         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
934         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
935         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
937 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
939         * Makerules (libc.so): Fix typo.
941         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
942         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
944         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
945         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
947 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
949         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
950         compilers.
951         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
953         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
954         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
956 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
958         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
959         for NULL.
960         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
961         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
963         * configure.in: Correct test for bash2.
964         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
966         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
967         (CFLAGS-locfile.c): Likewise.
968         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
970         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
971         non-existing entry if the table is full.
973         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
975 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
977         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
978         Replace revoke call by use of REVOKE.
979         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
980         empty and #include generic version.
981         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
983 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
985         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
986         again after successful call.
987         Patch by Marc Lehmann <pcg@goof.com>.
989 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
991         * malloc/thread-m.h: Remove malloc_key-data definition.
992         Reported by Trevor Johnson <trevor@jpj.net>.
994 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
996         * manual/filesys.texi (Scanning Directory Content): Document error
997         case more.
999         * dirent/scandir.c (scandir): Ignore errors from select function.
1000         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1002 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1004         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1005         * termios/termios.h: Change prototype accordingly.
1007 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1009         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1010         for C++.
1012 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1014         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1015         bugs.
1017 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1019         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1020         2.1 development version  to fix some more severe bugs.
1021         * nis/nss_compat/compat-pwd.c: Likewise.
1022         * nis/nss_compat/compat-spwd.c: Likewise.
1023         * nis/ypclnt.c: Likewise.
1024         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1026         * version.h (VERSION): Bump to 2.0.6.
1028 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1030         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1031         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1033 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1035         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1036         generated by a glob call disable GLOB_ERR since there might be
1037         non-directories in the list (PR203).
1039 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1041         * misc/efgcvt.c: Call correct reentrant functions.
1043 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1045         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1046         timezone variable.
1047         * time/tzset.c (tz_compute): Likewise.
1048         Reported by Erik Troan <ewt@redhat.com>.
1050 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1052         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1053         in all error cases (PR 244).
1055 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1057         * manual/filesys.texi: Correct prototype in readdir_r description.
1058         Reported by Jim Meyering <meyering@eng.ascend.com>.
1060 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1062         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1063         matching of version function if both the general (1) and
1064         glibc-specific (3) entry are present.
1066 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1068         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1069         elements in struct msghdr and struct cmsghdr, to keep in step with
1070         the kernel.
1072 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1074         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1075         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1076         struct and not a pointer.  Little optimizations.
1078 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1080         * intl/loadmsgcat.c (_nl_load_domain):
1081         Fix &&/|| typo when checking file size.
1083 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1085         * time/africa: Update from tzdata1997i.
1087 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1089         * malloc/obstack.h (obstack_empty_p): New macro.
1091 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1093         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1094         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1095         for time_t overflow.
1097 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1099         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1100         type of fw_pcnt and fw_bcnt fields to match kernel.
1101         Patch by a sun <asun@zoology.washington.edu>.
1103 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1105         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1106         Reported by Erik Troan <ewt@redhat.com>.
1108 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1110         Fix gmtime so that it reports leap seconds when TZ
1111         indicates that leap seconds are desired.
1113         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1114         (gmtime): Put after gmtime_r, to help the compiler inline.
1115         (__tz_convert): New decl.
1116         (gmtime_r): Use __tz_convert instead of __offtime,
1117         so that leap seconds are handled correctly.
1119         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1120         are now unnecessary.
1121         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1122         __tzset_lock): Remove extern decls that are now unnecessary.
1123         (localtime_internal): Moved to __tz_convert in tzset.c.
1124         so that localtime and gmtime can both use it easily.
1125         (localtime): Put after localtime_r, to help the compiler inline.
1126         (localtime_r): Use __tz_convert instead of localtime_internal.
1128         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1129         decl.
1131         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1133         * time/tzset.c (<errno.h>): Include.
1134         (_tmbuf): New decl.
1135         (__tzfile_compute): New function.
1136         (tz_compute): Renamed from __tz_compute.  No longer extern.
1137         Remove redundant call to tzset_internal.
1138         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1139         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1140         (__tz_convert): New function, containing functionality of old
1141         localtime_internal function, plus locking and optional UTC.
1143 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1145         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1146         string, just use UTC without leap seconds.  This is for compatibility
1147         with the Olson code.
1149 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1151         * time/tzset.c (__tzname_max): Lock tz data structures before
1152         invoking tzset_internal.
1154         * time/tzfile.c: Define compute_tzname_max statically.
1156 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1158         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1159         __FD_ISSET): Use correct casts to address array correctly.
1160         Reported by urbanw@cs.umu.se.
1162 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1164         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1165         next head.  Reported by baccala@FreeSoft.org.
1167 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1169         * sysdeps/stub/sigaction.c: Fix typo.
1170         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1172 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1174         * catgets/catgets.c (catopen): Correctly determine length of string
1175         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1177 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1179         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1181 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1183         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1184         for descriptors >= 32.
1186         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1187         is used __alloca is not defined to __builtin_alloca and so might
1188         not be available.
1189         Reported by Uwe Ohse <uwe@ohse.de>.
1191         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1192         way if gcc is not used and so dev_t is an array.
1193         Reported by Uwe Ohse <uwe@ohse.de>.
1195         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1196         of sys/cdefs.h.  Pretty print.
1198 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1200         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1201         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1202         with g++ internal symbols.
1203         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1205 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1207         * string/argz.h: Add missing __END_DECLS.
1208         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1210 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1212         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1214         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1216         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1218 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1220         * tzset.c (__tzset_internal): Fix memory leak when the user
1221         specifies a TZ value that uses a default rule file.
1222         Do not assume US DST rules when the user specifies
1223         that there is no DST.
1225 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1227         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1228         they operate on internal kernel structures and have no place in a
1229         user header.
1231 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1233         * sysdeps/mach/libc-lock.h: Fix typo.
1234         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1236 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1238         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1240         * catgets/gencat.c (usage): Fix help text.
1242         Update of UTMP interface.
1243         * login/Makefile (routines): Add utmpname, remove utmp_db.
1244         * login/getutent.c: Rename to __getutent and make getutent a weak
1245         alias.
1246         * login/getutent.c: Rename to __getutid and make getutid a weak
1247         alias.
1248         * login/getutent.c: Rename to __getutline and make getutline a weak
1249         alias.
1250         * login/getutent_r.c: Rewrite to use jump table correctly.
1251         * login/getutid_r.c: Likewise.
1252         * login/getutline_r.c: Likewise.
1253         * login/updwtmp.c: Likewise.
1254         * login/login.c (login): Correct test for result of utmpname.
1255         Use updwtmp instead of implementing this here again.
1256         * login/logout.c (logout): Correct test for result of utmpname
1257         and pututline.  Handle ut_type field correctly if it exists.
1258         * login/utmp-private.h: Update for changed internal functions.
1259         * login/utmp.h: Reformat and correct typos.
1260         * login/utmp_file.c: Rewrite lock handling.
1261         * login/utmpname.c: New file.
1262         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1264         * socket/sys/socket.h (getpeername): Correct type of len argument.
1265         Reported by a sun <asun@zoology.washington.edu>.
1267         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1268         <bits/types.h>.
1269         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1271         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1272         functions.
1274         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1275         cthreads.
1276         * sysdeps/mach/hurd/cthreads.c: New file.
1278 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1280         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1281         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1283 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1285         * login/login.c (login): Check for correct return value of
1286         utmpname.
1288 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1290         * time/tzset.c: Interpret no DST information in user provided time
1291         zone specification as it is meant: no DST.
1292         Patch by Paul Eggert <eggert@twinsun.com>.
1294 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1296         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1297         Add macros for key handling.
1298         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1299         cthreads.
1300         * sysdeps/mach/hurd/cthreads.c: New file.
1301         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1303 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1305         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1307 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1309         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1310         for storage class.
1311         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1313         * login/Makefile (routines): Add updwtmp.
1314         * login/logwtmp.c: Move definition of updwtmp to ...
1315         * login/updwtmp.c: here.  New file.
1317         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1318         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1319         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1321 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1323         * libio/stdfiles.c (_libio_using_thunks): Define if
1324         _G_USING_THUNKS is defined.
1326         * libio/_G_config.h: Moved to
1327         * sysdeps/generic/_G_config.h: ...here.
1329         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1331 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1333         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1334         right place.
1336 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1338         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1339         PC's in long long to avoid overflow.
1341 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1343         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1344         New macros.
1346 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1348         * gmon/gmon.c (_mcleanup): Fix typos.
1350         * gmon/sys/gmon.h: Add prototype for write_profiling.
1352 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1354         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1355         loop, to avoid dragging stdio into the dynamic linker.
1357 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1359         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1360         (_mcleanup): Use write_gmon.
1361         (write_profiling): This function can be safely called at any time
1362         to write a current histogram without interfering with ongoing
1363         profiling.
1365         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1367 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1369         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1370         not be vm_deallocated; it's a stack buffer.
1371         (profil_vm_deallocate): Delete prototype.
1372         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1373         inclusion.
1374         * sysdeps/mach/hurd/Makefile
1375         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1376         this rule.
1378         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1379         from profile_waiter.
1380         (profile_waiter): Use fetch_samples.
1381         (profil): When turning off profiling, fetch the last bunch of
1382         samples before disabling PC sampling.
1383         (fetch_samples): Add prototype.
1385 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1387         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1388         source included by profil.c instead of trying to use
1389         before-compile grot.
1391 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1393         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1394         after releasing lock.  Use special RPC stubs and avoid assert,
1395         thus making this function entirely independent of the threadvar
1396         mechanism and of cthreads.
1397         (lock): Convert to be a spin lock instead of a mutex, so that the
1398         waiter thread need not use cthreads.  Use a fork prepare hook
1399         instead of _hurd_fork_locks to make sure we are clean before
1400         forking.
1401         (fork_profil_child): Renamed from fork_profil.
1402         (profil_reply_port): New variable.
1403         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1404         stubs made by special hacks.
1405         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1406         source files that profil.c needs if we are in the gmon directory.
1408         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1409         cthreads bug that hasn't existed for two years.
1411 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1413         * locale/programs/localedef.c (main): Set bit in avail for those
1414         categories which are successfully read.
1415         * locale/programs/locfile.c (check_all_categories): Don't check
1416         categories if they are not available.
1417         (write_all_categories): Don't write categories if they are not
1418         available.
1420         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1421         getsockopt, setsockopt, accept): Change size argument to type
1422         socklen_t.
1423         Pretty print.
1424         * manual/socket.texi: Describe socklen_t and change prototypes of
1425         socket functions to use socklen_t.
1426         * sysdeps/generic/bits/socket.h: Define socklen_t.
1427         (struct msghdr): Correct types to use socklen_t.
1428         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1429         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1431         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1432         1.0 < x < 8.0.
1433         * stdio-common/tfformat.c: Add new tests for above bug.
1435         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1437         * wcsmbs/Makefile (tests): Add tst-wcstof.
1438         * wcsmbs/tst-wcstof.c: New file.
1439         * wcsmbs/wcstof.c (FLT): Define as FLT.
1441 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1443         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1444         case since the __syscall_ptrace call already did this.
1445         Reported by Philip Gladstone <philip@talon.raptor.com>.
1447 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1449         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1450         <gnu/types.h> to <sys/types.h>.
1452 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1454         * locale/programs/locale.c (print_escaped): New function.
1455         (show_info): Use print_escaped if strings can control unprintable
1456         characters.
1457         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1459 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1461         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1462         dependencies.
1464 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1466         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1467         for stream on input file.
1468         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1469         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1470         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1471         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1472         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1473         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1474         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1475         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1477 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1479         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1480         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1481         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1482         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1484 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1486         * time/africa: Update from tzdata1997g.
1487         * time/asia: Likewise.
1488         * time/australasia: Likewise.
1489         * time/europe: Likewise.
1490         * time/iso3166.tab: Likewise.
1491         * time/zone.tab: Likewise.
1492         * time/private.h: Update from tzcode1997f.
1493         * time/scheck.c: Likewise.
1495 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1497         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1498         Synchronize with malloc/obstack.c.
1500 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1502         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1503         path to install-info for systems like Debian that have an
1504         install-info with a different command line interface from the
1505         canonical GNU texinfo version.
1507 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1509         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1510         * posix/unistd.h: Likewise.
1511         * sysdeps/stub/ttyname_r.c: Likewise.
1513 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1515         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1517         * time/tzfile.c (__tzstring): New decl.
1518         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1519         (__tzfile_default): First two args are now const char *.
1521         * time/tzset.c (__tzstring): New function.
1522         (tz_rule): Name is now const char *.
1523         (struct tzstring_head): New type.
1524         (tzstring_list, tzstring_last_buffer_size): New static vars.
1525         (__tzset_internal): Time zone names are now permanent, not temporary.
1527 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1529         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1530         and && in tests to allow use in C++ code which overloads these
1531         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1533 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1535         * login/login.c (tty_name): Test return value of ttyname_r for !=
1536         0, not < 0.
1537         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1538         0, not >= 0.
1539         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1540         ttyname_r for != 0.
1541         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1543 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1545         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1546         one.
1548         * signal/sigandset.c: Include stddef.h to get NULL defined.
1549         * signal/sigisempty.c: Likewise.
1550         * signal/sigorset.c: Likewise.
1552 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1554         * posix/execvp.c (execvp): Handle ESTALE.
1556 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1558         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1559         before calling _IO_SYSREAD ().
1561 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1563         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1564         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1566 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1568         * io/lockf.c (lockf): Clear fl before using.
1569         Patch by sr@adb.fr.
1571         * libio/strops.c: Correctly handle _IO_write_end.
1573         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1574         panic if setnetgrent wasn't called before, return error.
1575         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1577         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1578         if locally defined.
1579         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1580         if locally defined.
1581         Define tm_diff function as ftime_tm_diff if locally defined.
1582         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1584 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1586         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1587         in cc1.  Cpp in gcc doesn't do it.
1589 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1591         * login/login.c (tty_name): Use newly allocated buffer.
1592         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1594         * time/asctime.c: Never translate week and month name according
1595         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1597 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1599         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1600         setresgid.
1602 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1604         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1605         Reported by a sun.
1607 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1609         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1610         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1612 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1614         * math/math.h: Add warning about use of M_* constants.
1615         Pretty print.
1617 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1619         * locale/programs/locale.c: Correct comment.
1621         * po/ko.po: Update.
1623 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1625         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1627 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1629         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1631         * manual/Makefile (distribute): Add dir.
1632         * manual/dir: New file.
1634 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1636         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1638 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1640         * string/Makefile (routines): Add argz-replace.
1642 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
1644         * string/argz.h (__argz_replace, argz_replace): New declarations.
1645         * string/argz-replace.c: New file.
1647 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1649         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
1650         character read in/put back.
1651         * stdio-common/tstscanf.c: Add test case for this.
1653 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
1655         * manual/Makefile (install): Make sure `dir' file exists if we use
1656         install-info.
1658 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1660         * manual/Makefile (info): Depend on dir-add.info.
1662 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1664         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
1665         * sysdeps/stub/e_acosl.c: Likewise.
1666         * sysdeps/stub/e_asinl.c: Likewise.
1667         * sysdeps/stub/e_atan2l.c: Likewise.
1668         * sysdeps/stub/e_expl.c: Likewise.
1669         * sysdeps/stub/e_fmodl.c: Likewise.
1670         * sysdeps/stub/e_j0l.c: Likewise.
1671         * sysdeps/stub/e_j1l.c: Likewise.
1672         * sysdeps/stub/e_jnl.c: Likewise.
1673         * sysdeps/stub/e_lgammal_r.c: Likewise.
1674         * sysdeps/stub/e_log10l.c: Likewise.
1675         * sysdeps/stub/e_logl.c: Likewise.
1676         * sysdeps/stub/e_powl.c: Likewise.
1677         * sysdeps/stub/e_rem_pio2l.c: Likewise.
1678         * sysdeps/stub/e_sqrtl.c: Likewise.
1679         * sysdeps/stub/k_cosl.c: Likewise.
1680         * sysdeps/stub/k_rem_pio2l.c: Likewise.
1681         * sysdeps/stub/k_sinl.c: Likewise.
1682         * sysdeps/stub/k_tanl.c: Likewise.
1683         * sysdeps/stub/s_atanl.c: Likewise.
1684         * sysdeps/stub/s_erfl.c: Likewise.
1685         * sysdeps/stub/s_expm1l.c: Likewise.
1686         * sysdeps/stub/s_log1pl.c: Likewise.
1688 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
1690         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
1691         01:13:56 1996.
1693 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
1695         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
1696         * sysdeps/libm-i387/s_asinhf.S: Likewise.
1697         * sysdeps/libm-i387/s_asinhl.S: Likewise.
1698         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
1699         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
1700         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
1702 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
1704         * Makefile (manual/dir-add.info): New rule.
1706         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
1707         `unsigned short'.
1709         * manual/Makefile (dir-add.texi): Also emit wrapper text for
1710         info/install-info.
1711         (distribute): Add dir-add.texi and dir-add.info.
1712         (mostlyclean): Add dir-add.info.
1713         (realclean): Add dir-add.texi.
1714         (install): Add entries in `dir' file using install-info.
1716         * manual/libc.texinfo: Add @dircategory and @direntry text.
1717         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
1719 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
1721         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
1722         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
1723         M_SQRT2.
1724         * math/math.h (_Mldbl): Define even if M_* constants are not
1725         defined.
1726         Reported by corsepiu@faw.uni-ulm.de.
1728 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
1730         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
1732 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
1734         * misc/regexp.h (compile): Allow use of macro INIT for variable
1735         declaration.  Add documentation for INIT.
1736         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
1738 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
1740         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
1742 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1744         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
1745         netinet/icmp.h, add netatalk/at.h.
1746         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
1747         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
1749 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
1751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
1753 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
1755         * string/argz-addsep.c: Correct weak alias.
1756         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1758         * locale/setlocale.c (setlocale): Free variable with locale path
1759         before returning.
1760         (setname): Don't test for _nl_current[category] being NULL before
1761         freeing.
1762         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1764 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
1766         * time/Makefile: Make tzselect depend on config.make.
1768 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
1770         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
1771         type to `unsigned long int'.
1772         Patch by Richard Henderson <richard@twiddle.rth.home>.
1774 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1776         * nss/nss_files/files-hosts.c: Delete inclusion of
1777         "../resolv/mapv4v6hostent.h".
1779 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
1781         * libio/libio.h: Define bits for libg++-2.8.
1783 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
1785         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
1786         plan on doing so ever again.  Don't say alpha-linuxecoff is known
1787         to work.
1789         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
1790         will last until I figure out how to build a parallel libm_ieee.
1792         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
1793         FP mode to round to nearest, no exceptions as for Intel.
1794         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
1795         (rdfpcr): Use excb rather than trapb.  Be more efficient about
1796         getting at the fpcr.
1797         (wrfpcr): Likewise.
1798         (__setfpucw): Reformat.
1800         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
1801         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1802         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
1803         sure the stack frame is released the very instruction before the
1804         real jump out.
1805         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1806         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1808         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
1809         have gotten from <linux/posix_types.h>.
1811         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
1813 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1815         * Makefile (manual/dir-add.texi): Force execution.
1817 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1819         * stdlib/strfmon.c: Don't run past EOS after `='.
1821 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
1823         Update resolver code to bind-4.9.6-T1A.
1824         * resolv/Banner: Update.
1825         * nss/digits_dots.c: Adapt text address matching to T1A.
1826         * nss/nss_files/files-hosts.c: Always use inet_pton.
1827         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
1828         it would lead to warnings.
1829         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
1830         at several places.
1831         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
1832         * resolv/res_comp.c (dn_expand): Check for overflow.
1833         (dn_comp): Likewise.
1834         * resolv/res_debug.c (precsize_aton): Better implementation.
1835         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
1836         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
1837         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
1838         length at several places.
1840 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1842         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
1843         time_t.
1845         * login/pty.h: Include <ioctl-types.h> for definition of struct
1846         winsize.
1848 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
1850         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
1851         number to four digits and to representable range for 4 byte time_t
1852         values.
1853         Patch by H.J. Lu <hjl@lucon.org>.
1855 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
1857         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1858         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1859         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1861 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1863         * login/login.c (tty_name): Use newly allocated buffer.
1864         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1866         * time/asctime.c: Never translate week and month name according
1867         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1869 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1871         * hurd/hurdsig.c: Include <hurd/id.h>.
1872         (reauth_proc): Call proc_setowner appropriately too.
1874 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1876         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
1877         correct value for _POSIX_VDISABLE.
1879 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
1881         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
1883         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
1885 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
1887         * Net release 2.0.4.
1889 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
1891         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
1892         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
1893         environments in which linking is not possible at configure time
1894         (since te libc is just build).
1895         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1897 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
1899         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
1900         state array only at right place.
1901         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
1903         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
1904         [0.5,1.0) but really in [0.0, 1.0).
1905         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
1907 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
1909         * sysdeps/i386/elf/start.S: Change local label "nofini"
1910         to ".Lnofini".
1912         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
1914 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
1916         * time/zic.c: Update from tzcode1997e.
1918         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
1919         are not defined.
1921 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
1923         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
1924         monstartup.
1926 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
1928         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
1929         values.
1930         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1932         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
1933         u_long.
1935 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
1937         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
1938         not looking at the new thread-safe .plt, don't be lazy about relocs.
1939         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
1940         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
1941         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
1942         elf_machine_runtime_setup() decide if we can actually be lazy.
1943         * elf/rtld.c (_dl_start): So don't call it.
1944         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1945         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
1946         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1947         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1948         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1949         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1950         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
1951         skeleton definition.
1953 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
1955         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
1956         stack by fxtract.
1958 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1960         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
1961         warning.
1963         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
1964         of USHRT_MAX.
1966         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
1968 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
1970         * version.h (VERSION): Bump to 2.0.4.
1972         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
1973         and for Linux ld.so.
1974         * login/Makefile (libutil.so): Likewise.
1975         * math/Makefile (libm.so): Likewise.
1976         * md5-crypt/Makefile (libcrypt.so): Likewise.
1977         * nis/Makefile (libnss_%.so): Likewise.
1978         * resolv/Makefile (libnss_dns.so): Likewise.
1980 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1982         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
1983         workaround.
1985 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
1987         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
1989         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
1990         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
1991         Reported by Ian Taylor <ian@cygnus.com>.
1993         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
1995         * po/de.po: Updated.
1997         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1999         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2001 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2003         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2004         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2006 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2008         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2009         msg_add_auth was overflowing it.
2011 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2013         * time/sys/time.h: Make second argument of setitimer const.
2014         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2015         * sysdeps/stub/setitimer.c: Likewise.
2016         * sysdeps/mach/hurd/setitimer.c: Likewise.
2018 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2020         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2021         when we can't find the symbol.
2023 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2025         * posix/regex.c: Fix handling of 32-bit Windog environments.
2026         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2028 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2030         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2032 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2034         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2036 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2038         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2040 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2042         * sys/ttydefaults.h: Removed.
2044 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2046         * termios/sys/ttydefaults.h: Delete file.
2047         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2048         TTYDEF_OFLAG.
2049         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2050         XTABS in TTYDEF_OFLAG.
2051         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2052         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2054 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2056         * posix/TESTS: Add some more tests for character class matching.
2057         * posix/regex.c: Merge with GNU awk version.
2058         (regex_compile): Use ISO C/amend 1 functions for character class
2059         handling.
2060         * posix/regex.h: Merge with GNU awk version.
2062         * posix/getopt.c: Declare as master copies.
2063         * posix/getopt1.c: Likewise.
2064         * posix/getopt.h: Likewise.
2066         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2067         value to mount functions.
2068         Patch by a sun <asun@zoology.washington.edu>.
2070 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2072         * sunrpc/svc_run.c (svc_exit): New, defined.
2073         (svc_run): Test for svc_stop variable.
2074         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2076 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2078         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2080         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2081         NaN.  Fix test for sign of infinite y.
2083         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2085         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2087 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2089         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2090         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2092 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2094         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2095         kernel can return negative values.  Only fail when return value is
2096         in range in range which is never returned as valid address.
2097         Patch by Bruno Haible <haible@ilog.fr>.
2099 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2101         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2102         case.
2104         * time/strftime.c (add): Respect `0' padding flag.
2105         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2107 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2109         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2110         will preserve non-call-saved registers; save and restore a0 across
2111         the system call.
2112         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2113         data onto the new thread's stack.
2115 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2117         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2118         * config.make.in: Set cross-compiling from configure result.
2119         * configure.in: Emit definition of `cross_compiling'.
2120         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2122 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2124         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2125         * sysdeps/libm-i387/e_pow.S: Likewise.
2126         * sysdeps/libm-i387/e_powl.S: Likewise.
2128 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2130         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2131         obstack_chunkfun, obstack_freefun): Fix casts.
2133 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2135         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2136         not <netinet/icmp.h>.
2137         * inet/netinet/tcp.h: Move to...
2138         * sysdeps/generic/netinet/tcp.h: ...here.
2139         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2141 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2143         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2144         to command line of compiler.
2145         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2147         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2148         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2150         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2151         in declaration.
2152         Patch by Michael Widenius <monty@tcx.se>.
2154         * time/strptime.c (strptime_internal): Fix %I format specifier
2155         being off by one.
2156         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2158 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2160         * Net release 2.0.3.
2162 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2164         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2165         * stdlib/srand48_r.c: Likewise.
2167 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2169         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2170         fpclassify & friends, and complex number operations.
2171         Update various other math functions for ISO C 9X.
2172         * manual/math.texi: Update various entries for ISO C 9X.
2173         Add description for complex number functions.
2174         Add description of rand48 function family.
2175         * manual/string.h: Add description of a64l and l64a.
2177         * math/cmathcalls.h: Fix typo.
2179         * stdlib/a64l.c: Pretty printing.
2181         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2182         * stdlib/srand48_r.c: Likewise.
2184 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2186         * rellns-sh: Handle files in the same directory correctly.
2188 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2190         * csu/initfini.c: Place ALIGN instruction at correct positions.
2191         Patch by Richard Henderson <richard@twiddle.rth.home>.
2193 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2195         * Make-dist: Don't automatically ignore .c files if .S or .s files
2196         are ignored.
2198         * csu/Makefile (distribute): Add defs.awk.
2200 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2202         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2203         * sysdeps/stub/shmdt.c: Likewise.
2204         Reported by Thomas Bushnell, n/BSG.
2206 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2208         * sysdeps/unix/sysv/linux/Dist: Rename
2209         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2210         Remove sysdeps/sysv/linux/netinet/icmp.h.
2212         * login/utmp.h: Add prototype for updwtmp.
2213         * login/logwtmp.c: Add new function updwtmp which allows to write
2214         a complete record to the wtmp file.
2215         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2217 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2219         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2220         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2222 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2224         * csu/initfini.c: Rewrite by Zack Weinberg
2225         <zack@rabi.phys.columbia.edu>.
2226         * csu/Makefile: Add rules for rewrite.
2227         * csu/defs.awk: Helper script to generate derived header.
2229 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2231         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2233 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2235         * sysdeps/generic/Dist: Remove old math implementation files.
2236         * sysdeps/generic/mathimpl.h: Removed.
2237         * sysdeps/generic/trig.h: Removed.
2238         * sysdeps/generic/sincos.c: Removed.
2239         * sysdeps/generic/asincos.c: Removed.
2240         * sysdeps/generic/exp__E.c: Removed.
2241         * sysdeps/generic/log__L.c: Removed.
2243 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2245         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2246         add fast check whether the heap containing top can go away.
2248 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2250         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2251         failing to allocate a new chunk, also try the main_arena.  It may
2252         be that we are only running out of mmapped regions, and other
2253         arenas cannot be enlarged sufficiently.
2254         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2255         i.e. only in new_heap().
2257 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2259         * time/strftime.c (memset_space): Increment pointer.
2260         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2261         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2263 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2265         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2267         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2268         63 bits.
2269         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2271         * po/pl.po: Updated.
2273         * string/swab.c: Correctly handle array of odd length.
2275         * manual/string.texi: Correct prototype in memmem documentation.
2277 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2279         * manual/Makefile (dir-add.texi): Simplify.
2281 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2283         * rellns-sh: Rewrite to work also in presence of symlinks.
2285         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2286         Reported by Greg McGary <gkm@eng.ascend.com>.
2288         * manual/libc.texinfo: Update malloc documentation for new malloc.
2289         * manual/memory.texi: Likewise.
2290         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2292         * stdlib/erand48_r.c (erand48_r): Build double value using
2293         ieee754_double union and use random bits in different order to
2294         increase effect of seed.
2295         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2297 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2299         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2300         a read-only stream.
2302 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2304         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2305         in correct place.
2306         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2308 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2310         * posix/getopt.c (_getopt_initialize): Preserve optind.
2311         (_getopt_internal): Set optind to 1 if optind == 0 before
2312         calling _getopt_initialize ().
2314 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2316         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2317         on a read-only stream.
2319         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2320         (ut_time): Define it only if _NO_UT_TIME is not defined.
2322 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2324         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2325         get definition of sa_family_t for <linux/atalk.h>.
2326         Reported by a sun <asun@zoology.washington.edu>.
2328         * malloc/malloc.c (cALLOc): Little optimization.
2330 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2332         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2333         headers but instead add comments and parameter names.
2334         Don't use BSD specific types in prototypes.
2336         * manual/nss.texi: Correct a few typos and errors.
2338 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2340         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2341         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2343         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2344         TAB3, if one of them is defined.
2346 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2348         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2350 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2352         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2353         clearenv a weak alias.
2355         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2356         of type clashes.  Add all definitions here.
2358         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2359         to XPG4.2.
2360         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2361         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2363         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2365         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2366         use of kernel types.
2368 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2370         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2371         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2373 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2375         * Makeconfig (all): Make sure this is always the default goal.
2377 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2379         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2380         Don't include <endian.h>.
2382 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2383         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2384         Don't include <endian.h>.
2386 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2388         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2390 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2392         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2393         compiler.
2395 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2397         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2398         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2400 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2402         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2403         by 31 positions to get 0/1 result.
2404         Patch by Joe Keane <jgk@jgk.org>.
2406 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2408         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2409         to prevent from ld linking in getopt.o even if there is another
2410         incompatible one.
2412         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2414 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2416         * Makerules (depfiles): Remove $(test-srcs).
2418 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2420         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2421         on a read-only stream.
2423         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2424         (ut_time): Define it only if _NO_UT_TIME is not defined.
2426 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2428         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2429         typo.
2431 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2433         * Makefile: Add rule to easily generate dir-add.texi file.
2434         * manual/Makefile: Likewise.
2436 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2438         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2439         (sysdep_headers): Remove netinet/icmp.h.
2441 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2443         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2444         adjustment if the underlying function say it is too small.
2445         * pwd/fgetpwent.c: Likewise.
2446         * shadow/fgetspent.c: Likewise.
2447         * shadow/sgetspent.c: Likewise.
2449         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2450         this means there was not enough room for the gr_mem array.
2452         * nss/nss_files/files-XXX.c: Leave loop and return error if
2453         `parse_result' returns -1.
2455         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2456         of trailing list fails because of low memory.
2457         (parse_list): Rewrite.  The logic was completly incorrect since
2458         the checks for overflowing the array were not executed when
2459         needed.
2461         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2462         signals success.
2464         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2465         * nss/getXXent.c: Likewise.
2467 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2469         * manual/errno.texi: Add description of strerror_r.
2471 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2473         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2475 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2477         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2479 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2481         * stdlib/stdlib.h: Declare __clearenv.
2483 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2485         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2486         the last change.
2488 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2490         * configure.in: Call AC_CANONICAL_BUILD before referencing
2491         $build.  Fix test for BUILD_CC.
2493 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2495         * sysdeps/i386/memset.c: Fix typo.
2496         * sysdeps/stub/fchmod.c: Fix typo.
2497         * sysdeps/stub/fchdir.c: Fix typo.
2498         Reported by Fila Kolodny <fila@ibi.com>.
2500         * time/time.h (strftime): Remove __restrict in declaration.
2502 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2504         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2505         syntax for local label.
2506         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2507         binary format.
2508         * sysdeps/i386/addmul_1.S: Likewise.
2509         * sysdeps/i386/lshift.S: Likewise.
2510         * sysdeps/i386/memchr.S: Likewise.
2511         * sysdeps/i386/memcmp.S: Likewise.
2512         * sysdeps/i386/mul_1.S: Likewise.
2513         * sysdeps/i386/rshift.S: Likewise.
2514         * sysdeps/i386/stpcpy.S: Likewise.
2515         * sysdeps/i386/stpncpy.S: Likewise.
2516         * sysdeps/i386/strchr.S: Likewise.
2517         * sysdeps/i386/strcspn.S: Likewise.
2518         * sysdeps/i386/strlen.S: Likewise.
2519         * sysdeps/i386/strpbrk.S: Likewise.
2520         * sysdeps/i386/strrchr.S: Likewise.
2521         * sysdeps/i386/strspn.S: Likewise.
2522         * sysdeps/i386/strtok.S: Likewise.
2523         * sysdeps/i386/sub_n.S: Likewise.
2524         * sysdeps/i386/submul_1.S: Likewise.
2525         * sysdeps/i386/i486/strcat.S: Likewise.
2526         * sysdeps/i386/i486/strlen.S: Likewise.
2527         * sysdeps/i386/i586/add_n.S: Likewise.
2528         * sysdeps/i386/i586/addmul_1.S: Likewise.
2529         * sysdeps/i386/i586/lshift.S: Likewise.
2530         * sysdeps/i386/i586/memset.S: Likewise.
2531         * sysdeps/i386/i586/mul_1.S: Likewise.
2532         * sysdeps/i386/i586/rshift.S: Likewise.
2533         * sysdeps/i386/i586/strchr.S: Likewise.
2534         * sysdeps/i386/i586/strlen.S: Likewise.
2535         * sysdeps/i386/i586/sub_n.S: Likewise.
2536         * sysdeps/i386/i586/submul_1.S: Likewise.
2538         * time/africa: Updated from ADO tzdata1997e.
2539         * time/antarctica: Likewise.
2540         * time/asia: Likewise.
2541         * time/australasia: Likewise.
2542         * time/europe: Likewise.
2543         * time/northamerica: Likewise.
2544         * time/southamerica: Likewise.
2545         * time/private.h: Updated from ADO tzcode1997d.
2546         * time/scheck.c: Likewise.
2548 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2550         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2551         thread-specific memory in multi-threaded programs.
2553         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2554         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2555         Suggested by a sun <asun@zoology.washington.edu>.
2557 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2559         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2560         of <netinet/icmp.h>.
2561         Patch by a sun <asun@zoology.washington.edu>.
2563 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2565         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2566         before using system.
2567         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2568         before using popen.
2570 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2572         * inet/rexec.c: Make string parameters `const'.
2573         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2574         rresvport.
2576         * posix/glob.h: Add declaration for glob_pattern_p.
2577         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2578         make glob_pattern_p a weak alias.  This function is used in other
2579         packages (e.g. bash).
2581         * signal/Makefile (routines): Add sigisempty, sigandset, and
2582         sigorset.
2583         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2584         sigorset.
2585         * signal/sigisempty.c: New file.
2586         * signal/sigandset.c: New file.
2587         * signal/sigorset.c: New file.
2588         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2589         and __sigorset.
2590         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2592         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2593         ip_icmp.h.  Reported by HJ Lu.
2595 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2597         * grp/grp.h: Include <stddef.h> only once.
2599 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2601         * version.h (VERSION): Bump to 2.0.3.
2603 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2605         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2607 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2609         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2610         is found.
2611         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2613 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2615         * Net release 2.0.2.
2617 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2619         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2620         XTABS.
2621         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2622         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2623         of Sun Dec 15 16:33:44 1996.
2624         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2626 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2628         * Makefile (distribute): Add BUGS.
2630         * sysdeps/generic/machine-gmon.h: Update copyright.
2632         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2633         i386-mcount.
2634         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2635         use regparam mechanism for call of `fixup' call.
2636         * sysdeps/i386/Dist: New file.
2637         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2638         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2639         of gmon definitions.
2641 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2643         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2644         may modify it, use the saved errno everywhere.
2645         * stdlib/tst-strtod.c (main): Likewise.
2647 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2649         * posix/glob.c (glob): Fix completely broken handling of
2650         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2651         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2653 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2655         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2656         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2657         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2658         Reported by Matthis Urlichs.
2660 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2662         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2663         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2664         which clobbers %eax.
2666         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2667         crtbegin.o/crtend.o, using gcc to find them.
2668         (+link): Use them.
2670 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2672         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2673         affect the alignment, and therefore the end padding of the structs.
2674         Reported by David Mosberger <davidm@azstarnet.com>.
2675         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
2676         Use __writev instead of write for the I/O.
2678         * misc/sys/uio.h: Declare __writev and __readv.
2679         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2680         * sysdeps/posix/writev.c: Likewise for writev.
2681         * sysdeps/stub/readv.c: Likewise.
2682         * sysdeps/stub/writev.c: Likewise.
2683         * sysdeps/unix/syscalls.list: Likewise.
2684         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2685         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2687         * stdlib/testdiv.c: Exit with error status when we have an error.
2688         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2689         * sysdeps/alpha/ldiv.S: Likewise.
2691         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2693 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
2695         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
2696         generic prototype.
2698         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
2699         Future releases will have this function.
2700         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2701         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2702         Reported by HJ Lu.
2704 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
2706         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2707         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
2708         `__sigsetjmp' in PIC code.
2709         * sysdeps/i386/bsd-setjmp.S: Likewise.
2711         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2712         overflow.
2713         * sysdeps/libm-i387/e_powf.S: Likewise.
2714         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2715         case since expm1(-0) == -0.
2716         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2717         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2718         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2719         access to FP number.
2720         * sysdeps/libm-ieee754/s_modff.c: Likewise.
2721         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2722         code.  It never worked correctly.
2723         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2724         case since tanh(-0) == -0.
2725         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2726         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2728 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
2730         * time/Makefile: Correct dependencies for test-tz.
2732         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
2733         UIO_FASTIOV and set to 8 if not available.
2734         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2735         Patch by HJ Lu.
2737         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2738         "kernel_stat.h".
2739         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2740         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2741         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2743 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
2745         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2747         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2749         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
2751         * sysdeps/unix/sysv/Dist: Add direct.h.
2753         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2755         * Make-dist ($(tardir).tar): Prefer writing temporary file to
2756         $TMPDIR is available.  The default is /tmp.
2758         * sysdeps/generic/ip.h: Move to...
2759         * sysdeps/generic/netinet/ip.h: ...here.
2761         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
2762         is placed in wrong place on the stack.
2763         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
2765 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
2767         * time/offtime.c (__offtime): Change type of `yg' to long int.
2768         Reported by a sun <asun@zoology.washington.edu>.
2770 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
2772         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2773         2.2.0 to prevent version mismatch.
2775 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
2777         * Make-dist (srcs): Add $(test-srcs).
2778         * MakeTAGS (all-sources): Likewise.
2779         * Makerules (depfiles, common-mostlyclean): Likewise.
2780         * Rules (tests): Likewise.
2782 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
2784         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2786 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
2788         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2789         protocol=NULL to match any protocol rather than returning an
2790         error.
2792 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
2794         * nss/nss_files/files-service.c (servbyname): Match any protocol
2795         if proto==NULL.
2797 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
2799         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2800         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2801         Proposed by Thomas Bushnell, n/BSG.
2803 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2805         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2806         the buffer for replacement.
2808 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
2810         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2811         sys_lstat and sys_stat.
2813 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2815         * mach/devstream.c (output/write_some): Don't try and write more
2816         than IO_INBAND_MAX in a single call to device_write_inband.
2818 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
2820         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2821         type is SVID.
2822         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2823         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2825         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2826         FLAGS parameter.
2828 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
2830         * manual/filesys.texi: Add documentation for scandir and alphasort.
2831         * manual/examples/dir2.c: New example for scandir.
2833         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
2834         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
2835         * sysdeps/ieee754/huge_val.h: Remove definition of long double
2836         definition.  Make it the same as the double definition.
2838         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2839         * sysdeps/libm-i387/e_acosf.S: Likewise.
2840         * sysdeps/libm-i387/e_acosl.S: Likewise.
2841         * sysdeps/libm-i387/e_asin.S: Likewise.
2842         * sysdeps/libm-i387/e_asinf.S: Likewise.
2843         * sysdeps/libm-i387/e_asinl.S: Likewise.
2844         * sysdeps/libm-i387/e_exp.S: Likewise.
2845         * sysdeps/libm-i387/e_expf.S: Likewise.
2846         * sysdeps/libm-i387/e_expl.S: Likewise.
2847         * sysdeps/libm-i387/s_scalbn.S: Likewise.
2848         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2849         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2851         * sysdeps/libm-i387/e_log.S: Optimize branch code.
2852         * sysdeps/libm-i387/e_logf.S: Likewise.
2853         * sysdeps/libm-i387/e_logl.S: Likewise.
2854         * sysdeps/libm-i387/e_log10.S: Likewise.
2855         * sysdeps/libm-i387/e_log10f.S: Likewise.
2856         * sysdeps/libm-i387/e_log10l.S: Likewise.
2858         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2859         * sysdeps/libm-i387/e_powf.S: Likewise.
2860         * sysdeps/libm-i387/e_powl.S: Likewise.
2862         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2863         argument to -1.0.
2864         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2865         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2867         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2869         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
2870         stack element after fxtract.
2872         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
2873         implementation for atan2 function.
2875         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2876         _SVID_ mode when acos, asin, atan2, log, log10 is called with
2877         argument out of range.
2878         Add new error case for pow(+0,neg).
2880         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2881         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2882         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2884         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2885         long double type.
2887         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2888         in SVID mode.
2889         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2890         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2892         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2893         or -0.
2894         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2895         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2897         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2899         * sysdeps/stub/fcntlbits.h: Update copyright.
2900         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2901         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2902         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2903         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2904         * sysdeps/unix/common/fcntlbits.h: Likewise.
2905         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
2906         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2907         and FNDELAY.
2908         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2910         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2911         only reclen bytes.
2913         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2914         and O_NORW.
2915         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2917         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2919         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
2920         struct stat to user-level form.
2921         * sysdeps/unix/sysv/linux/lxstat: New file.
2922         * sysdeps/unix/sysv/linux/xstat: New file.
2923         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2924         kernel.
2925         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2926         to use prescribed types for elements.
2927         (_STAT_VER): Change to value 3.
2928         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2929         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2930         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2932         * time/Makefile: Correct dependencies for test-tz.
2934         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
2936 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
2938         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2939         kernel header.
2940         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2942 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
2944         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2945         without testing for last_bfp to be NULL.
2946         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2948 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
2950         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2951         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
2953 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
2955         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2956         functions.  Compare result for correct address type.
2957         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2958         * nss/nss_files/files-hosts.c: Likewise.
2959         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2961 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
2963         * time/strptime.c (recursive): Return rp to caller.
2964         (strptime_internal): First check for long names, then abbreviated
2965         (month & weekday).
2967 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2969         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2970         1900 from year, regardless of century.
2972 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
2974         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2975         all numbers unsigned to make buggy gccs happy.
2976         Patch by Bryan W. Headley <bheadley@interaccess.com>.
2978         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
2979         definitions.  Patch by a sun <asun@zoology.washington.edu>.
2980         Pretty print header.
2982         * Makerules (build-shlib): Also create symlink if library is versioned.
2983         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2984         Remove special rule to libc.so symlink.
2986 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
2988         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2989         return values for acos, asin, and atan2.
2990         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2992 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2994         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2996 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2998         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2999         to pointers to directory entries so that alphasort really can be
3000         used as argument for scandir.
3002 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3004         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3005         instead of strcpy.
3007 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3009         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3010         catalogs, not only if the envvar NLSPATH is not available.
3011         Reported by Andries.Brouwer@cwi.nl.
3013 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3015         * Makeconfig (localtime-file): Don't define using installation
3016         directory.
3017         (inst_localtime-file): New variable.
3018         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3019         Reported by Edward Seidl <seidl@janed.com>.
3021 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3023         * time/Makefile: Add source files to dependencies for test data.
3025 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3027         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3028         * nis/nss_nis/nis-proto.c: Likewise.
3029         * nis/nss_nis/nis-rpc.c: Likewise.
3030         * nis/nss_nis/nis-service.c: Likewise.
3032 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3034         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3035         euidaccess weak alias.
3037 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3039         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3041         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3043 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3045         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3047         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3048         __file_name_split.
3050         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3051         * mach/errstring.c (mach_error_string_int): Likewise.
3052         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3053         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3054         * stdio/vasprintf.c (vasprintf): Likewise.
3056         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3058         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3059         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3060         swtch_pri.
3062         * mach/mach_init.c: Include <mach/mig_support.h>.
3064         * mach/mach_error.h (mach_error_string, mach_error,
3065         mach_error_type): Always provide prototypes.
3067         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3068         appears to be entirely unused dead code.
3070 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3072         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3073         [!__const] (__const): New macro.
3074         [!__error_t_defined] (error_t): New typedef.
3076 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3078         * posix/unistd.h: Add prototype for __euidaccess.
3079         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3080         euidaccess weak alias.
3081         * sysdeps/stub/euidaccess.c: Likewise.
3082         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3084         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3085         binary locale files.  Use LOCALEDIR only.
3086         * locale/programs/locfile.c: When named file not found and not
3087         absolute use path in I18NPATH.
3089         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3090         and AF_FILE as synonym for AF_LOCAL.
3091         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3093         * time/Makefile: Rewrite rules for test to handle parallel builds.
3095 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3097         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3098         robbe@orcus.priv.at.
3100 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3102         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3103         8-byte boundary.
3105 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3107         * elf/link.h: Include <features.h>.
3108         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3110 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3112         Rewrite NIS code to allow empty keys.
3113         * nis/nss_nis/nis-ethers.c: Rewritten.
3114         * nis/nss_nis/nis-proto.c: Rewritten.
3115         * nis/nss_nis/nis-publickey.c: Rewritten.
3116         * nis/nss_nis/nis-rpc.c: Rewritten.
3117         * nis/nss_nis/nis-service.c: Rewritten.
3119 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3121         * time/scheck.c (scheck): Add extra const to second argument.
3123         * time/private.h: Correct prototypes to match definition.
3125 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3127         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3128         switching of UID before opening .rhosts.
3130         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3131         version in GNU awk.
3132         * posix/regex.h: Likewise.
3134         Add regex test suite by Tom Lord.
3135         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3136         (tests): Add runtests.
3137         (before-compile): Add testcases.h.
3138         (testcases.h): New rule to generate header with tests.
3139         * posix/TESTS: New file.
3140         * posix/TESTS2C.sed.: New file.
3141         * posix/runtests.c: New file.
3142         * posix/testcases.h: New file.
3144         * time/ialloc.c: Update from tzcode1997c.
3145         * time/private.h: Likewise.
3146         * time/scheck.c: Likewise.
3147         * time/tzselect.ksh: Likewise.
3148         * time/zdump.c: Likewise.
3149         * time/zic.c: Likewise.
3151         * time/tzfile.c: Pretty print.
3153 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3155         * stdio-common/vfscanf.c: Use __va_copy if available.
3157 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3159         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3160         clean up namespace.
3162 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3164         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3165         kernel-level sigaction structure is different.  handle this
3166         correctly.
3167         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3169 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3171         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3172         recognize cache entries with flag == 3.
3174 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3176         * time/antarctica: Update from tzdata1997c.
3177         * time/asia: Likewise.
3178         * time/zone.tab: Likewise.
3180 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3182         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3183         (fabs): Remove defininition, it is a gcc builtin.
3184         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3186 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3188         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3189         instead to avoid namespace problems.
3190         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3192 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3194         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3195         falling back to select-based implementation if syscall isn't
3196         available.
3197         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3199         * time/leapseconds: Update from tzdata1997b.
3200         * time/zic.c: Update from tzcode1997b.
3202 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3204         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3205         depedencies between installed $(tzlinks) and $(tzbases) files.
3207 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3209         * math/math.h: Make compatible with traditional preprocessor;
3210         requires carefull placement of whitespace in macro arguments.
3211         Use __CONCAT instead of ##.
3212         Declare long double functions only if __STDC__ or __GNUC__.
3213         * math/mathcall.h: Avoid whitespace before argument of macro call
3214         that is used as function name.
3216         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3217         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3218         of __NO_M81_MATH_INLINES.
3219         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3220         starting with __ieee754.
3221         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3222         functions as inlines.
3223         (__m81_defun): Put __attribute__ between return type and function
3224         name.
3225         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3226         is defined.
3227         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3228         instead of __NO_M81_MATH_INLINES.
3229         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3230         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3231         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3232         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3233         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3234         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3235         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3236         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3237         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3238         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3240 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3242         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3243         so that clearing second word is necessary.
3245         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3246         header since it is wrong for 64 bit systems.
3247         Patch by a sun <asun@zoology.washington.edu>.
3249 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3251         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3252         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3253         for the benefit of running foreign binaries.
3255 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3257         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3258         * manual/xtract-typefun.awk: New file.  Script to extract function,
3259         variable, macro anchor to put into the `dir' file.
3261         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3262         exponent before comparing.
3264 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3266         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3267         prototypes to use types with explicit width.  `unsigned long' is
3268         different on 64 bit systems.
3269         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3270         * sysdeps/generic/htonl.c: Likewise.
3271         * sysdeps/generic/htons.c: Likewise.
3272         * sysdeps/generic/ntohl.c: Likewise.
3273         * sysdeps/generic/ntohs.c: Likewise.
3274         Suggested by a sun <asun@zoology.washington.edu>.
3276 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3278         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3279         defined and we want optimization.
3281 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3283         * misc/getpass.c: Don't disable canonical input.
3284         Reverted patch of Mon Jan  6 01:35:29 1997.
3286 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3288         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3289         match the hidden __in_chrg parameter of the destructor.
3290         (_IO_FINISH): Pass zero for it.
3291         * libio/genops.c (_IO_default_finish): Add second parameter, which
3292         is ignored.
3293         * libio/memstream.c (_IO_mem_finish): Likewise.
3294         * libio/fileops.c (_IO_file_finish): Likewise.
3295         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3297 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3299         * time/Makefile: Avoid using patterns in dependencies.
3301 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3303         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3305 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3307         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3308         word on stack for overflow.
3310 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3312         * malloc/malloc.c (malloc_get_state): New function.
3313         Saves global malloc state to an opaque data structure which
3314         is dynamically allocated in the heap.
3315         * malloc/malloc.c (malloc_set_state): New function.
3316         Restore previously obtained state.
3317         * malloc/malloc.h: Add declaration of malloc_get_state()
3318         and malloc_set_state().
3320 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3322         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3323         position.
3325 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3327         * misc/error.c: Make error and error_at_line weak aliases of
3328         __error and __error_at_line respectively.
3329         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3331 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3333         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3334         time-era-num-entries.
3336 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3338         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3339         to avoid duplicate mail.
3341 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3343         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3344         numeric values.
3346 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3348         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3349         sign in the strtouXX functions.  The results gets simply negated.
3350         * stdlib/tst-strtol.c: Correct tests.
3352 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3354         * math/math.h: Prevent definition of struct exception when using
3355         C++.
3357 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3359         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3360         Reported by Greg McGary.
3362 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3364         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3365         than file_get_translator.
3367         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3368         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3370 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3372         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3373         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3375 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3377         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3378         but ADDR also == 0.
3380         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3381         now instead of a weak extern, as some old programs expect it to be
3382         defined by ld.so.
3384 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3386         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3388         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3389         __hurd_threadvar_stack_offset): Restore initialized versions, so
3390         startup works correctly.
3392         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3394 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3396         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3397         not __mutex_try_lock.
3398         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3399         (tsd_getspecific): Case variable to (void *) before returning.
3401         * hurd/hurdinit.c (__libc_argv): Remove extern.
3402         (__libc_argc): New variable.
3404 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3406         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3407         _HURD_THREADVAR_MALLOC.
3408         * malloc/thread-m.h
3409         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3410         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3411         __mutex_*.
3412         (mutex_t): Type removed & replaced by new macro.
3413         (tsd_key_t): Typedef to int instead of pthread_key_t.
3414         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3415         (__pthread_initialize): New macro, work around assumption of pthreads.
3416         (tsd_keys_alloced): New static variable.
3417         <hurd/threadvar.h>: New include.
3419         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3420         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3421         defined before using it.
3423         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3424         Make extern.
3425         * hurd/hurdinit.c (__libc_argv): Make extern.
3427         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3428         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3430         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3431         __hurd_threadvar_stack_offset,
3432         __hurd_threadvar_stack_mask): New variables.
3433         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3434         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3435         New variables (moved here from hurdstartup.c).
3436         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3437         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3438         Variables removed (moved to hurdsig.c).
3439         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3440         __hurd_threadvar_stack_mask): Variables removed.
3441         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3442         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3443         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3444         __hurd_threadvar_stack_mask): Variables removed.
3446 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3448         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3449         Declare extern.
3451         * malloc/thread-m.h
3452         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3453         (mutex_t): Type removed.
3454         (mutex_t): New macro.
3455         (mutex_trylock): New macro.
3456         (__x_mutex_lock, __x_mutex_unlock): New functions.
3457         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3458         the cthread definitions.
3459         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3460         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3461         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3462         (__pthread_initialize): New macro, work around assumption of pthreads.
3464 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3466         * sysdeps/generic/netinet/in.h: Protect contents using
3467         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3469         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3470         * inet/Makefile (headers): Remove net/ethernet.h.
3471         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3472         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3474 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3476         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3477         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3479 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3481         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3483 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3485         * stdio-common/test-fseek.c: Remove temporary file, add
3486         copyright.
3488 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3490         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3491         levels with no non-IGNOREd element and handling of NUL byte.
3492         * string/strcoll.c (STRXFRM): Likewise.
3493         * locale/weight.h: Likewise.
3495         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3497 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3499         * locale/programs/locale.c: Check whether output of `locale -a'
3500         really is locale directory.  Also print locale aliases.
3502 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3504         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3505         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3507 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3509         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3510         additional argument.
3512 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3514         * inet/net/ethernet.h: New file.
3515         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3516         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3517         Contributed by a sun <asun@zoology.washington.edu>.
3519         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3520         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3521         Reported by a sun <asun@zoology.washington.edu>.
3523 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3525         * stdio-common/bug10.c (main): Correct parameter.
3527         * string/strcoll.c: Update copyright.
3529 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3531         * malloc/obstack.h: Add `extern "C"' protection.
3532         * posix/regex.h: Likewise.
3533         * io/ftw.h: Likewise.
3534         * misc/libgen.h: Likewise.
3535         * login/utmp.h: Likewise.
3536         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3537         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3538         * sunrpc/rpc/pmap_rmt.h: Likewise.
3539         * sunrpc/rpc/auth_des.h: Likewise.
3540         * elf/link.h: Likewise.
3541         * inet/netinet/ether.h: Likewise.
3542         Reported by HJ Lu.
3544 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3546         Linux specific network headers.
3547         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3548         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3549         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3550         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3551         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3552         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3553         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3554         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3555         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3556         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3557         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3558         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3559         Add sys/quota.h.
3560         [$(subdir)=inet] (sysdep_headers): Add new network header.
3562         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3563         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3565         * inet/netinet/ip.h: Move to sysdeps/generic.
3567 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3569         * inet/netinet/ip.h: Add protection.
3571 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3573         * misc/sys/syslog.h (prioritynames): Correct definition to use
3574         braces where necessary.
3575         (facilitynames): Likewise.
3576         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3577         Comment and beautify declarations.
3579 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3581         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3582         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3584 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3586         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3587         _nss_nis_gethostton_r.
3588         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3590 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3592         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3593         length of abs_filename.
3595 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3597         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3598         trying to resolv name as numeric IPv6 address.
3599         * nss/digits_dots.c: Likewise.
3601 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3603         * locale/programs/localedef.c: Implement --quiet option.
3604         * locale/programs/charset.h: Declare be_quiet variable.
3605         * locale/programs/locfile.h: Likewise.
3606         * locale/programs/charmap.c: Don't print warnings if quiet option
3607         was given.
3608         * locale/programs/ld-collate.c: Likewise.
3609         * locale/programs/ld-ctype.c: Likewise.
3610         * locale/programs/ld-messages.c: Likewise.
3611         * locale/programs/ld-monetary.c: Likewise.
3612         * locale/programs/ld-numeric.c: Likewise.
3613         * locale/programs/ld-time.c: Likewise.
3614         * locale/programs/locfile.c: Likewise.
3616 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3618         * stdlib/qsort.c: Add prototype for _quicksort.
3620         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3622         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3623         from dl-machine.h.
3625 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3627         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3628         Allow user to overwrite it.
3630 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3632         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3633         versions.  Reported by Andreas Jaeger.
3635 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3637         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3638         1997-02-12.
3640         * time/tzfile.c (__tzfile_read): Change comment to follow
3641         change of 1997-02-12.
3643 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3645         * time/time.h (__nanosleep): Define only when struct timespec is
3646         also available.
3647         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3649 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3651         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3652         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3654 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3656         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3657         of 1997-02-09 in resolv/gethnamaddr.c.
3659 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3661         * libio/_G_config.h (_G_wint_t): New.
3663 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3665         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3666         to sizeof (buf.buf) while calling res_search ().
3668 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3670         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3671         val to keydat, stat to status.
3673 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3675         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3677 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3679         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3680         by Keith Bostic.
3682 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3684         * stdlib/atoll.c: Undefine atoll, not atol.
3686 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3688         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3689         unused arguments of shell script.
3691         * Makeconfig (all-object-suffixes): New variable.
3692         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3693         of $(object-suffixes).
3694         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3696 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3698         * locale/weight.h (collate_rules): It's an u_int32_t array.
3699         (get_weight): Compute initial SLOT value correctly.
3701 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3703         * string/argz-ctsep.c: Initialize *LEN when successful.
3705 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3707         * version.h (VERSION): Bump to 2.0.2.
3709         * posix/Makefile (routines): Add getopt_init.
3710         * posix/getopt.c: Don't get environment variable with nonoption
3711         flags here.  Depend on __getopt_nonoption_flags variable filled
3712         somewhere else.  This is necessary since the variable must be
3713         removed even when getopt isn't used in case exec(2) gets called.
3714         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3715         and remove environment variable.
3716         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3717         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3718         * sysdeps/stub/init-first.c: Likewise.
3719         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3721         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3722         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3724         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3725         encryption is wanted.
3727         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3728         * stdio/vsnprintf.c: Likewise.
3729         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3731         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3732         * stdio/vsnprintf.c: Likewise.
3733         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3735 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3737         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3738         Change PTR to void *.
3739         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3740         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3742 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3744         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3746 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3748         * rellns-sh: No need to check for existance of first parameter.
3750 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3752         * rellns-sh: No need to check for existance of first parameter.
3754 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3756         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
3757         by David Holland <dholland@eecs.harvard.edu>.
3759 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3761         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3762         select, in case it is modified by the latter.
3763         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3764         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3765         * sunrpc/svc_tcp.c (readtcp): Likewise.
3767         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3768         array.
3770         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3771         and gid_t.
3773         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3774         argument.
3776 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3778         * elf/Makefile (extra-objs): Don't zap previous value.
3779         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
3780         twice.
3782 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3784         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3785         braindamage (sigh!).
3787 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
3789         * manual/memory.texi: Correct `copystring' example for obstacks.
3791 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
3793         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3794         GNU tr don't grok it.
3796 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3798         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
3799         Don't use GNU C extensions.
3800         (CMSG_DATA): Use portable definition.
3802 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
3804         * elf/ldd.bash.in: Add test for read permission and print appropriate
3805         message.  Change warning and error messages to print "ldd: " at start.
3806         * elf/ldd.sh.in: Likewise.
3808         * stdlib/Makefile (routines): Add atoll.
3809         * stdlib/atoll.c: New file.
3810         * stdlib/stdlib.h: Add prototype and optimization for atoll.
3812         * stdlib/a64l.c: Update copyright.
3813         * stdlib/abs.c: Likewise.
3814         * stdlib/atof.c: Likewise.
3815         * stdlib/atoi.c: Likewise.
3816         * stdlib/atol.c: Likewise.
3817         * stdlib/bsearch.c: Likewise.
3818         * stdlib/exit.c: Likewise.
3819         * stdlib/fpioconst.c: Likewise.
3820         * stdlib/fpioconst.h: Likewise.
3821         * stdlib/jrand48.c: Likewise.
3822         * stdlib/jrand48_r.c: Likewise.
3823         * stdlib/labs.c: Likewise.
3824         * stdlib/lcong48.c: Likewise.
3825         * stdlib/lcong48_r.c: Likewise.
3826         * stdlib/llabs.c: Likewise.
3827         * stdlib/lrand48.c: Likewise.
3828         * stdlib/lrand48_r.c: Likewise.
3829         * stdlib/mblen.c: Likewise.
3830         * stdlib/mbstowcs.c: Likewise.
3831         * stdlib/mbtowc.c: Likewise.
3832         * stdlib/mp_clz_tab.c: Likewise.
3833         * stdlib/mrand48.c: Likewise.
3834         * stdlib/mrand48_r.c: Likewise.
3835         * stdlib/msort.c: Likewise.
3836         * stdlib/nrand48.c: Likewise.
3837         * stdlib/nrand48_r.c: Likewise.
3838         * stdlib/qsort.c: Likewise.
3839         * stdlib/rpmatch.c: Likewise.
3840         * stdlib/seed48.c: Likewise.
3841         * stdlib/seed48_r.c: Likewise.
3842         * stdlib/srand48.c: Likewise.
3843         * stdlib/srand48_r.c: Likewise.
3844         * stdlib/strtod.c: Likewise.
3845         * stdlib/wcstombs.c: Likewise.
3846         * stdlib/wctomb.c: Likewise.
3848 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
3850         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
3851         as const.
3853 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
3855         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
3856         including <stddef.h>.
3858 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3860         * time/Makefile (tzbases, tzlinks): New.
3861         (tzfiles): Changed to $(tzbases) $(tzlinks).
3862         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
3864 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3866         * Makefile (install): Ignore error from ldconfig.
3868         * time/zic.c (mkdirs): Double check the error return of mkdir ().
3870 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
3872         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
3873         like PPC where va_list is no integral type.
3875 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
3877         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
3878         if nonoption_flags_len == -1.
3880 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
3882         * Version 2.0.1 net release.
3884 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
3886         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
3888 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
3890         * stdlib/getsubopt.c: Don't return `=' for suboption which has
3891         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
3893 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3895         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
3896         values as in yp.x and yp.h.
3898 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
3900         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
3901         1997-02-03 02:17.  Sun's implementation internally corrects
3902         this bug but we don't want to hide this from the user.
3903         * nis/rpcsvc/yp.h: Likewise.
3905 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3907         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
3908         inclusion.
3910 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3912         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
3913         fixes.
3915 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3917         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
3918         (all-sources, all-headers): Use them instead of $(sources) and
3919         $(headers) when searching in sysdep directories.
3921 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3923         * Makerules (REAL_MAKE_VERSION): Use internal make function
3924         instead of shelling out.
3926 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3928         * time/Makefile (install-test-data): Remove mkdir command, zic can
3929         handle that gracefully.
3931 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3933         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
3934         somehow.
3936 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3938         * sunrpc/Makefile: Check $(cross-compiling) only after including
3939         ../Makeconfig.
3940         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
3941         being considered as a rule.
3942         (generated): Add stamp files before the inclusion of Makerules to
3943         magically mark them as not being intermediate via the `generated'
3944         target.
3946 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
3948         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
3949         entries.  This is still no complete implementation since AUXILIARY
3950         entries in other shared objects are not yet handled.
3952         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
3953         place.
3955         * po/es.po: Update.
3956         * po/fr.po: Update.
3957         * po/nl.po: Update.
3959         * time/Makefile: Better cross-compile support.  Avoid test which
3960         cannot be run.
3961         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
3962         tzfile.h file.
3963         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
3964         in SUID programs.
3965         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
3966         default values as in tzfile.c.
3968         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
3969         tags.
3970         * elf/link.h: Likewise.
3971         * elf/elf.h: Add tag definitions and data structures for versioning.
3973 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
3975         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
3976         "Sun bug".  This is the order of elements also used by 4.4BSD.
3977         * nis/rpcsvc/yp.h: Likewise.
3978         Reported by HJ Lu.
3980 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3982         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
3983         action.
3985         * Makefile (install): Pass installation directories as arguments
3986         to ldconfig.
3988 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
3990         * malloc/malloc.c (__after_morecore_hook): New variable.
3991         (malloc_extend_top): Call __after_morecore_hook if set.
3992         (main_trim): Likewise.
3993         * malloc/malloc.h: Add declaration of __after_morecore_hook.
3994         Suggested by Marcus Daniels.
3996 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
3998         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
3999         #ifndef NO_THREADS.
4000         (mallinfo): Likewise.
4002         * malloc/malloc.c (__morecore): Make external since it is used in
4003         programs.
4005 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4007         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4008         unsigned.
4010 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4012         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4013         use t6 as a temporary; it contains bits we still need in $u_head.
4015 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4017         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4018         using __ prefix.  Add prototype for log1p.
4020 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4022         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4024 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4026         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4028 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4030         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4031         structure plus related macros.
4032         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4033         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4034         (sysdep_routines): Add cmsg_nxthdr.
4035         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4036         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4038 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4040         * time/strftime.c: Define _strftime_copytm without protecting arguments
4041         which breaks the definition.
4043 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4045         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4046         definition of type for element.
4048 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4050         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4051         constants.
4053 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4055         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4056         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4058 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4060         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4061         Define if _LIBC is defined.
4062         <limits.h>: Include if HAVE_LIMITS_H instead of if
4063         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4064         <stdlib.h>: Similarly, include if STDC_HEADERS.
4065         (localtime_r): Redo #ifdef to make it clear that glibc has
4066         localtime_r now.
4068 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4070         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4071         file to avoid unnecessary recompilation.
4073 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4075         * Makefile: Set install-others, not install_others.
4076         (before-compile): Use += to preserve previous value.
4077         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4078         fix dependency name.
4079         ($(objpfx)lib-names.h): Remove rule.
4080         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4081         with correct name, using an intermediate stamp file.
4082         (common-generated): Add gnu/lib-names.h.
4083         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4085 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4087         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4088         to prevent warnings on 64 bit systems.
4089         Reported by Paul Wouters <paul@xtdnet.nl>.
4091         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4092         we assume it works.
4094 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4096         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4097         double word boundary before pushing args for main.  This way we
4098         don't get penalties for misaligned memory accesses.  Reported by
4099         Edward Seidl <seidl@janed.com>.
4101         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4102         Patch by HJ Lu.
4104         * misc/bsd-compat.c: Update copyright.
4105         * misc/efgcvt.c: Likewise.
4106         * misc/efgcvt_r.c: Likewise.
4107         * misc/error.c: Likewise.
4108         * misc/error.h: Likewise.
4109         * misc/fstab.c: Likewise.
4110         * misc/init-misc.c: Likewise.
4111         * misc/lsearch.c: Likewise.
4112         * misc/mntent.c: Likewise.
4113         * misc/qefgcvt.c: Likewise.
4114         * misc/qefgcvt_r.c: Likewise.
4115         * nss/databases.def: Likewise.
4116         * nss/db-Makefile: Likewise.
4117         * nss/ethers-lookup.c: Likewise.
4118         * nss/hosts-lookup.c: Likewise.
4119         * nss/netgrp-lookup.c: Likewise.
4120         * nss/nsswitch.h: Likewise.
4121         * nss/proto-lookup.c: Likewise.
4122         * nss/rpc-lookup.c: Likewise.
4123         * nss/service-lookup.c: Likewise.
4124         * nss/nss_db/db-netgrp.c: Likewise.
4125         * nss/nss_files/files-grp.c: Likewise.
4126         * nss/nss_files/files-hosts.c: Likewise.
4127         * nss/nss_files/files-network.c: Likewise.
4128         * nss/nss_files/files-proto.c: Likewise.
4129         * nss/nss_files/files-pwd.c: Likewise.
4130         * nss/nss_files/files-rpc.c: Likewise.
4131         * nss/nss_files/files-service.c: Likewise.
4132         * nss/nss_files/files-spwd.c: Likewise.
4133         * shadow/fgetspent.c: Likewise.
4134         * shadow/fgetspent_r.c: Likewise.
4135         * shadow/getspent.c: Likewise.
4136         * shadow/getspent_r.c: Likewise.
4137         * shadow/getspnam.c: Likewise.
4138         * shadow/getspnam_r.c: Likewise.
4139         * shadow/putspent.c: Likewise.
4140         * shadow/sgetspent.c: Likewise.
4141         * shadow/sgetspent_r.c: Likewise.
4142         * sysdeps/i386/init-first.c: Likewise.
4143         * sysdeps/unix/i386/sysdep.S: Likewise.
4145         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4146         prepared to be running in a multi-threaded environment.  Change
4147         to __USE_MISC unless the function is defined in POSIX.1 (in this
4148         case also test for __USE_POSIX).
4149         * dirent/dirent.h: Likewise.
4150         * grp/grp.h: Likewise.
4151         * inet/aliases.h: Likewise.
4152         * libio/libio.h: Likewise.
4153         * libio/stdio.h: Likewise.
4154         * login/utmp.h: Likewise.
4155         * math/mathcalls.h: Likewise.
4156         * misc/mntent.h: Likewise.
4157         * pwd/pwd.h: Likewise.
4158         * resolv/netdb.h: Likewise.
4159         * stdlib/stdlib.h: Likewise.
4160         * string/string.h: Likewise.
4161         * sunrpc/rpc/netdb.h: Likewise.
4162         * sysdeps/generic/crypt.h: Likewise.
4163         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4164         * time/time.h: Likewise.
4166 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4168         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4169         only if not cross compiling.
4171 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4173         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4174         NULL.
4175         * sysdeps/posix/sigwait.c: Likewise.
4177 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4179         * Makeconfig ($(common-objpfx)config.make): Depend on
4180         $(..)config.make.in.
4182 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4184         * sunrpc/Makefile: Don't generate headers derived from .x files when
4185         crosscompiling.
4187 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4189         * Makefile: Generate gnu/lib-names.h in before-compile.
4190         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4191         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4192         to the revision found for LIBNSS_FILES_SO.
4193         (nss_initilized): Removed.  It was tested but never set.
4194         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4196         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4197         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4199         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4201 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4203         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4204         override the definition.
4206 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4208         * config.make.in (malloc): Remove.
4210 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4212         * version.h (VERSION): Bump to 2.0.1.
4214         * posix/getopt.c: Handle another problem introduced by the
4215         nonoption_flags array.  We must be able to work with reordered
4216         argv arrays.  Reported by Andreas Schwab.
4218 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4220         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4221         stack.
4223 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4225         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4226         that it works with yp.h.
4228 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4230         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4231         __libc_malloc_initialized so that this variable is not shared with
4232         other users of GNU malloc.
4233         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4235         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4237         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4238         variables to prevent warnings.
4239         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4240         using attribute regparm.
4241         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4242         is changed by the resolver code.
4244 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4246         * malloc/malloc.c (weak_variable): Define.
4247         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4248         __memalign_hook): Make them weak definitions.
4250 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4252         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4253         limits, correctly take structure padding into account, use correct
4254         offset when resetting the stream, change heuristic to assume an
4255         average name length of 14 characters.
4257 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4259         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4260         inclusion.
4263 See ChangeLog.6 for earlier changes.