__malloc_initialized now signals three states: uninitialized,
[glibc.git] / ChangeLog
blob1a0b0d6a8386ff584e77394bcd9897e67cede523
1 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3         * version.c: Update copyright.
5 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
7         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
8         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
10         * elf/dl-support.c: Add definition of _dl_library_path for static
11         binaries.
13 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
15         * resolv/resolv.h: Include <netinet/in.h>.
17 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
19         * manual/nss.texi: The database is not called network but networks.
20         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
22 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
24         * elf/dl-close.c (_dl_close): Fix byte count while removing the
25         shared object from the global scope list and optimize a little
26         bit.
28 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
30         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
31         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
32         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
33         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
35 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
37         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
39 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
41         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
43 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
45         * sysdeps/generic/pty.c (openpty): Allow the use of more ptys.
47         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
48         directory index by only the language.
50 1998-03-16 10:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
52         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2): Reorder conditions
53         to handle x = 0 or y = 0 correctly.
55 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
57         * string/tester.c (main): Update strsep tests from 2.1.
59         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Remove selection of
60         instruction set here.
61         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): Define
62         to set needed instruction set.
63         Patches by Richard Henderson.
65         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
66         (get_toplvl_escape): Correctly terminate loop at EOF.
67         Patch by Cristian Gafton <gafton@redhat.com>.
69 1998-03-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
71         * sysdeps/generic/strsep.c: Correct handling of separators after
72         last non-separator.
74 1998-03-13  Ulrich Drepper  <drepper@cygnus.com>
76         * sysdeps/i386/fpu/__math.h (atan2): Take over code from glibc
77         2.1.
79 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
81         * elf/dlerror.c (last_object_name): Removed.
82         (dlerror): Don't use last_object_name.
83         (_dl_error_run): Omit second argument to _dl_catch_error.
84         * elf/dl-error.c (struct catch): Remove objname member.
85         (_dl_signal_error): Construct string including objname when given.
86         (_dl_catch_error): Remove objname handling.
87         * elf/link.h (_dl_catch_error): Fix prototype and comment.
88         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
89         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
90         * nss/nsswitch.c (nss_dlerror_run): Likewise.
91         [Corrects PR libc/501].
93 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
95         * elf/rtld.c (dl_main): Install link maps for preloaded objects
96         using main_map as loader.
98 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
100         * sysdeps/i386/__longjmp.S: Fix race condition.
101         Reported by Bruno Haible <haible@ilog.fr>.
103 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
105         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
106         parsing it.
108         * elf/dl-close.c (_dl_close): Applied changes from 2.1 to correct
109         unmapping.
111 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
113         * elf/rtld.c (_dl_library_path): New variable.  Initialize from
114         LD_LIBRARY_PATH envvar and let user overwrite the value using new
115         --library-path option.
117         * elf/dl-load.c (_dl_map_object): Don't get LD_LIBRARY_PATH
118         envvar, use global variable _dl_library_path.
120         * Makeconfig: Use --library-path option instead of LD_LIBRARY_PATH
121         envvar.
123         * misc/syslog.c (vsyslog): Don't try to send if not connected to
124         syslog daemon.
125         (closelog_internal): Don't do anything if not connected.
127         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
128         flag.
130 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
132         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
133         * manual/filesys/texi: Document this.
135 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
137         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
138         0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
140 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
142         * sysdeps/generic/getresgid.c: Remove stub-tag.h.
143         * sysdeps/generic/getresuid.c: Likewise.
145 1998-03-09 15:42  Ulrich Drepper  <drepper@cygnus.com>
147         * sysdeps/generic/getresgid.c: New file.
148         * sysdeps/generic/getresuid.c: New file.
150 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
152         * sysdeps/unix/sysv/linux/getresgid.c: Fix typo.
153         Patch by Cristian Gafton <gafton@redhat.com>.
155 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
158         getres[ug]id.
159         * sysdeps/unix/sysv/linux/getresgid.c,
160         sysdeps/unix/sysv/linux/getresuid.c: New files.
161         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
162         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
163         s_getres[gu]id.  Don't mark lchown as extra syscall.
165         * sysdeps/unix/sysv/linux/sparc/socket.S: Allow __socket to be
166         redefined.
168 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
170         * misc/syslog.c (openlog_internal): Follow 2.1 changes to prevent
171         errno being set.
173 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
175         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
176         Linux 2.0 and 2.1.
178         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
180 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
182         * manual/texinfo.tex: Updated.
184 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
186         * manual/maint.texi: Change prep.ai.mit.edu to {ftp}.gnu.org.
188 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
190         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
192 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
194         * elf/ldd.sh.in: Add compatibility for broken old shells.
195         * elf/ldd.bash.in: Likewise.
197 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
199         * sunrpc/rpc/auth.h: More prototype cleanups.
200         * sunrpc/rpc/xdr.h: Likewise.
202 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
204         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
205         module.
207         * nss/getXXent_r.c: If no more module is found don't try to call
208         setXXent functions but leave unsuccessfully.
210 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
212         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
213         and use x for member name.
214         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
216         * stdlib/drand48.c: Change according to member name change.
217         * stdlib/drand48_r.c: Likewise.
218         * stdlib/lcong48_r.c: Likewise.
219         * stdlib/lrand48.c: Likewise.
220         * stdlib/lrand48_r.c: Likewise.
221         * stdlib/mrand48.c: Likewise.
222         * stdlib/mrand48_r.c: Likewise.
223         * stdlib/seed48.c: Likewise.
224         * stdlib/seed48_r.c: Likewise.
225         * stdlib/srand48_r.c: Likewise.
227 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
229         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
230         extra syscall.
232 1998-03-03 23:08  H.J. Lu  <hjl@gnu.org>
234         * misc/efgcvt_r.c: Really update from 2.1.
236 1998-02-07 15:06  H.J. Lu  <hjl@gnu.org>
238         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
240 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
242         * version.h (VERSION): Bump to 2.0.7.
244         * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
245         to open_path.
246         (open_path): If preloading and SUID binary, use shared object only
247         if SUID bit is set.
248         * elf/link.h: Adjust prototype for _dl_map_object.
249         * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
250         new argument.
251         * elf/dl-open.c (_dl_open): Likewise.
252         * elf/rtld.c: Likewise.
254         * Makefile (subdirs): Undo last patch.
256         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
257         for some broken kernel versions.
258         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
259         closing paren.
260         * sysdeps/alpha/dl-machine.h: Add missing opening brace.
261         Patches by Cristian Gafton.
263         * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
264         bugs.
266         * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
267         * sunrpc/rpc/auth.h: Likewise.
268         * sunrpc/rpc/clnt.h: Likewise.
269         * sunrpc/rpc/xdr.h: Likewise.
271         * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
272         * sunrpc/clnt_perror.c: Adopt definition.
274 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
276         * db/Makefile ($(inst_libdir)/libndbm.a,
277         $(inst_libdir)/libndbm.so): New targets.
279 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
281         * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
282         * math/math.h: Likewise.
284 1998-03-02 18:23  H.J. Lu  <hjl@gnu.org>
286         * stdio-common/vfscanf.c (inchar): Fix typos.
288 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
290         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
291         search.
293 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
295         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
297 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
299         * inet/netinet/in.h: Rename second parameter of bindresvport to
300         avoid buggy gcc warning. [PR libc/412]
302 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
304         * dladdr.c (dladdr): Remove duplicate code.
306 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
308         * Makefile (subdirs): Remove login.  It appears in
309         sysdeps/unix/Subdirs.  Reported by Roland McGrath.
311         * configure.in: Fix script for handling $CC containing whitespace.
312         Patch by Roland McGrath.
314         * configure.in: Avoid //s in sysdirs.  Patch by Roland McGrath.
316 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
318         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
319         setting _dl_global_scope for RTLD_GLOBAL.
321 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
323         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
324         that the number of program headers is >0 (which is wrong for the
325         loader itself).
327 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
329         * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
330         but does not require it.  Handle missing argv[] values gracefully.
331         * posix/execle.c: Likewise.
333 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
335         * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
336         input.
338 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
340         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
341         * tst-strtod.c (tests): Add fail case for above.
343         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
344         bootstrapping.  Produce saner error messages.
346         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
347         adjtimex.
348         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
349         asjtime.
350         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
351         syscalls that use 32-bit struct timeval.
352         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
353         Update to 2.1.87 for the benefit of Alpha.
355         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
356         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
358 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
360         * nis/ypclnt.c: Give clnt handle after error checking free, change
361         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
363 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
365         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
366         __fsid_t.  Reported by Gene McCulley <mcculley@iag.net>.
368 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
370         * resolv/gethnamaddr.c (addrsort): Make this function extern.
372 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
374         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
375         _dl_lookup_symbol_skip call.
377 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
379         * wctype/test_wctype.c (TEST): Fix paren nesting.
381 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
383         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
384         int value.
386 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
388         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
389         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
391         * math/math.h: Define M_* constants always as `double' and add new
392         macros M_*l which are of type `long double'.
394 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
396         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
397         starting from 0 not only from `from'.
398         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
400 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
402         * locale/programs/ld-messages.c (messages_finish): Don't skip
403         error checking when being quiet.
404         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
405         (set_class_defaults): Likewise.
406         * locale/programs/charmap.c (parse_charmap): Likewise.
407         * locale/programs/ld-collate.c (collate_finish): Likewise.
408         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
409         * locale/programs/ld-time.c (time_finish): Likewise.
410         * locale/programs/locfile.c (write_locale_data): Likewise.
412         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
413         unknown characters and empty ranges.
414         * locale/programs/ld-collate.c (collate_order_elem): When
415         processing an ellipsis properly form a linked list in the result
416         table, fix typo when allocating ordering array.
417         [PR libc/419]
419 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
421         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
423 1998-02-09  H.J. Lu  <hjl@gnu.org>
425         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
426         bind 4.9.6.
427         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
428         [PR libc/389 and 431]
430 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
432         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
434 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
436         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
437         instead of __mempcpy.  Reported by OKUJI Yoshinori
438         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
440 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
442         * configure.in: Check for working msgfmt version (from GNU gettext
443         0.10 or later).
445 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
447         * configure.in: Check for a working makeinfo (3.11 or better).
448         * config.make.in: Add MAKEINFO to be substituted.
449         * manual/Makefile: Don't update info if makeinfo is too old.
451 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
453         * elf/dladdr.c: Use braces for correct logical grouping.
454         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
456 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
458         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
460 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
462         * manual/Makefile: Don't try to install the info files if makeinfo
463         is not available.
465 1998-01-26  Richard Henderson  <rth@cygnus.com>
467         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
468         kernel 2.1.82 has this fixed.
470 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
472         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
473         name to lowercase.
475         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
476         name to lowercase, add test for big enough buffer.
478 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
480         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
481         Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
483 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
485         * manual/errno.texi (Error Messages): Correct description of
486         strerror_r.  Pointed out by jonas@bagge.se.
488 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
490         * db/makedb.c (main): Add output_name to error message.
492         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
493         Patch by Thorsten Kukuk.
495         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
496         last patch.  Patch by Thorsten Kukuk.
498         * nss/getXXent_r.c: Include <errno.h>
500         * nss/getXXbyYY_r.c: Include <errno.h>.
502 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
504         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
505         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
506         * wctype/wctype.c: Likewise.
507         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
508         changed.  They are incompatible with the _ISxxx values from
509         <ctype.h> on little endian machines.
510         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
511         bit number.  This fixes the real bug and restores the integrity of
512         the LC_CTYPE locale file.
513         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
514         * wctype/wcfuncs_l.c: Likewise.
515         * wctype/wcextra.c: Likewise.
516         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
517         byte swapping.
518         [PR libc/405]
520 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
522         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
523         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
524         Reported by Craig Metz <cmetz@inner.net>.
526         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
528         * signal/signal.h: Always define sigset_t if __need_sigset_h is
529         defined.
531 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
533         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
534         Patch by Dean Gaudet <dgaudet@arctic.org>.
536 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
538         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
539         with hidden variable name.
540         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
542 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
544         * nss/getXXent_r.c: Include <errno.h>
546         * nss/getXXbyYY_r.c: Include <errno.h>.
548 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
550         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
551         is too small.
552         * nss/getXXent_r.c: Likewise.
554 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
556         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
558 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
560         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
561         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
562         [PR libc/441]
564         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
565         occurence in cache. Reported by Rudolf Leitgeb
566         <leitgeb@leland.stanford.edu>.
567         [PR libc/440]
569         * nss/nss_files/files-service.c: Undo last change.
571 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
573         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
574         [PR libc/410]
576 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
578         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
579         zero in alternate form with precision of zero, which must produce
580         "0".  Add braces to avoid ambiguous `else'.
582 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
584         * locale/programs/charset.c (insert_char): Correctly insert value
585         of eliipsis expression.
587 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
589         * stdlib/strfmon.c: Fix numerous bugs in formatting.
591 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
593         * string/strsignal.c: Regard signal number NSIG as illegal.
594         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
595         members.
597 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
599         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
600         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
602 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
604         * nis/ypclnt.c: Try at first to use the binding file from ypbind
605         before using RPC.
607 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
609         * manual/memory.texi (Heap Consistency Checking): mcheck is
610         declared in <mcheck.h>.
611         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
613         * malloc/Makefile (headers): Add mcheck.h.
614         (distribute): Remove mcheck.h.
616 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
618         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
619         beginning of haystack.
621 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
623         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
625 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
627         * login/utmp_file.c (pututline_file): Don't always report success
628         if similar entry is found.  Patch by Mark M. Kettenis.
630 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
632         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
633         kernel's network ioctls, rather than using <linux/sockios.h> to
634         get them.  This way we are sure of maintaining compatibility if
635         the kernel interface should change.
637 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
639         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
641 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
643         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
646 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
648         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
650 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
652         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
653         really kept as a variable.  Patch by Richard Henderson,
654         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
656 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
658         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
659         by uch@nop.or.jp. [PR libc/437]
661 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
663         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
664         prevent use of kernel headers.
665         Patch by Richard Henderson.
667 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
669         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
670         overflow while reading line with fgets.
671         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
673 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
675         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
676         unsigned short, not short.
677         Reported by Andreas Jaeger.
679 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
681         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
682         reading line with fgets.
683         * nis/nss_compat/compat-pwd.c: Likewise.
684         * nis/nss_compat/compat-spwd.c: Likewise.
685         * nss/nss_files/files-XXX.c: Likewise.
686         * nss/nss_files/files-alias.c: Likewise.
687         * shadow/fgetspent_r.c: Likewise.
689 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
691         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
692         Patch by Ulrich Drepper. [PR libc/413]
694 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
696         * nss/db-Makefile: Handle empty and comment lines better.
697         ($(VAR_DB)/services.db): Generate entries with missing protocol
698         value.
700 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
702         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
703         exit of loop.
705 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
707         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
708         (getservbyname): Allow proto == NULL.
709         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
710         [PR libc/430].
712         * string/strerror_r.c (__strerror_r): Fix description of
713         function.
714         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
715         unknown error in presense of small buffer.
716         * sysdeps/generic/_strerror.c: Likewise.
717         Pointed out by Jonas Bagge <jonas@bagge.se>.
719 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
721         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
722         instead of strcasecmp.
723         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
725 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
727         * locale/langinfo.h: Add defines.
728         * dirent/dirent.h: Add defines for DT_*.
730         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
731         _PC_VDISABLE.
732         Suggested by Roland McGrath.
734 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
736         * sysdeps/alpha/w_sqrt.S: Removed.
737         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
738         and build a version that is as fast as possible given the constraint.
739         [PR libc/423].
741 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
743         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
744         handling of enlarging buffers (clear errno).
745         * sunrpc/clnt_simp.c (callrpc): Likewise.
746         * sunrpc/getrpcport.c (getrpcport): Likewise.
747         * sunrpc/clnt_gen.c (clnt_create): Likewise.
748         * shadow/fgetspent.c (fgetspent): Likewise.
749         * shadow/sgetspent.c (sgetspent): Likewise.
750         * pwd/fgetpwent.c (fgetpwent): Likewise.
751         * nss/getXXent.c (GETFUNC_NAME): Likewise.
752         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
753         * inet/rexec.c (rexec): Likewise.
754         * inet/rcmd.c (rcmd): Likewise.
755         (ruserok): Likewise.
756         (__icheckhost): Likewise.
757         * grp/initgroups.c (initgroups): Likewise
758         * grp/fgetgrent.c (fgetgrent): Likewise.
759         Based on patches by Cristian Gafton <gafton@redhat.com>.
761 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
763         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
764         * nss/getXXent_r.c: Likewise.
765         Patches by Cristian Gafton <gafton@redhat.com>.
767 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
769         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
770         terminating null in key size.
772 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
774         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
775         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
776         [PR libc/417].
778         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
779         by Jochen Voss <voss@mathematik.uni-kl.de>.
780         [PR libc/415].
782         * manual/time.texi (Priority): Correct description of
783         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
784         [PR libc/416].
786         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
788 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
790         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
792 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
794         * nss/nss_files/files-service.c: Fix allocation size to include
795         length of PROTO.
797         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
798         applicable.  Fix return value and error checking.
799         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
800         unparsable lines.
801         (DB_LOOKUP): Allocate space for terminating null byte.
802         [PR libc/404]
804         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
805         uids specially.
807         * db2/makedb.c (process_input): Continue processing if a duplicate
808         key is encountered.
810 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
812         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
813         lookups ignoring case.
814         * nss/nss_files/files-network.c: Do network lookups ignoring
815         case.
816         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
817         case.
818         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
819         case insensitive comparing.
820         Patches by Cristian Gafton <gafton@redhat.com>.
822         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
823         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
824         <gafton@redhat.com>.
826 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
829         by Roland McGrath. [PR libc/395]
831 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
833         * manual/arith.texi (Parsing of Integers): Correct description of
834         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
835         [PR libc/396]
837 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
839         * signals.c (sigwait): Correct loop initilization and end
840         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
842 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
844         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
845         cancelable socket functions as __libc_xxx with __xxx as weak
846         alias.
848         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
849         redefined.
850         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
852         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
853         and __xxx a weak alias.
854         * sysdeps/unix/sysv/linux/connect.S: Likewise.
855         * sysdeps/unix/sysv/linux/recv.S: Likewise.
856         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
857         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
858         * sysdeps/unix/sysv/linux/send.S: Likewise.
859         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
860         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
861         [PR libc/391]
863 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
865         * configure.in: Fix --enable-add-ons code.
867 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
869         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
870         Patch by David Engel <david@sw.ods.com>.
872         * configure.in: Fix another typo in --enable-add-ons code.
874 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
876         * misc/lsearch.c (lsearch): Return a pointer to the new element
877         if one was "allocated".
879 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
881         * string/strsignal.c: Don't zap the last character of the "Unknown
882         signal" message.
884 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
886         * libio/iofgets.c (_IO_fgets): Return an error only if there
887         is a new error.
888         * libio/iogets.c (_IO_gets): Ditto.
890 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
892         * nss/nss_files/files-network.c: Correct order of parameters for
893         getnetbyaddr.
894         (LINE_PARSER): Set n_addrtype to AF_INET.
896 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
898         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
899         and JMP_SLOT see the relocation addend.
901 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
903         * version.h (RELEASE): Set to "production".
905         * po/nl.po: Updated.
906         * po/es.po: Updated.
908         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
910 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
912         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
913         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
915 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
917         * configure.in: Fix typo.  Correct check for available add-ons.
919         * limits.h: Always define MB_LEN_MAX.
921         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
922         * nis/nss_nis/nis-grp.c: Likewise.
923         * nis/nss_nis/nis-hosts.c: Likewise.
924         * nis/nss_nis/nis-network.c: Likewise.
925         * nis/nss_nis/nis-proto.c: Likewise.
926         * nis/nss_nis/nis-pwd.c: Likewise.
927         * nis/nss_nis/nis-rpc.c: Likewise.
928         * nis/nss_nis/nis-service.c: Likewise.
929         * nis/nss_nis/nis-spwd.c: Likewise.
931         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
932         directly.
934         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
936         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
938 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
940         * posix/sched.h: timespec is in <time.h>.
942         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
944 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
946         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
947         Define STREAM_MAX using FOPEN_MAX.
949         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
950         Define as size_t.
951         * locale/programs/locale.c: Use correct cast from pointer value.
953         * misc/regexp.h (compile): Use parameter names without __.
955         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
956         instead of strcpy for security reasons.
957         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
958         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
959         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
960         * sunrpc/clnt_simp.c (callrpc): Likewise.
962         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
963         for map_v4v6_hostent call.
965         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
966         __need_FOPEN_MAX.
967         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
968         __need_FOPEN_MAX.
969         * sysdeps/stub/stdio_lim.h: Likewise.
971         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
972         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
973         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
974         msg_lspid and msg_lrpid field.
975         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
976         shm_lpid field.
978 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
980         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
982 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
984         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
986 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
988         * elf/rtld.c: Don't count in multiply reference object in number
989         of preloaded objects.  [PR libc/375].
991         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
992         shifted correctly.
993         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
994         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
995         Reported by Richard Henderson.
997 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
999         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1000         return code for non existent +name entries.
1001         * nis/nss_compat/compat-pwd.c: Likewise.
1002         * nis/nss_compat/compat-spwd.c: Likewise.
1004 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
1006         * posix/glob.c: Update from glibc 2.1.
1007         * posix/glob.h: Likewise.
1009 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
1011         * stdlib/exit.c (exit): Handle recursive calls to exit ().
1013 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
1015         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
1016         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1018 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1020         * configure.in: If --enable-add-ons is given without an
1021         argument, set the addons list to all subdirs with a configure
1022         script.
1024 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
1026         * resolv/res_query.c (res_querydomain): Avoid potential buffer
1027         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
1029 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1031         * glibcbug.in: Add more information of build environment and flags.
1033 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1035         * resolv/inet_neta.c (inet_neta): Change type of first parameter
1036         to u_int32_t. Suggested by John Lavagnino
1037         <John_Lavagnino@Brown.edu> [PR libc/366].
1039         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
1041         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1043 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
1045         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1047 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1049         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
1050         variable as well.
1052         * locale/C-ctype.c: Correct data for isw* functions.
1053         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1054         byte order.
1055         * wctype/test_wctype.c: Add test for isw* functions.
1056         * wctype/wctype.c: Return value with expected byte order.
1058         * sysdeps/alpha/__math.h: Remove cabs definition.
1059         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
1061         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1063         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
1064         __libc_* names.
1066         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
1067         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
1068         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1069         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
1070         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
1072         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1074         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
1076 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1078         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1079         * sysdeps/unix/sysv/linux/send.S: Likewise.
1080         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1081         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1082         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1083         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1084         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1085         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1087 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1089         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1090         handle for /etc/group back in some more cases.
1091         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1092         handle for /etc/passwd back in some more cases.
1093         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1094         handle for /etc/shadow back in some more cases.
1096 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1098         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1099         beyound its size.
1100         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1101         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1103 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1105         Alpha changes for EGCS:
1106         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1107         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1108         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1109         (_start): Likewise.
1110         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1112         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
1113         * sysdeps/alpha/__longjmp.S: Likewise.
1114         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1115         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1116         * sysdeps/alpha/jmp_buf.h: Likewise.
1117         * sysdeps/alpha/setjmp.S: Likewise.
1118         * sysdeps/alpha/__longjmp.c: Removed.
1119         * sysdeps/alpha/setjmp_aux.c: Removed.
1121 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1123         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
1124         constants from Linux headers.  Pointed out by
1125         csmall@scooter.o.i.net. [PR libc/369]
1127 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1129         * grp/initgroups.c: Increase buffer if it is too small.
1131 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1133         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
1134         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
1135         [PR libc/367].
1137 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
1139         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1140         __typeof for C++ since this fails for class members.
1141         Reported by Neal Becker <neal@ctd.comsat.com>.
1143 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1145         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
1146         incompatible with Linux 2.1.x. Packages using modules
1147         (e.g. modutils) should/do provide their own version. Suggested by
1148         Richard Henderson.
1150         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
1152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1153         [$(subdir)=socket]: Remove sys/module.h.
1155 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1157         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1158         not shadow the variable in the outer scope. Carry over from glibc 2.1.
1160 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
1162         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
1164 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1166         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1167         return value.
1169 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
1171         * configure.in: Update from 2.1 version.
1172         * glibcbug.in: Likewise.
1173         * manual/maint.texi: Likewise.
1175         * math/mathcalls.c: Remove declaration of infnan and cabs.
1177         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
1179         * manual/errno.texi: Define new Linux errors.
1181         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
1182         and __kernel_rem_pio2{,f,l}.
1184         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
1186         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
1188         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
1190         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
1192         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
1193         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1194         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1196         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
1197         <bits/libc-lock.h>.
1199         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
1200         types in struct cmsghdr.
1202         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
1203         loading of return address.
1205         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
1206         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
1208         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
1210 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1212         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1213         value type to long int.
1214         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1215         types.
1217 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
1219         * sysdeps/posix/writev.c: Correct condition to leave the loop.
1221 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
1223         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
1224         zero isn't enough to determine illegal arguments.
1225         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1226         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1228 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
1230         * sysdeps/libm-i387/e_remainder.S: Pretty print.
1231         * sysdeps/libm-i387/e_remainderf.S: Likewise.
1232         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1234 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1236         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1238 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
1240         * stdlib/stdlib.h: Remove mblen optimization.
1241         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1242         Reported by anderson@metrolink.com.
1244 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1246         * po/Makefile ($(mo-installed)): Don't fail during installation if
1247         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1248         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1250 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1252         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1253         header is used in some others as well for historical reasons.
1255 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1257         * locale/setlocale.c (setname): Only remove old name when it
1258         is for category LC_ALL.
1260 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
1262         * intl/localealias.c (read_alias_file): Correct handling of line
1263         reader which sometimes skipped complete lines (PR 205).
1265 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1267         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1268         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1270         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1271         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1273 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1275         * Makerules (libc.so): Fix typo.
1277         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1278         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1280         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1281         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1283 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1285         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1286         compilers.
1287         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1289         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1290         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1292 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1294         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1295         for NULL.
1296         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1297         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1299         * configure.in: Correct test for bash2.
1300         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1302         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1303         (CFLAGS-locfile.c): Likewise.
1304         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1306         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1307         non-existing entry if the table is full.
1309         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1311 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1313         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1314         Replace revoke call by use of REVOKE.
1315         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1316         empty and #include generic version.
1317         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1319 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1321         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1322         again after successful call.
1323         Patch by Marc Lehmann <pcg@goof.com>.
1325 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
1327         * malloc/thread-m.h: Remove malloc_key-data definition.
1328         Reported by Trevor Johnson <trevor@jpj.net>.
1330 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1332         * manual/filesys.texi (Scanning Directory Content): Document error
1333         case more.
1335         * dirent/scandir.c (scandir): Ignore errors from select function.
1336         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1338 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1340         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1341         * termios/termios.h: Change prototype accordingly.
1343 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1345         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1346         for C++.
1348 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1350         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1351         bugs.
1353 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1355         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1356         2.1 development version  to fix some more severe bugs.
1357         * nis/nss_compat/compat-pwd.c: Likewise.
1358         * nis/nss_compat/compat-spwd.c: Likewise.
1359         * nis/ypclnt.c: Likewise.
1360         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1362         * version.h (VERSION): Bump to 2.0.6.
1364 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1366         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1367         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1369 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1371         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1372         generated by a glob call disable GLOB_ERR since there might be
1373         non-directories in the list (PR203).
1375 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1377         * misc/efgcvt.c: Call correct reentrant functions.
1379 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1381         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1382         timezone variable.
1383         * time/tzset.c (tz_compute): Likewise.
1384         Reported by Erik Troan <ewt@redhat.com>.
1386 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1388         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1389         in all error cases (PR 244).
1391 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1393         * manual/filesys.texi: Correct prototype in readdir_r description.
1394         Reported by Jim Meyering <meyering@eng.ascend.com>.
1396 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1398         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1399         matching of version function if both the general (1) and
1400         glibc-specific (3) entry are present.
1402 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1404         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1405         elements in struct msghdr and struct cmsghdr, to keep in step with
1406         the kernel.
1408 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1410         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1411         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1412         struct and not a pointer.  Little optimizations.
1414 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1416         * intl/loadmsgcat.c (_nl_load_domain):
1417         Fix &&/|| typo when checking file size.
1419 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1421         * time/africa: Update from tzdata1997i.
1423 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1425         * malloc/obstack.h (obstack_empty_p): New macro.
1427 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1429         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1430         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1431         for time_t overflow.
1433 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1435         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1436         type of fw_pcnt and fw_bcnt fields to match kernel.
1437         Patch by a sun <asun@zoology.washington.edu>.
1439 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1441         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1442         Reported by Erik Troan <ewt@redhat.com>.
1444 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1446         Fix gmtime so that it reports leap seconds when TZ
1447         indicates that leap seconds are desired.
1449         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1450         (gmtime): Put after gmtime_r, to help the compiler inline.
1451         (__tz_convert): New decl.
1452         (gmtime_r): Use __tz_convert instead of __offtime,
1453         so that leap seconds are handled correctly.
1455         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1456         are now unnecessary.
1457         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1458         __tzset_lock): Remove extern decls that are now unnecessary.
1459         (localtime_internal): Moved to __tz_convert in tzset.c.
1460         so that localtime and gmtime can both use it easily.
1461         (localtime): Put after localtime_r, to help the compiler inline.
1462         (localtime_r): Use __tz_convert instead of localtime_internal.
1464         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1465         decl.
1467         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1469         * time/tzset.c (<errno.h>): Include.
1470         (_tmbuf): New decl.
1471         (__tzfile_compute): New function.
1472         (tz_compute): Renamed from __tz_compute.  No longer extern.
1473         Remove redundant call to tzset_internal.
1474         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1475         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1476         (__tz_convert): New function, containing functionality of old
1477         localtime_internal function, plus locking and optional UTC.
1479 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1481         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1482         string, just use UTC without leap seconds.  This is for compatibility
1483         with the Olson code.
1485 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1487         * time/tzset.c (__tzname_max): Lock tz data structures before
1488         invoking tzset_internal.
1490         * time/tzfile.c: Define compute_tzname_max statically.
1492 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1494         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1495         __FD_ISSET): Use correct casts to address array correctly.
1496         Reported by urbanw@cs.umu.se.
1498 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1500         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1501         next head.  Reported by baccala@FreeSoft.org.
1503 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1505         * sysdeps/stub/sigaction.c: Fix typo.
1506         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1508 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1510         * catgets/catgets.c (catopen): Correctly determine length of string
1511         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1513 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1515         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1517 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1519         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1520         for descriptors >= 32.
1522         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1523         is used __alloca is not defined to __builtin_alloca and so might
1524         not be available.
1525         Reported by Uwe Ohse <uwe@ohse.de>.
1527         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1528         way if gcc is not used and so dev_t is an array.
1529         Reported by Uwe Ohse <uwe@ohse.de>.
1531         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1532         of sys/cdefs.h.  Pretty print.
1534 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1536         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1537         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1538         with g++ internal symbols.
1539         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1541 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1543         * string/argz.h: Add missing __END_DECLS.
1544         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1546 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1548         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1550         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1552         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1554 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1556         * tzset.c (__tzset_internal): Fix memory leak when the user
1557         specifies a TZ value that uses a default rule file.
1558         Do not assume US DST rules when the user specifies
1559         that there is no DST.
1561 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1563         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1564         they operate on internal kernel structures and have no place in a
1565         user header.
1567 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1569         * sysdeps/mach/libc-lock.h: Fix typo.
1570         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1572 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1574         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1576         * catgets/gencat.c (usage): Fix help text.
1578         Update of UTMP interface.
1579         * login/Makefile (routines): Add utmpname, remove utmp_db.
1580         * login/getutent.c: Rename to __getutent and make getutent a weak
1581         alias.
1582         * login/getutent.c: Rename to __getutid and make getutid a weak
1583         alias.
1584         * login/getutent.c: Rename to __getutline and make getutline a weak
1585         alias.
1586         * login/getutent_r.c: Rewrite to use jump table correctly.
1587         * login/getutid_r.c: Likewise.
1588         * login/getutline_r.c: Likewise.
1589         * login/updwtmp.c: Likewise.
1590         * login/login.c (login): Correct test for result of utmpname.
1591         Use updwtmp instead of implementing this here again.
1592         * login/logout.c (logout): Correct test for result of utmpname
1593         and pututline.  Handle ut_type field correctly if it exists.
1594         * login/utmp-private.h: Update for changed internal functions.
1595         * login/utmp.h: Reformat and correct typos.
1596         * login/utmp_file.c: Rewrite lock handling.
1597         * login/utmpname.c: New file.
1598         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1600         * socket/sys/socket.h (getpeername): Correct type of len argument.
1601         Reported by a sun <asun@zoology.washington.edu>.
1603         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1604         <bits/types.h>.
1605         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1607         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1608         functions.
1610         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1611         cthreads.
1612         * sysdeps/mach/hurd/cthreads.c: New file.
1614 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1616         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1617         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1619 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1621         * login/login.c (login): Check for correct return value of
1622         utmpname.
1624 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1626         * time/tzset.c: Interpret no DST information in user provided time
1627         zone specification as it is meant: no DST.
1628         Patch by Paul Eggert <eggert@twinsun.com>.
1630 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1632         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1633         Add macros for key handling.
1634         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1635         cthreads.
1636         * sysdeps/mach/hurd/cthreads.c: New file.
1637         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1639 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1641         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1643 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1645         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1646         for storage class.
1647         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1649         * login/Makefile (routines): Add updwtmp.
1650         * login/logwtmp.c: Move definition of updwtmp to ...
1651         * login/updwtmp.c: here.  New file.
1653         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1654         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1655         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1657 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1659         * libio/stdfiles.c (_libio_using_thunks): Define if
1660         _G_USING_THUNKS is defined.
1662         * libio/_G_config.h: Moved to
1663         * sysdeps/generic/_G_config.h: ...here.
1665         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1667 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1669         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1670         right place.
1672 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1674         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1675         PC's in long long to avoid overflow.
1677 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1679         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1680         New macros.
1682 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1684         * gmon/gmon.c (_mcleanup): Fix typos.
1686         * gmon/sys/gmon.h: Add prototype for write_profiling.
1688 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1690         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1691         loop, to avoid dragging stdio into the dynamic linker.
1693 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1695         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1696         (_mcleanup): Use write_gmon.
1697         (write_profiling): This function can be safely called at any time
1698         to write a current histogram without interfering with ongoing
1699         profiling.
1701         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1703 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1705         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1706         not be vm_deallocated; it's a stack buffer.
1707         (profil_vm_deallocate): Delete prototype.
1708         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1709         inclusion.
1710         * sysdeps/mach/hurd/Makefile
1711         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1712         this rule.
1714         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1715         from profile_waiter.
1716         (profile_waiter): Use fetch_samples.
1717         (profil): When turning off profiling, fetch the last bunch of
1718         samples before disabling PC sampling.
1719         (fetch_samples): Add prototype.
1721 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1723         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1724         source included by profil.c instead of trying to use
1725         before-compile grot.
1727 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1729         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1730         after releasing lock.  Use special RPC stubs and avoid assert,
1731         thus making this function entirely independent of the threadvar
1732         mechanism and of cthreads.
1733         (lock): Convert to be a spin lock instead of a mutex, so that the
1734         waiter thread need not use cthreads.  Use a fork prepare hook
1735         instead of _hurd_fork_locks to make sure we are clean before
1736         forking.
1737         (fork_profil_child): Renamed from fork_profil.
1738         (profil_reply_port): New variable.
1739         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1740         stubs made by special hacks.
1741         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1742         source files that profil.c needs if we are in the gmon directory.
1744         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1745         cthreads bug that hasn't existed for two years.
1747 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1749         * locale/programs/localedef.c (main): Set bit in avail for those
1750         categories which are successfully read.
1751         * locale/programs/locfile.c (check_all_categories): Don't check
1752         categories if they are not available.
1753         (write_all_categories): Don't write categories if they are not
1754         available.
1756         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1757         getsockopt, setsockopt, accept): Change size argument to type
1758         socklen_t.
1759         Pretty print.
1760         * manual/socket.texi: Describe socklen_t and change prototypes of
1761         socket functions to use socklen_t.
1762         * sysdeps/generic/bits/socket.h: Define socklen_t.
1763         (struct msghdr): Correct types to use socklen_t.
1764         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1765         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1767         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1768         1.0 < x < 8.0.
1769         * stdio-common/tfformat.c: Add new tests for above bug.
1771         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1773         * wcsmbs/Makefile (tests): Add tst-wcstof.
1774         * wcsmbs/tst-wcstof.c: New file.
1775         * wcsmbs/wcstof.c (FLT): Define as FLT.
1777 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1779         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1780         case since the __syscall_ptrace call already did this.
1781         Reported by Philip Gladstone <philip@talon.raptor.com>.
1783 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1785         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1786         <gnu/types.h> to <sys/types.h>.
1788 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1790         * locale/programs/locale.c (print_escaped): New function.
1791         (show_info): Use print_escaped if strings can control unprintable
1792         characters.
1793         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1795 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1797         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1798         dependencies.
1800 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1802         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1803         for stream on input file.
1804         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1805         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1806         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1807         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1808         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1809         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1810         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1811         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1813 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1815         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1816         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1817         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1818         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1820 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1822         * time/africa: Update from tzdata1997g.
1823         * time/asia: Likewise.
1824         * time/australasia: Likewise.
1825         * time/europe: Likewise.
1826         * time/iso3166.tab: Likewise.
1827         * time/zone.tab: Likewise.
1828         * time/private.h: Update from tzcode1997f.
1829         * time/scheck.c: Likewise.
1831 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1833         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1834         Synchronize with malloc/obstack.c.
1836 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1838         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1839         path to install-info for systems like Debian that have an
1840         install-info with a different command line interface from the
1841         canonical GNU texinfo version.
1843 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1845         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1846         * posix/unistd.h: Likewise.
1847         * sysdeps/stub/ttyname_r.c: Likewise.
1849 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1851         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1853         * time/tzfile.c (__tzstring): New decl.
1854         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1855         (__tzfile_default): First two args are now const char *.
1857         * time/tzset.c (__tzstring): New function.
1858         (tz_rule): Name is now const char *.
1859         (struct tzstring_head): New type.
1860         (tzstring_list, tzstring_last_buffer_size): New static vars.
1861         (__tzset_internal): Time zone names are now permanent, not temporary.
1863 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1865         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1866         and && in tests to allow use in C++ code which overloads these
1867         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1869 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1871         * login/login.c (tty_name): Test return value of ttyname_r for !=
1872         0, not < 0.
1873         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1874         0, not >= 0.
1875         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1876         ttyname_r for != 0.
1877         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1879 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1881         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1882         one.
1884         * signal/sigandset.c: Include stddef.h to get NULL defined.
1885         * signal/sigisempty.c: Likewise.
1886         * signal/sigorset.c: Likewise.
1888 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1890         * posix/execvp.c (execvp): Handle ESTALE.
1892 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1894         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1895         before calling _IO_SYSREAD ().
1897 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1899         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1900         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1902 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1904         * io/lockf.c (lockf): Clear fl before using.
1905         Patch by sr@adb.fr.
1907         * libio/strops.c: Correctly handle _IO_write_end.
1909         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1910         panic if setnetgrent wasn't called before, return error.
1911         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1913         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1914         if locally defined.
1915         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1916         if locally defined.
1917         Define tm_diff function as ftime_tm_diff if locally defined.
1918         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1920 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1922         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1923         in cc1.  Cpp in gcc doesn't do it.
1925 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1927         * login/login.c (tty_name): Use newly allocated buffer.
1928         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1930         * time/asctime.c: Never translate week and month name according
1931         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1933 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1935         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1936         setresgid.
1938 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1940         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1941         Reported by a sun.
1943 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1945         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1946         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1948 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1950         * math/math.h: Add warning about use of M_* constants.
1951         Pretty print.
1953 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1955         * locale/programs/locale.c: Correct comment.
1957         * po/ko.po: Update.
1959 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1961         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1963 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1965         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1967         * manual/Makefile (distribute): Add dir.
1968         * manual/dir: New file.
1970 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1972         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1974 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1976         * string/Makefile (routines): Add argz-replace.
1978 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
1980         * string/argz.h (__argz_replace, argz_replace): New declarations.
1981         * string/argz-replace.c: New file.
1983 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1985         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
1986         character read in/put back.
1987         * stdio-common/tstscanf.c: Add test case for this.
1989 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
1991         * manual/Makefile (install): Make sure `dir' file exists if we use
1992         install-info.
1994 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1996         * manual/Makefile (info): Depend on dir-add.info.
1998 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2000         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
2001         * sysdeps/stub/e_acosl.c: Likewise.
2002         * sysdeps/stub/e_asinl.c: Likewise.
2003         * sysdeps/stub/e_atan2l.c: Likewise.
2004         * sysdeps/stub/e_expl.c: Likewise.
2005         * sysdeps/stub/e_fmodl.c: Likewise.
2006         * sysdeps/stub/e_j0l.c: Likewise.
2007         * sysdeps/stub/e_j1l.c: Likewise.
2008         * sysdeps/stub/e_jnl.c: Likewise.
2009         * sysdeps/stub/e_lgammal_r.c: Likewise.
2010         * sysdeps/stub/e_log10l.c: Likewise.
2011         * sysdeps/stub/e_logl.c: Likewise.
2012         * sysdeps/stub/e_powl.c: Likewise.
2013         * sysdeps/stub/e_rem_pio2l.c: Likewise.
2014         * sysdeps/stub/e_sqrtl.c: Likewise.
2015         * sysdeps/stub/k_cosl.c: Likewise.
2016         * sysdeps/stub/k_rem_pio2l.c: Likewise.
2017         * sysdeps/stub/k_sinl.c: Likewise.
2018         * sysdeps/stub/k_tanl.c: Likewise.
2019         * sysdeps/stub/s_atanl.c: Likewise.
2020         * sysdeps/stub/s_erfl.c: Likewise.
2021         * sysdeps/stub/s_expm1l.c: Likewise.
2022         * sysdeps/stub/s_log1pl.c: Likewise.
2024 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
2026         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
2027         01:13:56 1996.
2029 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
2031         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
2032         * sysdeps/libm-i387/s_asinhf.S: Likewise.
2033         * sysdeps/libm-i387/s_asinhl.S: Likewise.
2034         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
2035         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
2036         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
2038 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
2040         * Makefile (manual/dir-add.info): New rule.
2042         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
2043         `unsigned short'.
2045         * manual/Makefile (dir-add.texi): Also emit wrapper text for
2046         info/install-info.
2047         (distribute): Add dir-add.texi and dir-add.info.
2048         (mostlyclean): Add dir-add.info.
2049         (realclean): Add dir-add.texi.
2050         (install): Add entries in `dir' file using install-info.
2052         * manual/libc.texinfo: Add @dircategory and @direntry text.
2053         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
2055 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
2057         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
2058         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
2059         M_SQRT2.
2060         * math/math.h (_Mldbl): Define even if M_* constants are not
2061         defined.
2062         Reported by corsepiu@faw.uni-ulm.de.
2064 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
2066         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
2068 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
2070         * misc/regexp.h (compile): Allow use of macro INIT for variable
2071         declaration.  Add documentation for INIT.
2072         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
2074 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
2076         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
2078 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2080         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
2081         netinet/icmp.h, add netatalk/at.h.
2082         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
2083         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
2085 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
2087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
2089 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
2091         * string/argz-addsep.c: Correct weak alias.
2092         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2094         * locale/setlocale.c (setlocale): Free variable with locale path
2095         before returning.
2096         (setname): Don't test for _nl_current[category] being NULL before
2097         freeing.
2098         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2100 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
2102         * time/Makefile: Make tzselect depend on config.make.
2104 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
2106         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
2107         type to `unsigned long int'.
2108         Patch by Richard Henderson <richard@twiddle.rth.home>.
2110 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2112         * nss/nss_files/files-hosts.c: Delete inclusion of
2113         "../resolv/mapv4v6hostent.h".
2115 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
2117         * libio/libio.h: Define bits for libg++-2.8.
2119 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
2121         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
2122         plan on doing so ever again.  Don't say alpha-linuxecoff is known
2123         to work.
2125         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
2126         will last until I figure out how to build a parallel libm_ieee.
2128         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
2129         FP mode to round to nearest, no exceptions as for Intel.
2130         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
2131         (rdfpcr): Use excb rather than trapb.  Be more efficient about
2132         getting at the fpcr.
2133         (wrfpcr): Likewise.
2134         (__setfpucw): Reformat.
2136         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
2137         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2138         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
2139         sure the stack frame is released the very instruction before the
2140         real jump out.
2141         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2142         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2144         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
2145         have gotten from <linux/posix_types.h>.
2147         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
2149 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2151         * Makefile (manual/dir-add.texi): Force execution.
2153 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2155         * stdlib/strfmon.c: Don't run past EOS after `='.
2157 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
2159         Update resolver code to bind-4.9.6-T1A.
2160         * resolv/Banner: Update.
2161         * nss/digits_dots.c: Adapt text address matching to T1A.
2162         * nss/nss_files/files-hosts.c: Always use inet_pton.
2163         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
2164         it would lead to warnings.
2165         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
2166         at several places.
2167         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
2168         * resolv/res_comp.c (dn_expand): Check for overflow.
2169         (dn_comp): Likewise.
2170         * resolv/res_debug.c (precsize_aton): Better implementation.
2171         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
2172         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
2173         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
2174         length at several places.
2176 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2178         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
2179         time_t.
2181         * login/pty.h: Include <ioctl-types.h> for definition of struct
2182         winsize.
2184 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
2186         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
2187         number to four digits and to representable range for 4 byte time_t
2188         values.
2189         Patch by H.J. Lu <hjl@lucon.org>.
2191 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
2193         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2194         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2195         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2197 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
2199         * login/login.c (tty_name): Use newly allocated buffer.
2200         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2202         * time/asctime.c: Never translate week and month name according
2203         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
2205 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2207         * hurd/hurdsig.c: Include <hurd/id.h>.
2208         (reauth_proc): Call proc_setowner appropriately too.
2210 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2212         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
2213         correct value for _POSIX_VDISABLE.
2215 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2217         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
2219         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
2221 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
2223         * Net release 2.0.4.
2225 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
2227         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
2228         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
2229         environments in which linking is not possible at configure time
2230         (since te libc is just build).
2231         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2233 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
2235         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2236         state array only at right place.
2237         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2239         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2240         [0.5,1.0) but really in [0.0, 1.0).
2241         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2243 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
2245         * sysdeps/i386/elf/start.S: Change local label "nofini"
2246         to ".Lnofini".
2248         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2250 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
2252         * time/zic.c: Update from tzcode1997e.
2254         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2255         are not defined.
2257 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
2259         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2260         monstartup.
2262 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
2264         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2265         values.
2266         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2268         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2269         u_long.
2271 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
2273         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2274         not looking at the new thread-safe .plt, don't be lazy about relocs.
2275         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2276         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2277         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2278         elf_machine_runtime_setup() decide if we can actually be lazy.
2279         * elf/rtld.c (_dl_start): So don't call it.
2280         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2281         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2282         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2283         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2284         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2285         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2286         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2287         skeleton definition.
2289 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
2291         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2292         stack by fxtract.
2294 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2297         warning.
2299         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2300         of USHRT_MAX.
2302         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2304 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
2306         * version.h (VERSION): Bump to 2.0.4.
2308         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2309         and for Linux ld.so.
2310         * login/Makefile (libutil.so): Likewise.
2311         * math/Makefile (libm.so): Likewise.
2312         * md5-crypt/Makefile (libcrypt.so): Likewise.
2313         * nis/Makefile (libnss_%.so): Likewise.
2314         * resolv/Makefile (libnss_dns.so): Likewise.
2316 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2318         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2319         workaround.
2321 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
2323         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2325         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
2326         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2327         Reported by Ian Taylor <ian@cygnus.com>.
2329         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2331         * po/de.po: Updated.
2333         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2335         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2337 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2339         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2340         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2342 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2344         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2345         msg_add_auth was overflowing it.
2347 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2349         * time/sys/time.h: Make second argument of setitimer const.
2350         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2351         * sysdeps/stub/setitimer.c: Likewise.
2352         * sysdeps/mach/hurd/setitimer.c: Likewise.
2354 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2356         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2357         when we can't find the symbol.
2359 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2361         * posix/regex.c: Fix handling of 32-bit Windog environments.
2362         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2364 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2366         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2368 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2370         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2372 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2374         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2376 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2378         * sys/ttydefaults.h: Removed.
2380 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2382         * termios/sys/ttydefaults.h: Delete file.
2383         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2384         TTYDEF_OFLAG.
2385         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2386         XTABS in TTYDEF_OFLAG.
2387         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2388         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2390 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2392         * posix/TESTS: Add some more tests for character class matching.
2393         * posix/regex.c: Merge with GNU awk version.
2394         (regex_compile): Use ISO C/amend 1 functions for character class
2395         handling.
2396         * posix/regex.h: Merge with GNU awk version.
2398         * posix/getopt.c: Declare as master copies.
2399         * posix/getopt1.c: Likewise.
2400         * posix/getopt.h: Likewise.
2402         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2403         value to mount functions.
2404         Patch by a sun <asun@zoology.washington.edu>.
2406 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2408         * sunrpc/svc_run.c (svc_exit): New, defined.
2409         (svc_run): Test for svc_stop variable.
2410         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2412 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2414         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2416         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2417         NaN.  Fix test for sign of infinite y.
2419         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2421         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2423 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2425         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2426         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2428 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2430         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2431         kernel can return negative values.  Only fail when return value is
2432         in range in range which is never returned as valid address.
2433         Patch by Bruno Haible <haible@ilog.fr>.
2435 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2437         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2438         case.
2440         * time/strftime.c (add): Respect `0' padding flag.
2441         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2443 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2445         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2446         will preserve non-call-saved registers; save and restore a0 across
2447         the system call.
2448         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2449         data onto the new thread's stack.
2451 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2453         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2454         * config.make.in: Set cross-compiling from configure result.
2455         * configure.in: Emit definition of `cross_compiling'.
2456         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2458 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2460         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2461         * sysdeps/libm-i387/e_pow.S: Likewise.
2462         * sysdeps/libm-i387/e_powl.S: Likewise.
2464 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2466         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2467         obstack_chunkfun, obstack_freefun): Fix casts.
2469 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2471         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2472         not <netinet/icmp.h>.
2473         * inet/netinet/tcp.h: Move to...
2474         * sysdeps/generic/netinet/tcp.h: ...here.
2475         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2477 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2479         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2480         to command line of compiler.
2481         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2483         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2484         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2486         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2487         in declaration.
2488         Patch by Michael Widenius <monty@tcx.se>.
2490         * time/strptime.c (strptime_internal): Fix %I format specifier
2491         being off by one.
2492         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2494 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2496         * Net release 2.0.3.
2498 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2500         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2501         * stdlib/srand48_r.c: Likewise.
2503 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2505         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2506         fpclassify & friends, and complex number operations.
2507         Update various other math functions for ISO C 9X.
2508         * manual/math.texi: Update various entries for ISO C 9X.
2509         Add description for complex number functions.
2510         Add description of rand48 function family.
2511         * manual/string.h: Add description of a64l and l64a.
2513         * math/cmathcalls.h: Fix typo.
2515         * stdlib/a64l.c: Pretty printing.
2517         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2518         * stdlib/srand48_r.c: Likewise.
2520 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2522         * rellns-sh: Handle files in the same directory correctly.
2524 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2526         * csu/initfini.c: Place ALIGN instruction at correct positions.
2527         Patch by Richard Henderson <richard@twiddle.rth.home>.
2529 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2531         * Make-dist: Don't automatically ignore .c files if .S or .s files
2532         are ignored.
2534         * csu/Makefile (distribute): Add defs.awk.
2536 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2538         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2539         * sysdeps/stub/shmdt.c: Likewise.
2540         Reported by Thomas Bushnell, n/BSG.
2542 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2544         * sysdeps/unix/sysv/linux/Dist: Rename
2545         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2546         Remove sysdeps/sysv/linux/netinet/icmp.h.
2548         * login/utmp.h: Add prototype for updwtmp.
2549         * login/logwtmp.c: Add new function updwtmp which allows to write
2550         a complete record to the wtmp file.
2551         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2553 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2555         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2556         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2558 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2560         * csu/initfini.c: Rewrite by Zack Weinberg
2561         <zack@rabi.phys.columbia.edu>.
2562         * csu/Makefile: Add rules for rewrite.
2563         * csu/defs.awk: Helper script to generate derived header.
2565 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2567         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2569 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2571         * sysdeps/generic/Dist: Remove old math implementation files.
2572         * sysdeps/generic/mathimpl.h: Removed.
2573         * sysdeps/generic/trig.h: Removed.
2574         * sysdeps/generic/sincos.c: Removed.
2575         * sysdeps/generic/asincos.c: Removed.
2576         * sysdeps/generic/exp__E.c: Removed.
2577         * sysdeps/generic/log__L.c: Removed.
2579 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2581         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2582         add fast check whether the heap containing top can go away.
2584 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2586         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2587         failing to allocate a new chunk, also try the main_arena.  It may
2588         be that we are only running out of mmapped regions, and other
2589         arenas cannot be enlarged sufficiently.
2590         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2591         i.e. only in new_heap().
2593 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2595         * time/strftime.c (memset_space): Increment pointer.
2596         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2597         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2599 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2601         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2603         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2604         63 bits.
2605         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2607         * po/pl.po: Updated.
2609         * string/swab.c: Correctly handle array of odd length.
2611         * manual/string.texi: Correct prototype in memmem documentation.
2613 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2615         * manual/Makefile (dir-add.texi): Simplify.
2617 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2619         * rellns-sh: Rewrite to work also in presence of symlinks.
2621         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2622         Reported by Greg McGary <gkm@eng.ascend.com>.
2624         * manual/libc.texinfo: Update malloc documentation for new malloc.
2625         * manual/memory.texi: Likewise.
2626         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2628         * stdlib/erand48_r.c (erand48_r): Build double value using
2629         ieee754_double union and use random bits in different order to
2630         increase effect of seed.
2631         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2633 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2635         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2636         a read-only stream.
2638 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2640         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2641         in correct place.
2642         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2644 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2646         * posix/getopt.c (_getopt_initialize): Preserve optind.
2647         (_getopt_internal): Set optind to 1 if optind == 0 before
2648         calling _getopt_initialize ().
2650 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2652         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2653         on a read-only stream.
2655         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2656         (ut_time): Define it only if _NO_UT_TIME is not defined.
2658 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2660         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2661         get definition of sa_family_t for <linux/atalk.h>.
2662         Reported by a sun <asun@zoology.washington.edu>.
2664         * malloc/malloc.c (cALLOc): Little optimization.
2666 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2668         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2669         headers but instead add comments and parameter names.
2670         Don't use BSD specific types in prototypes.
2672         * manual/nss.texi: Correct a few typos and errors.
2674 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2676         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2677         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2679         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2680         TAB3, if one of them is defined.
2682 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2684         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2686 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2688         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2689         clearenv a weak alias.
2691         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2692         of type clashes.  Add all definitions here.
2694         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2695         to XPG4.2.
2696         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2697         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2699         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2701         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2702         use of kernel types.
2704 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2706         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2707         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2709 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2711         * Makeconfig (all): Make sure this is always the default goal.
2713 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2715         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2716         Don't include <endian.h>.
2718 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2719         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2720         Don't include <endian.h>.
2722 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2724         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2726 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2728         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2729         compiler.
2731 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2733         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2734         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2736 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2738         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2739         by 31 positions to get 0/1 result.
2740         Patch by Joe Keane <jgk@jgk.org>.
2742 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2744         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2745         to prevent from ld linking in getopt.o even if there is another
2746         incompatible one.
2748         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2750 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2752         * Makerules (depfiles): Remove $(test-srcs).
2754 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2756         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2757         on a read-only stream.
2759         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2760         (ut_time): Define it only if _NO_UT_TIME is not defined.
2762 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2764         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2765         typo.
2767 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2769         * Makefile: Add rule to easily generate dir-add.texi file.
2770         * manual/Makefile: Likewise.
2772 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2774         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2775         (sysdep_headers): Remove netinet/icmp.h.
2777 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2779         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2780         adjustment if the underlying function say it is too small.
2781         * pwd/fgetpwent.c: Likewise.
2782         * shadow/fgetspent.c: Likewise.
2783         * shadow/sgetspent.c: Likewise.
2785         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2786         this means there was not enough room for the gr_mem array.
2788         * nss/nss_files/files-XXX.c: Leave loop and return error if
2789         `parse_result' returns -1.
2791         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2792         of trailing list fails because of low memory.
2793         (parse_list): Rewrite.  The logic was completly incorrect since
2794         the checks for overflowing the array were not executed when
2795         needed.
2797         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2798         signals success.
2800         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2801         * nss/getXXent.c: Likewise.
2803 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2805         * manual/errno.texi: Add description of strerror_r.
2807 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2809         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2811 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2813         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2815 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2817         * stdlib/stdlib.h: Declare __clearenv.
2819 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2821         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2822         the last change.
2824 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2826         * configure.in: Call AC_CANONICAL_BUILD before referencing
2827         $build.  Fix test for BUILD_CC.
2829 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2831         * sysdeps/i386/memset.c: Fix typo.
2832         * sysdeps/stub/fchmod.c: Fix typo.
2833         * sysdeps/stub/fchdir.c: Fix typo.
2834         Reported by Fila Kolodny <fila@ibi.com>.
2836         * time/time.h (strftime): Remove __restrict in declaration.
2838 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2840         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2841         syntax for local label.
2842         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2843         binary format.
2844         * sysdeps/i386/addmul_1.S: Likewise.
2845         * sysdeps/i386/lshift.S: Likewise.
2846         * sysdeps/i386/memchr.S: Likewise.
2847         * sysdeps/i386/memcmp.S: Likewise.
2848         * sysdeps/i386/mul_1.S: Likewise.
2849         * sysdeps/i386/rshift.S: Likewise.
2850         * sysdeps/i386/stpcpy.S: Likewise.
2851         * sysdeps/i386/stpncpy.S: Likewise.
2852         * sysdeps/i386/strchr.S: Likewise.
2853         * sysdeps/i386/strcspn.S: Likewise.
2854         * sysdeps/i386/strlen.S: Likewise.
2855         * sysdeps/i386/strpbrk.S: Likewise.
2856         * sysdeps/i386/strrchr.S: Likewise.
2857         * sysdeps/i386/strspn.S: Likewise.
2858         * sysdeps/i386/strtok.S: Likewise.
2859         * sysdeps/i386/sub_n.S: Likewise.
2860         * sysdeps/i386/submul_1.S: Likewise.
2861         * sysdeps/i386/i486/strcat.S: Likewise.
2862         * sysdeps/i386/i486/strlen.S: Likewise.
2863         * sysdeps/i386/i586/add_n.S: Likewise.
2864         * sysdeps/i386/i586/addmul_1.S: Likewise.
2865         * sysdeps/i386/i586/lshift.S: Likewise.
2866         * sysdeps/i386/i586/memset.S: Likewise.
2867         * sysdeps/i386/i586/mul_1.S: Likewise.
2868         * sysdeps/i386/i586/rshift.S: Likewise.
2869         * sysdeps/i386/i586/strchr.S: Likewise.
2870         * sysdeps/i386/i586/strlen.S: Likewise.
2871         * sysdeps/i386/i586/sub_n.S: Likewise.
2872         * sysdeps/i386/i586/submul_1.S: Likewise.
2874         * time/africa: Updated from ADO tzdata1997e.
2875         * time/antarctica: Likewise.
2876         * time/asia: Likewise.
2877         * time/australasia: Likewise.
2878         * time/europe: Likewise.
2879         * time/northamerica: Likewise.
2880         * time/southamerica: Likewise.
2881         * time/private.h: Updated from ADO tzcode1997d.
2882         * time/scheck.c: Likewise.
2884 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2886         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2887         thread-specific memory in multi-threaded programs.
2889         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2890         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2891         Suggested by a sun <asun@zoology.washington.edu>.
2893 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2895         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2896         of <netinet/icmp.h>.
2897         Patch by a sun <asun@zoology.washington.edu>.
2899 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2901         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2902         before using system.
2903         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2904         before using popen.
2906 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2908         * inet/rexec.c: Make string parameters `const'.
2909         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2910         rresvport.
2912         * posix/glob.h: Add declaration for glob_pattern_p.
2913         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2914         make glob_pattern_p a weak alias.  This function is used in other
2915         packages (e.g. bash).
2917         * signal/Makefile (routines): Add sigisempty, sigandset, and
2918         sigorset.
2919         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2920         sigorset.
2921         * signal/sigisempty.c: New file.
2922         * signal/sigandset.c: New file.
2923         * signal/sigorset.c: New file.
2924         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2925         and __sigorset.
2926         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2928         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2929         ip_icmp.h.  Reported by HJ Lu.
2931 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2933         * grp/grp.h: Include <stddef.h> only once.
2935 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2937         * version.h (VERSION): Bump to 2.0.3.
2939 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2941         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2943 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2945         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2946         is found.
2947         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2949 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2951         * Net release 2.0.2.
2953 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2955         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2956         XTABS.
2957         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2958         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2959         of Sun Dec 15 16:33:44 1996.
2960         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2962 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2964         * Makefile (distribute): Add BUGS.
2966         * sysdeps/generic/machine-gmon.h: Update copyright.
2968         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2969         i386-mcount.
2970         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2971         use regparam mechanism for call of `fixup' call.
2972         * sysdeps/i386/Dist: New file.
2973         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2974         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2975         of gmon definitions.
2977 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2979         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2980         may modify it, use the saved errno everywhere.
2981         * stdlib/tst-strtod.c (main): Likewise.
2983 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2985         * posix/glob.c (glob): Fix completely broken handling of
2986         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2987         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2989 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2991         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2992         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2993         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2994         Reported by Matthis Urlichs.
2996 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2998         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2999         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
3000         which clobbers %eax.
3002         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
3003         crtbegin.o/crtend.o, using gcc to find them.
3004         (+link): Use them.
3006 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
3008         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
3009         affect the alignment, and therefore the end padding of the structs.
3010         Reported by David Mosberger <davidm@azstarnet.com>.
3011         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
3012         Use __writev instead of write for the I/O.
3014         * misc/sys/uio.h: Declare __writev and __readv.
3015         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
3016         * sysdeps/posix/writev.c: Likewise for writev.
3017         * sysdeps/stub/readv.c: Likewise.
3018         * sysdeps/stub/writev.c: Likewise.
3019         * sysdeps/unix/syscalls.list: Likewise.
3020         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3021         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3023         * stdlib/testdiv.c: Exit with error status when we have an error.
3024         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
3025         * sysdeps/alpha/ldiv.S: Likewise.
3027         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
3029 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
3031         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
3032         generic prototype.
3034         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
3035         Future releases will have this function.
3036         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3037         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3038         Reported by HJ Lu.
3040 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
3042         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
3043         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
3044         `__sigsetjmp' in PIC code.
3045         * sysdeps/i386/bsd-setjmp.S: Likewise.
3047         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
3048         overflow.
3049         * sysdeps/libm-i387/e_powf.S: Likewise.
3050         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
3051         case since expm1(-0) == -0.
3052         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3053         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3054         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
3055         access to FP number.
3056         * sysdeps/libm-ieee754/s_modff.c: Likewise.
3057         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
3058         code.  It never worked correctly.
3059         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
3060         case since tanh(-0) == -0.
3061         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
3062         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
3064 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
3066         * time/Makefile: Correct dependencies for test-tz.
3068         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
3069         UIO_FASTIOV and set to 8 if not available.
3070         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3071         Patch by HJ Lu.
3073         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
3074         "kernel_stat.h".
3075         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3076         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3077         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
3079 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
3081         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
3083         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
3085         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
3087         * sysdeps/unix/sysv/Dist: Add direct.h.
3089         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
3091         * Make-dist ($(tardir).tar): Prefer writing temporary file to
3092         $TMPDIR is available.  The default is /tmp.
3094         * sysdeps/generic/ip.h: Move to...
3095         * sysdeps/generic/netinet/ip.h: ...here.
3097         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3098         is placed in wrong place on the stack.
3099         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3101 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
3103         * time/offtime.c (__offtime): Change type of `yg' to long int.
3104         Reported by a sun <asun@zoology.washington.edu>.
3106 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
3108         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3109         2.2.0 to prevent version mismatch.
3111 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
3113         * Make-dist (srcs): Add $(test-srcs).
3114         * MakeTAGS (all-sources): Likewise.
3115         * Makerules (depfiles, common-mostlyclean): Likewise.
3116         * Rules (tests): Likewise.
3118 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
3120         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3122 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
3124         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3125         protocol=NULL to match any protocol rather than returning an
3126         error.
3128 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
3130         * nss/nss_files/files-service.c (servbyname): Match any protocol
3131         if proto==NULL.
3133 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
3135         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3136         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3137         Proposed by Thomas Bushnell, n/BSG.
3139 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
3141         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3142         the buffer for replacement.
3144 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
3146         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3147         sys_lstat and sys_stat.
3149 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3151         * mach/devstream.c (output/write_some): Don't try and write more
3152         than IO_INBAND_MAX in a single call to device_write_inband.
3154 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
3156         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3157         type is SVID.
3158         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3159         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3161         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3162         FLAGS parameter.
3164 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
3166         * manual/filesys.texi: Add documentation for scandir and alphasort.
3167         * manual/examples/dir2.c: New example for scandir.
3169         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
3170         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
3171         * sysdeps/ieee754/huge_val.h: Remove definition of long double
3172         definition.  Make it the same as the double definition.
3174         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3175         * sysdeps/libm-i387/e_acosf.S: Likewise.
3176         * sysdeps/libm-i387/e_acosl.S: Likewise.
3177         * sysdeps/libm-i387/e_asin.S: Likewise.
3178         * sysdeps/libm-i387/e_asinf.S: Likewise.
3179         * sysdeps/libm-i387/e_asinl.S: Likewise.
3180         * sysdeps/libm-i387/e_exp.S: Likewise.
3181         * sysdeps/libm-i387/e_expf.S: Likewise.
3182         * sysdeps/libm-i387/e_expl.S: Likewise.
3183         * sysdeps/libm-i387/s_scalbn.S: Likewise.
3184         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3185         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3187         * sysdeps/libm-i387/e_log.S: Optimize branch code.
3188         * sysdeps/libm-i387/e_logf.S: Likewise.
3189         * sysdeps/libm-i387/e_logl.S: Likewise.
3190         * sysdeps/libm-i387/e_log10.S: Likewise.
3191         * sysdeps/libm-i387/e_log10f.S: Likewise.
3192         * sysdeps/libm-i387/e_log10l.S: Likewise.
3194         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3195         * sysdeps/libm-i387/e_powf.S: Likewise.
3196         * sysdeps/libm-i387/e_powl.S: Likewise.
3198         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3199         argument to -1.0.
3200         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3201         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3203         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3205         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
3206         stack element after fxtract.
3208         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
3209         implementation for atan2 function.
3211         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3212         _SVID_ mode when acos, asin, atan2, log, log10 is called with
3213         argument out of range.
3214         Add new error case for pow(+0,neg).
3216         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3217         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3218         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3220         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3221         long double type.
3223         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3224         in SVID mode.
3225         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3226         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3228         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3229         or -0.
3230         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3231         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3233         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3235         * sysdeps/stub/fcntlbits.h: Update copyright.
3236         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3237         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3238         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3239         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3240         * sysdeps/unix/common/fcntlbits.h: Likewise.
3241         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3242         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3243         and FNDELAY.
3244         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3246         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3247         only reclen bytes.
3249         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3250         and O_NORW.
3251         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3253         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3255         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3256         struct stat to user-level form.
3257         * sysdeps/unix/sysv/linux/lxstat: New file.
3258         * sysdeps/unix/sysv/linux/xstat: New file.
3259         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3260         kernel.
3261         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3262         to use prescribed types for elements.
3263         (_STAT_VER): Change to value 3.
3264         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3265         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3266         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3268         * time/Makefile: Correct dependencies for test-tz.
3270         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3272 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3274         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3275         kernel header.
3276         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3278 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3280         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3281         without testing for last_bfp to be NULL.
3282         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3284 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3286         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3287         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3289 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3291         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3292         functions.  Compare result for correct address type.
3293         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3294         * nss/nss_files/files-hosts.c: Likewise.
3295         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3297 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3299         * time/strptime.c (recursive): Return rp to caller.
3300         (strptime_internal): First check for long names, then abbreviated
3301         (month & weekday).
3303 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3305         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3306         1900 from year, regardless of century.
3308 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3310         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3311         all numbers unsigned to make buggy gccs happy.
3312         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3314         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3315         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3316         Pretty print header.
3318         * Makerules (build-shlib): Also create symlink if library is versioned.
3319         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3320         Remove special rule to libc.so symlink.
3322 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3324         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3325         return values for acos, asin, and atan2.
3326         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3328 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3330         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3332 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3334         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3335         to pointers to directory entries so that alphasort really can be
3336         used as argument for scandir.
3338 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3340         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3341         instead of strcpy.
3343 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3345         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3346         catalogs, not only if the envvar NLSPATH is not available.
3347         Reported by Andries.Brouwer@cwi.nl.
3349 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3351         * Makeconfig (localtime-file): Don't define using installation
3352         directory.
3353         (inst_localtime-file): New variable.
3354         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3355         Reported by Edward Seidl <seidl@janed.com>.
3357 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3359         * time/Makefile: Add source files to dependencies for test data.
3361 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3363         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3364         * nis/nss_nis/nis-proto.c: Likewise.
3365         * nis/nss_nis/nis-rpc.c: Likewise.
3366         * nis/nss_nis/nis-service.c: Likewise.
3368 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3370         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3371         euidaccess weak alias.
3373 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3375         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3377         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3379 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3381         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3383         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3384         __file_name_split.
3386         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3387         * mach/errstring.c (mach_error_string_int): Likewise.
3388         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3389         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3390         * stdio/vasprintf.c (vasprintf): Likewise.
3392         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3394         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3395         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3396         swtch_pri.
3398         * mach/mach_init.c: Include <mach/mig_support.h>.
3400         * mach/mach_error.h (mach_error_string, mach_error,
3401         mach_error_type): Always provide prototypes.
3403         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3404         appears to be entirely unused dead code.
3406 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3408         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3409         [!__const] (__const): New macro.
3410         [!__error_t_defined] (error_t): New typedef.
3412 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3414         * posix/unistd.h: Add prototype for __euidaccess.
3415         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3416         euidaccess weak alias.
3417         * sysdeps/stub/euidaccess.c: Likewise.
3418         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3420         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3421         binary locale files.  Use LOCALEDIR only.
3422         * locale/programs/locfile.c: When named file not found and not
3423         absolute use path in I18NPATH.
3425         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3426         and AF_FILE as synonym for AF_LOCAL.
3427         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3429         * time/Makefile: Rewrite rules for test to handle parallel builds.
3431 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3433         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3434         robbe@orcus.priv.at.
3436 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3438         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3439         8-byte boundary.
3441 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3443         * elf/link.h: Include <features.h>.
3444         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3446 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3448         Rewrite NIS code to allow empty keys.
3449         * nis/nss_nis/nis-ethers.c: Rewritten.
3450         * nis/nss_nis/nis-proto.c: Rewritten.
3451         * nis/nss_nis/nis-publickey.c: Rewritten.
3452         * nis/nss_nis/nis-rpc.c: Rewritten.
3453         * nis/nss_nis/nis-service.c: Rewritten.
3455 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3457         * time/scheck.c (scheck): Add extra const to second argument.
3459         * time/private.h: Correct prototypes to match definition.
3461 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3463         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3464         switching of UID before opening .rhosts.
3466         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3467         version in GNU awk.
3468         * posix/regex.h: Likewise.
3470         Add regex test suite by Tom Lord.
3471         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3472         (tests): Add runtests.
3473         (before-compile): Add testcases.h.
3474         (testcases.h): New rule to generate header with tests.
3475         * posix/TESTS: New file.
3476         * posix/TESTS2C.sed.: New file.
3477         * posix/runtests.c: New file.
3478         * posix/testcases.h: New file.
3480         * time/ialloc.c: Update from tzcode1997c.
3481         * time/private.h: Likewise.
3482         * time/scheck.c: Likewise.
3483         * time/tzselect.ksh: Likewise.
3484         * time/zdump.c: Likewise.
3485         * time/zic.c: Likewise.
3487         * time/tzfile.c: Pretty print.
3489 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3491         * stdio-common/vfscanf.c: Use __va_copy if available.
3493 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3495         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3496         clean up namespace.
3498 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3500         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3501         kernel-level sigaction structure is different.  handle this
3502         correctly.
3503         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3505 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3507         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3508         recognize cache entries with flag == 3.
3510 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3512         * time/antarctica: Update from tzdata1997c.
3513         * time/asia: Likewise.
3514         * time/zone.tab: Likewise.
3516 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3518         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3519         (fabs): Remove defininition, it is a gcc builtin.
3520         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3522 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3524         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3525         instead to avoid namespace problems.
3526         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3528 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3530         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3531         falling back to select-based implementation if syscall isn't
3532         available.
3533         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3535         * time/leapseconds: Update from tzdata1997b.
3536         * time/zic.c: Update from tzcode1997b.
3538 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3540         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3541         depedencies between installed $(tzlinks) and $(tzbases) files.
3543 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3545         * math/math.h: Make compatible with traditional preprocessor;
3546         requires carefull placement of whitespace in macro arguments.
3547         Use __CONCAT instead of ##.
3548         Declare long double functions only if __STDC__ or __GNUC__.
3549         * math/mathcall.h: Avoid whitespace before argument of macro call
3550         that is used as function name.
3552         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3553         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3554         of __NO_M81_MATH_INLINES.
3555         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3556         starting with __ieee754.
3557         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3558         functions as inlines.
3559         (__m81_defun): Put __attribute__ between return type and function
3560         name.
3561         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3562         is defined.
3563         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3564         instead of __NO_M81_MATH_INLINES.
3565         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3566         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3567         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3568         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3569         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3570         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3571         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3572         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3573         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3574         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3576 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3578         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3579         so that clearing second word is necessary.
3581         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3582         header since it is wrong for 64 bit systems.
3583         Patch by a sun <asun@zoology.washington.edu>.
3585 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3587         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3588         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3589         for the benefit of running foreign binaries.
3591 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3593         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3594         * manual/xtract-typefun.awk: New file.  Script to extract function,
3595         variable, macro anchor to put into the `dir' file.
3597         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3598         exponent before comparing.
3600 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3602         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3603         prototypes to use types with explicit width.  `unsigned long' is
3604         different on 64 bit systems.
3605         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3606         * sysdeps/generic/htonl.c: Likewise.
3607         * sysdeps/generic/htons.c: Likewise.
3608         * sysdeps/generic/ntohl.c: Likewise.
3609         * sysdeps/generic/ntohs.c: Likewise.
3610         Suggested by a sun <asun@zoology.washington.edu>.
3612 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3614         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3615         defined and we want optimization.
3617 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3619         * misc/getpass.c: Don't disable canonical input.
3620         Reverted patch of Mon Jan  6 01:35:29 1997.
3622 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3624         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3625         match the hidden __in_chrg parameter of the destructor.
3626         (_IO_FINISH): Pass zero for it.
3627         * libio/genops.c (_IO_default_finish): Add second parameter, which
3628         is ignored.
3629         * libio/memstream.c (_IO_mem_finish): Likewise.
3630         * libio/fileops.c (_IO_file_finish): Likewise.
3631         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3633 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3635         * time/Makefile: Avoid using patterns in dependencies.
3637 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3639         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3641 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3643         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3644         word on stack for overflow.
3646 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3648         * malloc/malloc.c (malloc_get_state): New function.
3649         Saves global malloc state to an opaque data structure which
3650         is dynamically allocated in the heap.
3651         * malloc/malloc.c (malloc_set_state): New function.
3652         Restore previously obtained state.
3653         * malloc/malloc.h: Add declaration of malloc_get_state()
3654         and malloc_set_state().
3656 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3658         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3659         position.
3661 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3663         * misc/error.c: Make error and error_at_line weak aliases of
3664         __error and __error_at_line respectively.
3665         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3667 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3669         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3670         time-era-num-entries.
3672 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3674         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3675         to avoid duplicate mail.
3677 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3679         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3680         numeric values.
3682 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3684         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3685         sign in the strtouXX functions.  The results gets simply negated.
3686         * stdlib/tst-strtol.c: Correct tests.
3688 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3690         * math/math.h: Prevent definition of struct exception when using
3691         C++.
3693 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3695         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3696         Reported by Greg McGary.
3698 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3700         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3701         than file_get_translator.
3703         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3704         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3706 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3708         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3709         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3711 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3713         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3714         but ADDR also == 0.
3716         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3717         now instead of a weak extern, as some old programs expect it to be
3718         defined by ld.so.
3720 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3722         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3724         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3725         __hurd_threadvar_stack_offset): Restore initialized versions, so
3726         startup works correctly.
3728         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3730 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3732         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3733         not __mutex_try_lock.
3734         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3735         (tsd_getspecific): Case variable to (void *) before returning.
3737         * hurd/hurdinit.c (__libc_argv): Remove extern.
3738         (__libc_argc): New variable.
3740 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3742         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3743         _HURD_THREADVAR_MALLOC.
3744         * malloc/thread-m.h
3745         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3746         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3747         __mutex_*.
3748         (mutex_t): Type removed & replaced by new macro.
3749         (tsd_key_t): Typedef to int instead of pthread_key_t.
3750         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3751         (__pthread_initialize): New macro, work around assumption of pthreads.
3752         (tsd_keys_alloced): New static variable.
3753         <hurd/threadvar.h>: New include.
3755         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3756         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3757         defined before using it.
3759         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3760         Make extern.
3761         * hurd/hurdinit.c (__libc_argv): Make extern.
3763         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3764         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3766         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3767         __hurd_threadvar_stack_offset,
3768         __hurd_threadvar_stack_mask): New variables.
3769         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3770         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3771         New variables (moved here from hurdstartup.c).
3772         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3773         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3774         Variables removed (moved to hurdsig.c).
3775         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3776         __hurd_threadvar_stack_mask): Variables removed.
3777         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3778         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3779         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3780         __hurd_threadvar_stack_mask): Variables removed.
3782 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3784         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3785         Declare extern.
3787         * malloc/thread-m.h
3788         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3789         (mutex_t): Type removed.
3790         (mutex_t): New macro.
3791         (mutex_trylock): New macro.
3792         (__x_mutex_lock, __x_mutex_unlock): New functions.
3793         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3794         the cthread definitions.
3795         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3796         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3797         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3798         (__pthread_initialize): New macro, work around assumption of pthreads.
3800 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3802         * sysdeps/generic/netinet/in.h: Protect contents using
3803         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3805         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3806         * inet/Makefile (headers): Remove net/ethernet.h.
3807         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3808         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3810 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3812         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3813         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3815 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3817         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3819 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3821         * stdio-common/test-fseek.c: Remove temporary file, add
3822         copyright.
3824 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3826         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3827         levels with no non-IGNOREd element and handling of NUL byte.
3828         * string/strcoll.c (STRXFRM): Likewise.
3829         * locale/weight.h: Likewise.
3831         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3833 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3835         * locale/programs/locale.c: Check whether output of `locale -a'
3836         really is locale directory.  Also print locale aliases.
3838 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3840         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3841         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3843 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3845         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3846         additional argument.
3848 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3850         * inet/net/ethernet.h: New file.
3851         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3852         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3853         Contributed by a sun <asun@zoology.washington.edu>.
3855         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3856         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3857         Reported by a sun <asun@zoology.washington.edu>.
3859 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3861         * stdio-common/bug10.c (main): Correct parameter.
3863         * string/strcoll.c: Update copyright.
3865 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3867         * malloc/obstack.h: Add `extern "C"' protection.
3868         * posix/regex.h: Likewise.
3869         * io/ftw.h: Likewise.
3870         * misc/libgen.h: Likewise.
3871         * login/utmp.h: Likewise.
3872         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3873         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3874         * sunrpc/rpc/pmap_rmt.h: Likewise.
3875         * sunrpc/rpc/auth_des.h: Likewise.
3876         * elf/link.h: Likewise.
3877         * inet/netinet/ether.h: Likewise.
3878         Reported by HJ Lu.
3880 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3882         Linux specific network headers.
3883         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3884         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3885         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3886         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3887         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3888         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3889         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3890         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3891         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3892         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3893         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3894         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3895         Add sys/quota.h.
3896         [$(subdir)=inet] (sysdep_headers): Add new network header.
3898         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3899         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3901         * inet/netinet/ip.h: Move to sysdeps/generic.
3903 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3905         * inet/netinet/ip.h: Add protection.
3907 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3909         * misc/sys/syslog.h (prioritynames): Correct definition to use
3910         braces where necessary.
3911         (facilitynames): Likewise.
3912         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3913         Comment and beautify declarations.
3915 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3917         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3918         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3920 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3922         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3923         _nss_nis_gethostton_r.
3924         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3926 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3928         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3929         length of abs_filename.
3931 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3933         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3934         trying to resolv name as numeric IPv6 address.
3935         * nss/digits_dots.c: Likewise.
3937 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3939         * locale/programs/localedef.c: Implement --quiet option.
3940         * locale/programs/charset.h: Declare be_quiet variable.
3941         * locale/programs/locfile.h: Likewise.
3942         * locale/programs/charmap.c: Don't print warnings if quiet option
3943         was given.
3944         * locale/programs/ld-collate.c: Likewise.
3945         * locale/programs/ld-ctype.c: Likewise.
3946         * locale/programs/ld-messages.c: Likewise.
3947         * locale/programs/ld-monetary.c: Likewise.
3948         * locale/programs/ld-numeric.c: Likewise.
3949         * locale/programs/ld-time.c: Likewise.
3950         * locale/programs/locfile.c: Likewise.
3952 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3954         * stdlib/qsort.c: Add prototype for _quicksort.
3956         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3958         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3959         from dl-machine.h.
3961 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3963         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3964         Allow user to overwrite it.
3966 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3968         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3969         versions.  Reported by Andreas Jaeger.
3971 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3973         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3974         1997-02-12.
3976         * time/tzfile.c (__tzfile_read): Change comment to follow
3977         change of 1997-02-12.
3979 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3981         * time/time.h (__nanosleep): Define only when struct timespec is
3982         also available.
3983         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3985 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3987         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3988         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3990 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3993         of 1997-02-09 in resolv/gethnamaddr.c.
3995 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3997         * libio/_G_config.h (_G_wint_t): New.
3999 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4001         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4002         to sizeof (buf.buf) while calling res_search ().
4004 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4006         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4007         val to keydat, stat to status.
4009 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4011         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4013 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
4015         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4016         by Keith Bostic.
4018 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4020         * stdlib/atoll.c: Undefine atoll, not atol.
4022 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4024         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4025         unused arguments of shell script.
4027         * Makeconfig (all-object-suffixes): New variable.
4028         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4029         of $(object-suffixes).
4030         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
4032 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
4034         * locale/weight.h (collate_rules): It's an u_int32_t array.
4035         (get_weight): Compute initial SLOT value correctly.
4037 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
4039         * string/argz-ctsep.c: Initialize *LEN when successful.
4041 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
4043         * version.h (VERSION): Bump to 2.0.2.
4045         * posix/Makefile (routines): Add getopt_init.
4046         * posix/getopt.c: Don't get environment variable with nonoption
4047         flags here.  Depend on __getopt_nonoption_flags variable filled
4048         somewhere else.  This is necessary since the variable must be
4049         removed even when getopt isn't used in case exec(2) gets called.
4050         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
4051         and remove environment variable.
4052         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4053         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4054         * sysdeps/stub/init-first.c: Likewise.
4055         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4057         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4058         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4060         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4061         encryption is wanted.
4063         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4064         * stdio/vsnprintf.c: Likewise.
4065         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4067         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4068         * stdio/vsnprintf.c: Likewise.
4069         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4071 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
4073         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4074         Change PTR to void *.
4075         * sysdeps/posix/vdprintf.c: Change PTR to void *.
4076         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4078 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
4080         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4082 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4084         * rellns-sh: No need to check for existance of first parameter.
4086 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4088         * rellns-sh: No need to check for existance of first parameter.
4090 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4092         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4093         by David Holland <dholland@eecs.harvard.edu>.
4095 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4097         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4098         select, in case it is modified by the latter.
4099         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4100         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4101         * sunrpc/svc_tcp.c (readtcp): Likewise.
4103         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4104         array.
4106         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4107         and gid_t.
4109         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4110         argument.
4112 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4114         * elf/Makefile (extra-objs): Don't zap previous value.
4115         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4116         twice.
4118 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4120         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4121         braindamage (sigh!).
4123 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
4125         * manual/memory.texi: Correct `copystring' example for obstacks.
4127 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
4129         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4130         GNU tr don't grok it.
4132 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4134         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4135         Don't use GNU C extensions.
4136         (CMSG_DATA): Use portable definition.
4138 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4140         * elf/ldd.bash.in: Add test for read permission and print appropriate
4141         message.  Change warning and error messages to print "ldd: " at start.
4142         * elf/ldd.sh.in: Likewise.
4144         * stdlib/Makefile (routines): Add atoll.
4145         * stdlib/atoll.c: New file.
4146         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4148         * stdlib/a64l.c: Update copyright.
4149         * stdlib/abs.c: Likewise.
4150         * stdlib/atof.c: Likewise.
4151         * stdlib/atoi.c: Likewise.
4152         * stdlib/atol.c: Likewise.
4153         * stdlib/bsearch.c: Likewise.
4154         * stdlib/exit.c: Likewise.
4155         * stdlib/fpioconst.c: Likewise.
4156         * stdlib/fpioconst.h: Likewise.
4157         * stdlib/jrand48.c: Likewise.
4158         * stdlib/jrand48_r.c: Likewise.
4159         * stdlib/labs.c: Likewise.
4160         * stdlib/lcong48.c: Likewise.
4161         * stdlib/lcong48_r.c: Likewise.
4162         * stdlib/llabs.c: Likewise.
4163         * stdlib/lrand48.c: Likewise.
4164         * stdlib/lrand48_r.c: Likewise.
4165         * stdlib/mblen.c: Likewise.
4166         * stdlib/mbstowcs.c: Likewise.
4167         * stdlib/mbtowc.c: Likewise.
4168         * stdlib/mp_clz_tab.c: Likewise.
4169         * stdlib/mrand48.c: Likewise.
4170         * stdlib/mrand48_r.c: Likewise.
4171         * stdlib/msort.c: Likewise.
4172         * stdlib/nrand48.c: Likewise.
4173         * stdlib/nrand48_r.c: Likewise.
4174         * stdlib/qsort.c: Likewise.
4175         * stdlib/rpmatch.c: Likewise.
4176         * stdlib/seed48.c: Likewise.
4177         * stdlib/seed48_r.c: Likewise.
4178         * stdlib/srand48.c: Likewise.
4179         * stdlib/srand48_r.c: Likewise.
4180         * stdlib/strtod.c: Likewise.
4181         * stdlib/wcstombs.c: Likewise.
4182         * stdlib/wctomb.c: Likewise.
4184 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4186         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4187         as const.
4189 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4191         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4192         including <stddef.h>.
4194 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4196         * time/Makefile (tzbases, tzlinks): New.
4197         (tzfiles): Changed to $(tzbases) $(tzlinks).
4198         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4200 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4202         * Makefile (install): Ignore error from ldconfig.
4204         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4206 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4208         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4209         like PPC where va_list is no integral type.
4211 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4213         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4214         if nonoption_flags_len == -1.
4216 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4218         * Version 2.0.1 net release.
4220 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4222         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4224 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4226         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4227         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4229 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4231         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4232         values as in yp.x and yp.h.
4234 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4236         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4237         1997-02-03 02:17.  Sun's implementation internally corrects
4238         this bug but we don't want to hide this from the user.
4239         * nis/rpcsvc/yp.h: Likewise.
4241 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4243         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4244         inclusion.
4246 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4248         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4249         fixes.
4251 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4253         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4254         (all-sources, all-headers): Use them instead of $(sources) and
4255         $(headers) when searching in sysdep directories.
4257 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4259         * Makerules (REAL_MAKE_VERSION): Use internal make function
4260         instead of shelling out.
4262 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4264         * time/Makefile (install-test-data): Remove mkdir command, zic can
4265         handle that gracefully.
4267 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4269         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4270         somehow.
4272 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4274         * sunrpc/Makefile: Check $(cross-compiling) only after including
4275         ../Makeconfig.
4276         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4277         being considered as a rule.
4278         (generated): Add stamp files before the inclusion of Makerules to
4279         magically mark them as not being intermediate via the `generated'
4280         target.
4282 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4284         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4285         entries.  This is still no complete implementation since AUXILIARY
4286         entries in other shared objects are not yet handled.
4288         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4289         place.
4291         * po/es.po: Update.
4292         * po/fr.po: Update.
4293         * po/nl.po: Update.
4295         * time/Makefile: Better cross-compile support.  Avoid test which
4296         cannot be run.
4297         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4298         tzfile.h file.
4299         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4300         in SUID programs.
4301         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4302         default values as in tzfile.c.
4304         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4305         tags.
4306         * elf/link.h: Likewise.
4307         * elf/elf.h: Add tag definitions and data structures for versioning.
4309 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4311         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4312         "Sun bug".  This is the order of elements also used by 4.4BSD.
4313         * nis/rpcsvc/yp.h: Likewise.
4314         Reported by HJ Lu.
4316 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4318         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4319         action.
4321         * Makefile (install): Pass installation directories as arguments
4322         to ldconfig.
4324 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4326         * malloc/malloc.c (__after_morecore_hook): New variable.
4327         (malloc_extend_top): Call __after_morecore_hook if set.
4328         (main_trim): Likewise.
4329         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4330         Suggested by Marcus Daniels.
4332 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4334         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4335         #ifndef NO_THREADS.
4336         (mallinfo): Likewise.
4338         * malloc/malloc.c (__morecore): Make external since it is used in
4339         programs.
4341 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4343         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4344         unsigned.
4346 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4348         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4349         use t6 as a temporary; it contains bits we still need in $u_head.
4351 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4353         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4354         using __ prefix.  Add prototype for log1p.
4356 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4358         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4360 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4362         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4364 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4366         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4367         structure plus related macros.
4368         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4369         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4370         (sysdep_routines): Add cmsg_nxthdr.
4371         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4372         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4374 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4376         * time/strftime.c: Define _strftime_copytm without protecting arguments
4377         which breaks the definition.
4379 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4381         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4382         definition of type for element.
4384 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4386         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4387         constants.
4389 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4391         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4392         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4394 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4396         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4397         Define if _LIBC is defined.
4398         <limits.h>: Include if HAVE_LIMITS_H instead of if
4399         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4400         <stdlib.h>: Similarly, include if STDC_HEADERS.
4401         (localtime_r): Redo #ifdef to make it clear that glibc has
4402         localtime_r now.
4404 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4406         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4407         file to avoid unnecessary recompilation.
4409 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4411         * Makefile: Set install-others, not install_others.
4412         (before-compile): Use += to preserve previous value.
4413         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4414         fix dependency name.
4415         ($(objpfx)lib-names.h): Remove rule.
4416         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4417         with correct name, using an intermediate stamp file.
4418         (common-generated): Add gnu/lib-names.h.
4419         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4421 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4423         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4424         to prevent warnings on 64 bit systems.
4425         Reported by Paul Wouters <paul@xtdnet.nl>.
4427         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4428         we assume it works.
4430 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4432         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4433         double word boundary before pushing args for main.  This way we
4434         don't get penalties for misaligned memory accesses.  Reported by
4435         Edward Seidl <seidl@janed.com>.
4437         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4438         Patch by HJ Lu.
4440         * misc/bsd-compat.c: Update copyright.
4441         * misc/efgcvt.c: Likewise.
4442         * misc/efgcvt_r.c: Likewise.
4443         * misc/error.c: Likewise.
4444         * misc/error.h: Likewise.
4445         * misc/fstab.c: Likewise.
4446         * misc/init-misc.c: Likewise.
4447         * misc/lsearch.c: Likewise.
4448         * misc/mntent.c: Likewise.
4449         * misc/qefgcvt.c: Likewise.
4450         * misc/qefgcvt_r.c: Likewise.
4451         * nss/databases.def: Likewise.
4452         * nss/db-Makefile: Likewise.
4453         * nss/ethers-lookup.c: Likewise.
4454         * nss/hosts-lookup.c: Likewise.
4455         * nss/netgrp-lookup.c: Likewise.
4456         * nss/nsswitch.h: Likewise.
4457         * nss/proto-lookup.c: Likewise.
4458         * nss/rpc-lookup.c: Likewise.
4459         * nss/service-lookup.c: Likewise.
4460         * nss/nss_db/db-netgrp.c: Likewise.
4461         * nss/nss_files/files-grp.c: Likewise.
4462         * nss/nss_files/files-hosts.c: Likewise.
4463         * nss/nss_files/files-network.c: Likewise.
4464         * nss/nss_files/files-proto.c: Likewise.
4465         * nss/nss_files/files-pwd.c: Likewise.
4466         * nss/nss_files/files-rpc.c: Likewise.
4467         * nss/nss_files/files-service.c: Likewise.
4468         * nss/nss_files/files-spwd.c: Likewise.
4469         * shadow/fgetspent.c: Likewise.
4470         * shadow/fgetspent_r.c: Likewise.
4471         * shadow/getspent.c: Likewise.
4472         * shadow/getspent_r.c: Likewise.
4473         * shadow/getspnam.c: Likewise.
4474         * shadow/getspnam_r.c: Likewise.
4475         * shadow/putspent.c: Likewise.
4476         * shadow/sgetspent.c: Likewise.
4477         * shadow/sgetspent_r.c: Likewise.
4478         * sysdeps/i386/init-first.c: Likewise.
4479         * sysdeps/unix/i386/sysdep.S: Likewise.
4481         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4482         prepared to be running in a multi-threaded environment.  Change
4483         to __USE_MISC unless the function is defined in POSIX.1 (in this
4484         case also test for __USE_POSIX).
4485         * dirent/dirent.h: Likewise.
4486         * grp/grp.h: Likewise.
4487         * inet/aliases.h: Likewise.
4488         * libio/libio.h: Likewise.
4489         * libio/stdio.h: Likewise.
4490         * login/utmp.h: Likewise.
4491         * math/mathcalls.h: Likewise.
4492         * misc/mntent.h: Likewise.
4493         * pwd/pwd.h: Likewise.
4494         * resolv/netdb.h: Likewise.
4495         * stdlib/stdlib.h: Likewise.
4496         * string/string.h: Likewise.
4497         * sunrpc/rpc/netdb.h: Likewise.
4498         * sysdeps/generic/crypt.h: Likewise.
4499         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4500         * time/time.h: Likewise.
4502 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4504         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4505         only if not cross compiling.
4507 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4509         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4510         NULL.
4511         * sysdeps/posix/sigwait.c: Likewise.
4513 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4515         * Makeconfig ($(common-objpfx)config.make): Depend on
4516         $(..)config.make.in.
4518 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4520         * sunrpc/Makefile: Don't generate headers derived from .x files when
4521         crosscompiling.
4523 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4525         * Makefile: Generate gnu/lib-names.h in before-compile.
4526         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4527         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4528         to the revision found for LIBNSS_FILES_SO.
4529         (nss_initilized): Removed.  It was tested but never set.
4530         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4532         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4533         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4535         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4537 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4539         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4540         override the definition.
4542 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4544         * config.make.in (malloc): Remove.
4546 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4548         * version.h (VERSION): Bump to 2.0.1.
4550         * posix/getopt.c: Handle another problem introduced by the
4551         nonoption_flags array.  We must be able to work with reordered
4552         argv arrays.  Reported by Andreas Schwab.
4554 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4556         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4557         stack.
4559 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4561         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4562         that it works with yp.h.
4564 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4566         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4567         __libc_malloc_initialized so that this variable is not shared with
4568         other users of GNU malloc.
4569         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4571         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4573         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4574         variables to prevent warnings.
4575         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4576         using attribute regparm.
4577         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4578         is changed by the resolver code.
4580 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4582         * malloc/malloc.c (weak_variable): Define.
4583         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4584         __memalign_hook): Make them weak definitions.
4586 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4588         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4589         limits, correctly take structure padding into account, use correct
4590         offset when resetting the stream, change heuristic to assume an
4591         average name length of 14 characters.
4593 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4595         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4596         inclusion.
4599 See ChangeLog.6 for earlier changes.