Remove handling of static-only-routines.
[glibc.git] / ChangeLog
blob22d797552c099666d64865ce459e889b03956bff
1 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3         * manual/maint.texi (Reporting Bugs): Change
4         bug-glibc-manual@prep.ai.mit.edu to bug-glibc-manual@gnu.org.
6 1997-10-15 06:56  Ulrich Drepper  <drepper@cygnus.com>
8         * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
9         * catgets/gencat.c: Likewise.
10         * db2/makedb.c: Likewise.
11         * locale/programs/locale.c: Likewise.
12         * locale/programs/localedef.c: Likewise.
14 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
16         * malloc/malloc.c: __malloc_initialized now signals three states:
17         uninitialized, initializing, initialized.  Used in mcheck.
18         * malloc/mcheck.c (mcheck): Allow installation when malloc is
19         uninitialized or is just initializing.
21 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
23         * version.c: Update copyright.
25 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
27         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
28         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
30         * elf/dl-support.c: Add definition of _dl_library_path for static
31         binaries.
33 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
35         * resolv/resolv.h: Include <netinet/in.h>.
37 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
39         * manual/nss.texi: The database is not called network but networks.
40         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
42 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
44         * elf/dl-close.c (_dl_close): Fix byte count while removing the
45         shared object from the global scope list and optimize a little
46         bit.
48 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
50         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
51         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
52         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
53         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
55 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
57         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
59 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
61         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
63 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
65         * sysdeps/generic/pty.c (openpty): Allow the use of more ptys.
67         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
68         directory index by only the language.
70 1998-03-16 10:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
72         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2): Reorder conditions
73         to handle x = 0 or y = 0 correctly.
75 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
77         * string/tester.c (main): Update strsep tests from 2.1.
79         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Remove selection of
80         instruction set here.
81         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): Define
82         to set needed instruction set.
83         Patches by Richard Henderson.
85         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
86         (get_toplvl_escape): Correctly terminate loop at EOF.
87         Patch by Cristian Gafton <gafton@redhat.com>.
89 1998-03-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
91         * sysdeps/generic/strsep.c: Correct handling of separators after
92         last non-separator.
94 1998-03-13  Ulrich Drepper  <drepper@cygnus.com>
96         * sysdeps/i386/fpu/__math.h (atan2): Take over code from glibc
97         2.1.
99 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
101         * elf/dlerror.c (last_object_name): Removed.
102         (dlerror): Don't use last_object_name.
103         (_dl_error_run): Omit second argument to _dl_catch_error.
104         * elf/dl-error.c (struct catch): Remove objname member.
105         (_dl_signal_error): Construct string including objname when given.
106         (_dl_catch_error): Remove objname handling.
107         * elf/link.h (_dl_catch_error): Fix prototype and comment.
108         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
109         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
110         * nss/nsswitch.c (nss_dlerror_run): Likewise.
111         [Corrects PR libc/501].
113 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
115         * elf/rtld.c (dl_main): Install link maps for preloaded objects
116         using main_map as loader.
118 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
120         * sysdeps/i386/__longjmp.S: Fix race condition.
121         Reported by Bruno Haible <haible@ilog.fr>.
123 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
125         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
126         parsing it.
128         * elf/dl-close.c (_dl_close): Applied changes from 2.1 to correct
129         unmapping.
131 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
133         * elf/rtld.c (_dl_library_path): New variable.  Initialize from
134         LD_LIBRARY_PATH envvar and let user overwrite the value using new
135         --library-path option.
137         * elf/dl-load.c (_dl_map_object): Don't get LD_LIBRARY_PATH
138         envvar, use global variable _dl_library_path.
140         * Makeconfig: Use --library-path option instead of LD_LIBRARY_PATH
141         envvar.
143         * misc/syslog.c (vsyslog): Don't try to send if not connected to
144         syslog daemon.
145         (closelog_internal): Don't do anything if not connected.
147         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
148         flag.
150 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
152         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
153         * manual/filesys/texi: Document this.
155 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
157         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
158         0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
160 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
162         * sysdeps/generic/getresgid.c: Remove stub-tag.h.
163         * sysdeps/generic/getresuid.c: Likewise.
165 1998-03-09 15:42  Ulrich Drepper  <drepper@cygnus.com>
167         * sysdeps/generic/getresgid.c: New file.
168         * sysdeps/generic/getresuid.c: New file.
170 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
172         * sysdeps/unix/sysv/linux/getresgid.c: Fix typo.
173         Patch by Cristian Gafton <gafton@redhat.com>.
175 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
177         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
178         getres[ug]id.
179         * sysdeps/unix/sysv/linux/getresgid.c,
180         sysdeps/unix/sysv/linux/getresuid.c: New files.
181         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
182         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
183         s_getres[gu]id.  Don't mark lchown as extra syscall.
185         * sysdeps/unix/sysv/linux/sparc/socket.S: Allow __socket to be
186         redefined.
188 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
190         * misc/syslog.c (openlog_internal): Follow 2.1 changes to prevent
191         errno being set.
193 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
195         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
196         Linux 2.0 and 2.1.
198         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
200 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
202         * manual/texinfo.tex: Updated.
204 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
206         * manual/maint.texi: Change prep.ai.mit.edu to {ftp}.gnu.org.
208 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
210         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
212 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
214         * elf/ldd.sh.in: Add compatibility for broken old shells.
215         * elf/ldd.bash.in: Likewise.
217 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
219         * sunrpc/rpc/auth.h: More prototype cleanups.
220         * sunrpc/rpc/xdr.h: Likewise.
222 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
224         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
225         module.
227         * nss/getXXent_r.c: If no more module is found don't try to call
228         setXXent functions but leave unsuccessfully.
230 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
232         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
233         and use x for member name.
234         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
236         * stdlib/drand48.c: Change according to member name change.
237         * stdlib/drand48_r.c: Likewise.
238         * stdlib/lcong48_r.c: Likewise.
239         * stdlib/lrand48.c: Likewise.
240         * stdlib/lrand48_r.c: Likewise.
241         * stdlib/mrand48.c: Likewise.
242         * stdlib/mrand48_r.c: Likewise.
243         * stdlib/seed48.c: Likewise.
244         * stdlib/seed48_r.c: Likewise.
245         * stdlib/srand48_r.c: Likewise.
247 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
249         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
250         extra syscall.
252 1998-03-03 23:08  H.J. Lu  <hjl@gnu.org>
254         * misc/efgcvt_r.c: Really update from 2.1.
256 1998-02-07 15:06  H.J. Lu  <hjl@gnu.org>
258         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
260 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
262         * version.h (VERSION): Bump to 2.0.7.
264         * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
265         to open_path.
266         (open_path): If preloading and SUID binary, use shared object only
267         if SUID bit is set.
268         * elf/link.h: Adjust prototype for _dl_map_object.
269         * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
270         new argument.
271         * elf/dl-open.c (_dl_open): Likewise.
272         * elf/rtld.c: Likewise.
274         * Makefile (subdirs): Undo last patch.
276         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
277         for some broken kernel versions.
278         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
279         closing paren.
280         * sysdeps/alpha/dl-machine.h: Add missing opening brace.
281         Patches by Cristian Gafton.
283         * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
284         bugs.
286         * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
287         * sunrpc/rpc/auth.h: Likewise.
288         * sunrpc/rpc/clnt.h: Likewise.
289         * sunrpc/rpc/xdr.h: Likewise.
291         * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
292         * sunrpc/clnt_perror.c: Adopt definition.
294 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
296         * db/Makefile ($(inst_libdir)/libndbm.a,
297         $(inst_libdir)/libndbm.so): New targets.
299 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
301         * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
302         * math/math.h: Likewise.
304 1998-03-02 18:23  H.J. Lu  <hjl@gnu.org>
306         * stdio-common/vfscanf.c (inchar): Fix typos.
308 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
310         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
311         search.
313 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
315         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
317 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
319         * inet/netinet/in.h: Rename second parameter of bindresvport to
320         avoid buggy gcc warning. [PR libc/412]
322 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
324         * dladdr.c (dladdr): Remove duplicate code.
326 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
328         * Makefile (subdirs): Remove login.  It appears in
329         sysdeps/unix/Subdirs.  Reported by Roland McGrath.
331         * configure.in: Fix script for handling $CC containing whitespace.
332         Patch by Roland McGrath.
334         * configure.in: Avoid //s in sysdirs.  Patch by Roland McGrath.
336 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
338         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
339         setting _dl_global_scope for RTLD_GLOBAL.
341 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
343         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
344         that the number of program headers is >0 (which is wrong for the
345         loader itself).
347 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
349         * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
350         but does not require it.  Handle missing argv[] values gracefully.
351         * posix/execle.c: Likewise.
353 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
355         * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
356         input.
358 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
360         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
361         * tst-strtod.c (tests): Add fail case for above.
363         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
364         bootstrapping.  Produce saner error messages.
366         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
367         adjtimex.
368         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
369         asjtime.
370         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
371         syscalls that use 32-bit struct timeval.
372         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
373         Update to 2.1.87 for the benefit of Alpha.
375         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
376         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
378 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
380         * nis/ypclnt.c: Give clnt handle after error checking free, change
381         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
383 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
385         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
386         __fsid_t.  Reported by Gene McCulley <mcculley@iag.net>.
388 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
390         * resolv/gethnamaddr.c (addrsort): Make this function extern.
392 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
394         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
395         _dl_lookup_symbol_skip call.
397 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
399         * wctype/test_wctype.c (TEST): Fix paren nesting.
401 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
403         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
404         int value.
406 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
408         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
409         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
411         * math/math.h: Define M_* constants always as `double' and add new
412         macros M_*l which are of type `long double'.
414 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
416         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
417         starting from 0 not only from `from'.
418         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
420 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
422         * locale/programs/ld-messages.c (messages_finish): Don't skip
423         error checking when being quiet.
424         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
425         (set_class_defaults): Likewise.
426         * locale/programs/charmap.c (parse_charmap): Likewise.
427         * locale/programs/ld-collate.c (collate_finish): Likewise.
428         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
429         * locale/programs/ld-time.c (time_finish): Likewise.
430         * locale/programs/locfile.c (write_locale_data): Likewise.
432         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
433         unknown characters and empty ranges.
434         * locale/programs/ld-collate.c (collate_order_elem): When
435         processing an ellipsis properly form a linked list in the result
436         table, fix typo when allocating ordering array.
437         [PR libc/419]
439 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
441         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
443 1998-02-09  H.J. Lu  <hjl@gnu.org>
445         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
446         bind 4.9.6.
447         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
448         [PR libc/389 and 431]
450 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
452         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
454 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
456         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
457         instead of __mempcpy.  Reported by OKUJI Yoshinori
458         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
460 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
462         * configure.in: Check for working msgfmt version (from GNU gettext
463         0.10 or later).
465 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
467         * configure.in: Check for a working makeinfo (3.11 or better).
468         * config.make.in: Add MAKEINFO to be substituted.
469         * manual/Makefile: Don't update info if makeinfo is too old.
471 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
473         * elf/dladdr.c: Use braces for correct logical grouping.
474         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
476 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
478         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
480 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
482         * manual/Makefile: Don't try to install the info files if makeinfo
483         is not available.
485 1998-01-26  Richard Henderson  <rth@cygnus.com>
487         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
488         kernel 2.1.82 has this fixed.
490 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
492         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
493         name to lowercase.
495         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
496         name to lowercase, add test for big enough buffer.
498 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
500         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
501         Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
503 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
505         * manual/errno.texi (Error Messages): Correct description of
506         strerror_r.  Pointed out by jonas@bagge.se.
508 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
510         * db/makedb.c (main): Add output_name to error message.
512         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
513         Patch by Thorsten Kukuk.
515         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
516         last patch.  Patch by Thorsten Kukuk.
518         * nss/getXXent_r.c: Include <errno.h>
520         * nss/getXXbyYY_r.c: Include <errno.h>.
522 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
524         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
525         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
526         * wctype/wctype.c: Likewise.
527         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
528         changed.  They are incompatible with the _ISxxx values from
529         <ctype.h> on little endian machines.
530         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
531         bit number.  This fixes the real bug and restores the integrity of
532         the LC_CTYPE locale file.
533         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
534         * wctype/wcfuncs_l.c: Likewise.
535         * wctype/wcextra.c: Likewise.
536         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
537         byte swapping.
538         [PR libc/405]
540 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
542         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
543         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
544         Reported by Craig Metz <cmetz@inner.net>.
546         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
548         * signal/signal.h: Always define sigset_t if __need_sigset_h is
549         defined.
551 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
553         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
554         Patch by Dean Gaudet <dgaudet@arctic.org>.
556 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
558         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
559         with hidden variable name.
560         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
562 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
564         * nss/getXXent_r.c: Include <errno.h>
566         * nss/getXXbyYY_r.c: Include <errno.h>.
568 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
570         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
571         is too small.
572         * nss/getXXent_r.c: Likewise.
574 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
576         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
578 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
580         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
581         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
582         [PR libc/441]
584         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
585         occurence in cache. Reported by Rudolf Leitgeb
586         <leitgeb@leland.stanford.edu>.
587         [PR libc/440]
589         * nss/nss_files/files-service.c: Undo last change.
591 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
593         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
594         [PR libc/410]
596 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
598         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
599         zero in alternate form with precision of zero, which must produce
600         "0".  Add braces to avoid ambiguous `else'.
602 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
604         * locale/programs/charset.c (insert_char): Correctly insert value
605         of eliipsis expression.
607 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
609         * stdlib/strfmon.c: Fix numerous bugs in formatting.
611 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
613         * string/strsignal.c: Regard signal number NSIG as illegal.
614         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
615         members.
617 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
619         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
620         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
622 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
624         * nis/ypclnt.c: Try at first to use the binding file from ypbind
625         before using RPC.
627 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
629         * manual/memory.texi (Heap Consistency Checking): mcheck is
630         declared in <mcheck.h>.
631         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
633         * malloc/Makefile (headers): Add mcheck.h.
634         (distribute): Remove mcheck.h.
636 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
638         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
639         beginning of haystack.
641 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
643         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
645 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
647         * login/utmp_file.c (pututline_file): Don't always report success
648         if similar entry is found.  Patch by Mark M. Kettenis.
650 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
652         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
653         kernel's network ioctls, rather than using <linux/sockios.h> to
654         get them.  This way we are sure of maintaining compatibility if
655         the kernel interface should change.
657 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
659         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
661 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
663         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
666 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
668         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
670 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
672         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
673         really kept as a variable.  Patch by Richard Henderson,
674         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
676 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
678         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
679         by uch@nop.or.jp. [PR libc/437]
681 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
683         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
684         prevent use of kernel headers.
685         Patch by Richard Henderson.
687 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
689         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
690         overflow while reading line with fgets.
691         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
693 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
695         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
696         unsigned short, not short.
697         Reported by Andreas Jaeger.
699 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
701         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
702         reading line with fgets.
703         * nis/nss_compat/compat-pwd.c: Likewise.
704         * nis/nss_compat/compat-spwd.c: Likewise.
705         * nss/nss_files/files-XXX.c: Likewise.
706         * nss/nss_files/files-alias.c: Likewise.
707         * shadow/fgetspent_r.c: Likewise.
709 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
711         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
712         Patch by Ulrich Drepper. [PR libc/413]
714 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
716         * nss/db-Makefile: Handle empty and comment lines better.
717         ($(VAR_DB)/services.db): Generate entries with missing protocol
718         value.
720 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
722         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
723         exit of loop.
725 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
727         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
728         (getservbyname): Allow proto == NULL.
729         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
730         [PR libc/430].
732         * string/strerror_r.c (__strerror_r): Fix description of
733         function.
734         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
735         unknown error in presense of small buffer.
736         * sysdeps/generic/_strerror.c: Likewise.
737         Pointed out by Jonas Bagge <jonas@bagge.se>.
739 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
741         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
742         instead of strcasecmp.
743         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
745 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
747         * locale/langinfo.h: Add defines.
748         * dirent/dirent.h: Add defines for DT_*.
750         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
751         _PC_VDISABLE.
752         Suggested by Roland McGrath.
754 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
756         * sysdeps/alpha/w_sqrt.S: Removed.
757         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
758         and build a version that is as fast as possible given the constraint.
759         [PR libc/423].
761 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
763         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
764         handling of enlarging buffers (clear errno).
765         * sunrpc/clnt_simp.c (callrpc): Likewise.
766         * sunrpc/getrpcport.c (getrpcport): Likewise.
767         * sunrpc/clnt_gen.c (clnt_create): Likewise.
768         * shadow/fgetspent.c (fgetspent): Likewise.
769         * shadow/sgetspent.c (sgetspent): Likewise.
770         * pwd/fgetpwent.c (fgetpwent): Likewise.
771         * nss/getXXent.c (GETFUNC_NAME): Likewise.
772         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
773         * inet/rexec.c (rexec): Likewise.
774         * inet/rcmd.c (rcmd): Likewise.
775         (ruserok): Likewise.
776         (__icheckhost): Likewise.
777         * grp/initgroups.c (initgroups): Likewise
778         * grp/fgetgrent.c (fgetgrent): Likewise.
779         Based on patches by Cristian Gafton <gafton@redhat.com>.
781 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
783         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
784         * nss/getXXent_r.c: Likewise.
785         Patches by Cristian Gafton <gafton@redhat.com>.
787 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
789         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
790         terminating null in key size.
792 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
794         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
795         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
796         [PR libc/417].
798         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
799         by Jochen Voss <voss@mathematik.uni-kl.de>.
800         [PR libc/415].
802         * manual/time.texi (Priority): Correct description of
803         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
804         [PR libc/416].
806         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
808 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
810         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
812 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
814         * nss/nss_files/files-service.c: Fix allocation size to include
815         length of PROTO.
817         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
818         applicable.  Fix return value and error checking.
819         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
820         unparsable lines.
821         (DB_LOOKUP): Allocate space for terminating null byte.
822         [PR libc/404]
824         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
825         uids specially.
827         * db2/makedb.c (process_input): Continue processing if a duplicate
828         key is encountered.
830 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
832         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
833         lookups ignoring case.
834         * nss/nss_files/files-network.c: Do network lookups ignoring
835         case.
836         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
837         case.
838         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
839         case insensitive comparing.
840         Patches by Cristian Gafton <gafton@redhat.com>.
842         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
843         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
844         <gafton@redhat.com>.
846 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
848         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
849         by Roland McGrath. [PR libc/395]
851 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
853         * manual/arith.texi (Parsing of Integers): Correct description of
854         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
855         [PR libc/396]
857 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
859         * signals.c (sigwait): Correct loop initilization and end
860         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
862 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
864         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
865         cancelable socket functions as __libc_xxx with __xxx as weak
866         alias.
868         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
869         redefined.
870         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
872         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
873         and __xxx a weak alias.
874         * sysdeps/unix/sysv/linux/connect.S: Likewise.
875         * sysdeps/unix/sysv/linux/recv.S: Likewise.
876         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
877         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
878         * sysdeps/unix/sysv/linux/send.S: Likewise.
879         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
880         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
881         [PR libc/391]
883 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
885         * configure.in: Fix --enable-add-ons code.
887 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
889         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
890         Patch by David Engel <david@sw.ods.com>.
892         * configure.in: Fix another typo in --enable-add-ons code.
894 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
896         * misc/lsearch.c (lsearch): Return a pointer to the new element
897         if one was "allocated".
899 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
901         * string/strsignal.c: Don't zap the last character of the "Unknown
902         signal" message.
904 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
906         * libio/iofgets.c (_IO_fgets): Return an error only if there
907         is a new error.
908         * libio/iogets.c (_IO_gets): Ditto.
910 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
912         * nss/nss_files/files-network.c: Correct order of parameters for
913         getnetbyaddr.
914         (LINE_PARSER): Set n_addrtype to AF_INET.
916 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
918         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
919         and JMP_SLOT see the relocation addend.
921 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
923         * version.h (RELEASE): Set to "production".
925         * po/nl.po: Updated.
926         * po/es.po: Updated.
928         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
930 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
932         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
933         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
935 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
937         * configure.in: Fix typo.  Correct check for available add-ons.
939         * limits.h: Always define MB_LEN_MAX.
941         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
942         * nis/nss_nis/nis-grp.c: Likewise.
943         * nis/nss_nis/nis-hosts.c: Likewise.
944         * nis/nss_nis/nis-network.c: Likewise.
945         * nis/nss_nis/nis-proto.c: Likewise.
946         * nis/nss_nis/nis-pwd.c: Likewise.
947         * nis/nss_nis/nis-rpc.c: Likewise.
948         * nis/nss_nis/nis-service.c: Likewise.
949         * nis/nss_nis/nis-spwd.c: Likewise.
951         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
952         directly.
954         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
956         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
958 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
960         * posix/sched.h: timespec is in <time.h>.
962         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
964 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
966         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
967         Define STREAM_MAX using FOPEN_MAX.
969         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
970         Define as size_t.
971         * locale/programs/locale.c: Use correct cast from pointer value.
973         * misc/regexp.h (compile): Use parameter names without __.
975         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
976         instead of strcpy for security reasons.
977         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
978         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
979         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
980         * sunrpc/clnt_simp.c (callrpc): Likewise.
982         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
983         for map_v4v6_hostent call.
985         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
986         __need_FOPEN_MAX.
987         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
988         __need_FOPEN_MAX.
989         * sysdeps/stub/stdio_lim.h: Likewise.
991         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
992         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
993         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
994         msg_lspid and msg_lrpid field.
995         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
996         shm_lpid field.
998 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1000         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
1002 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1004         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
1006 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
1008         * elf/rtld.c: Don't count in multiply reference object in number
1009         of preloaded objects.  [PR libc/375].
1011         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
1012         shifted correctly.
1013         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
1014         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1015         Reported by Richard Henderson.
1017 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1019         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1020         return code for non existent +name entries.
1021         * nis/nss_compat/compat-pwd.c: Likewise.
1022         * nis/nss_compat/compat-spwd.c: Likewise.
1024 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
1026         * posix/glob.c: Update from glibc 2.1.
1027         * posix/glob.h: Likewise.
1029 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
1031         * stdlib/exit.c (exit): Handle recursive calls to exit ().
1033 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
1035         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
1036         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1038 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1040         * configure.in: If --enable-add-ons is given without an
1041         argument, set the addons list to all subdirs with a configure
1042         script.
1044 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
1046         * resolv/res_query.c (res_querydomain): Avoid potential buffer
1047         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
1049 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1051         * glibcbug.in: Add more information of build environment and flags.
1053 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1055         * resolv/inet_neta.c (inet_neta): Change type of first parameter
1056         to u_int32_t. Suggested by John Lavagnino
1057         <John_Lavagnino@Brown.edu> [PR libc/366].
1059         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
1061         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1063 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
1065         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1067 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1069         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
1070         variable as well.
1072         * locale/C-ctype.c: Correct data for isw* functions.
1073         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1074         byte order.
1075         * wctype/test_wctype.c: Add test for isw* functions.
1076         * wctype/wctype.c: Return value with expected byte order.
1078         * sysdeps/alpha/__math.h: Remove cabs definition.
1079         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
1081         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1083         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
1084         __libc_* names.
1086         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
1087         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
1088         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1089         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
1090         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
1092         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1094         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
1096 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1098         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1099         * sysdeps/unix/sysv/linux/send.S: Likewise.
1100         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1101         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1102         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1103         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1104         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1105         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1107 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1109         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1110         handle for /etc/group back in some more cases.
1111         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1112         handle for /etc/passwd back in some more cases.
1113         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1114         handle for /etc/shadow back in some more cases.
1116 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1118         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1119         beyound its size.
1120         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1121         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1123 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1125         Alpha changes for EGCS:
1126         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1127         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1128         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1129         (_start): Likewise.
1130         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1132         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
1133         * sysdeps/alpha/__longjmp.S: Likewise.
1134         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1135         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1136         * sysdeps/alpha/jmp_buf.h: Likewise.
1137         * sysdeps/alpha/setjmp.S: Likewise.
1138         * sysdeps/alpha/__longjmp.c: Removed.
1139         * sysdeps/alpha/setjmp_aux.c: Removed.
1141 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1143         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
1144         constants from Linux headers.  Pointed out by
1145         csmall@scooter.o.i.net. [PR libc/369]
1147 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1149         * grp/initgroups.c: Increase buffer if it is too small.
1151 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1153         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
1154         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
1155         [PR libc/367].
1157 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
1159         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1160         __typeof for C++ since this fails for class members.
1161         Reported by Neal Becker <neal@ctd.comsat.com>.
1163 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1165         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
1166         incompatible with Linux 2.1.x. Packages using modules
1167         (e.g. modutils) should/do provide their own version. Suggested by
1168         Richard Henderson.
1170         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
1172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1173         [$(subdir)=socket]: Remove sys/module.h.
1175 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1177         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1178         not shadow the variable in the outer scope. Carry over from glibc 2.1.
1180 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
1182         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
1184 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1186         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1187         return value.
1189 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
1191         * configure.in: Update from 2.1 version.
1192         * glibcbug.in: Likewise.
1193         * manual/maint.texi: Likewise.
1195         * math/mathcalls.c: Remove declaration of infnan and cabs.
1197         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
1199         * manual/errno.texi: Define new Linux errors.
1201         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
1202         and __kernel_rem_pio2{,f,l}.
1204         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
1206         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
1208         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
1210         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
1212         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
1213         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1214         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1216         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
1217         <bits/libc-lock.h>.
1219         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
1220         types in struct cmsghdr.
1222         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
1223         loading of return address.
1225         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
1226         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
1228         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
1230 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1232         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1233         value type to long int.
1234         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1235         types.
1237 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
1239         * sysdeps/posix/writev.c: Correct condition to leave the loop.
1241 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
1243         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
1244         zero isn't enough to determine illegal arguments.
1245         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1246         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1248 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
1250         * sysdeps/libm-i387/e_remainder.S: Pretty print.
1251         * sysdeps/libm-i387/e_remainderf.S: Likewise.
1252         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1254 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1256         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1258 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
1260         * stdlib/stdlib.h: Remove mblen optimization.
1261         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1262         Reported by anderson@metrolink.com.
1264 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1266         * po/Makefile ($(mo-installed)): Don't fail during installation if
1267         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1268         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1270 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1272         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1273         header is used in some others as well for historical reasons.
1275 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1277         * locale/setlocale.c (setname): Only remove old name when it
1278         is for category LC_ALL.
1280 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
1282         * intl/localealias.c (read_alias_file): Correct handling of line
1283         reader which sometimes skipped complete lines (PR 205).
1285 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1287         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1288         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1290         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1291         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1293 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1295         * Makerules (libc.so): Fix typo.
1297         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1298         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1300         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1301         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1303 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1305         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1306         compilers.
1307         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1309         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1310         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1312 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1314         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1315         for NULL.
1316         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1317         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1319         * configure.in: Correct test for bash2.
1320         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1322         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1323         (CFLAGS-locfile.c): Likewise.
1324         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1326         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1327         non-existing entry if the table is full.
1329         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1331 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1333         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1334         Replace revoke call by use of REVOKE.
1335         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1336         empty and #include generic version.
1337         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1339 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1341         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1342         again after successful call.
1343         Patch by Marc Lehmann <pcg@goof.com>.
1345 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
1347         * malloc/thread-m.h: Remove malloc_key-data definition.
1348         Reported by Trevor Johnson <trevor@jpj.net>.
1350 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1352         * manual/filesys.texi (Scanning Directory Content): Document error
1353         case more.
1355         * dirent/scandir.c (scandir): Ignore errors from select function.
1356         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1358 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1360         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1361         * termios/termios.h: Change prototype accordingly.
1363 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1365         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1366         for C++.
1368 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1370         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1371         bugs.
1373 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1375         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1376         2.1 development version  to fix some more severe bugs.
1377         * nis/nss_compat/compat-pwd.c: Likewise.
1378         * nis/nss_compat/compat-spwd.c: Likewise.
1379         * nis/ypclnt.c: Likewise.
1380         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1382         * version.h (VERSION): Bump to 2.0.6.
1384 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1386         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1387         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1389 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1391         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1392         generated by a glob call disable GLOB_ERR since there might be
1393         non-directories in the list (PR203).
1395 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1397         * misc/efgcvt.c: Call correct reentrant functions.
1399 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1401         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1402         timezone variable.
1403         * time/tzset.c (tz_compute): Likewise.
1404         Reported by Erik Troan <ewt@redhat.com>.
1406 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1408         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1409         in all error cases (PR 244).
1411 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1413         * manual/filesys.texi: Correct prototype in readdir_r description.
1414         Reported by Jim Meyering <meyering@eng.ascend.com>.
1416 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1418         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1419         matching of version function if both the general (1) and
1420         glibc-specific (3) entry are present.
1422 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1424         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1425         elements in struct msghdr and struct cmsghdr, to keep in step with
1426         the kernel.
1428 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1430         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1431         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1432         struct and not a pointer.  Little optimizations.
1434 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1436         * intl/loadmsgcat.c (_nl_load_domain):
1437         Fix &&/|| typo when checking file size.
1439 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1441         * time/africa: Update from tzdata1997i.
1443 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1445         * malloc/obstack.h (obstack_empty_p): New macro.
1447 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1449         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1450         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1451         for time_t overflow.
1453 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1455         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1456         type of fw_pcnt and fw_bcnt fields to match kernel.
1457         Patch by a sun <asun@zoology.washington.edu>.
1459 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1461         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1462         Reported by Erik Troan <ewt@redhat.com>.
1464 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1466         Fix gmtime so that it reports leap seconds when TZ
1467         indicates that leap seconds are desired.
1469         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1470         (gmtime): Put after gmtime_r, to help the compiler inline.
1471         (__tz_convert): New decl.
1472         (gmtime_r): Use __tz_convert instead of __offtime,
1473         so that leap seconds are handled correctly.
1475         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1476         are now unnecessary.
1477         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1478         __tzset_lock): Remove extern decls that are now unnecessary.
1479         (localtime_internal): Moved to __tz_convert in tzset.c.
1480         so that localtime and gmtime can both use it easily.
1481         (localtime): Put after localtime_r, to help the compiler inline.
1482         (localtime_r): Use __tz_convert instead of localtime_internal.
1484         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1485         decl.
1487         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1489         * time/tzset.c (<errno.h>): Include.
1490         (_tmbuf): New decl.
1491         (__tzfile_compute): New function.
1492         (tz_compute): Renamed from __tz_compute.  No longer extern.
1493         Remove redundant call to tzset_internal.
1494         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1495         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1496         (__tz_convert): New function, containing functionality of old
1497         localtime_internal function, plus locking and optional UTC.
1499 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1501         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1502         string, just use UTC without leap seconds.  This is for compatibility
1503         with the Olson code.
1505 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1507         * time/tzset.c (__tzname_max): Lock tz data structures before
1508         invoking tzset_internal.
1510         * time/tzfile.c: Define compute_tzname_max statically.
1512 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1514         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1515         __FD_ISSET): Use correct casts to address array correctly.
1516         Reported by urbanw@cs.umu.se.
1518 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1520         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1521         next head.  Reported by baccala@FreeSoft.org.
1523 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1525         * sysdeps/stub/sigaction.c: Fix typo.
1526         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1528 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1530         * catgets/catgets.c (catopen): Correctly determine length of string
1531         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1533 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1535         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1537 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1539         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1540         for descriptors >= 32.
1542         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1543         is used __alloca is not defined to __builtin_alloca and so might
1544         not be available.
1545         Reported by Uwe Ohse <uwe@ohse.de>.
1547         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1548         way if gcc is not used and so dev_t is an array.
1549         Reported by Uwe Ohse <uwe@ohse.de>.
1551         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1552         of sys/cdefs.h.  Pretty print.
1554 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1556         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1557         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1558         with g++ internal symbols.
1559         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1561 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1563         * string/argz.h: Add missing __END_DECLS.
1564         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1566 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1568         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1570         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1572         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1574 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1576         * tzset.c (__tzset_internal): Fix memory leak when the user
1577         specifies a TZ value that uses a default rule file.
1578         Do not assume US DST rules when the user specifies
1579         that there is no DST.
1581 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1584         they operate on internal kernel structures and have no place in a
1585         user header.
1587 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1589         * sysdeps/mach/libc-lock.h: Fix typo.
1590         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1592 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1594         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1596         * catgets/gencat.c (usage): Fix help text.
1598         Update of UTMP interface.
1599         * login/Makefile (routines): Add utmpname, remove utmp_db.
1600         * login/getutent.c: Rename to __getutent and make getutent a weak
1601         alias.
1602         * login/getutent.c: Rename to __getutid and make getutid a weak
1603         alias.
1604         * login/getutent.c: Rename to __getutline and make getutline a weak
1605         alias.
1606         * login/getutent_r.c: Rewrite to use jump table correctly.
1607         * login/getutid_r.c: Likewise.
1608         * login/getutline_r.c: Likewise.
1609         * login/updwtmp.c: Likewise.
1610         * login/login.c (login): Correct test for result of utmpname.
1611         Use updwtmp instead of implementing this here again.
1612         * login/logout.c (logout): Correct test for result of utmpname
1613         and pututline.  Handle ut_type field correctly if it exists.
1614         * login/utmp-private.h: Update for changed internal functions.
1615         * login/utmp.h: Reformat and correct typos.
1616         * login/utmp_file.c: Rewrite lock handling.
1617         * login/utmpname.c: New file.
1618         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1620         * socket/sys/socket.h (getpeername): Correct type of len argument.
1621         Reported by a sun <asun@zoology.washington.edu>.
1623         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1624         <bits/types.h>.
1625         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1627         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1628         functions.
1630         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1631         cthreads.
1632         * sysdeps/mach/hurd/cthreads.c: New file.
1634 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1636         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1637         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1639 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1641         * login/login.c (login): Check for correct return value of
1642         utmpname.
1644 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1646         * time/tzset.c: Interpret no DST information in user provided time
1647         zone specification as it is meant: no DST.
1648         Patch by Paul Eggert <eggert@twinsun.com>.
1650 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1652         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1653         Add macros for key handling.
1654         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1655         cthreads.
1656         * sysdeps/mach/hurd/cthreads.c: New file.
1657         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1659 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1661         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1663 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1665         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1666         for storage class.
1667         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1669         * login/Makefile (routines): Add updwtmp.
1670         * login/logwtmp.c: Move definition of updwtmp to ...
1671         * login/updwtmp.c: here.  New file.
1673         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1674         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1675         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1677 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1679         * libio/stdfiles.c (_libio_using_thunks): Define if
1680         _G_USING_THUNKS is defined.
1682         * libio/_G_config.h: Moved to
1683         * sysdeps/generic/_G_config.h: ...here.
1685         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1687 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1689         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1690         right place.
1692 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1694         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1695         PC's in long long to avoid overflow.
1697 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1699         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1700         New macros.
1702 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1704         * gmon/gmon.c (_mcleanup): Fix typos.
1706         * gmon/sys/gmon.h: Add prototype for write_profiling.
1708 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1710         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1711         loop, to avoid dragging stdio into the dynamic linker.
1713 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1715         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1716         (_mcleanup): Use write_gmon.
1717         (write_profiling): This function can be safely called at any time
1718         to write a current histogram without interfering with ongoing
1719         profiling.
1721         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1723 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1725         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1726         not be vm_deallocated; it's a stack buffer.
1727         (profil_vm_deallocate): Delete prototype.
1728         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1729         inclusion.
1730         * sysdeps/mach/hurd/Makefile
1731         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1732         this rule.
1734         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1735         from profile_waiter.
1736         (profile_waiter): Use fetch_samples.
1737         (profil): When turning off profiling, fetch the last bunch of
1738         samples before disabling PC sampling.
1739         (fetch_samples): Add prototype.
1741 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1743         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1744         source included by profil.c instead of trying to use
1745         before-compile grot.
1747 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1749         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1750         after releasing lock.  Use special RPC stubs and avoid assert,
1751         thus making this function entirely independent of the threadvar
1752         mechanism and of cthreads.
1753         (lock): Convert to be a spin lock instead of a mutex, so that the
1754         waiter thread need not use cthreads.  Use a fork prepare hook
1755         instead of _hurd_fork_locks to make sure we are clean before
1756         forking.
1757         (fork_profil_child): Renamed from fork_profil.
1758         (profil_reply_port): New variable.
1759         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1760         stubs made by special hacks.
1761         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1762         source files that profil.c needs if we are in the gmon directory.
1764         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1765         cthreads bug that hasn't existed for two years.
1767 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1769         * locale/programs/localedef.c (main): Set bit in avail for those
1770         categories which are successfully read.
1771         * locale/programs/locfile.c (check_all_categories): Don't check
1772         categories if they are not available.
1773         (write_all_categories): Don't write categories if they are not
1774         available.
1776         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1777         getsockopt, setsockopt, accept): Change size argument to type
1778         socklen_t.
1779         Pretty print.
1780         * manual/socket.texi: Describe socklen_t and change prototypes of
1781         socket functions to use socklen_t.
1782         * sysdeps/generic/bits/socket.h: Define socklen_t.
1783         (struct msghdr): Correct types to use socklen_t.
1784         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1785         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1787         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1788         1.0 < x < 8.0.
1789         * stdio-common/tfformat.c: Add new tests for above bug.
1791         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1793         * wcsmbs/Makefile (tests): Add tst-wcstof.
1794         * wcsmbs/tst-wcstof.c: New file.
1795         * wcsmbs/wcstof.c (FLT): Define as FLT.
1797 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1799         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1800         case since the __syscall_ptrace call already did this.
1801         Reported by Philip Gladstone <philip@talon.raptor.com>.
1803 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1805         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1806         <gnu/types.h> to <sys/types.h>.
1808 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1810         * locale/programs/locale.c (print_escaped): New function.
1811         (show_info): Use print_escaped if strings can control unprintable
1812         characters.
1813         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1815 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1817         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1818         dependencies.
1820 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1822         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1823         for stream on input file.
1824         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1825         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1826         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1827         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1828         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1829         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1830         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1831         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1833 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1835         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1836         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1837         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1838         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1840 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1842         * time/africa: Update from tzdata1997g.
1843         * time/asia: Likewise.
1844         * time/australasia: Likewise.
1845         * time/europe: Likewise.
1846         * time/iso3166.tab: Likewise.
1847         * time/zone.tab: Likewise.
1848         * time/private.h: Update from tzcode1997f.
1849         * time/scheck.c: Likewise.
1851 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1853         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1854         Synchronize with malloc/obstack.c.
1856 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1858         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1859         path to install-info for systems like Debian that have an
1860         install-info with a different command line interface from the
1861         canonical GNU texinfo version.
1863 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1865         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1866         * posix/unistd.h: Likewise.
1867         * sysdeps/stub/ttyname_r.c: Likewise.
1869 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1871         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1873         * time/tzfile.c (__tzstring): New decl.
1874         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1875         (__tzfile_default): First two args are now const char *.
1877         * time/tzset.c (__tzstring): New function.
1878         (tz_rule): Name is now const char *.
1879         (struct tzstring_head): New type.
1880         (tzstring_list, tzstring_last_buffer_size): New static vars.
1881         (__tzset_internal): Time zone names are now permanent, not temporary.
1883 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1885         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1886         and && in tests to allow use in C++ code which overloads these
1887         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1889 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1891         * login/login.c (tty_name): Test return value of ttyname_r for !=
1892         0, not < 0.
1893         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1894         0, not >= 0.
1895         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1896         ttyname_r for != 0.
1897         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1899 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1901         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1902         one.
1904         * signal/sigandset.c: Include stddef.h to get NULL defined.
1905         * signal/sigisempty.c: Likewise.
1906         * signal/sigorset.c: Likewise.
1908 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1910         * posix/execvp.c (execvp): Handle ESTALE.
1912 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1914         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1915         before calling _IO_SYSREAD ().
1917 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1919         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1920         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1922 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1924         * io/lockf.c (lockf): Clear fl before using.
1925         Patch by sr@adb.fr.
1927         * libio/strops.c: Correctly handle _IO_write_end.
1929         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1930         panic if setnetgrent wasn't called before, return error.
1931         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1933         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1934         if locally defined.
1935         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1936         if locally defined.
1937         Define tm_diff function as ftime_tm_diff if locally defined.
1938         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1940 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1942         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1943         in cc1.  Cpp in gcc doesn't do it.
1945 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1947         * login/login.c (tty_name): Use newly allocated buffer.
1948         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1950         * time/asctime.c: Never translate week and month name according
1951         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1953 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1955         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1956         setresgid.
1958 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1960         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1961         Reported by a sun.
1963 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1965         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1966         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1968 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1970         * math/math.h: Add warning about use of M_* constants.
1971         Pretty print.
1973 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1975         * locale/programs/locale.c: Correct comment.
1977         * po/ko.po: Update.
1979 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1981         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1983 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1985         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1987         * manual/Makefile (distribute): Add dir.
1988         * manual/dir: New file.
1990 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1992         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1994 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1996         * string/Makefile (routines): Add argz-replace.
1998 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
2000         * string/argz.h (__argz_replace, argz_replace): New declarations.
2001         * string/argz-replace.c: New file.
2003 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2005         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
2006         character read in/put back.
2007         * stdio-common/tstscanf.c: Add test case for this.
2009 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
2011         * manual/Makefile (install): Make sure `dir' file exists if we use
2012         install-info.
2014 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2016         * manual/Makefile (info): Depend on dir-add.info.
2018 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2020         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
2021         * sysdeps/stub/e_acosl.c: Likewise.
2022         * sysdeps/stub/e_asinl.c: Likewise.
2023         * sysdeps/stub/e_atan2l.c: Likewise.
2024         * sysdeps/stub/e_expl.c: Likewise.
2025         * sysdeps/stub/e_fmodl.c: Likewise.
2026         * sysdeps/stub/e_j0l.c: Likewise.
2027         * sysdeps/stub/e_j1l.c: Likewise.
2028         * sysdeps/stub/e_jnl.c: Likewise.
2029         * sysdeps/stub/e_lgammal_r.c: Likewise.
2030         * sysdeps/stub/e_log10l.c: Likewise.
2031         * sysdeps/stub/e_logl.c: Likewise.
2032         * sysdeps/stub/e_powl.c: Likewise.
2033         * sysdeps/stub/e_rem_pio2l.c: Likewise.
2034         * sysdeps/stub/e_sqrtl.c: Likewise.
2035         * sysdeps/stub/k_cosl.c: Likewise.
2036         * sysdeps/stub/k_rem_pio2l.c: Likewise.
2037         * sysdeps/stub/k_sinl.c: Likewise.
2038         * sysdeps/stub/k_tanl.c: Likewise.
2039         * sysdeps/stub/s_atanl.c: Likewise.
2040         * sysdeps/stub/s_erfl.c: Likewise.
2041         * sysdeps/stub/s_expm1l.c: Likewise.
2042         * sysdeps/stub/s_log1pl.c: Likewise.
2044 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
2046         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
2047         01:13:56 1996.
2049 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
2051         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
2052         * sysdeps/libm-i387/s_asinhf.S: Likewise.
2053         * sysdeps/libm-i387/s_asinhl.S: Likewise.
2054         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
2055         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
2056         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
2058 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
2060         * Makefile (manual/dir-add.info): New rule.
2062         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
2063         `unsigned short'.
2065         * manual/Makefile (dir-add.texi): Also emit wrapper text for
2066         info/install-info.
2067         (distribute): Add dir-add.texi and dir-add.info.
2068         (mostlyclean): Add dir-add.info.
2069         (realclean): Add dir-add.texi.
2070         (install): Add entries in `dir' file using install-info.
2072         * manual/libc.texinfo: Add @dircategory and @direntry text.
2073         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
2075 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
2077         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
2078         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
2079         M_SQRT2.
2080         * math/math.h (_Mldbl): Define even if M_* constants are not
2081         defined.
2082         Reported by corsepiu@faw.uni-ulm.de.
2084 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
2086         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
2088 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
2090         * misc/regexp.h (compile): Allow use of macro INIT for variable
2091         declaration.  Add documentation for INIT.
2092         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
2094 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
2096         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
2098 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
2101         netinet/icmp.h, add netatalk/at.h.
2102         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
2103         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
2105 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
2107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
2109 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
2111         * string/argz-addsep.c: Correct weak alias.
2112         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2114         * locale/setlocale.c (setlocale): Free variable with locale path
2115         before returning.
2116         (setname): Don't test for _nl_current[category] being NULL before
2117         freeing.
2118         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2120 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
2122         * time/Makefile: Make tzselect depend on config.make.
2124 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
2126         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
2127         type to `unsigned long int'.
2128         Patch by Richard Henderson <richard@twiddle.rth.home>.
2130 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2132         * nss/nss_files/files-hosts.c: Delete inclusion of
2133         "../resolv/mapv4v6hostent.h".
2135 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
2137         * libio/libio.h: Define bits for libg++-2.8.
2139 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
2141         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
2142         plan on doing so ever again.  Don't say alpha-linuxecoff is known
2143         to work.
2145         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
2146         will last until I figure out how to build a parallel libm_ieee.
2148         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
2149         FP mode to round to nearest, no exceptions as for Intel.
2150         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
2151         (rdfpcr): Use excb rather than trapb.  Be more efficient about
2152         getting at the fpcr.
2153         (wrfpcr): Likewise.
2154         (__setfpucw): Reformat.
2156         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
2157         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2158         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
2159         sure the stack frame is released the very instruction before the
2160         real jump out.
2161         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2162         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2164         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
2165         have gotten from <linux/posix_types.h>.
2167         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
2169 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2171         * Makefile (manual/dir-add.texi): Force execution.
2173 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2175         * stdlib/strfmon.c: Don't run past EOS after `='.
2177 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
2179         Update resolver code to bind-4.9.6-T1A.
2180         * resolv/Banner: Update.
2181         * nss/digits_dots.c: Adapt text address matching to T1A.
2182         * nss/nss_files/files-hosts.c: Always use inet_pton.
2183         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
2184         it would lead to warnings.
2185         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
2186         at several places.
2187         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
2188         * resolv/res_comp.c (dn_expand): Check for overflow.
2189         (dn_comp): Likewise.
2190         * resolv/res_debug.c (precsize_aton): Better implementation.
2191         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
2192         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
2193         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
2194         length at several places.
2196 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2198         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
2199         time_t.
2201         * login/pty.h: Include <ioctl-types.h> for definition of struct
2202         winsize.
2204 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
2206         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
2207         number to four digits and to representable range for 4 byte time_t
2208         values.
2209         Patch by H.J. Lu <hjl@lucon.org>.
2211 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
2213         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2214         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2215         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2217 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
2219         * login/login.c (tty_name): Use newly allocated buffer.
2220         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2222         * time/asctime.c: Never translate week and month name according
2223         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
2225 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2227         * hurd/hurdsig.c: Include <hurd/id.h>.
2228         (reauth_proc): Call proc_setowner appropriately too.
2230 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2232         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
2233         correct value for _POSIX_VDISABLE.
2235 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2237         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
2239         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
2241 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
2243         * Net release 2.0.4.
2245 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
2247         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
2248         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
2249         environments in which linking is not possible at configure time
2250         (since te libc is just build).
2251         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2253 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
2255         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2256         state array only at right place.
2257         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2259         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2260         [0.5,1.0) but really in [0.0, 1.0).
2261         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2263 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
2265         * sysdeps/i386/elf/start.S: Change local label "nofini"
2266         to ".Lnofini".
2268         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2270 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
2272         * time/zic.c: Update from tzcode1997e.
2274         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2275         are not defined.
2277 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
2279         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2280         monstartup.
2282 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
2284         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2285         values.
2286         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2288         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2289         u_long.
2291 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
2293         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2294         not looking at the new thread-safe .plt, don't be lazy about relocs.
2295         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2296         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2297         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2298         elf_machine_runtime_setup() decide if we can actually be lazy.
2299         * elf/rtld.c (_dl_start): So don't call it.
2300         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2301         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2302         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2303         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2304         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2305         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2306         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2307         skeleton definition.
2309 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
2311         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2312         stack by fxtract.
2314 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2316         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2317         warning.
2319         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2320         of USHRT_MAX.
2322         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2324 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
2326         * version.h (VERSION): Bump to 2.0.4.
2328         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2329         and for Linux ld.so.
2330         * login/Makefile (libutil.so): Likewise.
2331         * math/Makefile (libm.so): Likewise.
2332         * md5-crypt/Makefile (libcrypt.so): Likewise.
2333         * nis/Makefile (libnss_%.so): Likewise.
2334         * resolv/Makefile (libnss_dns.so): Likewise.
2336 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2338         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2339         workaround.
2341 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
2343         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2345         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
2346         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2347         Reported by Ian Taylor <ian@cygnus.com>.
2349         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2351         * po/de.po: Updated.
2353         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2355         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2357 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2359         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2360         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2362 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2364         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2365         msg_add_auth was overflowing it.
2367 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2369         * time/sys/time.h: Make second argument of setitimer const.
2370         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2371         * sysdeps/stub/setitimer.c: Likewise.
2372         * sysdeps/mach/hurd/setitimer.c: Likewise.
2374 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2376         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2377         when we can't find the symbol.
2379 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2381         * posix/regex.c: Fix handling of 32-bit Windog environments.
2382         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2384 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2386         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2388 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2390         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2392 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2394         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2396 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2398         * sys/ttydefaults.h: Removed.
2400 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2402         * termios/sys/ttydefaults.h: Delete file.
2403         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2404         TTYDEF_OFLAG.
2405         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2406         XTABS in TTYDEF_OFLAG.
2407         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2408         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2410 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2412         * posix/TESTS: Add some more tests for character class matching.
2413         * posix/regex.c: Merge with GNU awk version.
2414         (regex_compile): Use ISO C/amend 1 functions for character class
2415         handling.
2416         * posix/regex.h: Merge with GNU awk version.
2418         * posix/getopt.c: Declare as master copies.
2419         * posix/getopt1.c: Likewise.
2420         * posix/getopt.h: Likewise.
2422         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2423         value to mount functions.
2424         Patch by a sun <asun@zoology.washington.edu>.
2426 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2428         * sunrpc/svc_run.c (svc_exit): New, defined.
2429         (svc_run): Test for svc_stop variable.
2430         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2432 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2434         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2436         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2437         NaN.  Fix test for sign of infinite y.
2439         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2441         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2443 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2445         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2446         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2448 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2450         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2451         kernel can return negative values.  Only fail when return value is
2452         in range in range which is never returned as valid address.
2453         Patch by Bruno Haible <haible@ilog.fr>.
2455 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2457         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2458         case.
2460         * time/strftime.c (add): Respect `0' padding flag.
2461         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2463 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2465         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2466         will preserve non-call-saved registers; save and restore a0 across
2467         the system call.
2468         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2469         data onto the new thread's stack.
2471 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2473         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2474         * config.make.in: Set cross-compiling from configure result.
2475         * configure.in: Emit definition of `cross_compiling'.
2476         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2478 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2480         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2481         * sysdeps/libm-i387/e_pow.S: Likewise.
2482         * sysdeps/libm-i387/e_powl.S: Likewise.
2484 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2486         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2487         obstack_chunkfun, obstack_freefun): Fix casts.
2489 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2491         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2492         not <netinet/icmp.h>.
2493         * inet/netinet/tcp.h: Move to...
2494         * sysdeps/generic/netinet/tcp.h: ...here.
2495         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2497 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2499         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2500         to command line of compiler.
2501         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2503         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2504         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2506         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2507         in declaration.
2508         Patch by Michael Widenius <monty@tcx.se>.
2510         * time/strptime.c (strptime_internal): Fix %I format specifier
2511         being off by one.
2512         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2514 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2516         * Net release 2.0.3.
2518 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2520         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2521         * stdlib/srand48_r.c: Likewise.
2523 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2525         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2526         fpclassify & friends, and complex number operations.
2527         Update various other math functions for ISO C 9X.
2528         * manual/math.texi: Update various entries for ISO C 9X.
2529         Add description for complex number functions.
2530         Add description of rand48 function family.
2531         * manual/string.h: Add description of a64l and l64a.
2533         * math/cmathcalls.h: Fix typo.
2535         * stdlib/a64l.c: Pretty printing.
2537         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2538         * stdlib/srand48_r.c: Likewise.
2540 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2542         * rellns-sh: Handle files in the same directory correctly.
2544 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2546         * csu/initfini.c: Place ALIGN instruction at correct positions.
2547         Patch by Richard Henderson <richard@twiddle.rth.home>.
2549 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2551         * Make-dist: Don't automatically ignore .c files if .S or .s files
2552         are ignored.
2554         * csu/Makefile (distribute): Add defs.awk.
2556 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2558         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2559         * sysdeps/stub/shmdt.c: Likewise.
2560         Reported by Thomas Bushnell, n/BSG.
2562 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2564         * sysdeps/unix/sysv/linux/Dist: Rename
2565         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2566         Remove sysdeps/sysv/linux/netinet/icmp.h.
2568         * login/utmp.h: Add prototype for updwtmp.
2569         * login/logwtmp.c: Add new function updwtmp which allows to write
2570         a complete record to the wtmp file.
2571         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2573 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2575         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2576         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2578 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2580         * csu/initfini.c: Rewrite by Zack Weinberg
2581         <zack@rabi.phys.columbia.edu>.
2582         * csu/Makefile: Add rules for rewrite.
2583         * csu/defs.awk: Helper script to generate derived header.
2585 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2587         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2589 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2591         * sysdeps/generic/Dist: Remove old math implementation files.
2592         * sysdeps/generic/mathimpl.h: Removed.
2593         * sysdeps/generic/trig.h: Removed.
2594         * sysdeps/generic/sincos.c: Removed.
2595         * sysdeps/generic/asincos.c: Removed.
2596         * sysdeps/generic/exp__E.c: Removed.
2597         * sysdeps/generic/log__L.c: Removed.
2599 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2601         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2602         add fast check whether the heap containing top can go away.
2604 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2606         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2607         failing to allocate a new chunk, also try the main_arena.  It may
2608         be that we are only running out of mmapped regions, and other
2609         arenas cannot be enlarged sufficiently.
2610         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2611         i.e. only in new_heap().
2613 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2615         * time/strftime.c (memset_space): Increment pointer.
2616         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2617         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2619 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2621         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2623         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2624         63 bits.
2625         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2627         * po/pl.po: Updated.
2629         * string/swab.c: Correctly handle array of odd length.
2631         * manual/string.texi: Correct prototype in memmem documentation.
2633 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2635         * manual/Makefile (dir-add.texi): Simplify.
2637 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2639         * rellns-sh: Rewrite to work also in presence of symlinks.
2641         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2642         Reported by Greg McGary <gkm@eng.ascend.com>.
2644         * manual/libc.texinfo: Update malloc documentation for new malloc.
2645         * manual/memory.texi: Likewise.
2646         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2648         * stdlib/erand48_r.c (erand48_r): Build double value using
2649         ieee754_double union and use random bits in different order to
2650         increase effect of seed.
2651         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2653 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2655         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2656         a read-only stream.
2658 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2660         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2661         in correct place.
2662         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2664 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2666         * posix/getopt.c (_getopt_initialize): Preserve optind.
2667         (_getopt_internal): Set optind to 1 if optind == 0 before
2668         calling _getopt_initialize ().
2670 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2672         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2673         on a read-only stream.
2675         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2676         (ut_time): Define it only if _NO_UT_TIME is not defined.
2678 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2680         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2681         get definition of sa_family_t for <linux/atalk.h>.
2682         Reported by a sun <asun@zoology.washington.edu>.
2684         * malloc/malloc.c (cALLOc): Little optimization.
2686 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2688         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2689         headers but instead add comments and parameter names.
2690         Don't use BSD specific types in prototypes.
2692         * manual/nss.texi: Correct a few typos and errors.
2694 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2696         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2697         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2699         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2700         TAB3, if one of them is defined.
2702 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2704         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2706 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2708         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2709         clearenv a weak alias.
2711         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2712         of type clashes.  Add all definitions here.
2714         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2715         to XPG4.2.
2716         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2717         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2719         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2721         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2722         use of kernel types.
2724 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2726         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2727         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2729 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2731         * Makeconfig (all): Make sure this is always the default goal.
2733 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2735         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2736         Don't include <endian.h>.
2738 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2739         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2740         Don't include <endian.h>.
2742 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2744         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2746 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2748         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2749         compiler.
2751 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2753         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2754         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2756 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2758         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2759         by 31 positions to get 0/1 result.
2760         Patch by Joe Keane <jgk@jgk.org>.
2762 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2764         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2765         to prevent from ld linking in getopt.o even if there is another
2766         incompatible one.
2768         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2770 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2772         * Makerules (depfiles): Remove $(test-srcs).
2774 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2776         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2777         on a read-only stream.
2779         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2780         (ut_time): Define it only if _NO_UT_TIME is not defined.
2782 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2784         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2785         typo.
2787 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2789         * Makefile: Add rule to easily generate dir-add.texi file.
2790         * manual/Makefile: Likewise.
2792 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2794         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2795         (sysdep_headers): Remove netinet/icmp.h.
2797 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2799         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2800         adjustment if the underlying function say it is too small.
2801         * pwd/fgetpwent.c: Likewise.
2802         * shadow/fgetspent.c: Likewise.
2803         * shadow/sgetspent.c: Likewise.
2805         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2806         this means there was not enough room for the gr_mem array.
2808         * nss/nss_files/files-XXX.c: Leave loop and return error if
2809         `parse_result' returns -1.
2811         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2812         of trailing list fails because of low memory.
2813         (parse_list): Rewrite.  The logic was completly incorrect since
2814         the checks for overflowing the array were not executed when
2815         needed.
2817         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2818         signals success.
2820         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2821         * nss/getXXent.c: Likewise.
2823 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2825         * manual/errno.texi: Add description of strerror_r.
2827 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2829         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2831 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2833         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2835 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2837         * stdlib/stdlib.h: Declare __clearenv.
2839 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2841         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2842         the last change.
2844 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2846         * configure.in: Call AC_CANONICAL_BUILD before referencing
2847         $build.  Fix test for BUILD_CC.
2849 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2851         * sysdeps/i386/memset.c: Fix typo.
2852         * sysdeps/stub/fchmod.c: Fix typo.
2853         * sysdeps/stub/fchdir.c: Fix typo.
2854         Reported by Fila Kolodny <fila@ibi.com>.
2856         * time/time.h (strftime): Remove __restrict in declaration.
2858 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2860         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2861         syntax for local label.
2862         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2863         binary format.
2864         * sysdeps/i386/addmul_1.S: Likewise.
2865         * sysdeps/i386/lshift.S: Likewise.
2866         * sysdeps/i386/memchr.S: Likewise.
2867         * sysdeps/i386/memcmp.S: Likewise.
2868         * sysdeps/i386/mul_1.S: Likewise.
2869         * sysdeps/i386/rshift.S: Likewise.
2870         * sysdeps/i386/stpcpy.S: Likewise.
2871         * sysdeps/i386/stpncpy.S: Likewise.
2872         * sysdeps/i386/strchr.S: Likewise.
2873         * sysdeps/i386/strcspn.S: Likewise.
2874         * sysdeps/i386/strlen.S: Likewise.
2875         * sysdeps/i386/strpbrk.S: Likewise.
2876         * sysdeps/i386/strrchr.S: Likewise.
2877         * sysdeps/i386/strspn.S: Likewise.
2878         * sysdeps/i386/strtok.S: Likewise.
2879         * sysdeps/i386/sub_n.S: Likewise.
2880         * sysdeps/i386/submul_1.S: Likewise.
2881         * sysdeps/i386/i486/strcat.S: Likewise.
2882         * sysdeps/i386/i486/strlen.S: Likewise.
2883         * sysdeps/i386/i586/add_n.S: Likewise.
2884         * sysdeps/i386/i586/addmul_1.S: Likewise.
2885         * sysdeps/i386/i586/lshift.S: Likewise.
2886         * sysdeps/i386/i586/memset.S: Likewise.
2887         * sysdeps/i386/i586/mul_1.S: Likewise.
2888         * sysdeps/i386/i586/rshift.S: Likewise.
2889         * sysdeps/i386/i586/strchr.S: Likewise.
2890         * sysdeps/i386/i586/strlen.S: Likewise.
2891         * sysdeps/i386/i586/sub_n.S: Likewise.
2892         * sysdeps/i386/i586/submul_1.S: Likewise.
2894         * time/africa: Updated from ADO tzdata1997e.
2895         * time/antarctica: Likewise.
2896         * time/asia: Likewise.
2897         * time/australasia: Likewise.
2898         * time/europe: Likewise.
2899         * time/northamerica: Likewise.
2900         * time/southamerica: Likewise.
2901         * time/private.h: Updated from ADO tzcode1997d.
2902         * time/scheck.c: Likewise.
2904 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2906         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2907         thread-specific memory in multi-threaded programs.
2909         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2910         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2911         Suggested by a sun <asun@zoology.washington.edu>.
2913 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2915         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2916         of <netinet/icmp.h>.
2917         Patch by a sun <asun@zoology.washington.edu>.
2919 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2921         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2922         before using system.
2923         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2924         before using popen.
2926 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2928         * inet/rexec.c: Make string parameters `const'.
2929         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2930         rresvport.
2932         * posix/glob.h: Add declaration for glob_pattern_p.
2933         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2934         make glob_pattern_p a weak alias.  This function is used in other
2935         packages (e.g. bash).
2937         * signal/Makefile (routines): Add sigisempty, sigandset, and
2938         sigorset.
2939         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2940         sigorset.
2941         * signal/sigisempty.c: New file.
2942         * signal/sigandset.c: New file.
2943         * signal/sigorset.c: New file.
2944         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2945         and __sigorset.
2946         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2948         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2949         ip_icmp.h.  Reported by HJ Lu.
2951 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2953         * grp/grp.h: Include <stddef.h> only once.
2955 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2957         * version.h (VERSION): Bump to 2.0.3.
2959 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2961         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2963 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2965         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2966         is found.
2967         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2969 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2971         * Net release 2.0.2.
2973 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2975         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2976         XTABS.
2977         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2978         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2979         of Sun Dec 15 16:33:44 1996.
2980         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2982 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2984         * Makefile (distribute): Add BUGS.
2986         * sysdeps/generic/machine-gmon.h: Update copyright.
2988         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2989         i386-mcount.
2990         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2991         use regparam mechanism for call of `fixup' call.
2992         * sysdeps/i386/Dist: New file.
2993         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2994         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2995         of gmon definitions.
2997 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2999         * stdlib/tst-strtol.c (main): Save the value of errno since printf
3000         may modify it, use the saved errno everywhere.
3001         * stdlib/tst-strtod.c (main): Likewise.
3003 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
3005         * posix/glob.c (glob): Fix completely broken handling of
3006         GLOB_BRACE and partly broken handling of GLOB_TILDE.
3007         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
3009 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
3011         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
3012         UIO_FASTIOV value by multiple readv calls since we need atomicity.
3013         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3014         Reported by Matthis Urlichs.
3016 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
3018         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
3019         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
3020         which clobbers %eax.
3022         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
3023         crtbegin.o/crtend.o, using gcc to find them.
3024         (+link): Use them.
3026 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
3028         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
3029         affect the alignment, and therefore the end padding of the structs.
3030         Reported by David Mosberger <davidm@azstarnet.com>.
3031         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
3032         Use __writev instead of write for the I/O.
3034         * misc/sys/uio.h: Declare __writev and __readv.
3035         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
3036         * sysdeps/posix/writev.c: Likewise for writev.
3037         * sysdeps/stub/readv.c: Likewise.
3038         * sysdeps/stub/writev.c: Likewise.
3039         * sysdeps/unix/syscalls.list: Likewise.
3040         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3041         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3043         * stdlib/testdiv.c: Exit with error status when we have an error.
3044         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
3045         * sysdeps/alpha/ldiv.S: Likewise.
3047         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
3049 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
3051         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
3052         generic prototype.
3054         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
3055         Future releases will have this function.
3056         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3057         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3058         Reported by HJ Lu.
3060 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
3062         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
3063         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
3064         `__sigsetjmp' in PIC code.
3065         * sysdeps/i386/bsd-setjmp.S: Likewise.
3067         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
3068         overflow.
3069         * sysdeps/libm-i387/e_powf.S: Likewise.
3070         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
3071         case since expm1(-0) == -0.
3072         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3073         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3074         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
3075         access to FP number.
3076         * sysdeps/libm-ieee754/s_modff.c: Likewise.
3077         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
3078         code.  It never worked correctly.
3079         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
3080         case since tanh(-0) == -0.
3081         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
3082         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
3084 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
3086         * time/Makefile: Correct dependencies for test-tz.
3088         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
3089         UIO_FASTIOV and set to 8 if not available.
3090         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3091         Patch by HJ Lu.
3093         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
3094         "kernel_stat.h".
3095         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3096         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3097         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
3099 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
3101         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
3103         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
3105         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
3107         * sysdeps/unix/sysv/Dist: Add direct.h.
3109         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
3111         * Make-dist ($(tardir).tar): Prefer writing temporary file to
3112         $TMPDIR is available.  The default is /tmp.
3114         * sysdeps/generic/ip.h: Move to...
3115         * sysdeps/generic/netinet/ip.h: ...here.
3117         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3118         is placed in wrong place on the stack.
3119         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3121 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
3123         * time/offtime.c (__offtime): Change type of `yg' to long int.
3124         Reported by a sun <asun@zoology.washington.edu>.
3126 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
3128         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3129         2.2.0 to prevent version mismatch.
3131 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
3133         * Make-dist (srcs): Add $(test-srcs).
3134         * MakeTAGS (all-sources): Likewise.
3135         * Makerules (depfiles, common-mostlyclean): Likewise.
3136         * Rules (tests): Likewise.
3138 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
3140         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3142 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
3144         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3145         protocol=NULL to match any protocol rather than returning an
3146         error.
3148 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
3150         * nss/nss_files/files-service.c (servbyname): Match any protocol
3151         if proto==NULL.
3153 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
3155         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3156         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3157         Proposed by Thomas Bushnell, n/BSG.
3159 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
3161         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3162         the buffer for replacement.
3164 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
3166         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3167         sys_lstat and sys_stat.
3169 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3171         * mach/devstream.c (output/write_some): Don't try and write more
3172         than IO_INBAND_MAX in a single call to device_write_inband.
3174 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
3176         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3177         type is SVID.
3178         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3179         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3181         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3182         FLAGS parameter.
3184 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
3186         * manual/filesys.texi: Add documentation for scandir and alphasort.
3187         * manual/examples/dir2.c: New example for scandir.
3189         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
3190         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
3191         * sysdeps/ieee754/huge_val.h: Remove definition of long double
3192         definition.  Make it the same as the double definition.
3194         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3195         * sysdeps/libm-i387/e_acosf.S: Likewise.
3196         * sysdeps/libm-i387/e_acosl.S: Likewise.
3197         * sysdeps/libm-i387/e_asin.S: Likewise.
3198         * sysdeps/libm-i387/e_asinf.S: Likewise.
3199         * sysdeps/libm-i387/e_asinl.S: Likewise.
3200         * sysdeps/libm-i387/e_exp.S: Likewise.
3201         * sysdeps/libm-i387/e_expf.S: Likewise.
3202         * sysdeps/libm-i387/e_expl.S: Likewise.
3203         * sysdeps/libm-i387/s_scalbn.S: Likewise.
3204         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3205         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3207         * sysdeps/libm-i387/e_log.S: Optimize branch code.
3208         * sysdeps/libm-i387/e_logf.S: Likewise.
3209         * sysdeps/libm-i387/e_logl.S: Likewise.
3210         * sysdeps/libm-i387/e_log10.S: Likewise.
3211         * sysdeps/libm-i387/e_log10f.S: Likewise.
3212         * sysdeps/libm-i387/e_log10l.S: Likewise.
3214         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3215         * sysdeps/libm-i387/e_powf.S: Likewise.
3216         * sysdeps/libm-i387/e_powl.S: Likewise.
3218         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3219         argument to -1.0.
3220         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3221         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3223         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3225         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
3226         stack element after fxtract.
3228         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
3229         implementation for atan2 function.
3231         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3232         _SVID_ mode when acos, asin, atan2, log, log10 is called with
3233         argument out of range.
3234         Add new error case for pow(+0,neg).
3236         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3237         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3238         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3240         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3241         long double type.
3243         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3244         in SVID mode.
3245         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3246         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3248         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3249         or -0.
3250         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3251         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3253         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3255         * sysdeps/stub/fcntlbits.h: Update copyright.
3256         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3257         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3258         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3259         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3260         * sysdeps/unix/common/fcntlbits.h: Likewise.
3261         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3262         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3263         and FNDELAY.
3264         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3266         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3267         only reclen bytes.
3269         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3270         and O_NORW.
3271         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3273         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3275         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3276         struct stat to user-level form.
3277         * sysdeps/unix/sysv/linux/lxstat: New file.
3278         * sysdeps/unix/sysv/linux/xstat: New file.
3279         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3280         kernel.
3281         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3282         to use prescribed types for elements.
3283         (_STAT_VER): Change to value 3.
3284         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3285         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3286         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3288         * time/Makefile: Correct dependencies for test-tz.
3290         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3292 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3294         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3295         kernel header.
3296         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3298 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3300         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3301         without testing for last_bfp to be NULL.
3302         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3304 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3306         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3307         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3309 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3311         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3312         functions.  Compare result for correct address type.
3313         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3314         * nss/nss_files/files-hosts.c: Likewise.
3315         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3317 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3319         * time/strptime.c (recursive): Return rp to caller.
3320         (strptime_internal): First check for long names, then abbreviated
3321         (month & weekday).
3323 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3325         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3326         1900 from year, regardless of century.
3328 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3330         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3331         all numbers unsigned to make buggy gccs happy.
3332         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3334         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3335         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3336         Pretty print header.
3338         * Makerules (build-shlib): Also create symlink if library is versioned.
3339         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3340         Remove special rule to libc.so symlink.
3342 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3344         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3345         return values for acos, asin, and atan2.
3346         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3348 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3350         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3352 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3354         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3355         to pointers to directory entries so that alphasort really can be
3356         used as argument for scandir.
3358 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3360         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3361         instead of strcpy.
3363 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3365         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3366         catalogs, not only if the envvar NLSPATH is not available.
3367         Reported by Andries.Brouwer@cwi.nl.
3369 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3371         * Makeconfig (localtime-file): Don't define using installation
3372         directory.
3373         (inst_localtime-file): New variable.
3374         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3375         Reported by Edward Seidl <seidl@janed.com>.
3377 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3379         * time/Makefile: Add source files to dependencies for test data.
3381 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3383         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3384         * nis/nss_nis/nis-proto.c: Likewise.
3385         * nis/nss_nis/nis-rpc.c: Likewise.
3386         * nis/nss_nis/nis-service.c: Likewise.
3388 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3390         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3391         euidaccess weak alias.
3393 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3395         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3397         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3399 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3401         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3403         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3404         __file_name_split.
3406         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3407         * mach/errstring.c (mach_error_string_int): Likewise.
3408         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3409         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3410         * stdio/vasprintf.c (vasprintf): Likewise.
3412         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3414         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3415         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3416         swtch_pri.
3418         * mach/mach_init.c: Include <mach/mig_support.h>.
3420         * mach/mach_error.h (mach_error_string, mach_error,
3421         mach_error_type): Always provide prototypes.
3423         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3424         appears to be entirely unused dead code.
3426 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3428         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3429         [!__const] (__const): New macro.
3430         [!__error_t_defined] (error_t): New typedef.
3432 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3434         * posix/unistd.h: Add prototype for __euidaccess.
3435         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3436         euidaccess weak alias.
3437         * sysdeps/stub/euidaccess.c: Likewise.
3438         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3440         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3441         binary locale files.  Use LOCALEDIR only.
3442         * locale/programs/locfile.c: When named file not found and not
3443         absolute use path in I18NPATH.
3445         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3446         and AF_FILE as synonym for AF_LOCAL.
3447         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3449         * time/Makefile: Rewrite rules for test to handle parallel builds.
3451 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3453         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3454         robbe@orcus.priv.at.
3456 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3458         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3459         8-byte boundary.
3461 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3463         * elf/link.h: Include <features.h>.
3464         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3466 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3468         Rewrite NIS code to allow empty keys.
3469         * nis/nss_nis/nis-ethers.c: Rewritten.
3470         * nis/nss_nis/nis-proto.c: Rewritten.
3471         * nis/nss_nis/nis-publickey.c: Rewritten.
3472         * nis/nss_nis/nis-rpc.c: Rewritten.
3473         * nis/nss_nis/nis-service.c: Rewritten.
3475 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3477         * time/scheck.c (scheck): Add extra const to second argument.
3479         * time/private.h: Correct prototypes to match definition.
3481 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3483         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3484         switching of UID before opening .rhosts.
3486         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3487         version in GNU awk.
3488         * posix/regex.h: Likewise.
3490         Add regex test suite by Tom Lord.
3491         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3492         (tests): Add runtests.
3493         (before-compile): Add testcases.h.
3494         (testcases.h): New rule to generate header with tests.
3495         * posix/TESTS: New file.
3496         * posix/TESTS2C.sed.: New file.
3497         * posix/runtests.c: New file.
3498         * posix/testcases.h: New file.
3500         * time/ialloc.c: Update from tzcode1997c.
3501         * time/private.h: Likewise.
3502         * time/scheck.c: Likewise.
3503         * time/tzselect.ksh: Likewise.
3504         * time/zdump.c: Likewise.
3505         * time/zic.c: Likewise.
3507         * time/tzfile.c: Pretty print.
3509 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3511         * stdio-common/vfscanf.c: Use __va_copy if available.
3513 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3515         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3516         clean up namespace.
3518 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3520         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3521         kernel-level sigaction structure is different.  handle this
3522         correctly.
3523         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3525 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3527         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3528         recognize cache entries with flag == 3.
3530 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3532         * time/antarctica: Update from tzdata1997c.
3533         * time/asia: Likewise.
3534         * time/zone.tab: Likewise.
3536 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3538         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3539         (fabs): Remove defininition, it is a gcc builtin.
3540         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3542 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3544         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3545         instead to avoid namespace problems.
3546         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3548 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3550         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3551         falling back to select-based implementation if syscall isn't
3552         available.
3553         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3555         * time/leapseconds: Update from tzdata1997b.
3556         * time/zic.c: Update from tzcode1997b.
3558 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3560         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3561         depedencies between installed $(tzlinks) and $(tzbases) files.
3563 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3565         * math/math.h: Make compatible with traditional preprocessor;
3566         requires carefull placement of whitespace in macro arguments.
3567         Use __CONCAT instead of ##.
3568         Declare long double functions only if __STDC__ or __GNUC__.
3569         * math/mathcall.h: Avoid whitespace before argument of macro call
3570         that is used as function name.
3572         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3573         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3574         of __NO_M81_MATH_INLINES.
3575         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3576         starting with __ieee754.
3577         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3578         functions as inlines.
3579         (__m81_defun): Put __attribute__ between return type and function
3580         name.
3581         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3582         is defined.
3583         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3584         instead of __NO_M81_MATH_INLINES.
3585         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3586         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3587         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3588         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3589         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3590         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3591         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3592         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3593         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3594         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3596 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3598         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3599         so that clearing second word is necessary.
3601         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3602         header since it is wrong for 64 bit systems.
3603         Patch by a sun <asun@zoology.washington.edu>.
3605 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3607         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3608         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3609         for the benefit of running foreign binaries.
3611 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3613         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3614         * manual/xtract-typefun.awk: New file.  Script to extract function,
3615         variable, macro anchor to put into the `dir' file.
3617         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3618         exponent before comparing.
3620 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3622         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3623         prototypes to use types with explicit width.  `unsigned long' is
3624         different on 64 bit systems.
3625         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3626         * sysdeps/generic/htonl.c: Likewise.
3627         * sysdeps/generic/htons.c: Likewise.
3628         * sysdeps/generic/ntohl.c: Likewise.
3629         * sysdeps/generic/ntohs.c: Likewise.
3630         Suggested by a sun <asun@zoology.washington.edu>.
3632 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3634         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3635         defined and we want optimization.
3637 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3639         * misc/getpass.c: Don't disable canonical input.
3640         Reverted patch of Mon Jan  6 01:35:29 1997.
3642 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3644         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3645         match the hidden __in_chrg parameter of the destructor.
3646         (_IO_FINISH): Pass zero for it.
3647         * libio/genops.c (_IO_default_finish): Add second parameter, which
3648         is ignored.
3649         * libio/memstream.c (_IO_mem_finish): Likewise.
3650         * libio/fileops.c (_IO_file_finish): Likewise.
3651         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3653 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3655         * time/Makefile: Avoid using patterns in dependencies.
3657 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3659         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3661 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3663         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3664         word on stack for overflow.
3666 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3668         * malloc/malloc.c (malloc_get_state): New function.
3669         Saves global malloc state to an opaque data structure which
3670         is dynamically allocated in the heap.
3671         * malloc/malloc.c (malloc_set_state): New function.
3672         Restore previously obtained state.
3673         * malloc/malloc.h: Add declaration of malloc_get_state()
3674         and malloc_set_state().
3676 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3678         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3679         position.
3681 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3683         * misc/error.c: Make error and error_at_line weak aliases of
3684         __error and __error_at_line respectively.
3685         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3687 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3689         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3690         time-era-num-entries.
3692 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3694         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3695         to avoid duplicate mail.
3697 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3699         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3700         numeric values.
3702 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3704         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3705         sign in the strtouXX functions.  The results gets simply negated.
3706         * stdlib/tst-strtol.c: Correct tests.
3708 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3710         * math/math.h: Prevent definition of struct exception when using
3711         C++.
3713 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3715         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3716         Reported by Greg McGary.
3718 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3720         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3721         than file_get_translator.
3723         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3724         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3726 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3728         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3729         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3731 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3733         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3734         but ADDR also == 0.
3736         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3737         now instead of a weak extern, as some old programs expect it to be
3738         defined by ld.so.
3740 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3742         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3744         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3745         __hurd_threadvar_stack_offset): Restore initialized versions, so
3746         startup works correctly.
3748         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3750 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3752         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3753         not __mutex_try_lock.
3754         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3755         (tsd_getspecific): Case variable to (void *) before returning.
3757         * hurd/hurdinit.c (__libc_argv): Remove extern.
3758         (__libc_argc): New variable.
3760 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3762         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3763         _HURD_THREADVAR_MALLOC.
3764         * malloc/thread-m.h
3765         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3766         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3767         __mutex_*.
3768         (mutex_t): Type removed & replaced by new macro.
3769         (tsd_key_t): Typedef to int instead of pthread_key_t.
3770         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3771         (__pthread_initialize): New macro, work around assumption of pthreads.
3772         (tsd_keys_alloced): New static variable.
3773         <hurd/threadvar.h>: New include.
3775         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3776         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3777         defined before using it.
3779         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3780         Make extern.
3781         * hurd/hurdinit.c (__libc_argv): Make extern.
3783         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3784         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3786         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3787         __hurd_threadvar_stack_offset,
3788         __hurd_threadvar_stack_mask): New variables.
3789         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3790         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3791         New variables (moved here from hurdstartup.c).
3792         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3793         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3794         Variables removed (moved to hurdsig.c).
3795         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3796         __hurd_threadvar_stack_mask): Variables removed.
3797         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3798         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3799         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3800         __hurd_threadvar_stack_mask): Variables removed.
3802 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3804         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3805         Declare extern.
3807         * malloc/thread-m.h
3808         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3809         (mutex_t): Type removed.
3810         (mutex_t): New macro.
3811         (mutex_trylock): New macro.
3812         (__x_mutex_lock, __x_mutex_unlock): New functions.
3813         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3814         the cthread definitions.
3815         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3816         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3817         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3818         (__pthread_initialize): New macro, work around assumption of pthreads.
3820 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3822         * sysdeps/generic/netinet/in.h: Protect contents using
3823         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3825         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3826         * inet/Makefile (headers): Remove net/ethernet.h.
3827         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3828         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3830 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3832         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3833         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3835 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3837         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3839 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3841         * stdio-common/test-fseek.c: Remove temporary file, add
3842         copyright.
3844 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3846         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3847         levels with no non-IGNOREd element and handling of NUL byte.
3848         * string/strcoll.c (STRXFRM): Likewise.
3849         * locale/weight.h: Likewise.
3851         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3853 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3855         * locale/programs/locale.c: Check whether output of `locale -a'
3856         really is locale directory.  Also print locale aliases.
3858 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3860         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3861         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3863 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3865         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3866         additional argument.
3868 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3870         * inet/net/ethernet.h: New file.
3871         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3872         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3873         Contributed by a sun <asun@zoology.washington.edu>.
3875         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3876         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3877         Reported by a sun <asun@zoology.washington.edu>.
3879 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3881         * stdio-common/bug10.c (main): Correct parameter.
3883         * string/strcoll.c: Update copyright.
3885 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3887         * malloc/obstack.h: Add `extern "C"' protection.
3888         * posix/regex.h: Likewise.
3889         * io/ftw.h: Likewise.
3890         * misc/libgen.h: Likewise.
3891         * login/utmp.h: Likewise.
3892         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3893         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3894         * sunrpc/rpc/pmap_rmt.h: Likewise.
3895         * sunrpc/rpc/auth_des.h: Likewise.
3896         * elf/link.h: Likewise.
3897         * inet/netinet/ether.h: Likewise.
3898         Reported by HJ Lu.
3900 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3902         Linux specific network headers.
3903         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3904         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3905         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3906         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3907         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3908         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3909         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3910         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3911         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3912         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3913         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3914         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3915         Add sys/quota.h.
3916         [$(subdir)=inet] (sysdep_headers): Add new network header.
3918         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3919         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3921         * inet/netinet/ip.h: Move to sysdeps/generic.
3923 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3925         * inet/netinet/ip.h: Add protection.
3927 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3929         * misc/sys/syslog.h (prioritynames): Correct definition to use
3930         braces where necessary.
3931         (facilitynames): Likewise.
3932         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3933         Comment and beautify declarations.
3935 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3937         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3938         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3940 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3942         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3943         _nss_nis_gethostton_r.
3944         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3946 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3948         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3949         length of abs_filename.
3951 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3953         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3954         trying to resolv name as numeric IPv6 address.
3955         * nss/digits_dots.c: Likewise.
3957 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3959         * locale/programs/localedef.c: Implement --quiet option.
3960         * locale/programs/charset.h: Declare be_quiet variable.
3961         * locale/programs/locfile.h: Likewise.
3962         * locale/programs/charmap.c: Don't print warnings if quiet option
3963         was given.
3964         * locale/programs/ld-collate.c: Likewise.
3965         * locale/programs/ld-ctype.c: Likewise.
3966         * locale/programs/ld-messages.c: Likewise.
3967         * locale/programs/ld-monetary.c: Likewise.
3968         * locale/programs/ld-numeric.c: Likewise.
3969         * locale/programs/ld-time.c: Likewise.
3970         * locale/programs/locfile.c: Likewise.
3972 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3974         * stdlib/qsort.c: Add prototype for _quicksort.
3976         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3978         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3979         from dl-machine.h.
3981 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3983         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3984         Allow user to overwrite it.
3986 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3988         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3989         versions.  Reported by Andreas Jaeger.
3991 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3993         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3994         1997-02-12.
3996         * time/tzfile.c (__tzfile_read): Change comment to follow
3997         change of 1997-02-12.
3999 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
4001         * time/time.h (__nanosleep): Define only when struct timespec is
4002         also available.
4003         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
4005 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
4007         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
4008         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
4010 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
4012         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
4013         of 1997-02-09 in resolv/gethnamaddr.c.
4015 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
4017         * libio/_G_config.h (_G_wint_t): New.
4019 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4021         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4022         to sizeof (buf.buf) while calling res_search ().
4024 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4026         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4027         val to keydat, stat to status.
4029 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4031         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4033 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
4035         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4036         by Keith Bostic.
4038 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4040         * stdlib/atoll.c: Undefine atoll, not atol.
4042 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4044         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4045         unused arguments of shell script.
4047         * Makeconfig (all-object-suffixes): New variable.
4048         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4049         of $(object-suffixes).
4050         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
4052 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
4054         * locale/weight.h (collate_rules): It's an u_int32_t array.
4055         (get_weight): Compute initial SLOT value correctly.
4057 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
4059         * string/argz-ctsep.c: Initialize *LEN when successful.
4061 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
4063         * version.h (VERSION): Bump to 2.0.2.
4065         * posix/Makefile (routines): Add getopt_init.
4066         * posix/getopt.c: Don't get environment variable with nonoption
4067         flags here.  Depend on __getopt_nonoption_flags variable filled
4068         somewhere else.  This is necessary since the variable must be
4069         removed even when getopt isn't used in case exec(2) gets called.
4070         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
4071         and remove environment variable.
4072         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4073         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4074         * sysdeps/stub/init-first.c: Likewise.
4075         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4077         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4078         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4080         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4081         encryption is wanted.
4083         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4084         * stdio/vsnprintf.c: Likewise.
4085         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4087         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4088         * stdio/vsnprintf.c: Likewise.
4089         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4091 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
4093         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4094         Change PTR to void *.
4095         * sysdeps/posix/vdprintf.c: Change PTR to void *.
4096         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4098 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
4100         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4102 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4104         * rellns-sh: No need to check for existance of first parameter.
4106 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4108         * rellns-sh: No need to check for existance of first parameter.
4110 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4112         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4113         by David Holland <dholland@eecs.harvard.edu>.
4115 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4117         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4118         select, in case it is modified by the latter.
4119         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4120         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4121         * sunrpc/svc_tcp.c (readtcp): Likewise.
4123         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4124         array.
4126         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4127         and gid_t.
4129         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4130         argument.
4132 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4134         * elf/Makefile (extra-objs): Don't zap previous value.
4135         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4136         twice.
4138 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4140         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4141         braindamage (sigh!).
4143 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
4145         * manual/memory.texi: Correct `copystring' example for obstacks.
4147 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
4149         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4150         GNU tr don't grok it.
4152 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4154         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4155         Don't use GNU C extensions.
4156         (CMSG_DATA): Use portable definition.
4158 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4160         * elf/ldd.bash.in: Add test for read permission and print appropriate
4161         message.  Change warning and error messages to print "ldd: " at start.
4162         * elf/ldd.sh.in: Likewise.
4164         * stdlib/Makefile (routines): Add atoll.
4165         * stdlib/atoll.c: New file.
4166         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4168         * stdlib/a64l.c: Update copyright.
4169         * stdlib/abs.c: Likewise.
4170         * stdlib/atof.c: Likewise.
4171         * stdlib/atoi.c: Likewise.
4172         * stdlib/atol.c: Likewise.
4173         * stdlib/bsearch.c: Likewise.
4174         * stdlib/exit.c: Likewise.
4175         * stdlib/fpioconst.c: Likewise.
4176         * stdlib/fpioconst.h: Likewise.
4177         * stdlib/jrand48.c: Likewise.
4178         * stdlib/jrand48_r.c: Likewise.
4179         * stdlib/labs.c: Likewise.
4180         * stdlib/lcong48.c: Likewise.
4181         * stdlib/lcong48_r.c: Likewise.
4182         * stdlib/llabs.c: Likewise.
4183         * stdlib/lrand48.c: Likewise.
4184         * stdlib/lrand48_r.c: Likewise.
4185         * stdlib/mblen.c: Likewise.
4186         * stdlib/mbstowcs.c: Likewise.
4187         * stdlib/mbtowc.c: Likewise.
4188         * stdlib/mp_clz_tab.c: Likewise.
4189         * stdlib/mrand48.c: Likewise.
4190         * stdlib/mrand48_r.c: Likewise.
4191         * stdlib/msort.c: Likewise.
4192         * stdlib/nrand48.c: Likewise.
4193         * stdlib/nrand48_r.c: Likewise.
4194         * stdlib/qsort.c: Likewise.
4195         * stdlib/rpmatch.c: Likewise.
4196         * stdlib/seed48.c: Likewise.
4197         * stdlib/seed48_r.c: Likewise.
4198         * stdlib/srand48.c: Likewise.
4199         * stdlib/srand48_r.c: Likewise.
4200         * stdlib/strtod.c: Likewise.
4201         * stdlib/wcstombs.c: Likewise.
4202         * stdlib/wctomb.c: Likewise.
4204 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4206         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4207         as const.
4209 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4211         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4212         including <stddef.h>.
4214 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4216         * time/Makefile (tzbases, tzlinks): New.
4217         (tzfiles): Changed to $(tzbases) $(tzlinks).
4218         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4220 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4222         * Makefile (install): Ignore error from ldconfig.
4224         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4226 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4228         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4229         like PPC where va_list is no integral type.
4231 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4233         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4234         if nonoption_flags_len == -1.
4236 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4238         * Version 2.0.1 net release.
4240 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4242         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4244 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4246         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4247         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4249 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4251         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4252         values as in yp.x and yp.h.
4254 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4256         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4257         1997-02-03 02:17.  Sun's implementation internally corrects
4258         this bug but we don't want to hide this from the user.
4259         * nis/rpcsvc/yp.h: Likewise.
4261 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4263         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4264         inclusion.
4266 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4268         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4269         fixes.
4271 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4273         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4274         (all-sources, all-headers): Use them instead of $(sources) and
4275         $(headers) when searching in sysdep directories.
4277 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4279         * Makerules (REAL_MAKE_VERSION): Use internal make function
4280         instead of shelling out.
4282 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4284         * time/Makefile (install-test-data): Remove mkdir command, zic can
4285         handle that gracefully.
4287 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4289         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4290         somehow.
4292 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4294         * sunrpc/Makefile: Check $(cross-compiling) only after including
4295         ../Makeconfig.
4296         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4297         being considered as a rule.
4298         (generated): Add stamp files before the inclusion of Makerules to
4299         magically mark them as not being intermediate via the `generated'
4300         target.
4302 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4304         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4305         entries.  This is still no complete implementation since AUXILIARY
4306         entries in other shared objects are not yet handled.
4308         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4309         place.
4311         * po/es.po: Update.
4312         * po/fr.po: Update.
4313         * po/nl.po: Update.
4315         * time/Makefile: Better cross-compile support.  Avoid test which
4316         cannot be run.
4317         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4318         tzfile.h file.
4319         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4320         in SUID programs.
4321         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4322         default values as in tzfile.c.
4324         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4325         tags.
4326         * elf/link.h: Likewise.
4327         * elf/elf.h: Add tag definitions and data structures for versioning.
4329 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4331         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4332         "Sun bug".  This is the order of elements also used by 4.4BSD.
4333         * nis/rpcsvc/yp.h: Likewise.
4334         Reported by HJ Lu.
4336 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4338         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4339         action.
4341         * Makefile (install): Pass installation directories as arguments
4342         to ldconfig.
4344 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4346         * malloc/malloc.c (__after_morecore_hook): New variable.
4347         (malloc_extend_top): Call __after_morecore_hook if set.
4348         (main_trim): Likewise.
4349         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4350         Suggested by Marcus Daniels.
4352 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4354         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4355         #ifndef NO_THREADS.
4356         (mallinfo): Likewise.
4358         * malloc/malloc.c (__morecore): Make external since it is used in
4359         programs.
4361 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4363         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4364         unsigned.
4366 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4368         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4369         use t6 as a temporary; it contains bits we still need in $u_head.
4371 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4373         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4374         using __ prefix.  Add prototype for log1p.
4376 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4378         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4380 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4382         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4384 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4386         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4387         structure plus related macros.
4388         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4389         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4390         (sysdep_routines): Add cmsg_nxthdr.
4391         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4392         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4394 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4396         * time/strftime.c: Define _strftime_copytm without protecting arguments
4397         which breaks the definition.
4399 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4401         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4402         definition of type for element.
4404 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4406         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4407         constants.
4409 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4411         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4412         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4414 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4416         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4417         Define if _LIBC is defined.
4418         <limits.h>: Include if HAVE_LIMITS_H instead of if
4419         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4420         <stdlib.h>: Similarly, include if STDC_HEADERS.
4421         (localtime_r): Redo #ifdef to make it clear that glibc has
4422         localtime_r now.
4424 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4426         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4427         file to avoid unnecessary recompilation.
4429 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4431         * Makefile: Set install-others, not install_others.
4432         (before-compile): Use += to preserve previous value.
4433         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4434         fix dependency name.
4435         ($(objpfx)lib-names.h): Remove rule.
4436         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4437         with correct name, using an intermediate stamp file.
4438         (common-generated): Add gnu/lib-names.h.
4439         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4441 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4443         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4444         to prevent warnings on 64 bit systems.
4445         Reported by Paul Wouters <paul@xtdnet.nl>.
4447         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4448         we assume it works.
4450 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4452         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4453         double word boundary before pushing args for main.  This way we
4454         don't get penalties for misaligned memory accesses.  Reported by
4455         Edward Seidl <seidl@janed.com>.
4457         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4458         Patch by HJ Lu.
4460         * misc/bsd-compat.c: Update copyright.
4461         * misc/efgcvt.c: Likewise.
4462         * misc/efgcvt_r.c: Likewise.
4463         * misc/error.c: Likewise.
4464         * misc/error.h: Likewise.
4465         * misc/fstab.c: Likewise.
4466         * misc/init-misc.c: Likewise.
4467         * misc/lsearch.c: Likewise.
4468         * misc/mntent.c: Likewise.
4469         * misc/qefgcvt.c: Likewise.
4470         * misc/qefgcvt_r.c: Likewise.
4471         * nss/databases.def: Likewise.
4472         * nss/db-Makefile: Likewise.
4473         * nss/ethers-lookup.c: Likewise.
4474         * nss/hosts-lookup.c: Likewise.
4475         * nss/netgrp-lookup.c: Likewise.
4476         * nss/nsswitch.h: Likewise.
4477         * nss/proto-lookup.c: Likewise.
4478         * nss/rpc-lookup.c: Likewise.
4479         * nss/service-lookup.c: Likewise.
4480         * nss/nss_db/db-netgrp.c: Likewise.
4481         * nss/nss_files/files-grp.c: Likewise.
4482         * nss/nss_files/files-hosts.c: Likewise.
4483         * nss/nss_files/files-network.c: Likewise.
4484         * nss/nss_files/files-proto.c: Likewise.
4485         * nss/nss_files/files-pwd.c: Likewise.
4486         * nss/nss_files/files-rpc.c: Likewise.
4487         * nss/nss_files/files-service.c: Likewise.
4488         * nss/nss_files/files-spwd.c: Likewise.
4489         * shadow/fgetspent.c: Likewise.
4490         * shadow/fgetspent_r.c: Likewise.
4491         * shadow/getspent.c: Likewise.
4492         * shadow/getspent_r.c: Likewise.
4493         * shadow/getspnam.c: Likewise.
4494         * shadow/getspnam_r.c: Likewise.
4495         * shadow/putspent.c: Likewise.
4496         * shadow/sgetspent.c: Likewise.
4497         * shadow/sgetspent_r.c: Likewise.
4498         * sysdeps/i386/init-first.c: Likewise.
4499         * sysdeps/unix/i386/sysdep.S: Likewise.
4501         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4502         prepared to be running in a multi-threaded environment.  Change
4503         to __USE_MISC unless the function is defined in POSIX.1 (in this
4504         case also test for __USE_POSIX).
4505         * dirent/dirent.h: Likewise.
4506         * grp/grp.h: Likewise.
4507         * inet/aliases.h: Likewise.
4508         * libio/libio.h: Likewise.
4509         * libio/stdio.h: Likewise.
4510         * login/utmp.h: Likewise.
4511         * math/mathcalls.h: Likewise.
4512         * misc/mntent.h: Likewise.
4513         * pwd/pwd.h: Likewise.
4514         * resolv/netdb.h: Likewise.
4515         * stdlib/stdlib.h: Likewise.
4516         * string/string.h: Likewise.
4517         * sunrpc/rpc/netdb.h: Likewise.
4518         * sysdeps/generic/crypt.h: Likewise.
4519         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4520         * time/time.h: Likewise.
4522 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4524         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4525         only if not cross compiling.
4527 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4529         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4530         NULL.
4531         * sysdeps/posix/sigwait.c: Likewise.
4533 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4535         * Makeconfig ($(common-objpfx)config.make): Depend on
4536         $(..)config.make.in.
4538 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4540         * sunrpc/Makefile: Don't generate headers derived from .x files when
4541         crosscompiling.
4543 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4545         * Makefile: Generate gnu/lib-names.h in before-compile.
4546         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4547         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4548         to the revision found for LIBNSS_FILES_SO.
4549         (nss_initilized): Removed.  It was tested but never set.
4550         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4552         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4553         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4555         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4557 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4559         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4560         override the definition.
4562 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4564         * config.make.in (malloc): Remove.
4566 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4568         * version.h (VERSION): Bump to 2.0.1.
4570         * posix/getopt.c: Handle another problem introduced by the
4571         nonoption_flags array.  We must be able to work with reordered
4572         argv arrays.  Reported by Andreas Schwab.
4574 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4576         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4577         stack.
4579 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4581         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4582         that it works with yp.h.
4584 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4586         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4587         __libc_malloc_initialized so that this variable is not shared with
4588         other users of GNU malloc.
4589         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4591         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4593         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4594         variables to prevent warnings.
4595         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4596         using attribute regparm.
4597         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4598         is changed by the resolver code.
4600 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4602         * malloc/malloc.c (weak_variable): Define.
4603         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4604         __memalign_hook): Make them weak definitions.
4606 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4608         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4609         limits, correctly take structure padding into account, use correct
4610         offset when resetting the stream, change heuristic to assume an
4611         average name length of 14 characters.
4613 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4615         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4616         inclusion.
4619 See ChangeLog.6 for earlier changes.