(openpty): Allow the use of more ptys.
[glibc.git] / ChangeLog
blobb510a0abd9995cc5390169e08b4ef1e2e18bce87
1 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
3         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
4         directory index by only the language.
6 1998-03-16 10:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2): Reorder conditions
9         to handle x = 0 or y = 0 correctly.
11 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
13         * string/tester.c (main): Update strsep tests from 2.1.
15         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Remove selection of
16         instruction set here.
17         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): Define
18         to set needed instruction set.
19         Patches by Richard Henderson.
21         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
22         (get_toplvl_escape): Correctly terminate loop at EOF.
23         Patch by Cristian Gafton <gafton@redhat.com>.
25 1998-03-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
27         * sysdeps/generic/strsep.c: Correct handling of separators after
28         last non-separator.
30 1998-03-13  Ulrich Drepper  <drepper@cygnus.com>
32         * sysdeps/i386/fpu/__math.h (atan2): Take over code from glibc
33         2.1.
35 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
37         * elf/dlerror.c (last_object_name): Removed.
38         (dlerror): Don't use last_object_name.
39         (_dl_error_run): Omit second argument to _dl_catch_error.
40         * elf/dl-error.c (struct catch): Remove objname member.
41         (_dl_signal_error): Construct string including objname when given.
42         (_dl_catch_error): Remove objname handling.
43         * elf/link.h (_dl_catch_error): Fix prototype and comment.
44         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
45         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
46         * nss/nsswitch.c (nss_dlerror_run): Likewise.
47         [Corrects PR libc/501].
49 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
51         * elf/rtld.c (dl_main): Install link maps for preloaded objects
52         using main_map as loader.
54 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
56         * sysdeps/i386/__longjmp.S: Fix race condition.
57         Reported by Bruno Haible <haible@ilog.fr>.
59 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
61         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
62         parsing it.
64         * elf/dl-close.c (_dl_close): Applied changes from 2.1 to correct
65         unmapping.
67 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
69         * elf/rtld.c (_dl_library_path): New variable.  Initialize from
70         LD_LIBRARY_PATH envvar and let user overwrite the value using new
71         --library-path option.
73         * elf/dl-load.c (_dl_map_object): Don't get LD_LIBRARY_PATH
74         envvar, use global variable _dl_library_path.
76         * Makeconfig: Use --library-path option instead of LD_LIBRARY_PATH
77         envvar.
79         * misc/syslog.c (vsyslog): Don't try to send if not connected to
80         syslog daemon.
81         (closelog_internal): Don't do anything if not connected.
83         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
84         flag.
86 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
88         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
89         * manual/filesys/texi: Document this.
91 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
93         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
94         0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
96 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
98         * sysdeps/generic/getresgid.c: Remove stub-tag.h.
99         * sysdeps/generic/getresuid.c: Likewise.
101 1998-03-09 15:42  Ulrich Drepper  <drepper@cygnus.com>
103         * sysdeps/generic/getresgid.c: New file.
104         * sysdeps/generic/getresuid.c: New file.
106 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
108         * sysdeps/unix/sysv/linux/getresgid.c: Fix typo.
109         Patch by Cristian Gafton <gafton@redhat.com>.
111 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
113         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
114         getres[ug]id.
115         * sysdeps/unix/sysv/linux/getresgid.c,
116         sysdeps/unix/sysv/linux/getresuid.c: New files.
117         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
118         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
119         s_getres[gu]id.  Don't mark lchown as extra syscall.
121         * sysdeps/unix/sysv/linux/sparc/socket.S: Allow __socket to be
122         redefined.
124 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
126         * misc/syslog.c (openlog_internal): Follow 2.1 changes to prevent
127         errno being set.
129 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
131         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
132         Linux 2.0 and 2.1.
134         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
136 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
138         * manual/texinfo.tex: Updated.
140 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
142         * manual/maint.texi: Change prep.ai.mit.edu to {ftp}.gnu.org.
144 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
146         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
148 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
150         * elf/ldd.sh.in: Add compatibility for broken old shells.
151         * elf/ldd.bash.in: Likewise.
153 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
155         * sunrpc/rpc/auth.h: More prototype cleanups.
156         * sunrpc/rpc/xdr.h: Likewise.
158 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
160         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
161         module.
163         * nss/getXXent_r.c: If no more module is found don't try to call
164         setXXent functions but leave unsuccessfully.
166 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
168         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
169         and use x for member name.
170         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
172         * stdlib/drand48.c: Change according to member name change.
173         * stdlib/drand48_r.c: Likewise.
174         * stdlib/lcong48_r.c: Likewise.
175         * stdlib/lrand48.c: Likewise.
176         * stdlib/lrand48_r.c: Likewise.
177         * stdlib/mrand48.c: Likewise.
178         * stdlib/mrand48_r.c: Likewise.
179         * stdlib/seed48.c: Likewise.
180         * stdlib/seed48_r.c: Likewise.
181         * stdlib/srand48_r.c: Likewise.
183 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
185         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
186         extra syscall.
188 1998-03-03 23:08  H.J. Lu  <hjl@gnu.org>
190         * misc/efgcvt_r.c: Really update from 2.1.
192 1998-02-07 15:06  H.J. Lu  <hjl@gnu.org>
194         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
196 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
198         * version.h (VERSION): Bump to 2.0.7.
200         * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
201         to open_path.
202         (open_path): If preloading and SUID binary, use shared object only
203         if SUID bit is set.
204         * elf/link.h: Adjust prototype for _dl_map_object.
205         * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
206         new argument.
207         * elf/dl-open.c (_dl_open): Likewise.
208         * elf/rtld.c: Likewise.
210         * Makefile (subdirs): Undo last patch.
212         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
213         for some broken kernel versions.
214         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
215         closing paren.
216         * sysdeps/alpha/dl-machine.h: Add missing opening brace.
217         Patches by Cristian Gafton.
219         * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
220         bugs.
222         * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
223         * sunrpc/rpc/auth.h: Likewise.
224         * sunrpc/rpc/clnt.h: Likewise.
225         * sunrpc/rpc/xdr.h: Likewise.
227         * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
228         * sunrpc/clnt_perror.c: Adopt definition.
230 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
232         * db/Makefile ($(inst_libdir)/libndbm.a,
233         $(inst_libdir)/libndbm.so): New targets.
235 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
237         * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
238         * math/math.h: Likewise.
240 1998-03-02 18:23  H.J. Lu  <hjl@gnu.org>
242         * stdio-common/vfscanf.c (inchar): Fix typos.
244 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
246         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
247         search.
249 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
251         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
253 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
255         * inet/netinet/in.h: Rename second parameter of bindresvport to
256         avoid buggy gcc warning. [PR libc/412]
258 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
260         * dladdr.c (dladdr): Remove duplicate code.
262 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
264         * Makefile (subdirs): Remove login.  It appears in
265         sysdeps/unix/Subdirs.  Reported by Roland McGrath.
267         * configure.in: Fix script for handling $CC containing whitespace.
268         Patch by Roland McGrath.
270         * configure.in: Avoid //s in sysdirs.  Patch by Roland McGrath.
272 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
274         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
275         setting _dl_global_scope for RTLD_GLOBAL.
277 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
279         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
280         that the number of program headers is >0 (which is wrong for the
281         loader itself).
283 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
285         * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
286         but does not require it.  Handle missing argv[] values gracefully.
287         * posix/execle.c: Likewise.
289 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
291         * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
292         input.
294 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
296         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
297         * tst-strtod.c (tests): Add fail case for above.
299         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
300         bootstrapping.  Produce saner error messages.
302         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
303         adjtimex.
304         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
305         asjtime.
306         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
307         syscalls that use 32-bit struct timeval.
308         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
309         Update to 2.1.87 for the benefit of Alpha.
311         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
312         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
314 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
316         * nis/ypclnt.c: Give clnt handle after error checking free, change
317         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
319 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
321         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
322         __fsid_t.  Reported by Gene McCulley <mcculley@iag.net>.
324 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
326         * resolv/gethnamaddr.c (addrsort): Make this function extern.
328 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
330         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
331         _dl_lookup_symbol_skip call.
333 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
335         * wctype/test_wctype.c (TEST): Fix paren nesting.
337 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
339         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
340         int value.
342 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
344         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
345         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
347         * math/math.h: Define M_* constants always as `double' and add new
348         macros M_*l which are of type `long double'.
350 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
352         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
353         starting from 0 not only from `from'.
354         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
356 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
358         * locale/programs/ld-messages.c (messages_finish): Don't skip
359         error checking when being quiet.
360         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
361         (set_class_defaults): Likewise.
362         * locale/programs/charmap.c (parse_charmap): Likewise.
363         * locale/programs/ld-collate.c (collate_finish): Likewise.
364         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
365         * locale/programs/ld-time.c (time_finish): Likewise.
366         * locale/programs/locfile.c (write_locale_data): Likewise.
368         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
369         unknown characters and empty ranges.
370         * locale/programs/ld-collate.c (collate_order_elem): When
371         processing an ellipsis properly form a linked list in the result
372         table, fix typo when allocating ordering array.
373         [PR libc/419]
375 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
377         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
379 1998-02-09  H.J. Lu  <hjl@gnu.org>
381         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
382         bind 4.9.6.
383         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
384         [PR libc/389 and 431]
386 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
388         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
390 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
392         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
393         instead of __mempcpy.  Reported by OKUJI Yoshinori
394         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
396 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
398         * configure.in: Check for working msgfmt version (from GNU gettext
399         0.10 or later).
401 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
403         * configure.in: Check for a working makeinfo (3.11 or better).
404         * config.make.in: Add MAKEINFO to be substituted.
405         * manual/Makefile: Don't update info if makeinfo is too old.
407 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
409         * elf/dladdr.c: Use braces for correct logical grouping.
410         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
412 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
414         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
416 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
418         * manual/Makefile: Don't try to install the info files if makeinfo
419         is not available.
421 1998-01-26  Richard Henderson  <rth@cygnus.com>
423         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
424         kernel 2.1.82 has this fixed.
426 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
428         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
429         name to lowercase.
431         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
432         name to lowercase, add test for big enough buffer.
434 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
436         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
437         Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
439 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
441         * manual/errno.texi (Error Messages): Correct description of
442         strerror_r.  Pointed out by jonas@bagge.se.
444 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446         * db/makedb.c (main): Add output_name to error message.
448         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
449         Patch by Thorsten Kukuk.
451         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
452         last patch.  Patch by Thorsten Kukuk.
454         * nss/getXXent_r.c: Include <errno.h>
456         * nss/getXXbyYY_r.c: Include <errno.h>.
458 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
460         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
461         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
462         * wctype/wctype.c: Likewise.
463         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
464         changed.  They are incompatible with the _ISxxx values from
465         <ctype.h> on little endian machines.
466         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
467         bit number.  This fixes the real bug and restores the integrity of
468         the LC_CTYPE locale file.
469         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
470         * wctype/wcfuncs_l.c: Likewise.
471         * wctype/wcextra.c: Likewise.
472         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
473         byte swapping.
474         [PR libc/405]
476 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
478         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
479         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
480         Reported by Craig Metz <cmetz@inner.net>.
482         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
484         * signal/signal.h: Always define sigset_t if __need_sigset_h is
485         defined.
487 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
489         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
490         Patch by Dean Gaudet <dgaudet@arctic.org>.
492 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
494         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
495         with hidden variable name.
496         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
498 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
500         * nss/getXXent_r.c: Include <errno.h>
502         * nss/getXXbyYY_r.c: Include <errno.h>.
504 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
506         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
507         is too small.
508         * nss/getXXent_r.c: Likewise.
510 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
512         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
514 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
516         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
517         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
518         [PR libc/441]
520         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
521         occurence in cache. Reported by Rudolf Leitgeb
522         <leitgeb@leland.stanford.edu>.
523         [PR libc/440]
525         * nss/nss_files/files-service.c: Undo last change.
527 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
529         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
530         [PR libc/410]
532 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
534         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
535         zero in alternate form with precision of zero, which must produce
536         "0".  Add braces to avoid ambiguous `else'.
538 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
540         * locale/programs/charset.c (insert_char): Correctly insert value
541         of eliipsis expression.
543 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
545         * stdlib/strfmon.c: Fix numerous bugs in formatting.
547 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
549         * string/strsignal.c: Regard signal number NSIG as illegal.
550         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
551         members.
553 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
555         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
556         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
558 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
560         * nis/ypclnt.c: Try at first to use the binding file from ypbind
561         before using RPC.
563 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
565         * manual/memory.texi (Heap Consistency Checking): mcheck is
566         declared in <mcheck.h>.
567         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
569         * malloc/Makefile (headers): Add mcheck.h.
570         (distribute): Remove mcheck.h.
572 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
574         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
575         beginning of haystack.
577 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
579         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
581 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
583         * login/utmp_file.c (pututline_file): Don't always report success
584         if similar entry is found.  Patch by Mark M. Kettenis.
586 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
588         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
589         kernel's network ioctls, rather than using <linux/sockios.h> to
590         get them.  This way we are sure of maintaining compatibility if
591         the kernel interface should change.
593 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
595         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
597 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
599         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
602 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
604         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
606 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
608         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
609         really kept as a variable.  Patch by Richard Henderson,
610         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
612 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
614         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
615         by uch@nop.or.jp. [PR libc/437]
617 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
619         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
620         prevent use of kernel headers.
621         Patch by Richard Henderson.
623 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
625         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
626         overflow while reading line with fgets.
627         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
629 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
631         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
632         unsigned short, not short.
633         Reported by Andreas Jaeger.
635 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
637         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
638         reading line with fgets.
639         * nis/nss_compat/compat-pwd.c: Likewise.
640         * nis/nss_compat/compat-spwd.c: Likewise.
641         * nss/nss_files/files-XXX.c: Likewise.
642         * nss/nss_files/files-alias.c: Likewise.
643         * shadow/fgetspent_r.c: Likewise.
645 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
647         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
648         Patch by Ulrich Drepper. [PR libc/413]
650 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
652         * nss/db-Makefile: Handle empty and comment lines better.
653         ($(VAR_DB)/services.db): Generate entries with missing protocol
654         value.
656 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
658         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
659         exit of loop.
661 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
663         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
664         (getservbyname): Allow proto == NULL.
665         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
666         [PR libc/430].
668         * string/strerror_r.c (__strerror_r): Fix description of
669         function.
670         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
671         unknown error in presense of small buffer.
672         * sysdeps/generic/_strerror.c: Likewise.
673         Pointed out by Jonas Bagge <jonas@bagge.se>.
675 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
677         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
678         instead of strcasecmp.
679         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
681 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
683         * locale/langinfo.h: Add defines.
684         * dirent/dirent.h: Add defines for DT_*.
686         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
687         _PC_VDISABLE.
688         Suggested by Roland McGrath.
690 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
692         * sysdeps/alpha/w_sqrt.S: Removed.
693         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
694         and build a version that is as fast as possible given the constraint.
695         [PR libc/423].
697 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
699         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
700         handling of enlarging buffers (clear errno).
701         * sunrpc/clnt_simp.c (callrpc): Likewise.
702         * sunrpc/getrpcport.c (getrpcport): Likewise.
703         * sunrpc/clnt_gen.c (clnt_create): Likewise.
704         * shadow/fgetspent.c (fgetspent): Likewise.
705         * shadow/sgetspent.c (sgetspent): Likewise.
706         * pwd/fgetpwent.c (fgetpwent): Likewise.
707         * nss/getXXent.c (GETFUNC_NAME): Likewise.
708         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
709         * inet/rexec.c (rexec): Likewise.
710         * inet/rcmd.c (rcmd): Likewise.
711         (ruserok): Likewise.
712         (__icheckhost): Likewise.
713         * grp/initgroups.c (initgroups): Likewise
714         * grp/fgetgrent.c (fgetgrent): Likewise.
715         Based on patches by Cristian Gafton <gafton@redhat.com>.
717 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
719         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
720         * nss/getXXent_r.c: Likewise.
721         Patches by Cristian Gafton <gafton@redhat.com>.
723 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
725         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
726         terminating null in key size.
728 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
730         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
731         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
732         [PR libc/417].
734         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
735         by Jochen Voss <voss@mathematik.uni-kl.de>.
736         [PR libc/415].
738         * manual/time.texi (Priority): Correct description of
739         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
740         [PR libc/416].
742         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
744 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
746         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
748 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
750         * nss/nss_files/files-service.c: Fix allocation size to include
751         length of PROTO.
753         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
754         applicable.  Fix return value and error checking.
755         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
756         unparsable lines.
757         (DB_LOOKUP): Allocate space for terminating null byte.
758         [PR libc/404]
760         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
761         uids specially.
763         * db2/makedb.c (process_input): Continue processing if a duplicate
764         key is encountered.
766 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
768         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
769         lookups ignoring case.
770         * nss/nss_files/files-network.c: Do network lookups ignoring
771         case.
772         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
773         case.
774         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
775         case insensitive comparing.
776         Patches by Cristian Gafton <gafton@redhat.com>.
778         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
779         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
780         <gafton@redhat.com>.
782 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
784         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
785         by Roland McGrath. [PR libc/395]
787 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
789         * manual/arith.texi (Parsing of Integers): Correct description of
790         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
791         [PR libc/396]
793 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
795         * signals.c (sigwait): Correct loop initilization and end
796         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
798 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
801         cancelable socket functions as __libc_xxx with __xxx as weak
802         alias.
804         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
805         redefined.
806         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
808         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
809         and __xxx a weak alias.
810         * sysdeps/unix/sysv/linux/connect.S: Likewise.
811         * sysdeps/unix/sysv/linux/recv.S: Likewise.
812         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
813         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
814         * sysdeps/unix/sysv/linux/send.S: Likewise.
815         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
816         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
817         [PR libc/391]
819 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
821         * configure.in: Fix --enable-add-ons code.
823 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
825         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
826         Patch by David Engel <david@sw.ods.com>.
828         * configure.in: Fix another typo in --enable-add-ons code.
830 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
832         * misc/lsearch.c (lsearch): Return a pointer to the new element
833         if one was "allocated".
835 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
837         * string/strsignal.c: Don't zap the last character of the "Unknown
838         signal" message.
840 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
842         * libio/iofgets.c (_IO_fgets): Return an error only if there
843         is a new error.
844         * libio/iogets.c (_IO_gets): Ditto.
846 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
848         * nss/nss_files/files-network.c: Correct order of parameters for
849         getnetbyaddr.
850         (LINE_PARSER): Set n_addrtype to AF_INET.
852 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
854         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
855         and JMP_SLOT see the relocation addend.
857 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
859         * version.h (RELEASE): Set to "production".
861         * po/nl.po: Updated.
862         * po/es.po: Updated.
864         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
866 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
868         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
869         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
871 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
873         * configure.in: Fix typo.  Correct check for available add-ons.
875         * limits.h: Always define MB_LEN_MAX.
877         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
878         * nis/nss_nis/nis-grp.c: Likewise.
879         * nis/nss_nis/nis-hosts.c: Likewise.
880         * nis/nss_nis/nis-network.c: Likewise.
881         * nis/nss_nis/nis-proto.c: Likewise.
882         * nis/nss_nis/nis-pwd.c: Likewise.
883         * nis/nss_nis/nis-rpc.c: Likewise.
884         * nis/nss_nis/nis-service.c: Likewise.
885         * nis/nss_nis/nis-spwd.c: Likewise.
887         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
888         directly.
890         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
892         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
894 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
896         * posix/sched.h: timespec is in <time.h>.
898         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
900 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
902         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
903         Define STREAM_MAX using FOPEN_MAX.
905         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
906         Define as size_t.
907         * locale/programs/locale.c: Use correct cast from pointer value.
909         * misc/regexp.h (compile): Use parameter names without __.
911         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
912         instead of strcpy for security reasons.
913         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
914         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
915         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
916         * sunrpc/clnt_simp.c (callrpc): Likewise.
918         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
919         for map_v4v6_hostent call.
921         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
922         __need_FOPEN_MAX.
923         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
924         __need_FOPEN_MAX.
925         * sysdeps/stub/stdio_lim.h: Likewise.
927         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
928         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
929         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
930         msg_lspid and msg_lrpid field.
931         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
932         shm_lpid field.
934 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
936         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
938 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
940         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
942 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
944         * elf/rtld.c: Don't count in multiply reference object in number
945         of preloaded objects.  [PR libc/375].
947         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
948         shifted correctly.
949         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
950         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
951         Reported by Richard Henderson.
953 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
955         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
956         return code for non existent +name entries.
957         * nis/nss_compat/compat-pwd.c: Likewise.
958         * nis/nss_compat/compat-spwd.c: Likewise.
960 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
962         * posix/glob.c: Update from glibc 2.1.
963         * posix/glob.h: Likewise.
965 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
967         * stdlib/exit.c (exit): Handle recursive calls to exit ().
969 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
971         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
972         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
974 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
976         * configure.in: If --enable-add-ons is given without an
977         argument, set the addons list to all subdirs with a configure
978         script.
980 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
982         * resolv/res_query.c (res_querydomain): Avoid potential buffer
983         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
985 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
987         * glibcbug.in: Add more information of build environment and flags.
989 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
991         * resolv/inet_neta.c (inet_neta): Change type of first parameter
992         to u_int32_t. Suggested by John Lavagnino
993         <John_Lavagnino@Brown.edu> [PR libc/366].
995         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
997         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
999 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
1001         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1003 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1005         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
1006         variable as well.
1008         * locale/C-ctype.c: Correct data for isw* functions.
1009         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1010         byte order.
1011         * wctype/test_wctype.c: Add test for isw* functions.
1012         * wctype/wctype.c: Return value with expected byte order.
1014         * sysdeps/alpha/__math.h: Remove cabs definition.
1015         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
1017         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1019         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
1020         __libc_* names.
1022         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
1023         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
1024         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1025         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
1026         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
1028         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1030         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
1032 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1034         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1035         * sysdeps/unix/sysv/linux/send.S: Likewise.
1036         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1037         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1038         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1039         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1040         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1041         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1043 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1045         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1046         handle for /etc/group back in some more cases.
1047         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1048         handle for /etc/passwd back in some more cases.
1049         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1050         handle for /etc/shadow back in some more cases.
1052 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1054         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1055         beyound its size.
1056         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1057         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1059 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1061         Alpha changes for EGCS:
1062         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1063         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1064         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1065         (_start): Likewise.
1066         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1068         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
1069         * sysdeps/alpha/__longjmp.S: Likewise.
1070         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1071         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1072         * sysdeps/alpha/jmp_buf.h: Likewise.
1073         * sysdeps/alpha/setjmp.S: Likewise.
1074         * sysdeps/alpha/__longjmp.c: Removed.
1075         * sysdeps/alpha/setjmp_aux.c: Removed.
1077 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1079         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
1080         constants from Linux headers.  Pointed out by
1081         csmall@scooter.o.i.net. [PR libc/369]
1083 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1085         * grp/initgroups.c: Increase buffer if it is too small.
1087 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1089         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
1090         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
1091         [PR libc/367].
1093 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
1095         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1096         __typeof for C++ since this fails for class members.
1097         Reported by Neal Becker <neal@ctd.comsat.com>.
1099 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1101         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
1102         incompatible with Linux 2.1.x. Packages using modules
1103         (e.g. modutils) should/do provide their own version. Suggested by
1104         Richard Henderson.
1106         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
1108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1109         [$(subdir)=socket]: Remove sys/module.h.
1111 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1113         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1114         not shadow the variable in the outer scope. Carry over from glibc 2.1.
1116 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
1118         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
1120 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1122         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1123         return value.
1125 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
1127         * configure.in: Update from 2.1 version.
1128         * glibcbug.in: Likewise.
1129         * manual/maint.texi: Likewise.
1131         * math/mathcalls.c: Remove declaration of infnan and cabs.
1133         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
1135         * manual/errno.texi: Define new Linux errors.
1137         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
1138         and __kernel_rem_pio2{,f,l}.
1140         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
1142         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
1144         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
1146         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
1148         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
1149         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1150         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1152         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
1153         <bits/libc-lock.h>.
1155         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
1156         types in struct cmsghdr.
1158         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
1159         loading of return address.
1161         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
1162         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
1164         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
1166 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1168         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1169         value type to long int.
1170         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1171         types.
1173 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
1175         * sysdeps/posix/writev.c: Correct condition to leave the loop.
1177 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
1179         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
1180         zero isn't enough to determine illegal arguments.
1181         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1182         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1184 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
1186         * sysdeps/libm-i387/e_remainder.S: Pretty print.
1187         * sysdeps/libm-i387/e_remainderf.S: Likewise.
1188         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1190 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1192         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1194 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
1196         * stdlib/stdlib.h: Remove mblen optimization.
1197         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1198         Reported by anderson@metrolink.com.
1200 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1202         * po/Makefile ($(mo-installed)): Don't fail during installation if
1203         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1204         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1206 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1208         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1209         header is used in some others as well for historical reasons.
1211 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1213         * locale/setlocale.c (setname): Only remove old name when it
1214         is for category LC_ALL.
1216 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
1218         * intl/localealias.c (read_alias_file): Correct handling of line
1219         reader which sometimes skipped complete lines (PR 205).
1221 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1223         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1224         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1226         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1227         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1229 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1231         * Makerules (libc.so): Fix typo.
1233         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1234         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1236         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1237         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1239 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1241         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1242         compilers.
1243         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1245         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1246         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1248 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1250         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1251         for NULL.
1252         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1253         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1255         * configure.in: Correct test for bash2.
1256         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1258         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1259         (CFLAGS-locfile.c): Likewise.
1260         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1262         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1263         non-existing entry if the table is full.
1265         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1267 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1269         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1270         Replace revoke call by use of REVOKE.
1271         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1272         empty and #include generic version.
1273         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1275 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1277         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1278         again after successful call.
1279         Patch by Marc Lehmann <pcg@goof.com>.
1281 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
1283         * malloc/thread-m.h: Remove malloc_key-data definition.
1284         Reported by Trevor Johnson <trevor@jpj.net>.
1286 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1288         * manual/filesys.texi (Scanning Directory Content): Document error
1289         case more.
1291         * dirent/scandir.c (scandir): Ignore errors from select function.
1292         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1294 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1296         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1297         * termios/termios.h: Change prototype accordingly.
1299 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1301         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1302         for C++.
1304 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1306         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1307         bugs.
1309 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1311         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1312         2.1 development version  to fix some more severe bugs.
1313         * nis/nss_compat/compat-pwd.c: Likewise.
1314         * nis/nss_compat/compat-spwd.c: Likewise.
1315         * nis/ypclnt.c: Likewise.
1316         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1318         * version.h (VERSION): Bump to 2.0.6.
1320 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1322         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1323         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1325 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1327         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1328         generated by a glob call disable GLOB_ERR since there might be
1329         non-directories in the list (PR203).
1331 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1333         * misc/efgcvt.c: Call correct reentrant functions.
1335 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1337         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1338         timezone variable.
1339         * time/tzset.c (tz_compute): Likewise.
1340         Reported by Erik Troan <ewt@redhat.com>.
1342 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1344         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1345         in all error cases (PR 244).
1347 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1349         * manual/filesys.texi: Correct prototype in readdir_r description.
1350         Reported by Jim Meyering <meyering@eng.ascend.com>.
1352 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1354         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1355         matching of version function if both the general (1) and
1356         glibc-specific (3) entry are present.
1358 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1360         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1361         elements in struct msghdr and struct cmsghdr, to keep in step with
1362         the kernel.
1364 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1366         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1367         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1368         struct and not a pointer.  Little optimizations.
1370 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1372         * intl/loadmsgcat.c (_nl_load_domain):
1373         Fix &&/|| typo when checking file size.
1375 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1377         * time/africa: Update from tzdata1997i.
1379 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1381         * malloc/obstack.h (obstack_empty_p): New macro.
1383 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1385         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1386         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1387         for time_t overflow.
1389 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1391         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1392         type of fw_pcnt and fw_bcnt fields to match kernel.
1393         Patch by a sun <asun@zoology.washington.edu>.
1395 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1397         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1398         Reported by Erik Troan <ewt@redhat.com>.
1400 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1402         Fix gmtime so that it reports leap seconds when TZ
1403         indicates that leap seconds are desired.
1405         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1406         (gmtime): Put after gmtime_r, to help the compiler inline.
1407         (__tz_convert): New decl.
1408         (gmtime_r): Use __tz_convert instead of __offtime,
1409         so that leap seconds are handled correctly.
1411         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1412         are now unnecessary.
1413         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1414         __tzset_lock): Remove extern decls that are now unnecessary.
1415         (localtime_internal): Moved to __tz_convert in tzset.c.
1416         so that localtime and gmtime can both use it easily.
1417         (localtime): Put after localtime_r, to help the compiler inline.
1418         (localtime_r): Use __tz_convert instead of localtime_internal.
1420         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1421         decl.
1423         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1425         * time/tzset.c (<errno.h>): Include.
1426         (_tmbuf): New decl.
1427         (__tzfile_compute): New function.
1428         (tz_compute): Renamed from __tz_compute.  No longer extern.
1429         Remove redundant call to tzset_internal.
1430         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1431         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1432         (__tz_convert): New function, containing functionality of old
1433         localtime_internal function, plus locking and optional UTC.
1435 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1437         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1438         string, just use UTC without leap seconds.  This is for compatibility
1439         with the Olson code.
1441 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1443         * time/tzset.c (__tzname_max): Lock tz data structures before
1444         invoking tzset_internal.
1446         * time/tzfile.c: Define compute_tzname_max statically.
1448 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1450         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1451         __FD_ISSET): Use correct casts to address array correctly.
1452         Reported by urbanw@cs.umu.se.
1454 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1456         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1457         next head.  Reported by baccala@FreeSoft.org.
1459 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1461         * sysdeps/stub/sigaction.c: Fix typo.
1462         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1464 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1466         * catgets/catgets.c (catopen): Correctly determine length of string
1467         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1469 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1471         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1473 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1475         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1476         for descriptors >= 32.
1478         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1479         is used __alloca is not defined to __builtin_alloca and so might
1480         not be available.
1481         Reported by Uwe Ohse <uwe@ohse.de>.
1483         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1484         way if gcc is not used and so dev_t is an array.
1485         Reported by Uwe Ohse <uwe@ohse.de>.
1487         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1488         of sys/cdefs.h.  Pretty print.
1490 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1492         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1493         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1494         with g++ internal symbols.
1495         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1497 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1499         * string/argz.h: Add missing __END_DECLS.
1500         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1502 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1504         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1506         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1508         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1510 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1512         * tzset.c (__tzset_internal): Fix memory leak when the user
1513         specifies a TZ value that uses a default rule file.
1514         Do not assume US DST rules when the user specifies
1515         that there is no DST.
1517 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1519         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1520         they operate on internal kernel structures and have no place in a
1521         user header.
1523 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1525         * sysdeps/mach/libc-lock.h: Fix typo.
1526         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1528 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1530         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1532         * catgets/gencat.c (usage): Fix help text.
1534         Update of UTMP interface.
1535         * login/Makefile (routines): Add utmpname, remove utmp_db.
1536         * login/getutent.c: Rename to __getutent and make getutent a weak
1537         alias.
1538         * login/getutent.c: Rename to __getutid and make getutid a weak
1539         alias.
1540         * login/getutent.c: Rename to __getutline and make getutline a weak
1541         alias.
1542         * login/getutent_r.c: Rewrite to use jump table correctly.
1543         * login/getutid_r.c: Likewise.
1544         * login/getutline_r.c: Likewise.
1545         * login/updwtmp.c: Likewise.
1546         * login/login.c (login): Correct test for result of utmpname.
1547         Use updwtmp instead of implementing this here again.
1548         * login/logout.c (logout): Correct test for result of utmpname
1549         and pututline.  Handle ut_type field correctly if it exists.
1550         * login/utmp-private.h: Update for changed internal functions.
1551         * login/utmp.h: Reformat and correct typos.
1552         * login/utmp_file.c: Rewrite lock handling.
1553         * login/utmpname.c: New file.
1554         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1556         * socket/sys/socket.h (getpeername): Correct type of len argument.
1557         Reported by a sun <asun@zoology.washington.edu>.
1559         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1560         <bits/types.h>.
1561         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1563         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1564         functions.
1566         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1567         cthreads.
1568         * sysdeps/mach/hurd/cthreads.c: New file.
1570 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1572         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1573         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1575 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1577         * login/login.c (login): Check for correct return value of
1578         utmpname.
1580 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1582         * time/tzset.c: Interpret no DST information in user provided time
1583         zone specification as it is meant: no DST.
1584         Patch by Paul Eggert <eggert@twinsun.com>.
1586 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1588         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1589         Add macros for key handling.
1590         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1591         cthreads.
1592         * sysdeps/mach/hurd/cthreads.c: New file.
1593         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1595 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1597         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1599 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1601         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1602         for storage class.
1603         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1605         * login/Makefile (routines): Add updwtmp.
1606         * login/logwtmp.c: Move definition of updwtmp to ...
1607         * login/updwtmp.c: here.  New file.
1609         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1610         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1611         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1613 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1615         * libio/stdfiles.c (_libio_using_thunks): Define if
1616         _G_USING_THUNKS is defined.
1618         * libio/_G_config.h: Moved to
1619         * sysdeps/generic/_G_config.h: ...here.
1621         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1623 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1625         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1626         right place.
1628 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1630         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1631         PC's in long long to avoid overflow.
1633 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1635         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1636         New macros.
1638 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1640         * gmon/gmon.c (_mcleanup): Fix typos.
1642         * gmon/sys/gmon.h: Add prototype for write_profiling.
1644 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1646         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1647         loop, to avoid dragging stdio into the dynamic linker.
1649 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1651         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1652         (_mcleanup): Use write_gmon.
1653         (write_profiling): This function can be safely called at any time
1654         to write a current histogram without interfering with ongoing
1655         profiling.
1657         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1659 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1661         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1662         not be vm_deallocated; it's a stack buffer.
1663         (profil_vm_deallocate): Delete prototype.
1664         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1665         inclusion.
1666         * sysdeps/mach/hurd/Makefile
1667         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1668         this rule.
1670         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1671         from profile_waiter.
1672         (profile_waiter): Use fetch_samples.
1673         (profil): When turning off profiling, fetch the last bunch of
1674         samples before disabling PC sampling.
1675         (fetch_samples): Add prototype.
1677 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1679         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1680         source included by profil.c instead of trying to use
1681         before-compile grot.
1683 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1685         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1686         after releasing lock.  Use special RPC stubs and avoid assert,
1687         thus making this function entirely independent of the threadvar
1688         mechanism and of cthreads.
1689         (lock): Convert to be a spin lock instead of a mutex, so that the
1690         waiter thread need not use cthreads.  Use a fork prepare hook
1691         instead of _hurd_fork_locks to make sure we are clean before
1692         forking.
1693         (fork_profil_child): Renamed from fork_profil.
1694         (profil_reply_port): New variable.
1695         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1696         stubs made by special hacks.
1697         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1698         source files that profil.c needs if we are in the gmon directory.
1700         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1701         cthreads bug that hasn't existed for two years.
1703 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1705         * locale/programs/localedef.c (main): Set bit in avail for those
1706         categories which are successfully read.
1707         * locale/programs/locfile.c (check_all_categories): Don't check
1708         categories if they are not available.
1709         (write_all_categories): Don't write categories if they are not
1710         available.
1712         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1713         getsockopt, setsockopt, accept): Change size argument to type
1714         socklen_t.
1715         Pretty print.
1716         * manual/socket.texi: Describe socklen_t and change prototypes of
1717         socket functions to use socklen_t.
1718         * sysdeps/generic/bits/socket.h: Define socklen_t.
1719         (struct msghdr): Correct types to use socklen_t.
1720         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1721         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1723         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1724         1.0 < x < 8.0.
1725         * stdio-common/tfformat.c: Add new tests for above bug.
1727         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1729         * wcsmbs/Makefile (tests): Add tst-wcstof.
1730         * wcsmbs/tst-wcstof.c: New file.
1731         * wcsmbs/wcstof.c (FLT): Define as FLT.
1733 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1735         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1736         case since the __syscall_ptrace call already did this.
1737         Reported by Philip Gladstone <philip@talon.raptor.com>.
1739 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1741         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1742         <gnu/types.h> to <sys/types.h>.
1744 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1746         * locale/programs/locale.c (print_escaped): New function.
1747         (show_info): Use print_escaped if strings can control unprintable
1748         characters.
1749         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1751 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1753         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1754         dependencies.
1756 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1758         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1759         for stream on input file.
1760         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1761         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1762         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1763         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1764         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1765         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1766         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1767         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1769 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1771         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1772         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1773         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1774         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1776 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1778         * time/africa: Update from tzdata1997g.
1779         * time/asia: Likewise.
1780         * time/australasia: Likewise.
1781         * time/europe: Likewise.
1782         * time/iso3166.tab: Likewise.
1783         * time/zone.tab: Likewise.
1784         * time/private.h: Update from tzcode1997f.
1785         * time/scheck.c: Likewise.
1787 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1789         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1790         Synchronize with malloc/obstack.c.
1792 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1794         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1795         path to install-info for systems like Debian that have an
1796         install-info with a different command line interface from the
1797         canonical GNU texinfo version.
1799 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1801         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1802         * posix/unistd.h: Likewise.
1803         * sysdeps/stub/ttyname_r.c: Likewise.
1805 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1807         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1809         * time/tzfile.c (__tzstring): New decl.
1810         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1811         (__tzfile_default): First two args are now const char *.
1813         * time/tzset.c (__tzstring): New function.
1814         (tz_rule): Name is now const char *.
1815         (struct tzstring_head): New type.
1816         (tzstring_list, tzstring_last_buffer_size): New static vars.
1817         (__tzset_internal): Time zone names are now permanent, not temporary.
1819 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1821         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1822         and && in tests to allow use in C++ code which overloads these
1823         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1825 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1827         * login/login.c (tty_name): Test return value of ttyname_r for !=
1828         0, not < 0.
1829         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1830         0, not >= 0.
1831         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1832         ttyname_r for != 0.
1833         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1835 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1837         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1838         one.
1840         * signal/sigandset.c: Include stddef.h to get NULL defined.
1841         * signal/sigisempty.c: Likewise.
1842         * signal/sigorset.c: Likewise.
1844 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1846         * posix/execvp.c (execvp): Handle ESTALE.
1848 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1850         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1851         before calling _IO_SYSREAD ().
1853 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1855         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1856         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1858 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1860         * io/lockf.c (lockf): Clear fl before using.
1861         Patch by sr@adb.fr.
1863         * libio/strops.c: Correctly handle _IO_write_end.
1865         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1866         panic if setnetgrent wasn't called before, return error.
1867         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1869         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1870         if locally defined.
1871         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1872         if locally defined.
1873         Define tm_diff function as ftime_tm_diff if locally defined.
1874         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1876 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1878         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1879         in cc1.  Cpp in gcc doesn't do it.
1881 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1883         * login/login.c (tty_name): Use newly allocated buffer.
1884         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1886         * time/asctime.c: Never translate week and month name according
1887         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1889 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1891         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1892         setresgid.
1894 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1896         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1897         Reported by a sun.
1899 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1901         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1902         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1904 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1906         * math/math.h: Add warning about use of M_* constants.
1907         Pretty print.
1909 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1911         * locale/programs/locale.c: Correct comment.
1913         * po/ko.po: Update.
1915 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1917         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1919 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1921         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1923         * manual/Makefile (distribute): Add dir.
1924         * manual/dir: New file.
1926 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1928         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1930 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1932         * string/Makefile (routines): Add argz-replace.
1934 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
1936         * string/argz.h (__argz_replace, argz_replace): New declarations.
1937         * string/argz-replace.c: New file.
1939 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1941         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
1942         character read in/put back.
1943         * stdio-common/tstscanf.c: Add test case for this.
1945 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
1947         * manual/Makefile (install): Make sure `dir' file exists if we use
1948         install-info.
1950 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1952         * manual/Makefile (info): Depend on dir-add.info.
1954 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1956         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
1957         * sysdeps/stub/e_acosl.c: Likewise.
1958         * sysdeps/stub/e_asinl.c: Likewise.
1959         * sysdeps/stub/e_atan2l.c: Likewise.
1960         * sysdeps/stub/e_expl.c: Likewise.
1961         * sysdeps/stub/e_fmodl.c: Likewise.
1962         * sysdeps/stub/e_j0l.c: Likewise.
1963         * sysdeps/stub/e_j1l.c: Likewise.
1964         * sysdeps/stub/e_jnl.c: Likewise.
1965         * sysdeps/stub/e_lgammal_r.c: Likewise.
1966         * sysdeps/stub/e_log10l.c: Likewise.
1967         * sysdeps/stub/e_logl.c: Likewise.
1968         * sysdeps/stub/e_powl.c: Likewise.
1969         * sysdeps/stub/e_rem_pio2l.c: Likewise.
1970         * sysdeps/stub/e_sqrtl.c: Likewise.
1971         * sysdeps/stub/k_cosl.c: Likewise.
1972         * sysdeps/stub/k_rem_pio2l.c: Likewise.
1973         * sysdeps/stub/k_sinl.c: Likewise.
1974         * sysdeps/stub/k_tanl.c: Likewise.
1975         * sysdeps/stub/s_atanl.c: Likewise.
1976         * sysdeps/stub/s_erfl.c: Likewise.
1977         * sysdeps/stub/s_expm1l.c: Likewise.
1978         * sysdeps/stub/s_log1pl.c: Likewise.
1980 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
1982         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
1983         01:13:56 1996.
1985 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
1987         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
1988         * sysdeps/libm-i387/s_asinhf.S: Likewise.
1989         * sysdeps/libm-i387/s_asinhl.S: Likewise.
1990         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
1991         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
1992         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
1994 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
1996         * Makefile (manual/dir-add.info): New rule.
1998         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
1999         `unsigned short'.
2001         * manual/Makefile (dir-add.texi): Also emit wrapper text for
2002         info/install-info.
2003         (distribute): Add dir-add.texi and dir-add.info.
2004         (mostlyclean): Add dir-add.info.
2005         (realclean): Add dir-add.texi.
2006         (install): Add entries in `dir' file using install-info.
2008         * manual/libc.texinfo: Add @dircategory and @direntry text.
2009         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
2011 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
2013         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
2014         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
2015         M_SQRT2.
2016         * math/math.h (_Mldbl): Define even if M_* constants are not
2017         defined.
2018         Reported by corsepiu@faw.uni-ulm.de.
2020 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
2022         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
2024 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
2026         * misc/regexp.h (compile): Allow use of macro INIT for variable
2027         declaration.  Add documentation for INIT.
2028         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
2030 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
2032         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
2034 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2036         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
2037         netinet/icmp.h, add netatalk/at.h.
2038         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
2039         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
2041 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
2043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
2045 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
2047         * string/argz-addsep.c: Correct weak alias.
2048         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2050         * locale/setlocale.c (setlocale): Free variable with locale path
2051         before returning.
2052         (setname): Don't test for _nl_current[category] being NULL before
2053         freeing.
2054         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2056 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
2058         * time/Makefile: Make tzselect depend on config.make.
2060 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
2062         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
2063         type to `unsigned long int'.
2064         Patch by Richard Henderson <richard@twiddle.rth.home>.
2066 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2068         * nss/nss_files/files-hosts.c: Delete inclusion of
2069         "../resolv/mapv4v6hostent.h".
2071 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
2073         * libio/libio.h: Define bits for libg++-2.8.
2075 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
2077         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
2078         plan on doing so ever again.  Don't say alpha-linuxecoff is known
2079         to work.
2081         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
2082         will last until I figure out how to build a parallel libm_ieee.
2084         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
2085         FP mode to round to nearest, no exceptions as for Intel.
2086         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
2087         (rdfpcr): Use excb rather than trapb.  Be more efficient about
2088         getting at the fpcr.
2089         (wrfpcr): Likewise.
2090         (__setfpucw): Reformat.
2092         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
2093         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2094         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
2095         sure the stack frame is released the very instruction before the
2096         real jump out.
2097         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2098         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2100         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
2101         have gotten from <linux/posix_types.h>.
2103         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
2105 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2107         * Makefile (manual/dir-add.texi): Force execution.
2109 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2111         * stdlib/strfmon.c: Don't run past EOS after `='.
2113 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
2115         Update resolver code to bind-4.9.6-T1A.
2116         * resolv/Banner: Update.
2117         * nss/digits_dots.c: Adapt text address matching to T1A.
2118         * nss/nss_files/files-hosts.c: Always use inet_pton.
2119         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
2120         it would lead to warnings.
2121         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
2122         at several places.
2123         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
2124         * resolv/res_comp.c (dn_expand): Check for overflow.
2125         (dn_comp): Likewise.
2126         * resolv/res_debug.c (precsize_aton): Better implementation.
2127         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
2128         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
2129         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
2130         length at several places.
2132 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2134         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
2135         time_t.
2137         * login/pty.h: Include <ioctl-types.h> for definition of struct
2138         winsize.
2140 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
2142         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
2143         number to four digits and to representable range for 4 byte time_t
2144         values.
2145         Patch by H.J. Lu <hjl@lucon.org>.
2147 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
2149         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2150         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2151         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2153 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
2155         * login/login.c (tty_name): Use newly allocated buffer.
2156         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2158         * time/asctime.c: Never translate week and month name according
2159         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
2161 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2163         * hurd/hurdsig.c: Include <hurd/id.h>.
2164         (reauth_proc): Call proc_setowner appropriately too.
2166 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2168         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
2169         correct value for _POSIX_VDISABLE.
2171 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2173         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
2175         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
2177 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
2179         * Net release 2.0.4.
2181 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
2183         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
2184         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
2185         environments in which linking is not possible at configure time
2186         (since te libc is just build).
2187         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2189 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
2191         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2192         state array only at right place.
2193         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2195         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2196         [0.5,1.0) but really in [0.0, 1.0).
2197         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2199 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
2201         * sysdeps/i386/elf/start.S: Change local label "nofini"
2202         to ".Lnofini".
2204         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2206 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
2208         * time/zic.c: Update from tzcode1997e.
2210         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2211         are not defined.
2213 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
2215         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2216         monstartup.
2218 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
2220         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2221         values.
2222         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2224         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2225         u_long.
2227 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
2229         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2230         not looking at the new thread-safe .plt, don't be lazy about relocs.
2231         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2232         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2233         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2234         elf_machine_runtime_setup() decide if we can actually be lazy.
2235         * elf/rtld.c (_dl_start): So don't call it.
2236         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2237         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2238         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2239         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2240         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2241         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2242         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2243         skeleton definition.
2245 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
2247         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2248         stack by fxtract.
2250 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2252         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2253         warning.
2255         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2256         of USHRT_MAX.
2258         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2260 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
2262         * version.h (VERSION): Bump to 2.0.4.
2264         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2265         and for Linux ld.so.
2266         * login/Makefile (libutil.so): Likewise.
2267         * math/Makefile (libm.so): Likewise.
2268         * md5-crypt/Makefile (libcrypt.so): Likewise.
2269         * nis/Makefile (libnss_%.so): Likewise.
2270         * resolv/Makefile (libnss_dns.so): Likewise.
2272 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2274         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2275         workaround.
2277 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
2279         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2281         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
2282         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2283         Reported by Ian Taylor <ian@cygnus.com>.
2285         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2287         * po/de.po: Updated.
2289         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2291         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2293 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2295         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2296         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2298 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2300         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2301         msg_add_auth was overflowing it.
2303 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2305         * time/sys/time.h: Make second argument of setitimer const.
2306         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2307         * sysdeps/stub/setitimer.c: Likewise.
2308         * sysdeps/mach/hurd/setitimer.c: Likewise.
2310 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2312         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2313         when we can't find the symbol.
2315 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2317         * posix/regex.c: Fix handling of 32-bit Windog environments.
2318         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2320 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2322         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2324 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2326         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2328 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2330         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2332 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2334         * sys/ttydefaults.h: Removed.
2336 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2338         * termios/sys/ttydefaults.h: Delete file.
2339         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2340         TTYDEF_OFLAG.
2341         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2342         XTABS in TTYDEF_OFLAG.
2343         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2344         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2346 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2348         * posix/TESTS: Add some more tests for character class matching.
2349         * posix/regex.c: Merge with GNU awk version.
2350         (regex_compile): Use ISO C/amend 1 functions for character class
2351         handling.
2352         * posix/regex.h: Merge with GNU awk version.
2354         * posix/getopt.c: Declare as master copies.
2355         * posix/getopt1.c: Likewise.
2356         * posix/getopt.h: Likewise.
2358         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2359         value to mount functions.
2360         Patch by a sun <asun@zoology.washington.edu>.
2362 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2364         * sunrpc/svc_run.c (svc_exit): New, defined.
2365         (svc_run): Test for svc_stop variable.
2366         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2368 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2370         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2372         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2373         NaN.  Fix test for sign of infinite y.
2375         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2377         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2379 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2381         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2382         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2384 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2386         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2387         kernel can return negative values.  Only fail when return value is
2388         in range in range which is never returned as valid address.
2389         Patch by Bruno Haible <haible@ilog.fr>.
2391 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2393         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2394         case.
2396         * time/strftime.c (add): Respect `0' padding flag.
2397         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2399 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2401         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2402         will preserve non-call-saved registers; save and restore a0 across
2403         the system call.
2404         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2405         data onto the new thread's stack.
2407 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2409         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2410         * config.make.in: Set cross-compiling from configure result.
2411         * configure.in: Emit definition of `cross_compiling'.
2412         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2414 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2416         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2417         * sysdeps/libm-i387/e_pow.S: Likewise.
2418         * sysdeps/libm-i387/e_powl.S: Likewise.
2420 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2422         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2423         obstack_chunkfun, obstack_freefun): Fix casts.
2425 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2427         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2428         not <netinet/icmp.h>.
2429         * inet/netinet/tcp.h: Move to...
2430         * sysdeps/generic/netinet/tcp.h: ...here.
2431         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2433 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2435         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2436         to command line of compiler.
2437         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2439         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2440         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2442         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2443         in declaration.
2444         Patch by Michael Widenius <monty@tcx.se>.
2446         * time/strptime.c (strptime_internal): Fix %I format specifier
2447         being off by one.
2448         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2450 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2452         * Net release 2.0.3.
2454 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2456         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2457         * stdlib/srand48_r.c: Likewise.
2459 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2461         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2462         fpclassify & friends, and complex number operations.
2463         Update various other math functions for ISO C 9X.
2464         * manual/math.texi: Update various entries for ISO C 9X.
2465         Add description for complex number functions.
2466         Add description of rand48 function family.
2467         * manual/string.h: Add description of a64l and l64a.
2469         * math/cmathcalls.h: Fix typo.
2471         * stdlib/a64l.c: Pretty printing.
2473         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2474         * stdlib/srand48_r.c: Likewise.
2476 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2478         * rellns-sh: Handle files in the same directory correctly.
2480 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2482         * csu/initfini.c: Place ALIGN instruction at correct positions.
2483         Patch by Richard Henderson <richard@twiddle.rth.home>.
2485 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2487         * Make-dist: Don't automatically ignore .c files if .S or .s files
2488         are ignored.
2490         * csu/Makefile (distribute): Add defs.awk.
2492 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2494         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2495         * sysdeps/stub/shmdt.c: Likewise.
2496         Reported by Thomas Bushnell, n/BSG.
2498 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2500         * sysdeps/unix/sysv/linux/Dist: Rename
2501         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2502         Remove sysdeps/sysv/linux/netinet/icmp.h.
2504         * login/utmp.h: Add prototype for updwtmp.
2505         * login/logwtmp.c: Add new function updwtmp which allows to write
2506         a complete record to the wtmp file.
2507         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2509 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2511         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2512         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2514 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2516         * csu/initfini.c: Rewrite by Zack Weinberg
2517         <zack@rabi.phys.columbia.edu>.
2518         * csu/Makefile: Add rules for rewrite.
2519         * csu/defs.awk: Helper script to generate derived header.
2521 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2523         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2525 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2527         * sysdeps/generic/Dist: Remove old math implementation files.
2528         * sysdeps/generic/mathimpl.h: Removed.
2529         * sysdeps/generic/trig.h: Removed.
2530         * sysdeps/generic/sincos.c: Removed.
2531         * sysdeps/generic/asincos.c: Removed.
2532         * sysdeps/generic/exp__E.c: Removed.
2533         * sysdeps/generic/log__L.c: Removed.
2535 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2537         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2538         add fast check whether the heap containing top can go away.
2540 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2542         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2543         failing to allocate a new chunk, also try the main_arena.  It may
2544         be that we are only running out of mmapped regions, and other
2545         arenas cannot be enlarged sufficiently.
2546         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2547         i.e. only in new_heap().
2549 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2551         * time/strftime.c (memset_space): Increment pointer.
2552         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2553         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2555 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2557         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2559         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2560         63 bits.
2561         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2563         * po/pl.po: Updated.
2565         * string/swab.c: Correctly handle array of odd length.
2567         * manual/string.texi: Correct prototype in memmem documentation.
2569 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2571         * manual/Makefile (dir-add.texi): Simplify.
2573 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2575         * rellns-sh: Rewrite to work also in presence of symlinks.
2577         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2578         Reported by Greg McGary <gkm@eng.ascend.com>.
2580         * manual/libc.texinfo: Update malloc documentation for new malloc.
2581         * manual/memory.texi: Likewise.
2582         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2584         * stdlib/erand48_r.c (erand48_r): Build double value using
2585         ieee754_double union and use random bits in different order to
2586         increase effect of seed.
2587         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2589 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2591         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2592         a read-only stream.
2594 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2596         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2597         in correct place.
2598         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2600 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2602         * posix/getopt.c (_getopt_initialize): Preserve optind.
2603         (_getopt_internal): Set optind to 1 if optind == 0 before
2604         calling _getopt_initialize ().
2606 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2608         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2609         on a read-only stream.
2611         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2612         (ut_time): Define it only if _NO_UT_TIME is not defined.
2614 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2616         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2617         get definition of sa_family_t for <linux/atalk.h>.
2618         Reported by a sun <asun@zoology.washington.edu>.
2620         * malloc/malloc.c (cALLOc): Little optimization.
2622 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2624         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2625         headers but instead add comments and parameter names.
2626         Don't use BSD specific types in prototypes.
2628         * manual/nss.texi: Correct a few typos and errors.
2630 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2632         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2633         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2635         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2636         TAB3, if one of them is defined.
2638 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2640         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2642 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2644         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2645         clearenv a weak alias.
2647         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2648         of type clashes.  Add all definitions here.
2650         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2651         to XPG4.2.
2652         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2653         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2655         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2657         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2658         use of kernel types.
2660 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2662         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2663         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2665 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2667         * Makeconfig (all): Make sure this is always the default goal.
2669 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2671         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2672         Don't include <endian.h>.
2674 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2675         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2676         Don't include <endian.h>.
2678 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2680         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2682 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2684         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2685         compiler.
2687 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2689         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2690         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2692 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2694         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2695         by 31 positions to get 0/1 result.
2696         Patch by Joe Keane <jgk@jgk.org>.
2698 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2700         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2701         to prevent from ld linking in getopt.o even if there is another
2702         incompatible one.
2704         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2706 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2708         * Makerules (depfiles): Remove $(test-srcs).
2710 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2712         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2713         on a read-only stream.
2715         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2716         (ut_time): Define it only if _NO_UT_TIME is not defined.
2718 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2720         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2721         typo.
2723 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2725         * Makefile: Add rule to easily generate dir-add.texi file.
2726         * manual/Makefile: Likewise.
2728 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2730         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2731         (sysdep_headers): Remove netinet/icmp.h.
2733 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2735         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2736         adjustment if the underlying function say it is too small.
2737         * pwd/fgetpwent.c: Likewise.
2738         * shadow/fgetspent.c: Likewise.
2739         * shadow/sgetspent.c: Likewise.
2741         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2742         this means there was not enough room for the gr_mem array.
2744         * nss/nss_files/files-XXX.c: Leave loop and return error if
2745         `parse_result' returns -1.
2747         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2748         of trailing list fails because of low memory.
2749         (parse_list): Rewrite.  The logic was completly incorrect since
2750         the checks for overflowing the array were not executed when
2751         needed.
2753         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2754         signals success.
2756         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2757         * nss/getXXent.c: Likewise.
2759 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2761         * manual/errno.texi: Add description of strerror_r.
2763 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2765         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2767 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2769         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2771 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2773         * stdlib/stdlib.h: Declare __clearenv.
2775 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2777         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2778         the last change.
2780 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2782         * configure.in: Call AC_CANONICAL_BUILD before referencing
2783         $build.  Fix test for BUILD_CC.
2785 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2787         * sysdeps/i386/memset.c: Fix typo.
2788         * sysdeps/stub/fchmod.c: Fix typo.
2789         * sysdeps/stub/fchdir.c: Fix typo.
2790         Reported by Fila Kolodny <fila@ibi.com>.
2792         * time/time.h (strftime): Remove __restrict in declaration.
2794 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2796         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2797         syntax for local label.
2798         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2799         binary format.
2800         * sysdeps/i386/addmul_1.S: Likewise.
2801         * sysdeps/i386/lshift.S: Likewise.
2802         * sysdeps/i386/memchr.S: Likewise.
2803         * sysdeps/i386/memcmp.S: Likewise.
2804         * sysdeps/i386/mul_1.S: Likewise.
2805         * sysdeps/i386/rshift.S: Likewise.
2806         * sysdeps/i386/stpcpy.S: Likewise.
2807         * sysdeps/i386/stpncpy.S: Likewise.
2808         * sysdeps/i386/strchr.S: Likewise.
2809         * sysdeps/i386/strcspn.S: Likewise.
2810         * sysdeps/i386/strlen.S: Likewise.
2811         * sysdeps/i386/strpbrk.S: Likewise.
2812         * sysdeps/i386/strrchr.S: Likewise.
2813         * sysdeps/i386/strspn.S: Likewise.
2814         * sysdeps/i386/strtok.S: Likewise.
2815         * sysdeps/i386/sub_n.S: Likewise.
2816         * sysdeps/i386/submul_1.S: Likewise.
2817         * sysdeps/i386/i486/strcat.S: Likewise.
2818         * sysdeps/i386/i486/strlen.S: Likewise.
2819         * sysdeps/i386/i586/add_n.S: Likewise.
2820         * sysdeps/i386/i586/addmul_1.S: Likewise.
2821         * sysdeps/i386/i586/lshift.S: Likewise.
2822         * sysdeps/i386/i586/memset.S: Likewise.
2823         * sysdeps/i386/i586/mul_1.S: Likewise.
2824         * sysdeps/i386/i586/rshift.S: Likewise.
2825         * sysdeps/i386/i586/strchr.S: Likewise.
2826         * sysdeps/i386/i586/strlen.S: Likewise.
2827         * sysdeps/i386/i586/sub_n.S: Likewise.
2828         * sysdeps/i386/i586/submul_1.S: Likewise.
2830         * time/africa: Updated from ADO tzdata1997e.
2831         * time/antarctica: Likewise.
2832         * time/asia: Likewise.
2833         * time/australasia: Likewise.
2834         * time/europe: Likewise.
2835         * time/northamerica: Likewise.
2836         * time/southamerica: Likewise.
2837         * time/private.h: Updated from ADO tzcode1997d.
2838         * time/scheck.c: Likewise.
2840 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2842         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2843         thread-specific memory in multi-threaded programs.
2845         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2846         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2847         Suggested by a sun <asun@zoology.washington.edu>.
2849 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2851         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2852         of <netinet/icmp.h>.
2853         Patch by a sun <asun@zoology.washington.edu>.
2855 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2857         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2858         before using system.
2859         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2860         before using popen.
2862 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2864         * inet/rexec.c: Make string parameters `const'.
2865         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2866         rresvport.
2868         * posix/glob.h: Add declaration for glob_pattern_p.
2869         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2870         make glob_pattern_p a weak alias.  This function is used in other
2871         packages (e.g. bash).
2873         * signal/Makefile (routines): Add sigisempty, sigandset, and
2874         sigorset.
2875         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2876         sigorset.
2877         * signal/sigisempty.c: New file.
2878         * signal/sigandset.c: New file.
2879         * signal/sigorset.c: New file.
2880         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2881         and __sigorset.
2882         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2884         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2885         ip_icmp.h.  Reported by HJ Lu.
2887 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2889         * grp/grp.h: Include <stddef.h> only once.
2891 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2893         * version.h (VERSION): Bump to 2.0.3.
2895 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2897         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2899 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2901         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2902         is found.
2903         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2905 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2907         * Net release 2.0.2.
2909 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2911         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2912         XTABS.
2913         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2914         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2915         of Sun Dec 15 16:33:44 1996.
2916         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2918 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2920         * Makefile (distribute): Add BUGS.
2922         * sysdeps/generic/machine-gmon.h: Update copyright.
2924         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2925         i386-mcount.
2926         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2927         use regparam mechanism for call of `fixup' call.
2928         * sysdeps/i386/Dist: New file.
2929         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2930         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2931         of gmon definitions.
2933 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2935         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2936         may modify it, use the saved errno everywhere.
2937         * stdlib/tst-strtod.c (main): Likewise.
2939 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2941         * posix/glob.c (glob): Fix completely broken handling of
2942         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2943         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2945 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2947         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2948         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2949         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2950         Reported by Matthis Urlichs.
2952 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2954         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2955         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2956         which clobbers %eax.
2958         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2959         crtbegin.o/crtend.o, using gcc to find them.
2960         (+link): Use them.
2962 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2964         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2965         affect the alignment, and therefore the end padding of the structs.
2966         Reported by David Mosberger <davidm@azstarnet.com>.
2967         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
2968         Use __writev instead of write for the I/O.
2970         * misc/sys/uio.h: Declare __writev and __readv.
2971         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2972         * sysdeps/posix/writev.c: Likewise for writev.
2973         * sysdeps/stub/readv.c: Likewise.
2974         * sysdeps/stub/writev.c: Likewise.
2975         * sysdeps/unix/syscalls.list: Likewise.
2976         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2977         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2979         * stdlib/testdiv.c: Exit with error status when we have an error.
2980         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2981         * sysdeps/alpha/ldiv.S: Likewise.
2983         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2985 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
2987         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
2988         generic prototype.
2990         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
2991         Future releases will have this function.
2992         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2993         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2994         Reported by HJ Lu.
2996 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
2998         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2999         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
3000         `__sigsetjmp' in PIC code.
3001         * sysdeps/i386/bsd-setjmp.S: Likewise.
3003         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
3004         overflow.
3005         * sysdeps/libm-i387/e_powf.S: Likewise.
3006         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
3007         case since expm1(-0) == -0.
3008         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3009         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3010         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
3011         access to FP number.
3012         * sysdeps/libm-ieee754/s_modff.c: Likewise.
3013         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
3014         code.  It never worked correctly.
3015         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
3016         case since tanh(-0) == -0.
3017         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
3018         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
3020 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
3022         * time/Makefile: Correct dependencies for test-tz.
3024         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
3025         UIO_FASTIOV and set to 8 if not available.
3026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3027         Patch by HJ Lu.
3029         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
3030         "kernel_stat.h".
3031         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3032         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3033         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
3035 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
3037         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
3039         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
3041         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
3043         * sysdeps/unix/sysv/Dist: Add direct.h.
3045         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
3047         * Make-dist ($(tardir).tar): Prefer writing temporary file to
3048         $TMPDIR is available.  The default is /tmp.
3050         * sysdeps/generic/ip.h: Move to...
3051         * sysdeps/generic/netinet/ip.h: ...here.
3053         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3054         is placed in wrong place on the stack.
3055         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3057 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
3059         * time/offtime.c (__offtime): Change type of `yg' to long int.
3060         Reported by a sun <asun@zoology.washington.edu>.
3062 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
3064         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3065         2.2.0 to prevent version mismatch.
3067 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
3069         * Make-dist (srcs): Add $(test-srcs).
3070         * MakeTAGS (all-sources): Likewise.
3071         * Makerules (depfiles, common-mostlyclean): Likewise.
3072         * Rules (tests): Likewise.
3074 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
3076         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3078 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
3080         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3081         protocol=NULL to match any protocol rather than returning an
3082         error.
3084 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
3086         * nss/nss_files/files-service.c (servbyname): Match any protocol
3087         if proto==NULL.
3089 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
3091         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3092         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3093         Proposed by Thomas Bushnell, n/BSG.
3095 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
3097         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3098         the buffer for replacement.
3100 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
3102         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3103         sys_lstat and sys_stat.
3105 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3107         * mach/devstream.c (output/write_some): Don't try and write more
3108         than IO_INBAND_MAX in a single call to device_write_inband.
3110 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
3112         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3113         type is SVID.
3114         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3115         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3117         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3118         FLAGS parameter.
3120 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
3122         * manual/filesys.texi: Add documentation for scandir and alphasort.
3123         * manual/examples/dir2.c: New example for scandir.
3125         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
3126         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
3127         * sysdeps/ieee754/huge_val.h: Remove definition of long double
3128         definition.  Make it the same as the double definition.
3130         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3131         * sysdeps/libm-i387/e_acosf.S: Likewise.
3132         * sysdeps/libm-i387/e_acosl.S: Likewise.
3133         * sysdeps/libm-i387/e_asin.S: Likewise.
3134         * sysdeps/libm-i387/e_asinf.S: Likewise.
3135         * sysdeps/libm-i387/e_asinl.S: Likewise.
3136         * sysdeps/libm-i387/e_exp.S: Likewise.
3137         * sysdeps/libm-i387/e_expf.S: Likewise.
3138         * sysdeps/libm-i387/e_expl.S: Likewise.
3139         * sysdeps/libm-i387/s_scalbn.S: Likewise.
3140         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3141         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3143         * sysdeps/libm-i387/e_log.S: Optimize branch code.
3144         * sysdeps/libm-i387/e_logf.S: Likewise.
3145         * sysdeps/libm-i387/e_logl.S: Likewise.
3146         * sysdeps/libm-i387/e_log10.S: Likewise.
3147         * sysdeps/libm-i387/e_log10f.S: Likewise.
3148         * sysdeps/libm-i387/e_log10l.S: Likewise.
3150         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3151         * sysdeps/libm-i387/e_powf.S: Likewise.
3152         * sysdeps/libm-i387/e_powl.S: Likewise.
3154         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3155         argument to -1.0.
3156         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3157         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3159         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3161         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
3162         stack element after fxtract.
3164         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
3165         implementation for atan2 function.
3167         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3168         _SVID_ mode when acos, asin, atan2, log, log10 is called with
3169         argument out of range.
3170         Add new error case for pow(+0,neg).
3172         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3173         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3174         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3176         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3177         long double type.
3179         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3180         in SVID mode.
3181         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3182         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3184         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3185         or -0.
3186         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3187         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3189         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3191         * sysdeps/stub/fcntlbits.h: Update copyright.
3192         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3193         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3194         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3195         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3196         * sysdeps/unix/common/fcntlbits.h: Likewise.
3197         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3198         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3199         and FNDELAY.
3200         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3202         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3203         only reclen bytes.
3205         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3206         and O_NORW.
3207         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3209         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3211         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3212         struct stat to user-level form.
3213         * sysdeps/unix/sysv/linux/lxstat: New file.
3214         * sysdeps/unix/sysv/linux/xstat: New file.
3215         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3216         kernel.
3217         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3218         to use prescribed types for elements.
3219         (_STAT_VER): Change to value 3.
3220         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3221         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3222         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3224         * time/Makefile: Correct dependencies for test-tz.
3226         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3228 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3230         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3231         kernel header.
3232         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3234 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3236         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3237         without testing for last_bfp to be NULL.
3238         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3240 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3242         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3243         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3245 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3247         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3248         functions.  Compare result for correct address type.
3249         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3250         * nss/nss_files/files-hosts.c: Likewise.
3251         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3253 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3255         * time/strptime.c (recursive): Return rp to caller.
3256         (strptime_internal): First check for long names, then abbreviated
3257         (month & weekday).
3259 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3261         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3262         1900 from year, regardless of century.
3264 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3266         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3267         all numbers unsigned to make buggy gccs happy.
3268         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3270         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3271         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3272         Pretty print header.
3274         * Makerules (build-shlib): Also create symlink if library is versioned.
3275         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3276         Remove special rule to libc.so symlink.
3278 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3280         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3281         return values for acos, asin, and atan2.
3282         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3284 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3286         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3288 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3290         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3291         to pointers to directory entries so that alphasort really can be
3292         used as argument for scandir.
3294 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3296         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3297         instead of strcpy.
3299 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3301         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3302         catalogs, not only if the envvar NLSPATH is not available.
3303         Reported by Andries.Brouwer@cwi.nl.
3305 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3307         * Makeconfig (localtime-file): Don't define using installation
3308         directory.
3309         (inst_localtime-file): New variable.
3310         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3311         Reported by Edward Seidl <seidl@janed.com>.
3313 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3315         * time/Makefile: Add source files to dependencies for test data.
3317 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3319         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3320         * nis/nss_nis/nis-proto.c: Likewise.
3321         * nis/nss_nis/nis-rpc.c: Likewise.
3322         * nis/nss_nis/nis-service.c: Likewise.
3324 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3326         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3327         euidaccess weak alias.
3329 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3331         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3333         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3335 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3337         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3339         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3340         __file_name_split.
3342         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3343         * mach/errstring.c (mach_error_string_int): Likewise.
3344         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3345         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3346         * stdio/vasprintf.c (vasprintf): Likewise.
3348         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3350         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3351         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3352         swtch_pri.
3354         * mach/mach_init.c: Include <mach/mig_support.h>.
3356         * mach/mach_error.h (mach_error_string, mach_error,
3357         mach_error_type): Always provide prototypes.
3359         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3360         appears to be entirely unused dead code.
3362 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3364         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3365         [!__const] (__const): New macro.
3366         [!__error_t_defined] (error_t): New typedef.
3368 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3370         * posix/unistd.h: Add prototype for __euidaccess.
3371         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3372         euidaccess weak alias.
3373         * sysdeps/stub/euidaccess.c: Likewise.
3374         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3376         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3377         binary locale files.  Use LOCALEDIR only.
3378         * locale/programs/locfile.c: When named file not found and not
3379         absolute use path in I18NPATH.
3381         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3382         and AF_FILE as synonym for AF_LOCAL.
3383         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3385         * time/Makefile: Rewrite rules for test to handle parallel builds.
3387 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3389         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3390         robbe@orcus.priv.at.
3392 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3394         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3395         8-byte boundary.
3397 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3399         * elf/link.h: Include <features.h>.
3400         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3402 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3404         Rewrite NIS code to allow empty keys.
3405         * nis/nss_nis/nis-ethers.c: Rewritten.
3406         * nis/nss_nis/nis-proto.c: Rewritten.
3407         * nis/nss_nis/nis-publickey.c: Rewritten.
3408         * nis/nss_nis/nis-rpc.c: Rewritten.
3409         * nis/nss_nis/nis-service.c: Rewritten.
3411 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3413         * time/scheck.c (scheck): Add extra const to second argument.
3415         * time/private.h: Correct prototypes to match definition.
3417 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3419         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3420         switching of UID before opening .rhosts.
3422         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3423         version in GNU awk.
3424         * posix/regex.h: Likewise.
3426         Add regex test suite by Tom Lord.
3427         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3428         (tests): Add runtests.
3429         (before-compile): Add testcases.h.
3430         (testcases.h): New rule to generate header with tests.
3431         * posix/TESTS: New file.
3432         * posix/TESTS2C.sed.: New file.
3433         * posix/runtests.c: New file.
3434         * posix/testcases.h: New file.
3436         * time/ialloc.c: Update from tzcode1997c.
3437         * time/private.h: Likewise.
3438         * time/scheck.c: Likewise.
3439         * time/tzselect.ksh: Likewise.
3440         * time/zdump.c: Likewise.
3441         * time/zic.c: Likewise.
3443         * time/tzfile.c: Pretty print.
3445 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3447         * stdio-common/vfscanf.c: Use __va_copy if available.
3449 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3451         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3452         clean up namespace.
3454 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3456         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3457         kernel-level sigaction structure is different.  handle this
3458         correctly.
3459         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3461 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3463         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3464         recognize cache entries with flag == 3.
3466 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3468         * time/antarctica: Update from tzdata1997c.
3469         * time/asia: Likewise.
3470         * time/zone.tab: Likewise.
3472 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3474         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3475         (fabs): Remove defininition, it is a gcc builtin.
3476         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3478 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3480         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3481         instead to avoid namespace problems.
3482         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3484 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3486         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3487         falling back to select-based implementation if syscall isn't
3488         available.
3489         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3491         * time/leapseconds: Update from tzdata1997b.
3492         * time/zic.c: Update from tzcode1997b.
3494 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3496         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3497         depedencies between installed $(tzlinks) and $(tzbases) files.
3499 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3501         * math/math.h: Make compatible with traditional preprocessor;
3502         requires carefull placement of whitespace in macro arguments.
3503         Use __CONCAT instead of ##.
3504         Declare long double functions only if __STDC__ or __GNUC__.
3505         * math/mathcall.h: Avoid whitespace before argument of macro call
3506         that is used as function name.
3508         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3509         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3510         of __NO_M81_MATH_INLINES.
3511         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3512         starting with __ieee754.
3513         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3514         functions as inlines.
3515         (__m81_defun): Put __attribute__ between return type and function
3516         name.
3517         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3518         is defined.
3519         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3520         instead of __NO_M81_MATH_INLINES.
3521         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3522         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3523         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3524         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3525         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3526         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3527         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3528         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3529         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3530         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3532 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3534         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3535         so that clearing second word is necessary.
3537         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3538         header since it is wrong for 64 bit systems.
3539         Patch by a sun <asun@zoology.washington.edu>.
3541 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3543         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3544         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3545         for the benefit of running foreign binaries.
3547 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3549         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3550         * manual/xtract-typefun.awk: New file.  Script to extract function,
3551         variable, macro anchor to put into the `dir' file.
3553         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3554         exponent before comparing.
3556 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3558         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3559         prototypes to use types with explicit width.  `unsigned long' is
3560         different on 64 bit systems.
3561         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3562         * sysdeps/generic/htonl.c: Likewise.
3563         * sysdeps/generic/htons.c: Likewise.
3564         * sysdeps/generic/ntohl.c: Likewise.
3565         * sysdeps/generic/ntohs.c: Likewise.
3566         Suggested by a sun <asun@zoology.washington.edu>.
3568 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3570         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3571         defined and we want optimization.
3573 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3575         * misc/getpass.c: Don't disable canonical input.
3576         Reverted patch of Mon Jan  6 01:35:29 1997.
3578 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3580         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3581         match the hidden __in_chrg parameter of the destructor.
3582         (_IO_FINISH): Pass zero for it.
3583         * libio/genops.c (_IO_default_finish): Add second parameter, which
3584         is ignored.
3585         * libio/memstream.c (_IO_mem_finish): Likewise.
3586         * libio/fileops.c (_IO_file_finish): Likewise.
3587         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3589 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3591         * time/Makefile: Avoid using patterns in dependencies.
3593 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3595         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3597 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3599         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3600         word on stack for overflow.
3602 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3604         * malloc/malloc.c (malloc_get_state): New function.
3605         Saves global malloc state to an opaque data structure which
3606         is dynamically allocated in the heap.
3607         * malloc/malloc.c (malloc_set_state): New function.
3608         Restore previously obtained state.
3609         * malloc/malloc.h: Add declaration of malloc_get_state()
3610         and malloc_set_state().
3612 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3614         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3615         position.
3617 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3619         * misc/error.c: Make error and error_at_line weak aliases of
3620         __error and __error_at_line respectively.
3621         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3623 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3625         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3626         time-era-num-entries.
3628 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3630         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3631         to avoid duplicate mail.
3633 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3635         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3636         numeric values.
3638 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3640         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3641         sign in the strtouXX functions.  The results gets simply negated.
3642         * stdlib/tst-strtol.c: Correct tests.
3644 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3646         * math/math.h: Prevent definition of struct exception when using
3647         C++.
3649 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3651         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3652         Reported by Greg McGary.
3654 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3656         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3657         than file_get_translator.
3659         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3660         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3662 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3664         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3665         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3667 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3669         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3670         but ADDR also == 0.
3672         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3673         now instead of a weak extern, as some old programs expect it to be
3674         defined by ld.so.
3676 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3678         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3680         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3681         __hurd_threadvar_stack_offset): Restore initialized versions, so
3682         startup works correctly.
3684         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3686 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3688         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3689         not __mutex_try_lock.
3690         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3691         (tsd_getspecific): Case variable to (void *) before returning.
3693         * hurd/hurdinit.c (__libc_argv): Remove extern.
3694         (__libc_argc): New variable.
3696 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3698         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3699         _HURD_THREADVAR_MALLOC.
3700         * malloc/thread-m.h
3701         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3702         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3703         __mutex_*.
3704         (mutex_t): Type removed & replaced by new macro.
3705         (tsd_key_t): Typedef to int instead of pthread_key_t.
3706         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3707         (__pthread_initialize): New macro, work around assumption of pthreads.
3708         (tsd_keys_alloced): New static variable.
3709         <hurd/threadvar.h>: New include.
3711         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3712         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3713         defined before using it.
3715         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3716         Make extern.
3717         * hurd/hurdinit.c (__libc_argv): Make extern.
3719         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3720         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3722         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3723         __hurd_threadvar_stack_offset,
3724         __hurd_threadvar_stack_mask): New variables.
3725         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3726         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3727         New variables (moved here from hurdstartup.c).
3728         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3729         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3730         Variables removed (moved to hurdsig.c).
3731         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3732         __hurd_threadvar_stack_mask): Variables removed.
3733         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3734         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3735         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3736         __hurd_threadvar_stack_mask): Variables removed.
3738 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3740         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3741         Declare extern.
3743         * malloc/thread-m.h
3744         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3745         (mutex_t): Type removed.
3746         (mutex_t): New macro.
3747         (mutex_trylock): New macro.
3748         (__x_mutex_lock, __x_mutex_unlock): New functions.
3749         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3750         the cthread definitions.
3751         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3752         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3753         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3754         (__pthread_initialize): New macro, work around assumption of pthreads.
3756 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3758         * sysdeps/generic/netinet/in.h: Protect contents using
3759         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3761         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3762         * inet/Makefile (headers): Remove net/ethernet.h.
3763         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3764         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3766 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3768         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3769         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3771 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3773         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3775 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3777         * stdio-common/test-fseek.c: Remove temporary file, add
3778         copyright.
3780 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3782         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3783         levels with no non-IGNOREd element and handling of NUL byte.
3784         * string/strcoll.c (STRXFRM): Likewise.
3785         * locale/weight.h: Likewise.
3787         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3789 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3791         * locale/programs/locale.c: Check whether output of `locale -a'
3792         really is locale directory.  Also print locale aliases.
3794 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3796         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3797         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3799 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3801         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3802         additional argument.
3804 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3806         * inet/net/ethernet.h: New file.
3807         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3808         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3809         Contributed by a sun <asun@zoology.washington.edu>.
3811         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3812         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3813         Reported by a sun <asun@zoology.washington.edu>.
3815 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3817         * stdio-common/bug10.c (main): Correct parameter.
3819         * string/strcoll.c: Update copyright.
3821 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3823         * malloc/obstack.h: Add `extern "C"' protection.
3824         * posix/regex.h: Likewise.
3825         * io/ftw.h: Likewise.
3826         * misc/libgen.h: Likewise.
3827         * login/utmp.h: Likewise.
3828         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3829         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3830         * sunrpc/rpc/pmap_rmt.h: Likewise.
3831         * sunrpc/rpc/auth_des.h: Likewise.
3832         * elf/link.h: Likewise.
3833         * inet/netinet/ether.h: Likewise.
3834         Reported by HJ Lu.
3836 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3838         Linux specific network headers.
3839         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3840         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3841         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3842         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3843         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3844         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3845         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3846         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3847         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3848         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3849         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3850         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3851         Add sys/quota.h.
3852         [$(subdir)=inet] (sysdep_headers): Add new network header.
3854         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3855         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3857         * inet/netinet/ip.h: Move to sysdeps/generic.
3859 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3861         * inet/netinet/ip.h: Add protection.
3863 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3865         * misc/sys/syslog.h (prioritynames): Correct definition to use
3866         braces where necessary.
3867         (facilitynames): Likewise.
3868         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3869         Comment and beautify declarations.
3871 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3873         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3874         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3876 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3878         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3879         _nss_nis_gethostton_r.
3880         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3882 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3884         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3885         length of abs_filename.
3887 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3889         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3890         trying to resolv name as numeric IPv6 address.
3891         * nss/digits_dots.c: Likewise.
3893 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3895         * locale/programs/localedef.c: Implement --quiet option.
3896         * locale/programs/charset.h: Declare be_quiet variable.
3897         * locale/programs/locfile.h: Likewise.
3898         * locale/programs/charmap.c: Don't print warnings if quiet option
3899         was given.
3900         * locale/programs/ld-collate.c: Likewise.
3901         * locale/programs/ld-ctype.c: Likewise.
3902         * locale/programs/ld-messages.c: Likewise.
3903         * locale/programs/ld-monetary.c: Likewise.
3904         * locale/programs/ld-numeric.c: Likewise.
3905         * locale/programs/ld-time.c: Likewise.
3906         * locale/programs/locfile.c: Likewise.
3908 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3910         * stdlib/qsort.c: Add prototype for _quicksort.
3912         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3914         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3915         from dl-machine.h.
3917 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3919         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3920         Allow user to overwrite it.
3922 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3924         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3925         versions.  Reported by Andreas Jaeger.
3927 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3929         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3930         1997-02-12.
3932         * time/tzfile.c (__tzfile_read): Change comment to follow
3933         change of 1997-02-12.
3935 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3937         * time/time.h (__nanosleep): Define only when struct timespec is
3938         also available.
3939         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3941 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3943         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3944         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3946 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3948         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3949         of 1997-02-09 in resolv/gethnamaddr.c.
3951 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3953         * libio/_G_config.h (_G_wint_t): New.
3955 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3957         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3958         to sizeof (buf.buf) while calling res_search ().
3960 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3962         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3963         val to keydat, stat to status.
3965 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3967         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3969 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3971         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3972         by Keith Bostic.
3974 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3976         * stdlib/atoll.c: Undefine atoll, not atol.
3978 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3980         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3981         unused arguments of shell script.
3983         * Makeconfig (all-object-suffixes): New variable.
3984         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3985         of $(object-suffixes).
3986         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3988 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3990         * locale/weight.h (collate_rules): It's an u_int32_t array.
3991         (get_weight): Compute initial SLOT value correctly.
3993 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3995         * string/argz-ctsep.c: Initialize *LEN when successful.
3997 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3999         * version.h (VERSION): Bump to 2.0.2.
4001         * posix/Makefile (routines): Add getopt_init.
4002         * posix/getopt.c: Don't get environment variable with nonoption
4003         flags here.  Depend on __getopt_nonoption_flags variable filled
4004         somewhere else.  This is necessary since the variable must be
4005         removed even when getopt isn't used in case exec(2) gets called.
4006         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
4007         and remove environment variable.
4008         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4009         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4010         * sysdeps/stub/init-first.c: Likewise.
4011         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4013         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4014         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4016         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4017         encryption is wanted.
4019         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4020         * stdio/vsnprintf.c: Likewise.
4021         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4023         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4024         * stdio/vsnprintf.c: Likewise.
4025         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4027 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
4029         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4030         Change PTR to void *.
4031         * sysdeps/posix/vdprintf.c: Change PTR to void *.
4032         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4034 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
4036         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4038 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4040         * rellns-sh: No need to check for existance of first parameter.
4042 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4044         * rellns-sh: No need to check for existance of first parameter.
4046 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4048         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4049         by David Holland <dholland@eecs.harvard.edu>.
4051 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4053         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4054         select, in case it is modified by the latter.
4055         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4056         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4057         * sunrpc/svc_tcp.c (readtcp): Likewise.
4059         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4060         array.
4062         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4063         and gid_t.
4065         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4066         argument.
4068 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4070         * elf/Makefile (extra-objs): Don't zap previous value.
4071         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4072         twice.
4074 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4076         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4077         braindamage (sigh!).
4079 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
4081         * manual/memory.texi: Correct `copystring' example for obstacks.
4083 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
4085         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4086         GNU tr don't grok it.
4088 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4090         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4091         Don't use GNU C extensions.
4092         (CMSG_DATA): Use portable definition.
4094 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4096         * elf/ldd.bash.in: Add test for read permission and print appropriate
4097         message.  Change warning and error messages to print "ldd: " at start.
4098         * elf/ldd.sh.in: Likewise.
4100         * stdlib/Makefile (routines): Add atoll.
4101         * stdlib/atoll.c: New file.
4102         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4104         * stdlib/a64l.c: Update copyright.
4105         * stdlib/abs.c: Likewise.
4106         * stdlib/atof.c: Likewise.
4107         * stdlib/atoi.c: Likewise.
4108         * stdlib/atol.c: Likewise.
4109         * stdlib/bsearch.c: Likewise.
4110         * stdlib/exit.c: Likewise.
4111         * stdlib/fpioconst.c: Likewise.
4112         * stdlib/fpioconst.h: Likewise.
4113         * stdlib/jrand48.c: Likewise.
4114         * stdlib/jrand48_r.c: Likewise.
4115         * stdlib/labs.c: Likewise.
4116         * stdlib/lcong48.c: Likewise.
4117         * stdlib/lcong48_r.c: Likewise.
4118         * stdlib/llabs.c: Likewise.
4119         * stdlib/lrand48.c: Likewise.
4120         * stdlib/lrand48_r.c: Likewise.
4121         * stdlib/mblen.c: Likewise.
4122         * stdlib/mbstowcs.c: Likewise.
4123         * stdlib/mbtowc.c: Likewise.
4124         * stdlib/mp_clz_tab.c: Likewise.
4125         * stdlib/mrand48.c: Likewise.
4126         * stdlib/mrand48_r.c: Likewise.
4127         * stdlib/msort.c: Likewise.
4128         * stdlib/nrand48.c: Likewise.
4129         * stdlib/nrand48_r.c: Likewise.
4130         * stdlib/qsort.c: Likewise.
4131         * stdlib/rpmatch.c: Likewise.
4132         * stdlib/seed48.c: Likewise.
4133         * stdlib/seed48_r.c: Likewise.
4134         * stdlib/srand48.c: Likewise.
4135         * stdlib/srand48_r.c: Likewise.
4136         * stdlib/strtod.c: Likewise.
4137         * stdlib/wcstombs.c: Likewise.
4138         * stdlib/wctomb.c: Likewise.
4140 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4142         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4143         as const.
4145 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4147         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4148         including <stddef.h>.
4150 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4152         * time/Makefile (tzbases, tzlinks): New.
4153         (tzfiles): Changed to $(tzbases) $(tzlinks).
4154         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4156 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4158         * Makefile (install): Ignore error from ldconfig.
4160         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4162 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4164         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4165         like PPC where va_list is no integral type.
4167 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4169         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4170         if nonoption_flags_len == -1.
4172 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4174         * Version 2.0.1 net release.
4176 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4178         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4180 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4182         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4183         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4185 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4187         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4188         values as in yp.x and yp.h.
4190 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4192         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4193         1997-02-03 02:17.  Sun's implementation internally corrects
4194         this bug but we don't want to hide this from the user.
4195         * nis/rpcsvc/yp.h: Likewise.
4197 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4199         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4200         inclusion.
4202 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4204         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4205         fixes.
4207 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4209         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4210         (all-sources, all-headers): Use them instead of $(sources) and
4211         $(headers) when searching in sysdep directories.
4213 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4215         * Makerules (REAL_MAKE_VERSION): Use internal make function
4216         instead of shelling out.
4218 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4220         * time/Makefile (install-test-data): Remove mkdir command, zic can
4221         handle that gracefully.
4223 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4225         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4226         somehow.
4228 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4230         * sunrpc/Makefile: Check $(cross-compiling) only after including
4231         ../Makeconfig.
4232         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4233         being considered as a rule.
4234         (generated): Add stamp files before the inclusion of Makerules to
4235         magically mark them as not being intermediate via the `generated'
4236         target.
4238 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4240         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4241         entries.  This is still no complete implementation since AUXILIARY
4242         entries in other shared objects are not yet handled.
4244         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4245         place.
4247         * po/es.po: Update.
4248         * po/fr.po: Update.
4249         * po/nl.po: Update.
4251         * time/Makefile: Better cross-compile support.  Avoid test which
4252         cannot be run.
4253         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4254         tzfile.h file.
4255         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4256         in SUID programs.
4257         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4258         default values as in tzfile.c.
4260         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4261         tags.
4262         * elf/link.h: Likewise.
4263         * elf/elf.h: Add tag definitions and data structures for versioning.
4265 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4267         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4268         "Sun bug".  This is the order of elements also used by 4.4BSD.
4269         * nis/rpcsvc/yp.h: Likewise.
4270         Reported by HJ Lu.
4272 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4274         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4275         action.
4277         * Makefile (install): Pass installation directories as arguments
4278         to ldconfig.
4280 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4282         * malloc/malloc.c (__after_morecore_hook): New variable.
4283         (malloc_extend_top): Call __after_morecore_hook if set.
4284         (main_trim): Likewise.
4285         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4286         Suggested by Marcus Daniels.
4288 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4290         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4291         #ifndef NO_THREADS.
4292         (mallinfo): Likewise.
4294         * malloc/malloc.c (__morecore): Make external since it is used in
4295         programs.
4297 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4299         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4300         unsigned.
4302 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4304         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4305         use t6 as a temporary; it contains bits we still need in $u_head.
4307 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4309         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4310         using __ prefix.  Add prototype for log1p.
4312 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4314         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4316 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4318         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4320 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4322         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4323         structure plus related macros.
4324         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4325         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4326         (sysdep_routines): Add cmsg_nxthdr.
4327         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4328         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4330 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4332         * time/strftime.c: Define _strftime_copytm without protecting arguments
4333         which breaks the definition.
4335 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4337         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4338         definition of type for element.
4340 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4342         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4343         constants.
4345 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4347         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4348         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4350 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4352         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4353         Define if _LIBC is defined.
4354         <limits.h>: Include if HAVE_LIMITS_H instead of if
4355         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4356         <stdlib.h>: Similarly, include if STDC_HEADERS.
4357         (localtime_r): Redo #ifdef to make it clear that glibc has
4358         localtime_r now.
4360 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4362         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4363         file to avoid unnecessary recompilation.
4365 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4367         * Makefile: Set install-others, not install_others.
4368         (before-compile): Use += to preserve previous value.
4369         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4370         fix dependency name.
4371         ($(objpfx)lib-names.h): Remove rule.
4372         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4373         with correct name, using an intermediate stamp file.
4374         (common-generated): Add gnu/lib-names.h.
4375         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4377 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4379         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4380         to prevent warnings on 64 bit systems.
4381         Reported by Paul Wouters <paul@xtdnet.nl>.
4383         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4384         we assume it works.
4386 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4388         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4389         double word boundary before pushing args for main.  This way we
4390         don't get penalties for misaligned memory accesses.  Reported by
4391         Edward Seidl <seidl@janed.com>.
4393         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4394         Patch by HJ Lu.
4396         * misc/bsd-compat.c: Update copyright.
4397         * misc/efgcvt.c: Likewise.
4398         * misc/efgcvt_r.c: Likewise.
4399         * misc/error.c: Likewise.
4400         * misc/error.h: Likewise.
4401         * misc/fstab.c: Likewise.
4402         * misc/init-misc.c: Likewise.
4403         * misc/lsearch.c: Likewise.
4404         * misc/mntent.c: Likewise.
4405         * misc/qefgcvt.c: Likewise.
4406         * misc/qefgcvt_r.c: Likewise.
4407         * nss/databases.def: Likewise.
4408         * nss/db-Makefile: Likewise.
4409         * nss/ethers-lookup.c: Likewise.
4410         * nss/hosts-lookup.c: Likewise.
4411         * nss/netgrp-lookup.c: Likewise.
4412         * nss/nsswitch.h: Likewise.
4413         * nss/proto-lookup.c: Likewise.
4414         * nss/rpc-lookup.c: Likewise.
4415         * nss/service-lookup.c: Likewise.
4416         * nss/nss_db/db-netgrp.c: Likewise.
4417         * nss/nss_files/files-grp.c: Likewise.
4418         * nss/nss_files/files-hosts.c: Likewise.
4419         * nss/nss_files/files-network.c: Likewise.
4420         * nss/nss_files/files-proto.c: Likewise.
4421         * nss/nss_files/files-pwd.c: Likewise.
4422         * nss/nss_files/files-rpc.c: Likewise.
4423         * nss/nss_files/files-service.c: Likewise.
4424         * nss/nss_files/files-spwd.c: Likewise.
4425         * shadow/fgetspent.c: Likewise.
4426         * shadow/fgetspent_r.c: Likewise.
4427         * shadow/getspent.c: Likewise.
4428         * shadow/getspent_r.c: Likewise.
4429         * shadow/getspnam.c: Likewise.
4430         * shadow/getspnam_r.c: Likewise.
4431         * shadow/putspent.c: Likewise.
4432         * shadow/sgetspent.c: Likewise.
4433         * shadow/sgetspent_r.c: Likewise.
4434         * sysdeps/i386/init-first.c: Likewise.
4435         * sysdeps/unix/i386/sysdep.S: Likewise.
4437         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4438         prepared to be running in a multi-threaded environment.  Change
4439         to __USE_MISC unless the function is defined in POSIX.1 (in this
4440         case also test for __USE_POSIX).
4441         * dirent/dirent.h: Likewise.
4442         * grp/grp.h: Likewise.
4443         * inet/aliases.h: Likewise.
4444         * libio/libio.h: Likewise.
4445         * libio/stdio.h: Likewise.
4446         * login/utmp.h: Likewise.
4447         * math/mathcalls.h: Likewise.
4448         * misc/mntent.h: Likewise.
4449         * pwd/pwd.h: Likewise.
4450         * resolv/netdb.h: Likewise.
4451         * stdlib/stdlib.h: Likewise.
4452         * string/string.h: Likewise.
4453         * sunrpc/rpc/netdb.h: Likewise.
4454         * sysdeps/generic/crypt.h: Likewise.
4455         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4456         * time/time.h: Likewise.
4458 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4460         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4461         only if not cross compiling.
4463 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4465         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4466         NULL.
4467         * sysdeps/posix/sigwait.c: Likewise.
4469 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4471         * Makeconfig ($(common-objpfx)config.make): Depend on
4472         $(..)config.make.in.
4474 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4476         * sunrpc/Makefile: Don't generate headers derived from .x files when
4477         crosscompiling.
4479 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4481         * Makefile: Generate gnu/lib-names.h in before-compile.
4482         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4483         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4484         to the revision found for LIBNSS_FILES_SO.
4485         (nss_initilized): Removed.  It was tested but never set.
4486         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4488         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4489         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4491         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4493 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4495         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4496         override the definition.
4498 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4500         * config.make.in (malloc): Remove.
4502 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4504         * version.h (VERSION): Bump to 2.0.1.
4506         * posix/getopt.c: Handle another problem introduced by the
4507         nonoption_flags array.  We must be able to work with reordered
4508         argv arrays.  Reported by Andreas Schwab.
4510 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4512         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4513         stack.
4515 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4517         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4518         that it works with yp.h.
4520 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4522         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4523         __libc_malloc_initialized so that this variable is not shared with
4524         other users of GNU malloc.
4525         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4527         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4529         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4530         variables to prevent warnings.
4531         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4532         using attribute regparm.
4533         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4534         is changed by the resolver code.
4536 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4538         * malloc/malloc.c (weak_variable): Define.
4539         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4540         __memalign_hook): Make them weak definitions.
4542 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4544         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4545         limits, correctly take structure padding into account, use correct
4546         offset when resetting the stream, change heuristic to assume an
4547         average name length of 14 characters.
4549 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4551         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4552         inclusion.
4555 See ChangeLog.6 for earlier changes.