Update.
[glibc.git] / ChangeLog
blob005c7b1d2315ebc36047ceaf699f42c3c93763db
1 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3         * elf/rtld.c (dl_main): Install link maps for preloaded objects
4         using main_map as loader.
6 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8         * sysdeps/i386/__longjmp.S: Fix race condition.
9         Reported by Bruno Haible <haible@ilog.fr>.
11 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
13         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
14         parsing it.
16         * elf/dl-close.c (_dl_close): Applied changes from 2.1 to correct
17         unmapping.
19 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
21         * elf/rtld.c (_dl_library_path): New variable.  Initialize from
22         LD_LIBRARY_PATH envvar and let user overwrite the value using new
23         --library-path option.
25         * elf/dl-load.c (_dl_map_object): Don't get LD_LIBRARY_PATH
26         envvar, use global variable _dl_library_path.
28         * Makeconfig: Use --library-path option instead of LD_LIBRARY_PATH
29         envvar.
31         * misc/syslog.c (vsyslog): Don't try to send if not connected to
32         syslog daemon.
33         (closelog_internal): Don't do anything if not connected.
35         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
36         flag.
38 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
40         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
41         * manual/filesys/texi: Document this.
43 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
45         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
46         0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
48 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
50         * sysdeps/generic/getresgid.c: Remove stub-tag.h.
51         * sysdeps/generic/getresuid.c: Likewise.
53 1998-03-09 15:42  Ulrich Drepper  <drepper@cygnus.com>
55         * sysdeps/generic/getresgid.c: New file.
56         * sysdeps/generic/getresuid.c: New file.
58 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
60         * sysdeps/unix/sysv/linux/getresgid.c: Fix typo.
61         Patch by Cristian Gafton <gafton@redhat.com>.
63 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
65         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
66         getres[ug]id.
67         * sysdeps/unix/sysv/linux/getresgid.c,
68         sysdeps/unix/sysv/linux/getresuid.c: New files.
69         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
70         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
71         s_getres[gu]id.  Don't mark lchown as extra syscall.
73         * sysdeps/unix/sysv/linux/sparc/socket.S: Allow __socket to be
74         redefined.
76 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
78         * misc/syslog.c (openlog_internal): Follow 2.1 changes to prevent
79         errno being set.
81 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
83         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
84         Linux 2.0 and 2.1.
86         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
88 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
90         * manual/texinfo.tex: Updated.
92 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
94         * manual/maint.texi: Change prep.ai.mit.edu to {ftp}.gnu.org.
96 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
98         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
100 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
102         * elf/ldd.sh.in: Add compatibility for broken old shells.
103         * elf/ldd.bash.in: Likewise.
105 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
107         * sunrpc/rpc/auth.h: More prototype cleanups.
108         * sunrpc/rpc/xdr.h: Likewise.
110 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
112         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
113         module.
115         * nss/getXXent_r.c: If no more module is found don't try to call
116         setXXent functions but leave unsuccessfully.
118 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
120         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
121         and use x for member name.
122         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
124         * stdlib/drand48.c: Change according to member name change.
125         * stdlib/drand48_r.c: Likewise.
126         * stdlib/lcong48_r.c: Likewise.
127         * stdlib/lrand48.c: Likewise.
128         * stdlib/lrand48_r.c: Likewise.
129         * stdlib/mrand48.c: Likewise.
130         * stdlib/mrand48_r.c: Likewise.
131         * stdlib/seed48.c: Likewise.
132         * stdlib/seed48_r.c: Likewise.
133         * stdlib/srand48_r.c: Likewise.
135 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
137         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
138         extra syscall.
140 1998-03-03 23:08  H.J. Lu  <hjl@gnu.org>
142         * misc/efgcvt_r.c: Really update from 2.1.
144 1998-02-07 15:06  H.J. Lu  <hjl@gnu.org>
146         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
148 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
150         * version.h (VERSION): Bump to 2.0.7.
152         * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
153         to open_path.
154         (open_path): If preloading and SUID binary, use shared object only
155         if SUID bit is set.
156         * elf/link.h: Adjust prototype for _dl_map_object.
157         * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
158         new argument.
159         * elf/dl-open.c (_dl_open): Likewise.
160         * elf/rtld.c: Likewise.
162         * Makefile (subdirs): Undo last patch.
164         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
165         for some broken kernel versions.
166         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
167         closing paren.
168         * sysdeps/alpha/dl-machine.h: Add missing opening brace.
169         Patches by Cristian Gafton.
171         * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
172         bugs.
174         * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
175         * sunrpc/rpc/auth.h: Likewise.
176         * sunrpc/rpc/clnt.h: Likewise.
177         * sunrpc/rpc/xdr.h: Likewise.
179         * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
180         * sunrpc/clnt_perror.c: Adopt definition.
182 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
184         * db/Makefile ($(inst_libdir)/libndbm.a,
185         $(inst_libdir)/libndbm.so): New targets.
187 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
189         * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
190         * math/math.h: Likewise.
192 1998-03-02 18:23  H.J. Lu  <hjl@gnu.org>
194         * stdio-common/vfscanf.c (inchar): Fix typos.
196 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
198         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
199         search.
201 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
203         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
205 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
207         * inet/netinet/in.h: Rename second parameter of bindresvport to
208         avoid buggy gcc warning. [PR libc/412]
210 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
212         * dladdr.c (dladdr): Remove duplicate code.
214 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
216         * Makefile (subdirs): Remove login.  It appears in
217         sysdeps/unix/Subdirs.  Reported by Roland McGrath.
219         * configure.in: Fix script for handling $CC containing whitespace.
220         Patch by Roland McGrath.
222         * configure.in: Avoid //s in sysdirs.  Patch by Roland McGrath.
224 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
226         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
227         setting _dl_global_scope for RTLD_GLOBAL.
229 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
231         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
232         that the number of program headers is >0 (which is wrong for the
233         loader itself).
235 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
237         * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
238         but does not require it.  Handle missing argv[] values gracefully.
239         * posix/execle.c: Likewise.
241 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
243         * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
244         input.
246 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
248         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
249         * tst-strtod.c (tests): Add fail case for above.
251         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
252         bootstrapping.  Produce saner error messages.
254         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
255         adjtimex.
256         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
257         asjtime.
258         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
259         syscalls that use 32-bit struct timeval.
260         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
261         Update to 2.1.87 for the benefit of Alpha.
263         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
264         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
266 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
268         * nis/ypclnt.c: Give clnt handle after error checking free, change
269         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
271 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
273         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
274         __fsid_t.  Reported by Gene McCulley <mcculley@iag.net>.
276 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
278         * resolv/gethnamaddr.c (addrsort): Make this function extern.
280 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
282         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
283         _dl_lookup_symbol_skip call.
285 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
287         * wctype/test_wctype.c (TEST): Fix paren nesting.
289 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
291         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
292         int value.
294 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
296         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
297         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
299         * math/math.h: Define M_* constants always as `double' and add new
300         macros M_*l which are of type `long double'.
302 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
304         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
305         starting from 0 not only from `from'.
306         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
308 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
310         * locale/programs/ld-messages.c (messages_finish): Don't skip
311         error checking when being quiet.
312         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
313         (set_class_defaults): Likewise.
314         * locale/programs/charmap.c (parse_charmap): Likewise.
315         * locale/programs/ld-collate.c (collate_finish): Likewise.
316         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
317         * locale/programs/ld-time.c (time_finish): Likewise.
318         * locale/programs/locfile.c (write_locale_data): Likewise.
320         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
321         unknown characters and empty ranges.
322         * locale/programs/ld-collate.c (collate_order_elem): When
323         processing an ellipsis properly form a linked list in the result
324         table, fix typo when allocating ordering array.
325         [PR libc/419]
327 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
329         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
331 1998-02-09  H.J. Lu  <hjl@gnu.org>
333         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
334         bind 4.9.6.
335         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
336         [PR libc/389 and 431]
338 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
340         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
342 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
344         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
345         instead of __mempcpy.  Reported by OKUJI Yoshinori
346         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
348 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
350         * configure.in: Check for working msgfmt version (from GNU gettext
351         0.10 or later).
353 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
355         * configure.in: Check for a working makeinfo (3.11 or better).
356         * config.make.in: Add MAKEINFO to be substituted.
357         * manual/Makefile: Don't update info if makeinfo is too old.
359 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
361         * elf/dladdr.c: Use braces for correct logical grouping.
362         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
364 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
366         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
368 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
370         * manual/Makefile: Don't try to install the info files if makeinfo
371         is not available.
373 1998-01-26  Richard Henderson  <rth@cygnus.com>
375         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
376         kernel 2.1.82 has this fixed.
378 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
380         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
381         name to lowercase.
383         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
384         name to lowercase, add test for big enough buffer.
386 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
388         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
389         Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
391 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
393         * manual/errno.texi (Error Messages): Correct description of
394         strerror_r.  Pointed out by jonas@bagge.se.
396 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
398         * db/makedb.c (main): Add output_name to error message.
400         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
401         Patch by Thorsten Kukuk.
403         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
404         last patch.  Patch by Thorsten Kukuk.
406         * nss/getXXent_r.c: Include <errno.h>
408         * nss/getXXbyYY_r.c: Include <errno.h>.
410 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
412         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
413         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
414         * wctype/wctype.c: Likewise.
415         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
416         changed.  They are incompatible with the _ISxxx values from
417         <ctype.h> on little endian machines.
418         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
419         bit number.  This fixes the real bug and restores the integrity of
420         the LC_CTYPE locale file.
421         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
422         * wctype/wcfuncs_l.c: Likewise.
423         * wctype/wcextra.c: Likewise.
424         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
425         byte swapping.
426         [PR libc/405]
428 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
430         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
431         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
432         Reported by Craig Metz <cmetz@inner.net>.
434         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
436         * signal/signal.h: Always define sigset_t if __need_sigset_h is
437         defined.
439 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
441         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
442         Patch by Dean Gaudet <dgaudet@arctic.org>.
444 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
446         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
447         with hidden variable name.
448         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
450 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
452         * nss/getXXent_r.c: Include <errno.h>
454         * nss/getXXbyYY_r.c: Include <errno.h>.
456 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
458         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
459         is too small.
460         * nss/getXXent_r.c: Likewise.
462 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
464         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
466 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
468         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
469         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
470         [PR libc/441]
472         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
473         occurence in cache. Reported by Rudolf Leitgeb
474         <leitgeb@leland.stanford.edu>.
475         [PR libc/440]
477         * nss/nss_files/files-service.c: Undo last change.
479 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
481         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
482         [PR libc/410]
484 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
486         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
487         zero in alternate form with precision of zero, which must produce
488         "0".  Add braces to avoid ambiguous `else'.
490 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
492         * locale/programs/charset.c (insert_char): Correctly insert value
493         of eliipsis expression.
495 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
497         * stdlib/strfmon.c: Fix numerous bugs in formatting.
499 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
501         * string/strsignal.c: Regard signal number NSIG as illegal.
502         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
503         members.
505 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
507         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
508         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
510 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
512         * nis/ypclnt.c: Try at first to use the binding file from ypbind
513         before using RPC.
515 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
517         * manual/memory.texi (Heap Consistency Checking): mcheck is
518         declared in <mcheck.h>.
519         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
521         * malloc/Makefile (headers): Add mcheck.h.
522         (distribute): Remove mcheck.h.
524 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
526         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
527         beginning of haystack.
529 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
531         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
533 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
535         * login/utmp_file.c (pututline_file): Don't always report success
536         if similar entry is found.  Patch by Mark M. Kettenis.
538 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
540         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
541         kernel's network ioctls, rather than using <linux/sockios.h> to
542         get them.  This way we are sure of maintaining compatibility if
543         the kernel interface should change.
545 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
547         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
549 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
551         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
554 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
556         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
558 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
560         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
561         really kept as a variable.  Patch by Richard Henderson,
562         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
564 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
566         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
567         by uch@nop.or.jp. [PR libc/437]
569 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
571         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
572         prevent use of kernel headers.
573         Patch by Richard Henderson.
575 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
577         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
578         overflow while reading line with fgets.
579         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
581 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
583         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
584         unsigned short, not short.
585         Reported by Andreas Jaeger.
587 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
589         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
590         reading line with fgets.
591         * nis/nss_compat/compat-pwd.c: Likewise.
592         * nis/nss_compat/compat-spwd.c: Likewise.
593         * nss/nss_files/files-XXX.c: Likewise.
594         * nss/nss_files/files-alias.c: Likewise.
595         * shadow/fgetspent_r.c: Likewise.
597 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
599         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
600         Patch by Ulrich Drepper. [PR libc/413]
602 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
604         * nss/db-Makefile: Handle empty and comment lines better.
605         ($(VAR_DB)/services.db): Generate entries with missing protocol
606         value.
608 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
610         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
611         exit of loop.
613 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
615         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
616         (getservbyname): Allow proto == NULL.
617         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
618         [PR libc/430].
620         * string/strerror_r.c (__strerror_r): Fix description of
621         function.
622         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
623         unknown error in presense of small buffer.
624         * sysdeps/generic/_strerror.c: Likewise.
625         Pointed out by Jonas Bagge <jonas@bagge.se>.
627 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
629         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
630         instead of strcasecmp.
631         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
633 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
635         * locale/langinfo.h: Add defines.
636         * dirent/dirent.h: Add defines for DT_*.
638         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
639         _PC_VDISABLE.
640         Suggested by Roland McGrath.
642 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
644         * sysdeps/alpha/w_sqrt.S: Removed.
645         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
646         and build a version that is as fast as possible given the constraint.
647         [PR libc/423].
649 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
651         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
652         handling of enlarging buffers (clear errno).
653         * sunrpc/clnt_simp.c (callrpc): Likewise.
654         * sunrpc/getrpcport.c (getrpcport): Likewise.
655         * sunrpc/clnt_gen.c (clnt_create): Likewise.
656         * shadow/fgetspent.c (fgetspent): Likewise.
657         * shadow/sgetspent.c (sgetspent): Likewise.
658         * pwd/fgetpwent.c (fgetpwent): Likewise.
659         * nss/getXXent.c (GETFUNC_NAME): Likewise.
660         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
661         * inet/rexec.c (rexec): Likewise.
662         * inet/rcmd.c (rcmd): Likewise.
663         (ruserok): Likewise.
664         (__icheckhost): Likewise.
665         * grp/initgroups.c (initgroups): Likewise
666         * grp/fgetgrent.c (fgetgrent): Likewise.
667         Based on patches by Cristian Gafton <gafton@redhat.com>.
669 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
671         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
672         * nss/getXXent_r.c: Likewise.
673         Patches by Cristian Gafton <gafton@redhat.com>.
675 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
677         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
678         terminating null in key size.
680 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
682         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
683         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
684         [PR libc/417].
686         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
687         by Jochen Voss <voss@mathematik.uni-kl.de>.
688         [PR libc/415].
690         * manual/time.texi (Priority): Correct description of
691         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
692         [PR libc/416].
694         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
696 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
698         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
700 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
702         * nss/nss_files/files-service.c: Fix allocation size to include
703         length of PROTO.
705         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
706         applicable.  Fix return value and error checking.
707         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
708         unparsable lines.
709         (DB_LOOKUP): Allocate space for terminating null byte.
710         [PR libc/404]
712         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
713         uids specially.
715         * db2/makedb.c (process_input): Continue processing if a duplicate
716         key is encountered.
718 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
720         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
721         lookups ignoring case.
722         * nss/nss_files/files-network.c: Do network lookups ignoring
723         case.
724         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
725         case.
726         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
727         case insensitive comparing.
728         Patches by Cristian Gafton <gafton@redhat.com>.
730         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
731         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
732         <gafton@redhat.com>.
734 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
736         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
737         by Roland McGrath. [PR libc/395]
739 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
741         * manual/arith.texi (Parsing of Integers): Correct description of
742         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
743         [PR libc/396]
745 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
747         * signals.c (sigwait): Correct loop initilization and end
748         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
750 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
752         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
753         cancelable socket functions as __libc_xxx with __xxx as weak
754         alias.
756         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
757         redefined.
758         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
760         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
761         and __xxx a weak alias.
762         * sysdeps/unix/sysv/linux/connect.S: Likewise.
763         * sysdeps/unix/sysv/linux/recv.S: Likewise.
764         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
765         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
766         * sysdeps/unix/sysv/linux/send.S: Likewise.
767         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
768         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
769         [PR libc/391]
771 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
773         * configure.in: Fix --enable-add-ons code.
775 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
777         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
778         Patch by David Engel <david@sw.ods.com>.
780         * configure.in: Fix another typo in --enable-add-ons code.
782 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
784         * misc/lsearch.c (lsearch): Return a pointer to the new element
785         if one was "allocated".
787 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
789         * string/strsignal.c: Don't zap the last character of the "Unknown
790         signal" message.
792 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
794         * libio/iofgets.c (_IO_fgets): Return an error only if there
795         is a new error.
796         * libio/iogets.c (_IO_gets): Ditto.
798 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
800         * nss/nss_files/files-network.c: Correct order of parameters for
801         getnetbyaddr.
802         (LINE_PARSER): Set n_addrtype to AF_INET.
804 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
806         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
807         and JMP_SLOT see the relocation addend.
809 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
811         * version.h (RELEASE): Set to "production".
813         * po/nl.po: Updated.
814         * po/es.po: Updated.
816         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
818 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
820         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
821         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
823 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
825         * configure.in: Fix typo.  Correct check for available add-ons.
827         * limits.h: Always define MB_LEN_MAX.
829         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
830         * nis/nss_nis/nis-grp.c: Likewise.
831         * nis/nss_nis/nis-hosts.c: Likewise.
832         * nis/nss_nis/nis-network.c: Likewise.
833         * nis/nss_nis/nis-proto.c: Likewise.
834         * nis/nss_nis/nis-pwd.c: Likewise.
835         * nis/nss_nis/nis-rpc.c: Likewise.
836         * nis/nss_nis/nis-service.c: Likewise.
837         * nis/nss_nis/nis-spwd.c: Likewise.
839         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
840         directly.
842         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
844         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
846 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
848         * posix/sched.h: timespec is in <time.h>.
850         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
852 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
854         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
855         Define STREAM_MAX using FOPEN_MAX.
857         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
858         Define as size_t.
859         * locale/programs/locale.c: Use correct cast from pointer value.
861         * misc/regexp.h (compile): Use parameter names without __.
863         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
864         instead of strcpy for security reasons.
865         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
866         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
867         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
868         * sunrpc/clnt_simp.c (callrpc): Likewise.
870         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
871         for map_v4v6_hostent call.
873         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
874         __need_FOPEN_MAX.
875         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
876         __need_FOPEN_MAX.
877         * sysdeps/stub/stdio_lim.h: Likewise.
879         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
880         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
881         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
882         msg_lspid and msg_lrpid field.
883         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
884         shm_lpid field.
886 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
888         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
890 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
892         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
894 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
896         * elf/rtld.c: Don't count in multiply reference object in number
897         of preloaded objects.  [PR libc/375].
899         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
900         shifted correctly.
901         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
902         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
903         Reported by Richard Henderson.
905 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
907         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
908         return code for non existent +name entries.
909         * nis/nss_compat/compat-pwd.c: Likewise.
910         * nis/nss_compat/compat-spwd.c: Likewise.
912 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
914         * posix/glob.c: Update from glibc 2.1.
915         * posix/glob.h: Likewise.
917 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
919         * stdlib/exit.c (exit): Handle recursive calls to exit ().
921 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
923         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
924         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
926 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
928         * configure.in: If --enable-add-ons is given without an
929         argument, set the addons list to all subdirs with a configure
930         script.
932 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
934         * resolv/res_query.c (res_querydomain): Avoid potential buffer
935         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
937 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
939         * glibcbug.in: Add more information of build environment and flags.
941 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
943         * resolv/inet_neta.c (inet_neta): Change type of first parameter
944         to u_int32_t. Suggested by John Lavagnino
945         <John_Lavagnino@Brown.edu> [PR libc/366].
947         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
949         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
951 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
953         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
955 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
957         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
958         variable as well.
960         * locale/C-ctype.c: Correct data for isw* functions.
961         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
962         byte order.
963         * wctype/test_wctype.c: Add test for isw* functions.
964         * wctype/wctype.c: Return value with expected byte order.
966         * sysdeps/alpha/__math.h: Remove cabs definition.
967         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
969         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
971         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
972         __libc_* names.
974         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
975         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
976         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
977         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
978         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
980         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
982         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
984 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
986         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
987         * sysdeps/unix/sysv/linux/send.S: Likewise.
988         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
989         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
990         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
991         * sysdeps/unix/sysv/linux/recv.S: Likewise.
992         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
993         * sysdeps/unix/sysv/linux/connect.S: Likewise.
995 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
997         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
998         handle for /etc/group back in some more cases.
999         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1000         handle for /etc/passwd back in some more cases.
1001         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1002         handle for /etc/shadow back in some more cases.
1004 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1006         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1007         beyound its size.
1008         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1009         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1011 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1013         Alpha changes for EGCS:
1014         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1015         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1016         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1017         (_start): Likewise.
1018         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1020         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
1021         * sysdeps/alpha/__longjmp.S: Likewise.
1022         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1023         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1024         * sysdeps/alpha/jmp_buf.h: Likewise.
1025         * sysdeps/alpha/setjmp.S: Likewise.
1026         * sysdeps/alpha/__longjmp.c: Removed.
1027         * sysdeps/alpha/setjmp_aux.c: Removed.
1029 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1031         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
1032         constants from Linux headers.  Pointed out by
1033         csmall@scooter.o.i.net. [PR libc/369]
1035 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1037         * grp/initgroups.c: Increase buffer if it is too small.
1039 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1041         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
1042         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
1043         [PR libc/367].
1045 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
1047         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1048         __typeof for C++ since this fails for class members.
1049         Reported by Neal Becker <neal@ctd.comsat.com>.
1051 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1053         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
1054         incompatible with Linux 2.1.x. Packages using modules
1055         (e.g. modutils) should/do provide their own version. Suggested by
1056         Richard Henderson.
1058         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
1060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1061         [$(subdir)=socket]: Remove sys/module.h.
1063 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1065         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1066         not shadow the variable in the outer scope. Carry over from glibc 2.1.
1068 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
1070         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
1072 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1074         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1075         return value.
1077 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
1079         * configure.in: Update from 2.1 version.
1080         * glibcbug.in: Likewise.
1081         * manual/maint.texi: Likewise.
1083         * math/mathcalls.c: Remove declaration of infnan and cabs.
1085         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
1087         * manual/errno.texi: Define new Linux errors.
1089         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
1090         and __kernel_rem_pio2{,f,l}.
1092         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
1094         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
1096         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
1098         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
1100         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
1101         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1102         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1104         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
1105         <bits/libc-lock.h>.
1107         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
1108         types in struct cmsghdr.
1110         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
1111         loading of return address.
1113         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
1114         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
1116         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
1118 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1120         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1121         value type to long int.
1122         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1123         types.
1125 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
1127         * sysdeps/posix/writev.c: Correct condition to leave the loop.
1129 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
1131         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
1132         zero isn't enough to determine illegal arguments.
1133         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1134         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1136 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
1138         * sysdeps/libm-i387/e_remainder.S: Pretty print.
1139         * sysdeps/libm-i387/e_remainderf.S: Likewise.
1140         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1142 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1144         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1146 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
1148         * stdlib/stdlib.h: Remove mblen optimization.
1149         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1150         Reported by anderson@metrolink.com.
1152 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1154         * po/Makefile ($(mo-installed)): Don't fail during installation if
1155         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1156         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1158 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1160         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1161         header is used in some others as well for historical reasons.
1163 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1165         * locale/setlocale.c (setname): Only remove old name when it
1166         is for category LC_ALL.
1168 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
1170         * intl/localealias.c (read_alias_file): Correct handling of line
1171         reader which sometimes skipped complete lines (PR 205).
1173 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1175         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1176         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1178         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1179         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1181 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1183         * Makerules (libc.so): Fix typo.
1185         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1186         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1188         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1189         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1191 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1193         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1194         compilers.
1195         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1197         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1198         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1200 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1202         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1203         for NULL.
1204         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1205         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1207         * configure.in: Correct test for bash2.
1208         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1210         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1211         (CFLAGS-locfile.c): Likewise.
1212         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1214         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1215         non-existing entry if the table is full.
1217         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1219 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1221         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1222         Replace revoke call by use of REVOKE.
1223         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1224         empty and #include generic version.
1225         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1227 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1229         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1230         again after successful call.
1231         Patch by Marc Lehmann <pcg@goof.com>.
1233 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
1235         * malloc/thread-m.h: Remove malloc_key-data definition.
1236         Reported by Trevor Johnson <trevor@jpj.net>.
1238 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1240         * manual/filesys.texi (Scanning Directory Content): Document error
1241         case more.
1243         * dirent/scandir.c (scandir): Ignore errors from select function.
1244         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1246 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1248         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1249         * termios/termios.h: Change prototype accordingly.
1251 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1253         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1254         for C++.
1256 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1258         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1259         bugs.
1261 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1263         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1264         2.1 development version  to fix some more severe bugs.
1265         * nis/nss_compat/compat-pwd.c: Likewise.
1266         * nis/nss_compat/compat-spwd.c: Likewise.
1267         * nis/ypclnt.c: Likewise.
1268         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1270         * version.h (VERSION): Bump to 2.0.6.
1272 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1274         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1275         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1277 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1279         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1280         generated by a glob call disable GLOB_ERR since there might be
1281         non-directories in the list (PR203).
1283 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1285         * misc/efgcvt.c: Call correct reentrant functions.
1287 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1289         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1290         timezone variable.
1291         * time/tzset.c (tz_compute): Likewise.
1292         Reported by Erik Troan <ewt@redhat.com>.
1294 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1296         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1297         in all error cases (PR 244).
1299 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1301         * manual/filesys.texi: Correct prototype in readdir_r description.
1302         Reported by Jim Meyering <meyering@eng.ascend.com>.
1304 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1306         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1307         matching of version function if both the general (1) and
1308         glibc-specific (3) entry are present.
1310 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1312         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1313         elements in struct msghdr and struct cmsghdr, to keep in step with
1314         the kernel.
1316 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1318         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1319         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1320         struct and not a pointer.  Little optimizations.
1322 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1324         * intl/loadmsgcat.c (_nl_load_domain):
1325         Fix &&/|| typo when checking file size.
1327 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1329         * time/africa: Update from tzdata1997i.
1331 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1333         * malloc/obstack.h (obstack_empty_p): New macro.
1335 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1337         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1338         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1339         for time_t overflow.
1341 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1343         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1344         type of fw_pcnt and fw_bcnt fields to match kernel.
1345         Patch by a sun <asun@zoology.washington.edu>.
1347 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1349         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1350         Reported by Erik Troan <ewt@redhat.com>.
1352 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1354         Fix gmtime so that it reports leap seconds when TZ
1355         indicates that leap seconds are desired.
1357         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1358         (gmtime): Put after gmtime_r, to help the compiler inline.
1359         (__tz_convert): New decl.
1360         (gmtime_r): Use __tz_convert instead of __offtime,
1361         so that leap seconds are handled correctly.
1363         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1364         are now unnecessary.
1365         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1366         __tzset_lock): Remove extern decls that are now unnecessary.
1367         (localtime_internal): Moved to __tz_convert in tzset.c.
1368         so that localtime and gmtime can both use it easily.
1369         (localtime): Put after localtime_r, to help the compiler inline.
1370         (localtime_r): Use __tz_convert instead of localtime_internal.
1372         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1373         decl.
1375         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1377         * time/tzset.c (<errno.h>): Include.
1378         (_tmbuf): New decl.
1379         (__tzfile_compute): New function.
1380         (tz_compute): Renamed from __tz_compute.  No longer extern.
1381         Remove redundant call to tzset_internal.
1382         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1383         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1384         (__tz_convert): New function, containing functionality of old
1385         localtime_internal function, plus locking and optional UTC.
1387 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1389         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1390         string, just use UTC without leap seconds.  This is for compatibility
1391         with the Olson code.
1393 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1395         * time/tzset.c (__tzname_max): Lock tz data structures before
1396         invoking tzset_internal.
1398         * time/tzfile.c: Define compute_tzname_max statically.
1400 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1402         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1403         __FD_ISSET): Use correct casts to address array correctly.
1404         Reported by urbanw@cs.umu.se.
1406 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1408         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1409         next head.  Reported by baccala@FreeSoft.org.
1411 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1413         * sysdeps/stub/sigaction.c: Fix typo.
1414         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1416 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1418         * catgets/catgets.c (catopen): Correctly determine length of string
1419         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1421 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1423         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1425 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1427         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1428         for descriptors >= 32.
1430         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1431         is used __alloca is not defined to __builtin_alloca and so might
1432         not be available.
1433         Reported by Uwe Ohse <uwe@ohse.de>.
1435         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1436         way if gcc is not used and so dev_t is an array.
1437         Reported by Uwe Ohse <uwe@ohse.de>.
1439         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1440         of sys/cdefs.h.  Pretty print.
1442 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1444         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1445         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1446         with g++ internal symbols.
1447         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1449 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1451         * string/argz.h: Add missing __END_DECLS.
1452         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1454 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1456         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1458         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1460         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1462 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1464         * tzset.c (__tzset_internal): Fix memory leak when the user
1465         specifies a TZ value that uses a default rule file.
1466         Do not assume US DST rules when the user specifies
1467         that there is no DST.
1469 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1471         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1472         they operate on internal kernel structures and have no place in a
1473         user header.
1475 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1477         * sysdeps/mach/libc-lock.h: Fix typo.
1478         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1480 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1482         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1484         * catgets/gencat.c (usage): Fix help text.
1486         Update of UTMP interface.
1487         * login/Makefile (routines): Add utmpname, remove utmp_db.
1488         * login/getutent.c: Rename to __getutent and make getutent a weak
1489         alias.
1490         * login/getutent.c: Rename to __getutid and make getutid a weak
1491         alias.
1492         * login/getutent.c: Rename to __getutline and make getutline a weak
1493         alias.
1494         * login/getutent_r.c: Rewrite to use jump table correctly.
1495         * login/getutid_r.c: Likewise.
1496         * login/getutline_r.c: Likewise.
1497         * login/updwtmp.c: Likewise.
1498         * login/login.c (login): Correct test for result of utmpname.
1499         Use updwtmp instead of implementing this here again.
1500         * login/logout.c (logout): Correct test for result of utmpname
1501         and pututline.  Handle ut_type field correctly if it exists.
1502         * login/utmp-private.h: Update for changed internal functions.
1503         * login/utmp.h: Reformat and correct typos.
1504         * login/utmp_file.c: Rewrite lock handling.
1505         * login/utmpname.c: New file.
1506         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1508         * socket/sys/socket.h (getpeername): Correct type of len argument.
1509         Reported by a sun <asun@zoology.washington.edu>.
1511         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1512         <bits/types.h>.
1513         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1515         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1516         functions.
1518         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1519         cthreads.
1520         * sysdeps/mach/hurd/cthreads.c: New file.
1522 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1524         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1525         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1527 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1529         * login/login.c (login): Check for correct return value of
1530         utmpname.
1532 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1534         * time/tzset.c: Interpret no DST information in user provided time
1535         zone specification as it is meant: no DST.
1536         Patch by Paul Eggert <eggert@twinsun.com>.
1538 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1540         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1541         Add macros for key handling.
1542         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1543         cthreads.
1544         * sysdeps/mach/hurd/cthreads.c: New file.
1545         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1547 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1549         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1551 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1553         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1554         for storage class.
1555         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1557         * login/Makefile (routines): Add updwtmp.
1558         * login/logwtmp.c: Move definition of updwtmp to ...
1559         * login/updwtmp.c: here.  New file.
1561         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1562         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1563         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1565 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1567         * libio/stdfiles.c (_libio_using_thunks): Define if
1568         _G_USING_THUNKS is defined.
1570         * libio/_G_config.h: Moved to
1571         * sysdeps/generic/_G_config.h: ...here.
1573         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1575 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1577         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1578         right place.
1580 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1582         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1583         PC's in long long to avoid overflow.
1585 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1587         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1588         New macros.
1590 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1592         * gmon/gmon.c (_mcleanup): Fix typos.
1594         * gmon/sys/gmon.h: Add prototype for write_profiling.
1596 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1598         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1599         loop, to avoid dragging stdio into the dynamic linker.
1601 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1603         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1604         (_mcleanup): Use write_gmon.
1605         (write_profiling): This function can be safely called at any time
1606         to write a current histogram without interfering with ongoing
1607         profiling.
1609         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1611 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1613         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1614         not be vm_deallocated; it's a stack buffer.
1615         (profil_vm_deallocate): Delete prototype.
1616         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1617         inclusion.
1618         * sysdeps/mach/hurd/Makefile
1619         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1620         this rule.
1622         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1623         from profile_waiter.
1624         (profile_waiter): Use fetch_samples.
1625         (profil): When turning off profiling, fetch the last bunch of
1626         samples before disabling PC sampling.
1627         (fetch_samples): Add prototype.
1629 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1631         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1632         source included by profil.c instead of trying to use
1633         before-compile grot.
1635 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1637         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1638         after releasing lock.  Use special RPC stubs and avoid assert,
1639         thus making this function entirely independent of the threadvar
1640         mechanism and of cthreads.
1641         (lock): Convert to be a spin lock instead of a mutex, so that the
1642         waiter thread need not use cthreads.  Use a fork prepare hook
1643         instead of _hurd_fork_locks to make sure we are clean before
1644         forking.
1645         (fork_profil_child): Renamed from fork_profil.
1646         (profil_reply_port): New variable.
1647         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1648         stubs made by special hacks.
1649         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1650         source files that profil.c needs if we are in the gmon directory.
1652         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1653         cthreads bug that hasn't existed for two years.
1655 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1657         * locale/programs/localedef.c (main): Set bit in avail for those
1658         categories which are successfully read.
1659         * locale/programs/locfile.c (check_all_categories): Don't check
1660         categories if they are not available.
1661         (write_all_categories): Don't write categories if they are not
1662         available.
1664         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1665         getsockopt, setsockopt, accept): Change size argument to type
1666         socklen_t.
1667         Pretty print.
1668         * manual/socket.texi: Describe socklen_t and change prototypes of
1669         socket functions to use socklen_t.
1670         * sysdeps/generic/bits/socket.h: Define socklen_t.
1671         (struct msghdr): Correct types to use socklen_t.
1672         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1673         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1675         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1676         1.0 < x < 8.0.
1677         * stdio-common/tfformat.c: Add new tests for above bug.
1679         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1681         * wcsmbs/Makefile (tests): Add tst-wcstof.
1682         * wcsmbs/tst-wcstof.c: New file.
1683         * wcsmbs/wcstof.c (FLT): Define as FLT.
1685 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1687         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1688         case since the __syscall_ptrace call already did this.
1689         Reported by Philip Gladstone <philip@talon.raptor.com>.
1691 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1693         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1694         <gnu/types.h> to <sys/types.h>.
1696 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1698         * locale/programs/locale.c (print_escaped): New function.
1699         (show_info): Use print_escaped if strings can control unprintable
1700         characters.
1701         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1703 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1705         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1706         dependencies.
1708 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1710         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1711         for stream on input file.
1712         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1713         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1714         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1715         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1716         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1717         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1718         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1719         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1721 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1723         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1724         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1725         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1726         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1728 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1730         * time/africa: Update from tzdata1997g.
1731         * time/asia: Likewise.
1732         * time/australasia: Likewise.
1733         * time/europe: Likewise.
1734         * time/iso3166.tab: Likewise.
1735         * time/zone.tab: Likewise.
1736         * time/private.h: Update from tzcode1997f.
1737         * time/scheck.c: Likewise.
1739 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1741         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1742         Synchronize with malloc/obstack.c.
1744 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1746         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1747         path to install-info for systems like Debian that have an
1748         install-info with a different command line interface from the
1749         canonical GNU texinfo version.
1751 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1753         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1754         * posix/unistd.h: Likewise.
1755         * sysdeps/stub/ttyname_r.c: Likewise.
1757 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1759         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1761         * time/tzfile.c (__tzstring): New decl.
1762         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1763         (__tzfile_default): First two args are now const char *.
1765         * time/tzset.c (__tzstring): New function.
1766         (tz_rule): Name is now const char *.
1767         (struct tzstring_head): New type.
1768         (tzstring_list, tzstring_last_buffer_size): New static vars.
1769         (__tzset_internal): Time zone names are now permanent, not temporary.
1771 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1773         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1774         and && in tests to allow use in C++ code which overloads these
1775         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1777 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1779         * login/login.c (tty_name): Test return value of ttyname_r for !=
1780         0, not < 0.
1781         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1782         0, not >= 0.
1783         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1784         ttyname_r for != 0.
1785         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1787 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1789         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1790         one.
1792         * signal/sigandset.c: Include stddef.h to get NULL defined.
1793         * signal/sigisempty.c: Likewise.
1794         * signal/sigorset.c: Likewise.
1796 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1798         * posix/execvp.c (execvp): Handle ESTALE.
1800 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1802         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1803         before calling _IO_SYSREAD ().
1805 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1807         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1808         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1810 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1812         * io/lockf.c (lockf): Clear fl before using.
1813         Patch by sr@adb.fr.
1815         * libio/strops.c: Correctly handle _IO_write_end.
1817         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1818         panic if setnetgrent wasn't called before, return error.
1819         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1821         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1822         if locally defined.
1823         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1824         if locally defined.
1825         Define tm_diff function as ftime_tm_diff if locally defined.
1826         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1828 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1830         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1831         in cc1.  Cpp in gcc doesn't do it.
1833 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1835         * login/login.c (tty_name): Use newly allocated buffer.
1836         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1838         * time/asctime.c: Never translate week and month name according
1839         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1841 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1843         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1844         setresgid.
1846 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1848         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1849         Reported by a sun.
1851 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1853         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1854         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1856 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1858         * math/math.h: Add warning about use of M_* constants.
1859         Pretty print.
1861 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1863         * locale/programs/locale.c: Correct comment.
1865         * po/ko.po: Update.
1867 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1869         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1871 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1873         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1875         * manual/Makefile (distribute): Add dir.
1876         * manual/dir: New file.
1878 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1880         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1882 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1884         * string/Makefile (routines): Add argz-replace.
1886 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
1888         * string/argz.h (__argz_replace, argz_replace): New declarations.
1889         * string/argz-replace.c: New file.
1891 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1893         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
1894         character read in/put back.
1895         * stdio-common/tstscanf.c: Add test case for this.
1897 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
1899         * manual/Makefile (install): Make sure `dir' file exists if we use
1900         install-info.
1902 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1904         * manual/Makefile (info): Depend on dir-add.info.
1906 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1908         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
1909         * sysdeps/stub/e_acosl.c: Likewise.
1910         * sysdeps/stub/e_asinl.c: Likewise.
1911         * sysdeps/stub/e_atan2l.c: Likewise.
1912         * sysdeps/stub/e_expl.c: Likewise.
1913         * sysdeps/stub/e_fmodl.c: Likewise.
1914         * sysdeps/stub/e_j0l.c: Likewise.
1915         * sysdeps/stub/e_j1l.c: Likewise.
1916         * sysdeps/stub/e_jnl.c: Likewise.
1917         * sysdeps/stub/e_lgammal_r.c: Likewise.
1918         * sysdeps/stub/e_log10l.c: Likewise.
1919         * sysdeps/stub/e_logl.c: Likewise.
1920         * sysdeps/stub/e_powl.c: Likewise.
1921         * sysdeps/stub/e_rem_pio2l.c: Likewise.
1922         * sysdeps/stub/e_sqrtl.c: Likewise.
1923         * sysdeps/stub/k_cosl.c: Likewise.
1924         * sysdeps/stub/k_rem_pio2l.c: Likewise.
1925         * sysdeps/stub/k_sinl.c: Likewise.
1926         * sysdeps/stub/k_tanl.c: Likewise.
1927         * sysdeps/stub/s_atanl.c: Likewise.
1928         * sysdeps/stub/s_erfl.c: Likewise.
1929         * sysdeps/stub/s_expm1l.c: Likewise.
1930         * sysdeps/stub/s_log1pl.c: Likewise.
1932 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
1934         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
1935         01:13:56 1996.
1937 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
1939         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
1940         * sysdeps/libm-i387/s_asinhf.S: Likewise.
1941         * sysdeps/libm-i387/s_asinhl.S: Likewise.
1942         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
1943         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
1944         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
1946 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
1948         * Makefile (manual/dir-add.info): New rule.
1950         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
1951         `unsigned short'.
1953         * manual/Makefile (dir-add.texi): Also emit wrapper text for
1954         info/install-info.
1955         (distribute): Add dir-add.texi and dir-add.info.
1956         (mostlyclean): Add dir-add.info.
1957         (realclean): Add dir-add.texi.
1958         (install): Add entries in `dir' file using install-info.
1960         * manual/libc.texinfo: Add @dircategory and @direntry text.
1961         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
1963 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
1965         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
1966         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
1967         M_SQRT2.
1968         * math/math.h (_Mldbl): Define even if M_* constants are not
1969         defined.
1970         Reported by corsepiu@faw.uni-ulm.de.
1972 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
1974         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
1976 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
1978         * misc/regexp.h (compile): Allow use of macro INIT for variable
1979         declaration.  Add documentation for INIT.
1980         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
1982 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
1984         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
1986 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1988         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
1989         netinet/icmp.h, add netatalk/at.h.
1990         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
1991         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
1993 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
1995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
1997 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
1999         * string/argz-addsep.c: Correct weak alias.
2000         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2002         * locale/setlocale.c (setlocale): Free variable with locale path
2003         before returning.
2004         (setname): Don't test for _nl_current[category] being NULL before
2005         freeing.
2006         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2008 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
2010         * time/Makefile: Make tzselect depend on config.make.
2012 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
2014         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
2015         type to `unsigned long int'.
2016         Patch by Richard Henderson <richard@twiddle.rth.home>.
2018 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2020         * nss/nss_files/files-hosts.c: Delete inclusion of
2021         "../resolv/mapv4v6hostent.h".
2023 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
2025         * libio/libio.h: Define bits for libg++-2.8.
2027 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
2029         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
2030         plan on doing so ever again.  Don't say alpha-linuxecoff is known
2031         to work.
2033         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
2034         will last until I figure out how to build a parallel libm_ieee.
2036         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
2037         FP mode to round to nearest, no exceptions as for Intel.
2038         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
2039         (rdfpcr): Use excb rather than trapb.  Be more efficient about
2040         getting at the fpcr.
2041         (wrfpcr): Likewise.
2042         (__setfpucw): Reformat.
2044         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
2045         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2046         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
2047         sure the stack frame is released the very instruction before the
2048         real jump out.
2049         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2050         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2052         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
2053         have gotten from <linux/posix_types.h>.
2055         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
2057 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2059         * Makefile (manual/dir-add.texi): Force execution.
2061 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2063         * stdlib/strfmon.c: Don't run past EOS after `='.
2065 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
2067         Update resolver code to bind-4.9.6-T1A.
2068         * resolv/Banner: Update.
2069         * nss/digits_dots.c: Adapt text address matching to T1A.
2070         * nss/nss_files/files-hosts.c: Always use inet_pton.
2071         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
2072         it would lead to warnings.
2073         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
2074         at several places.
2075         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
2076         * resolv/res_comp.c (dn_expand): Check for overflow.
2077         (dn_comp): Likewise.
2078         * resolv/res_debug.c (precsize_aton): Better implementation.
2079         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
2080         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
2081         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
2082         length at several places.
2084 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2086         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
2087         time_t.
2089         * login/pty.h: Include <ioctl-types.h> for definition of struct
2090         winsize.
2092 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
2094         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
2095         number to four digits and to representable range for 4 byte time_t
2096         values.
2097         Patch by H.J. Lu <hjl@lucon.org>.
2099 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
2101         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2102         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2103         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2105 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
2107         * login/login.c (tty_name): Use newly allocated buffer.
2108         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2110         * time/asctime.c: Never translate week and month name according
2111         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
2113 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2115         * hurd/hurdsig.c: Include <hurd/id.h>.
2116         (reauth_proc): Call proc_setowner appropriately too.
2118 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2120         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
2121         correct value for _POSIX_VDISABLE.
2123 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2125         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
2127         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
2129 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
2131         * Net release 2.0.4.
2133 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
2135         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
2136         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
2137         environments in which linking is not possible at configure time
2138         (since te libc is just build).
2139         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2141 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
2143         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2144         state array only at right place.
2145         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2147         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2148         [0.5,1.0) but really in [0.0, 1.0).
2149         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2151 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
2153         * sysdeps/i386/elf/start.S: Change local label "nofini"
2154         to ".Lnofini".
2156         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2158 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
2160         * time/zic.c: Update from tzcode1997e.
2162         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2163         are not defined.
2165 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
2167         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2168         monstartup.
2170 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
2172         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2173         values.
2174         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2176         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2177         u_long.
2179 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
2181         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2182         not looking at the new thread-safe .plt, don't be lazy about relocs.
2183         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2184         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2185         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2186         elf_machine_runtime_setup() decide if we can actually be lazy.
2187         * elf/rtld.c (_dl_start): So don't call it.
2188         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2189         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2190         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2191         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2192         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2193         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2194         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2195         skeleton definition.
2197 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
2199         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2200         stack by fxtract.
2202 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2204         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2205         warning.
2207         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2208         of USHRT_MAX.
2210         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2212 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
2214         * version.h (VERSION): Bump to 2.0.4.
2216         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2217         and for Linux ld.so.
2218         * login/Makefile (libutil.so): Likewise.
2219         * math/Makefile (libm.so): Likewise.
2220         * md5-crypt/Makefile (libcrypt.so): Likewise.
2221         * nis/Makefile (libnss_%.so): Likewise.
2222         * resolv/Makefile (libnss_dns.so): Likewise.
2224 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2226         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2227         workaround.
2229 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
2231         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2233         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
2234         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2235         Reported by Ian Taylor <ian@cygnus.com>.
2237         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2239         * po/de.po: Updated.
2241         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2243         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2245 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2247         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2248         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2250 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2252         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2253         msg_add_auth was overflowing it.
2255 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2257         * time/sys/time.h: Make second argument of setitimer const.
2258         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2259         * sysdeps/stub/setitimer.c: Likewise.
2260         * sysdeps/mach/hurd/setitimer.c: Likewise.
2262 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2264         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2265         when we can't find the symbol.
2267 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2269         * posix/regex.c: Fix handling of 32-bit Windog environments.
2270         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2272 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2274         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2276 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2278         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2280 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2282         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2284 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2286         * sys/ttydefaults.h: Removed.
2288 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2290         * termios/sys/ttydefaults.h: Delete file.
2291         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2292         TTYDEF_OFLAG.
2293         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2294         XTABS in TTYDEF_OFLAG.
2295         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2296         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2298 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2300         * posix/TESTS: Add some more tests for character class matching.
2301         * posix/regex.c: Merge with GNU awk version.
2302         (regex_compile): Use ISO C/amend 1 functions for character class
2303         handling.
2304         * posix/regex.h: Merge with GNU awk version.
2306         * posix/getopt.c: Declare as master copies.
2307         * posix/getopt1.c: Likewise.
2308         * posix/getopt.h: Likewise.
2310         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2311         value to mount functions.
2312         Patch by a sun <asun@zoology.washington.edu>.
2314 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2316         * sunrpc/svc_run.c (svc_exit): New, defined.
2317         (svc_run): Test for svc_stop variable.
2318         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2320 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2322         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2324         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2325         NaN.  Fix test for sign of infinite y.
2327         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2329         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2331 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2333         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2334         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2336 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2338         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2339         kernel can return negative values.  Only fail when return value is
2340         in range in range which is never returned as valid address.
2341         Patch by Bruno Haible <haible@ilog.fr>.
2343 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2345         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2346         case.
2348         * time/strftime.c (add): Respect `0' padding flag.
2349         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2351 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2353         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2354         will preserve non-call-saved registers; save and restore a0 across
2355         the system call.
2356         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2357         data onto the new thread's stack.
2359 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2361         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2362         * config.make.in: Set cross-compiling from configure result.
2363         * configure.in: Emit definition of `cross_compiling'.
2364         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2366 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2368         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2369         * sysdeps/libm-i387/e_pow.S: Likewise.
2370         * sysdeps/libm-i387/e_powl.S: Likewise.
2372 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2374         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2375         obstack_chunkfun, obstack_freefun): Fix casts.
2377 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2379         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2380         not <netinet/icmp.h>.
2381         * inet/netinet/tcp.h: Move to...
2382         * sysdeps/generic/netinet/tcp.h: ...here.
2383         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2385 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2387         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2388         to command line of compiler.
2389         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2391         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2392         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2394         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2395         in declaration.
2396         Patch by Michael Widenius <monty@tcx.se>.
2398         * time/strptime.c (strptime_internal): Fix %I format specifier
2399         being off by one.
2400         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2402 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2404         * Net release 2.0.3.
2406 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2408         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2409         * stdlib/srand48_r.c: Likewise.
2411 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2413         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2414         fpclassify & friends, and complex number operations.
2415         Update various other math functions for ISO C 9X.
2416         * manual/math.texi: Update various entries for ISO C 9X.
2417         Add description for complex number functions.
2418         Add description of rand48 function family.
2419         * manual/string.h: Add description of a64l and l64a.
2421         * math/cmathcalls.h: Fix typo.
2423         * stdlib/a64l.c: Pretty printing.
2425         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2426         * stdlib/srand48_r.c: Likewise.
2428 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2430         * rellns-sh: Handle files in the same directory correctly.
2432 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2434         * csu/initfini.c: Place ALIGN instruction at correct positions.
2435         Patch by Richard Henderson <richard@twiddle.rth.home>.
2437 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2439         * Make-dist: Don't automatically ignore .c files if .S or .s files
2440         are ignored.
2442         * csu/Makefile (distribute): Add defs.awk.
2444 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2446         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2447         * sysdeps/stub/shmdt.c: Likewise.
2448         Reported by Thomas Bushnell, n/BSG.
2450 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2452         * sysdeps/unix/sysv/linux/Dist: Rename
2453         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2454         Remove sysdeps/sysv/linux/netinet/icmp.h.
2456         * login/utmp.h: Add prototype for updwtmp.
2457         * login/logwtmp.c: Add new function updwtmp which allows to write
2458         a complete record to the wtmp file.
2459         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2461 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2463         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2464         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2466 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2468         * csu/initfini.c: Rewrite by Zack Weinberg
2469         <zack@rabi.phys.columbia.edu>.
2470         * csu/Makefile: Add rules for rewrite.
2471         * csu/defs.awk: Helper script to generate derived header.
2473 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2475         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2477 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2479         * sysdeps/generic/Dist: Remove old math implementation files.
2480         * sysdeps/generic/mathimpl.h: Removed.
2481         * sysdeps/generic/trig.h: Removed.
2482         * sysdeps/generic/sincos.c: Removed.
2483         * sysdeps/generic/asincos.c: Removed.
2484         * sysdeps/generic/exp__E.c: Removed.
2485         * sysdeps/generic/log__L.c: Removed.
2487 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2489         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2490         add fast check whether the heap containing top can go away.
2492 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2494         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2495         failing to allocate a new chunk, also try the main_arena.  It may
2496         be that we are only running out of mmapped regions, and other
2497         arenas cannot be enlarged sufficiently.
2498         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2499         i.e. only in new_heap().
2501 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2503         * time/strftime.c (memset_space): Increment pointer.
2504         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2505         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2507 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2509         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2511         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2512         63 bits.
2513         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2515         * po/pl.po: Updated.
2517         * string/swab.c: Correctly handle array of odd length.
2519         * manual/string.texi: Correct prototype in memmem documentation.
2521 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2523         * manual/Makefile (dir-add.texi): Simplify.
2525 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2527         * rellns-sh: Rewrite to work also in presence of symlinks.
2529         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2530         Reported by Greg McGary <gkm@eng.ascend.com>.
2532         * manual/libc.texinfo: Update malloc documentation for new malloc.
2533         * manual/memory.texi: Likewise.
2534         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2536         * stdlib/erand48_r.c (erand48_r): Build double value using
2537         ieee754_double union and use random bits in different order to
2538         increase effect of seed.
2539         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2541 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2543         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2544         a read-only stream.
2546 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2548         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2549         in correct place.
2550         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2552 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2554         * posix/getopt.c (_getopt_initialize): Preserve optind.
2555         (_getopt_internal): Set optind to 1 if optind == 0 before
2556         calling _getopt_initialize ().
2558 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2560         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2561         on a read-only stream.
2563         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2564         (ut_time): Define it only if _NO_UT_TIME is not defined.
2566 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2568         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2569         get definition of sa_family_t for <linux/atalk.h>.
2570         Reported by a sun <asun@zoology.washington.edu>.
2572         * malloc/malloc.c (cALLOc): Little optimization.
2574 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2576         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2577         headers but instead add comments and parameter names.
2578         Don't use BSD specific types in prototypes.
2580         * manual/nss.texi: Correct a few typos and errors.
2582 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2584         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2585         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2587         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2588         TAB3, if one of them is defined.
2590 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2592         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2594 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2596         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2597         clearenv a weak alias.
2599         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2600         of type clashes.  Add all definitions here.
2602         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2603         to XPG4.2.
2604         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2605         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2607         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2609         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2610         use of kernel types.
2612 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2614         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2615         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2617 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2619         * Makeconfig (all): Make sure this is always the default goal.
2621 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2623         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2624         Don't include <endian.h>.
2626 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2627         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2628         Don't include <endian.h>.
2630 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2632         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2634 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2636         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2637         compiler.
2639 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2641         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2642         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2644 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2646         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2647         by 31 positions to get 0/1 result.
2648         Patch by Joe Keane <jgk@jgk.org>.
2650 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2652         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2653         to prevent from ld linking in getopt.o even if there is another
2654         incompatible one.
2656         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2658 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2660         * Makerules (depfiles): Remove $(test-srcs).
2662 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2664         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2665         on a read-only stream.
2667         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2668         (ut_time): Define it only if _NO_UT_TIME is not defined.
2670 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2672         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2673         typo.
2675 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2677         * Makefile: Add rule to easily generate dir-add.texi file.
2678         * manual/Makefile: Likewise.
2680 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2682         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2683         (sysdep_headers): Remove netinet/icmp.h.
2685 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2687         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2688         adjustment if the underlying function say it is too small.
2689         * pwd/fgetpwent.c: Likewise.
2690         * shadow/fgetspent.c: Likewise.
2691         * shadow/sgetspent.c: Likewise.
2693         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2694         this means there was not enough room for the gr_mem array.
2696         * nss/nss_files/files-XXX.c: Leave loop and return error if
2697         `parse_result' returns -1.
2699         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2700         of trailing list fails because of low memory.
2701         (parse_list): Rewrite.  The logic was completly incorrect since
2702         the checks for overflowing the array were not executed when
2703         needed.
2705         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2706         signals success.
2708         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2709         * nss/getXXent.c: Likewise.
2711 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2713         * manual/errno.texi: Add description of strerror_r.
2715 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2717         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2719 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2721         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2723 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2725         * stdlib/stdlib.h: Declare __clearenv.
2727 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2729         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2730         the last change.
2732 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2734         * configure.in: Call AC_CANONICAL_BUILD before referencing
2735         $build.  Fix test for BUILD_CC.
2737 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2739         * sysdeps/i386/memset.c: Fix typo.
2740         * sysdeps/stub/fchmod.c: Fix typo.
2741         * sysdeps/stub/fchdir.c: Fix typo.
2742         Reported by Fila Kolodny <fila@ibi.com>.
2744         * time/time.h (strftime): Remove __restrict in declaration.
2746 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2748         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2749         syntax for local label.
2750         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2751         binary format.
2752         * sysdeps/i386/addmul_1.S: Likewise.
2753         * sysdeps/i386/lshift.S: Likewise.
2754         * sysdeps/i386/memchr.S: Likewise.
2755         * sysdeps/i386/memcmp.S: Likewise.
2756         * sysdeps/i386/mul_1.S: Likewise.
2757         * sysdeps/i386/rshift.S: Likewise.
2758         * sysdeps/i386/stpcpy.S: Likewise.
2759         * sysdeps/i386/stpncpy.S: Likewise.
2760         * sysdeps/i386/strchr.S: Likewise.
2761         * sysdeps/i386/strcspn.S: Likewise.
2762         * sysdeps/i386/strlen.S: Likewise.
2763         * sysdeps/i386/strpbrk.S: Likewise.
2764         * sysdeps/i386/strrchr.S: Likewise.
2765         * sysdeps/i386/strspn.S: Likewise.
2766         * sysdeps/i386/strtok.S: Likewise.
2767         * sysdeps/i386/sub_n.S: Likewise.
2768         * sysdeps/i386/submul_1.S: Likewise.
2769         * sysdeps/i386/i486/strcat.S: Likewise.
2770         * sysdeps/i386/i486/strlen.S: Likewise.
2771         * sysdeps/i386/i586/add_n.S: Likewise.
2772         * sysdeps/i386/i586/addmul_1.S: Likewise.
2773         * sysdeps/i386/i586/lshift.S: Likewise.
2774         * sysdeps/i386/i586/memset.S: Likewise.
2775         * sysdeps/i386/i586/mul_1.S: Likewise.
2776         * sysdeps/i386/i586/rshift.S: Likewise.
2777         * sysdeps/i386/i586/strchr.S: Likewise.
2778         * sysdeps/i386/i586/strlen.S: Likewise.
2779         * sysdeps/i386/i586/sub_n.S: Likewise.
2780         * sysdeps/i386/i586/submul_1.S: Likewise.
2782         * time/africa: Updated from ADO tzdata1997e.
2783         * time/antarctica: Likewise.
2784         * time/asia: Likewise.
2785         * time/australasia: Likewise.
2786         * time/europe: Likewise.
2787         * time/northamerica: Likewise.
2788         * time/southamerica: Likewise.
2789         * time/private.h: Updated from ADO tzcode1997d.
2790         * time/scheck.c: Likewise.
2792 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2794         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2795         thread-specific memory in multi-threaded programs.
2797         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2798         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2799         Suggested by a sun <asun@zoology.washington.edu>.
2801 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2803         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2804         of <netinet/icmp.h>.
2805         Patch by a sun <asun@zoology.washington.edu>.
2807 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2809         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2810         before using system.
2811         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2812         before using popen.
2814 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2816         * inet/rexec.c: Make string parameters `const'.
2817         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2818         rresvport.
2820         * posix/glob.h: Add declaration for glob_pattern_p.
2821         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2822         make glob_pattern_p a weak alias.  This function is used in other
2823         packages (e.g. bash).
2825         * signal/Makefile (routines): Add sigisempty, sigandset, and
2826         sigorset.
2827         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2828         sigorset.
2829         * signal/sigisempty.c: New file.
2830         * signal/sigandset.c: New file.
2831         * signal/sigorset.c: New file.
2832         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2833         and __sigorset.
2834         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2836         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2837         ip_icmp.h.  Reported by HJ Lu.
2839 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2841         * grp/grp.h: Include <stddef.h> only once.
2843 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2845         * version.h (VERSION): Bump to 2.0.3.
2847 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2849         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2851 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2853         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2854         is found.
2855         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2857 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2859         * Net release 2.0.2.
2861 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2863         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2864         XTABS.
2865         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2866         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2867         of Sun Dec 15 16:33:44 1996.
2868         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2870 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2872         * Makefile (distribute): Add BUGS.
2874         * sysdeps/generic/machine-gmon.h: Update copyright.
2876         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2877         i386-mcount.
2878         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2879         use regparam mechanism for call of `fixup' call.
2880         * sysdeps/i386/Dist: New file.
2881         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2882         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2883         of gmon definitions.
2885 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2887         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2888         may modify it, use the saved errno everywhere.
2889         * stdlib/tst-strtod.c (main): Likewise.
2891 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2893         * posix/glob.c (glob): Fix completely broken handling of
2894         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2895         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2897 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2899         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2900         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2901         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2902         Reported by Matthis Urlichs.
2904 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2906         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2907         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2908         which clobbers %eax.
2910         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2911         crtbegin.o/crtend.o, using gcc to find them.
2912         (+link): Use them.
2914 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2916         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2917         affect the alignment, and therefore the end padding of the structs.
2918         Reported by David Mosberger <davidm@azstarnet.com>.
2919         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
2920         Use __writev instead of write for the I/O.
2922         * misc/sys/uio.h: Declare __writev and __readv.
2923         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2924         * sysdeps/posix/writev.c: Likewise for writev.
2925         * sysdeps/stub/readv.c: Likewise.
2926         * sysdeps/stub/writev.c: Likewise.
2927         * sysdeps/unix/syscalls.list: Likewise.
2928         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2929         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2931         * stdlib/testdiv.c: Exit with error status when we have an error.
2932         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2933         * sysdeps/alpha/ldiv.S: Likewise.
2935         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2937 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
2939         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
2940         generic prototype.
2942         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
2943         Future releases will have this function.
2944         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2945         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2946         Reported by HJ Lu.
2948 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
2950         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2951         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
2952         `__sigsetjmp' in PIC code.
2953         * sysdeps/i386/bsd-setjmp.S: Likewise.
2955         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2956         overflow.
2957         * sysdeps/libm-i387/e_powf.S: Likewise.
2958         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2959         case since expm1(-0) == -0.
2960         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2961         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2962         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2963         access to FP number.
2964         * sysdeps/libm-ieee754/s_modff.c: Likewise.
2965         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2966         code.  It never worked correctly.
2967         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2968         case since tanh(-0) == -0.
2969         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2970         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2972 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
2974         * time/Makefile: Correct dependencies for test-tz.
2976         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
2977         UIO_FASTIOV and set to 8 if not available.
2978         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2979         Patch by HJ Lu.
2981         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2982         "kernel_stat.h".
2983         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2984         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2985         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2987 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
2989         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2991         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2993         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
2995         * sysdeps/unix/sysv/Dist: Add direct.h.
2997         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2999         * Make-dist ($(tardir).tar): Prefer writing temporary file to
3000         $TMPDIR is available.  The default is /tmp.
3002         * sysdeps/generic/ip.h: Move to...
3003         * sysdeps/generic/netinet/ip.h: ...here.
3005         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3006         is placed in wrong place on the stack.
3007         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3009 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
3011         * time/offtime.c (__offtime): Change type of `yg' to long int.
3012         Reported by a sun <asun@zoology.washington.edu>.
3014 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
3016         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3017         2.2.0 to prevent version mismatch.
3019 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
3021         * Make-dist (srcs): Add $(test-srcs).
3022         * MakeTAGS (all-sources): Likewise.
3023         * Makerules (depfiles, common-mostlyclean): Likewise.
3024         * Rules (tests): Likewise.
3026 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
3028         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3030 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
3032         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3033         protocol=NULL to match any protocol rather than returning an
3034         error.
3036 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
3038         * nss/nss_files/files-service.c (servbyname): Match any protocol
3039         if proto==NULL.
3041 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
3043         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3044         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3045         Proposed by Thomas Bushnell, n/BSG.
3047 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
3049         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3050         the buffer for replacement.
3052 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
3054         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3055         sys_lstat and sys_stat.
3057 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3059         * mach/devstream.c (output/write_some): Don't try and write more
3060         than IO_INBAND_MAX in a single call to device_write_inband.
3062 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
3064         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3065         type is SVID.
3066         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3067         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3069         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3070         FLAGS parameter.
3072 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
3074         * manual/filesys.texi: Add documentation for scandir and alphasort.
3075         * manual/examples/dir2.c: New example for scandir.
3077         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
3078         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
3079         * sysdeps/ieee754/huge_val.h: Remove definition of long double
3080         definition.  Make it the same as the double definition.
3082         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3083         * sysdeps/libm-i387/e_acosf.S: Likewise.
3084         * sysdeps/libm-i387/e_acosl.S: Likewise.
3085         * sysdeps/libm-i387/e_asin.S: Likewise.
3086         * sysdeps/libm-i387/e_asinf.S: Likewise.
3087         * sysdeps/libm-i387/e_asinl.S: Likewise.
3088         * sysdeps/libm-i387/e_exp.S: Likewise.
3089         * sysdeps/libm-i387/e_expf.S: Likewise.
3090         * sysdeps/libm-i387/e_expl.S: Likewise.
3091         * sysdeps/libm-i387/s_scalbn.S: Likewise.
3092         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3093         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3095         * sysdeps/libm-i387/e_log.S: Optimize branch code.
3096         * sysdeps/libm-i387/e_logf.S: Likewise.
3097         * sysdeps/libm-i387/e_logl.S: Likewise.
3098         * sysdeps/libm-i387/e_log10.S: Likewise.
3099         * sysdeps/libm-i387/e_log10f.S: Likewise.
3100         * sysdeps/libm-i387/e_log10l.S: Likewise.
3102         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3103         * sysdeps/libm-i387/e_powf.S: Likewise.
3104         * sysdeps/libm-i387/e_powl.S: Likewise.
3106         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3107         argument to -1.0.
3108         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3109         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3111         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3113         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
3114         stack element after fxtract.
3116         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
3117         implementation for atan2 function.
3119         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3120         _SVID_ mode when acos, asin, atan2, log, log10 is called with
3121         argument out of range.
3122         Add new error case for pow(+0,neg).
3124         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3125         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3126         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3128         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3129         long double type.
3131         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3132         in SVID mode.
3133         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3134         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3136         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3137         or -0.
3138         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3139         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3141         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3143         * sysdeps/stub/fcntlbits.h: Update copyright.
3144         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3145         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3146         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3147         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3148         * sysdeps/unix/common/fcntlbits.h: Likewise.
3149         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3150         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3151         and FNDELAY.
3152         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3154         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3155         only reclen bytes.
3157         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3158         and O_NORW.
3159         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3161         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3163         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3164         struct stat to user-level form.
3165         * sysdeps/unix/sysv/linux/lxstat: New file.
3166         * sysdeps/unix/sysv/linux/xstat: New file.
3167         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3168         kernel.
3169         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3170         to use prescribed types for elements.
3171         (_STAT_VER): Change to value 3.
3172         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3173         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3174         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3176         * time/Makefile: Correct dependencies for test-tz.
3178         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3180 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3182         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3183         kernel header.
3184         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3186 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3188         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3189         without testing for last_bfp to be NULL.
3190         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3192 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3194         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3195         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3197 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3199         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3200         functions.  Compare result for correct address type.
3201         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3202         * nss/nss_files/files-hosts.c: Likewise.
3203         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3205 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3207         * time/strptime.c (recursive): Return rp to caller.
3208         (strptime_internal): First check for long names, then abbreviated
3209         (month & weekday).
3211 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3213         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3214         1900 from year, regardless of century.
3216 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3218         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3219         all numbers unsigned to make buggy gccs happy.
3220         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3222         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3223         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3224         Pretty print header.
3226         * Makerules (build-shlib): Also create symlink if library is versioned.
3227         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3228         Remove special rule to libc.so symlink.
3230 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3232         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3233         return values for acos, asin, and atan2.
3234         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3236 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3238         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3240 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3242         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3243         to pointers to directory entries so that alphasort really can be
3244         used as argument for scandir.
3246 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3248         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3249         instead of strcpy.
3251 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3253         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3254         catalogs, not only if the envvar NLSPATH is not available.
3255         Reported by Andries.Brouwer@cwi.nl.
3257 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3259         * Makeconfig (localtime-file): Don't define using installation
3260         directory.
3261         (inst_localtime-file): New variable.
3262         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3263         Reported by Edward Seidl <seidl@janed.com>.
3265 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3267         * time/Makefile: Add source files to dependencies for test data.
3269 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3271         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3272         * nis/nss_nis/nis-proto.c: Likewise.
3273         * nis/nss_nis/nis-rpc.c: Likewise.
3274         * nis/nss_nis/nis-service.c: Likewise.
3276 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3278         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3279         euidaccess weak alias.
3281 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3283         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3285         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3287 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3289         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3291         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3292         __file_name_split.
3294         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3295         * mach/errstring.c (mach_error_string_int): Likewise.
3296         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3297         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3298         * stdio/vasprintf.c (vasprintf): Likewise.
3300         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3302         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3303         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3304         swtch_pri.
3306         * mach/mach_init.c: Include <mach/mig_support.h>.
3308         * mach/mach_error.h (mach_error_string, mach_error,
3309         mach_error_type): Always provide prototypes.
3311         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3312         appears to be entirely unused dead code.
3314 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3316         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3317         [!__const] (__const): New macro.
3318         [!__error_t_defined] (error_t): New typedef.
3320 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3322         * posix/unistd.h: Add prototype for __euidaccess.
3323         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3324         euidaccess weak alias.
3325         * sysdeps/stub/euidaccess.c: Likewise.
3326         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3328         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3329         binary locale files.  Use LOCALEDIR only.
3330         * locale/programs/locfile.c: When named file not found and not
3331         absolute use path in I18NPATH.
3333         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3334         and AF_FILE as synonym for AF_LOCAL.
3335         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3337         * time/Makefile: Rewrite rules for test to handle parallel builds.
3339 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3341         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3342         robbe@orcus.priv.at.
3344 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3346         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3347         8-byte boundary.
3349 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3351         * elf/link.h: Include <features.h>.
3352         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3354 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3356         Rewrite NIS code to allow empty keys.
3357         * nis/nss_nis/nis-ethers.c: Rewritten.
3358         * nis/nss_nis/nis-proto.c: Rewritten.
3359         * nis/nss_nis/nis-publickey.c: Rewritten.
3360         * nis/nss_nis/nis-rpc.c: Rewritten.
3361         * nis/nss_nis/nis-service.c: Rewritten.
3363 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3365         * time/scheck.c (scheck): Add extra const to second argument.
3367         * time/private.h: Correct prototypes to match definition.
3369 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3371         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3372         switching of UID before opening .rhosts.
3374         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3375         version in GNU awk.
3376         * posix/regex.h: Likewise.
3378         Add regex test suite by Tom Lord.
3379         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3380         (tests): Add runtests.
3381         (before-compile): Add testcases.h.
3382         (testcases.h): New rule to generate header with tests.
3383         * posix/TESTS: New file.
3384         * posix/TESTS2C.sed.: New file.
3385         * posix/runtests.c: New file.
3386         * posix/testcases.h: New file.
3388         * time/ialloc.c: Update from tzcode1997c.
3389         * time/private.h: Likewise.
3390         * time/scheck.c: Likewise.
3391         * time/tzselect.ksh: Likewise.
3392         * time/zdump.c: Likewise.
3393         * time/zic.c: Likewise.
3395         * time/tzfile.c: Pretty print.
3397 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3399         * stdio-common/vfscanf.c: Use __va_copy if available.
3401 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3403         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3404         clean up namespace.
3406 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3408         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3409         kernel-level sigaction structure is different.  handle this
3410         correctly.
3411         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3413 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3415         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3416         recognize cache entries with flag == 3.
3418 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3420         * time/antarctica: Update from tzdata1997c.
3421         * time/asia: Likewise.
3422         * time/zone.tab: Likewise.
3424 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3426         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3427         (fabs): Remove defininition, it is a gcc builtin.
3428         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3430 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3432         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3433         instead to avoid namespace problems.
3434         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3436 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3438         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3439         falling back to select-based implementation if syscall isn't
3440         available.
3441         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3443         * time/leapseconds: Update from tzdata1997b.
3444         * time/zic.c: Update from tzcode1997b.
3446 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3448         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3449         depedencies between installed $(tzlinks) and $(tzbases) files.
3451 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3453         * math/math.h: Make compatible with traditional preprocessor;
3454         requires carefull placement of whitespace in macro arguments.
3455         Use __CONCAT instead of ##.
3456         Declare long double functions only if __STDC__ or __GNUC__.
3457         * math/mathcall.h: Avoid whitespace before argument of macro call
3458         that is used as function name.
3460         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3461         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3462         of __NO_M81_MATH_INLINES.
3463         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3464         starting with __ieee754.
3465         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3466         functions as inlines.
3467         (__m81_defun): Put __attribute__ between return type and function
3468         name.
3469         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3470         is defined.
3471         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3472         instead of __NO_M81_MATH_INLINES.
3473         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3474         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3475         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3476         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3477         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3478         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3479         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3480         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3481         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3482         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3484 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3486         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3487         so that clearing second word is necessary.
3489         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3490         header since it is wrong for 64 bit systems.
3491         Patch by a sun <asun@zoology.washington.edu>.
3493 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3495         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3496         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3497         for the benefit of running foreign binaries.
3499 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3501         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3502         * manual/xtract-typefun.awk: New file.  Script to extract function,
3503         variable, macro anchor to put into the `dir' file.
3505         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3506         exponent before comparing.
3508 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3510         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3511         prototypes to use types with explicit width.  `unsigned long' is
3512         different on 64 bit systems.
3513         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3514         * sysdeps/generic/htonl.c: Likewise.
3515         * sysdeps/generic/htons.c: Likewise.
3516         * sysdeps/generic/ntohl.c: Likewise.
3517         * sysdeps/generic/ntohs.c: Likewise.
3518         Suggested by a sun <asun@zoology.washington.edu>.
3520 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3522         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3523         defined and we want optimization.
3525 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3527         * misc/getpass.c: Don't disable canonical input.
3528         Reverted patch of Mon Jan  6 01:35:29 1997.
3530 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3532         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3533         match the hidden __in_chrg parameter of the destructor.
3534         (_IO_FINISH): Pass zero for it.
3535         * libio/genops.c (_IO_default_finish): Add second parameter, which
3536         is ignored.
3537         * libio/memstream.c (_IO_mem_finish): Likewise.
3538         * libio/fileops.c (_IO_file_finish): Likewise.
3539         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3541 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3543         * time/Makefile: Avoid using patterns in dependencies.
3545 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3547         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3549 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3551         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3552         word on stack for overflow.
3554 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3556         * malloc/malloc.c (malloc_get_state): New function.
3557         Saves global malloc state to an opaque data structure which
3558         is dynamically allocated in the heap.
3559         * malloc/malloc.c (malloc_set_state): New function.
3560         Restore previously obtained state.
3561         * malloc/malloc.h: Add declaration of malloc_get_state()
3562         and malloc_set_state().
3564 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3566         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3567         position.
3569 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3571         * misc/error.c: Make error and error_at_line weak aliases of
3572         __error and __error_at_line respectively.
3573         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3575 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3577         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3578         time-era-num-entries.
3580 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3582         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3583         to avoid duplicate mail.
3585 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3587         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3588         numeric values.
3590 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3592         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3593         sign in the strtouXX functions.  The results gets simply negated.
3594         * stdlib/tst-strtol.c: Correct tests.
3596 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3598         * math/math.h: Prevent definition of struct exception when using
3599         C++.
3601 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3603         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3604         Reported by Greg McGary.
3606 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3608         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3609         than file_get_translator.
3611         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3612         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3614 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3616         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3617         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3619 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3621         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3622         but ADDR also == 0.
3624         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3625         now instead of a weak extern, as some old programs expect it to be
3626         defined by ld.so.
3628 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3630         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3632         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3633         __hurd_threadvar_stack_offset): Restore initialized versions, so
3634         startup works correctly.
3636         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3638 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3640         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3641         not __mutex_try_lock.
3642         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3643         (tsd_getspecific): Case variable to (void *) before returning.
3645         * hurd/hurdinit.c (__libc_argv): Remove extern.
3646         (__libc_argc): New variable.
3648 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3650         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3651         _HURD_THREADVAR_MALLOC.
3652         * malloc/thread-m.h
3653         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3654         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3655         __mutex_*.
3656         (mutex_t): Type removed & replaced by new macro.
3657         (tsd_key_t): Typedef to int instead of pthread_key_t.
3658         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3659         (__pthread_initialize): New macro, work around assumption of pthreads.
3660         (tsd_keys_alloced): New static variable.
3661         <hurd/threadvar.h>: New include.
3663         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3664         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3665         defined before using it.
3667         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3668         Make extern.
3669         * hurd/hurdinit.c (__libc_argv): Make extern.
3671         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3672         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3674         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3675         __hurd_threadvar_stack_offset,
3676         __hurd_threadvar_stack_mask): New variables.
3677         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3678         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3679         New variables (moved here from hurdstartup.c).
3680         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3681         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3682         Variables removed (moved to hurdsig.c).
3683         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3684         __hurd_threadvar_stack_mask): Variables removed.
3685         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3686         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3687         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3688         __hurd_threadvar_stack_mask): Variables removed.
3690 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3692         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3693         Declare extern.
3695         * malloc/thread-m.h
3696         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3697         (mutex_t): Type removed.
3698         (mutex_t): New macro.
3699         (mutex_trylock): New macro.
3700         (__x_mutex_lock, __x_mutex_unlock): New functions.
3701         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3702         the cthread definitions.
3703         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3704         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3705         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3706         (__pthread_initialize): New macro, work around assumption of pthreads.
3708 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3710         * sysdeps/generic/netinet/in.h: Protect contents using
3711         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3713         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3714         * inet/Makefile (headers): Remove net/ethernet.h.
3715         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3716         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3718 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3720         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3721         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3723 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3725         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3727 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3729         * stdio-common/test-fseek.c: Remove temporary file, add
3730         copyright.
3732 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3734         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3735         levels with no non-IGNOREd element and handling of NUL byte.
3736         * string/strcoll.c (STRXFRM): Likewise.
3737         * locale/weight.h: Likewise.
3739         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3741 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3743         * locale/programs/locale.c: Check whether output of `locale -a'
3744         really is locale directory.  Also print locale aliases.
3746 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3748         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3749         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3751 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3753         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3754         additional argument.
3756 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3758         * inet/net/ethernet.h: New file.
3759         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3760         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3761         Contributed by a sun <asun@zoology.washington.edu>.
3763         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3764         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3765         Reported by a sun <asun@zoology.washington.edu>.
3767 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3769         * stdio-common/bug10.c (main): Correct parameter.
3771         * string/strcoll.c: Update copyright.
3773 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3775         * malloc/obstack.h: Add `extern "C"' protection.
3776         * posix/regex.h: Likewise.
3777         * io/ftw.h: Likewise.
3778         * misc/libgen.h: Likewise.
3779         * login/utmp.h: Likewise.
3780         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3781         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3782         * sunrpc/rpc/pmap_rmt.h: Likewise.
3783         * sunrpc/rpc/auth_des.h: Likewise.
3784         * elf/link.h: Likewise.
3785         * inet/netinet/ether.h: Likewise.
3786         Reported by HJ Lu.
3788 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3790         Linux specific network headers.
3791         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3792         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3793         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3794         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3795         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3796         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3797         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3798         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3799         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3800         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3801         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3802         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3803         Add sys/quota.h.
3804         [$(subdir)=inet] (sysdep_headers): Add new network header.
3806         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3807         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3809         * inet/netinet/ip.h: Move to sysdeps/generic.
3811 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3813         * inet/netinet/ip.h: Add protection.
3815 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3817         * misc/sys/syslog.h (prioritynames): Correct definition to use
3818         braces where necessary.
3819         (facilitynames): Likewise.
3820         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3821         Comment and beautify declarations.
3823 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3825         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3826         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3828 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3830         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3831         _nss_nis_gethostton_r.
3832         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3834 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3836         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3837         length of abs_filename.
3839 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3841         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3842         trying to resolv name as numeric IPv6 address.
3843         * nss/digits_dots.c: Likewise.
3845 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3847         * locale/programs/localedef.c: Implement --quiet option.
3848         * locale/programs/charset.h: Declare be_quiet variable.
3849         * locale/programs/locfile.h: Likewise.
3850         * locale/programs/charmap.c: Don't print warnings if quiet option
3851         was given.
3852         * locale/programs/ld-collate.c: Likewise.
3853         * locale/programs/ld-ctype.c: Likewise.
3854         * locale/programs/ld-messages.c: Likewise.
3855         * locale/programs/ld-monetary.c: Likewise.
3856         * locale/programs/ld-numeric.c: Likewise.
3857         * locale/programs/ld-time.c: Likewise.
3858         * locale/programs/locfile.c: Likewise.
3860 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3862         * stdlib/qsort.c: Add prototype for _quicksort.
3864         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3866         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3867         from dl-machine.h.
3869 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3871         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3872         Allow user to overwrite it.
3874 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3876         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3877         versions.  Reported by Andreas Jaeger.
3879 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3881         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3882         1997-02-12.
3884         * time/tzfile.c (__tzfile_read): Change comment to follow
3885         change of 1997-02-12.
3887 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3889         * time/time.h (__nanosleep): Define only when struct timespec is
3890         also available.
3891         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3893 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3895         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3896         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3898 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3900         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3901         of 1997-02-09 in resolv/gethnamaddr.c.
3903 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3905         * libio/_G_config.h (_G_wint_t): New.
3907 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3909         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3910         to sizeof (buf.buf) while calling res_search ().
3912 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3914         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3915         val to keydat, stat to status.
3917 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3919         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3921 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3923         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3924         by Keith Bostic.
3926 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3928         * stdlib/atoll.c: Undefine atoll, not atol.
3930 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3932         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3933         unused arguments of shell script.
3935         * Makeconfig (all-object-suffixes): New variable.
3936         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3937         of $(object-suffixes).
3938         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3940 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3942         * locale/weight.h (collate_rules): It's an u_int32_t array.
3943         (get_weight): Compute initial SLOT value correctly.
3945 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3947         * string/argz-ctsep.c: Initialize *LEN when successful.
3949 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3951         * version.h (VERSION): Bump to 2.0.2.
3953         * posix/Makefile (routines): Add getopt_init.
3954         * posix/getopt.c: Don't get environment variable with nonoption
3955         flags here.  Depend on __getopt_nonoption_flags variable filled
3956         somewhere else.  This is necessary since the variable must be
3957         removed even when getopt isn't used in case exec(2) gets called.
3958         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3959         and remove environment variable.
3960         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3961         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3962         * sysdeps/stub/init-first.c: Likewise.
3963         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3965         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3966         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3968         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3969         encryption is wanted.
3971         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3972         * stdio/vsnprintf.c: Likewise.
3973         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3975         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3976         * stdio/vsnprintf.c: Likewise.
3977         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3979 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3981         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3982         Change PTR to void *.
3983         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3984         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3986 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3988         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3990 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3992         * rellns-sh: No need to check for existance of first parameter.
3994 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3996         * rellns-sh: No need to check for existance of first parameter.
3998 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4000         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4001         by David Holland <dholland@eecs.harvard.edu>.
4003 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4005         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4006         select, in case it is modified by the latter.
4007         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4008         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4009         * sunrpc/svc_tcp.c (readtcp): Likewise.
4011         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4012         array.
4014         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4015         and gid_t.
4017         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4018         argument.
4020 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4022         * elf/Makefile (extra-objs): Don't zap previous value.
4023         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4024         twice.
4026 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4028         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4029         braindamage (sigh!).
4031 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
4033         * manual/memory.texi: Correct `copystring' example for obstacks.
4035 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
4037         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4038         GNU tr don't grok it.
4040 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4042         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4043         Don't use GNU C extensions.
4044         (CMSG_DATA): Use portable definition.
4046 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4048         * elf/ldd.bash.in: Add test for read permission and print appropriate
4049         message.  Change warning and error messages to print "ldd: " at start.
4050         * elf/ldd.sh.in: Likewise.
4052         * stdlib/Makefile (routines): Add atoll.
4053         * stdlib/atoll.c: New file.
4054         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4056         * stdlib/a64l.c: Update copyright.
4057         * stdlib/abs.c: Likewise.
4058         * stdlib/atof.c: Likewise.
4059         * stdlib/atoi.c: Likewise.
4060         * stdlib/atol.c: Likewise.
4061         * stdlib/bsearch.c: Likewise.
4062         * stdlib/exit.c: Likewise.
4063         * stdlib/fpioconst.c: Likewise.
4064         * stdlib/fpioconst.h: Likewise.
4065         * stdlib/jrand48.c: Likewise.
4066         * stdlib/jrand48_r.c: Likewise.
4067         * stdlib/labs.c: Likewise.
4068         * stdlib/lcong48.c: Likewise.
4069         * stdlib/lcong48_r.c: Likewise.
4070         * stdlib/llabs.c: Likewise.
4071         * stdlib/lrand48.c: Likewise.
4072         * stdlib/lrand48_r.c: Likewise.
4073         * stdlib/mblen.c: Likewise.
4074         * stdlib/mbstowcs.c: Likewise.
4075         * stdlib/mbtowc.c: Likewise.
4076         * stdlib/mp_clz_tab.c: Likewise.
4077         * stdlib/mrand48.c: Likewise.
4078         * stdlib/mrand48_r.c: Likewise.
4079         * stdlib/msort.c: Likewise.
4080         * stdlib/nrand48.c: Likewise.
4081         * stdlib/nrand48_r.c: Likewise.
4082         * stdlib/qsort.c: Likewise.
4083         * stdlib/rpmatch.c: Likewise.
4084         * stdlib/seed48.c: Likewise.
4085         * stdlib/seed48_r.c: Likewise.
4086         * stdlib/srand48.c: Likewise.
4087         * stdlib/srand48_r.c: Likewise.
4088         * stdlib/strtod.c: Likewise.
4089         * stdlib/wcstombs.c: Likewise.
4090         * stdlib/wctomb.c: Likewise.
4092 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4094         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4095         as const.
4097 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4099         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4100         including <stddef.h>.
4102 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4104         * time/Makefile (tzbases, tzlinks): New.
4105         (tzfiles): Changed to $(tzbases) $(tzlinks).
4106         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4108 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4110         * Makefile (install): Ignore error from ldconfig.
4112         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4114 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4116         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4117         like PPC where va_list is no integral type.
4119 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4121         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4122         if nonoption_flags_len == -1.
4124 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4126         * Version 2.0.1 net release.
4128 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4130         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4132 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4134         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4135         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4137 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4139         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4140         values as in yp.x and yp.h.
4142 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4144         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4145         1997-02-03 02:17.  Sun's implementation internally corrects
4146         this bug but we don't want to hide this from the user.
4147         * nis/rpcsvc/yp.h: Likewise.
4149 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4151         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4152         inclusion.
4154 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4156         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4157         fixes.
4159 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4161         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4162         (all-sources, all-headers): Use them instead of $(sources) and
4163         $(headers) when searching in sysdep directories.
4165 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4167         * Makerules (REAL_MAKE_VERSION): Use internal make function
4168         instead of shelling out.
4170 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4172         * time/Makefile (install-test-data): Remove mkdir command, zic can
4173         handle that gracefully.
4175 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4177         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4178         somehow.
4180 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4182         * sunrpc/Makefile: Check $(cross-compiling) only after including
4183         ../Makeconfig.
4184         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4185         being considered as a rule.
4186         (generated): Add stamp files before the inclusion of Makerules to
4187         magically mark them as not being intermediate via the `generated'
4188         target.
4190 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4192         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4193         entries.  This is still no complete implementation since AUXILIARY
4194         entries in other shared objects are not yet handled.
4196         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4197         place.
4199         * po/es.po: Update.
4200         * po/fr.po: Update.
4201         * po/nl.po: Update.
4203         * time/Makefile: Better cross-compile support.  Avoid test which
4204         cannot be run.
4205         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4206         tzfile.h file.
4207         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4208         in SUID programs.
4209         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4210         default values as in tzfile.c.
4212         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4213         tags.
4214         * elf/link.h: Likewise.
4215         * elf/elf.h: Add tag definitions and data structures for versioning.
4217 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4219         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4220         "Sun bug".  This is the order of elements also used by 4.4BSD.
4221         * nis/rpcsvc/yp.h: Likewise.
4222         Reported by HJ Lu.
4224 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4226         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4227         action.
4229         * Makefile (install): Pass installation directories as arguments
4230         to ldconfig.
4232 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4234         * malloc/malloc.c (__after_morecore_hook): New variable.
4235         (malloc_extend_top): Call __after_morecore_hook if set.
4236         (main_trim): Likewise.
4237         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4238         Suggested by Marcus Daniels.
4240 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4242         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4243         #ifndef NO_THREADS.
4244         (mallinfo): Likewise.
4246         * malloc/malloc.c (__morecore): Make external since it is used in
4247         programs.
4249 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4251         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4252         unsigned.
4254 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4256         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4257         use t6 as a temporary; it contains bits we still need in $u_head.
4259 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4261         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4262         using __ prefix.  Add prototype for log1p.
4264 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4266         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4268 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4270         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4272 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4274         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4275         structure plus related macros.
4276         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4277         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4278         (sysdep_routines): Add cmsg_nxthdr.
4279         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4280         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4282 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4284         * time/strftime.c: Define _strftime_copytm without protecting arguments
4285         which breaks the definition.
4287 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4289         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4290         definition of type for element.
4292 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4294         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4295         constants.
4297 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4299         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4300         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4302 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4304         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4305         Define if _LIBC is defined.
4306         <limits.h>: Include if HAVE_LIMITS_H instead of if
4307         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4308         <stdlib.h>: Similarly, include if STDC_HEADERS.
4309         (localtime_r): Redo #ifdef to make it clear that glibc has
4310         localtime_r now.
4312 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4314         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4315         file to avoid unnecessary recompilation.
4317 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4319         * Makefile: Set install-others, not install_others.
4320         (before-compile): Use += to preserve previous value.
4321         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4322         fix dependency name.
4323         ($(objpfx)lib-names.h): Remove rule.
4324         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4325         with correct name, using an intermediate stamp file.
4326         (common-generated): Add gnu/lib-names.h.
4327         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4329 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4331         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4332         to prevent warnings on 64 bit systems.
4333         Reported by Paul Wouters <paul@xtdnet.nl>.
4335         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4336         we assume it works.
4338 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4340         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4341         double word boundary before pushing args for main.  This way we
4342         don't get penalties for misaligned memory accesses.  Reported by
4343         Edward Seidl <seidl@janed.com>.
4345         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4346         Patch by HJ Lu.
4348         * misc/bsd-compat.c: Update copyright.
4349         * misc/efgcvt.c: Likewise.
4350         * misc/efgcvt_r.c: Likewise.
4351         * misc/error.c: Likewise.
4352         * misc/error.h: Likewise.
4353         * misc/fstab.c: Likewise.
4354         * misc/init-misc.c: Likewise.
4355         * misc/lsearch.c: Likewise.
4356         * misc/mntent.c: Likewise.
4357         * misc/qefgcvt.c: Likewise.
4358         * misc/qefgcvt_r.c: Likewise.
4359         * nss/databases.def: Likewise.
4360         * nss/db-Makefile: Likewise.
4361         * nss/ethers-lookup.c: Likewise.
4362         * nss/hosts-lookup.c: Likewise.
4363         * nss/netgrp-lookup.c: Likewise.
4364         * nss/nsswitch.h: Likewise.
4365         * nss/proto-lookup.c: Likewise.
4366         * nss/rpc-lookup.c: Likewise.
4367         * nss/service-lookup.c: Likewise.
4368         * nss/nss_db/db-netgrp.c: Likewise.
4369         * nss/nss_files/files-grp.c: Likewise.
4370         * nss/nss_files/files-hosts.c: Likewise.
4371         * nss/nss_files/files-network.c: Likewise.
4372         * nss/nss_files/files-proto.c: Likewise.
4373         * nss/nss_files/files-pwd.c: Likewise.
4374         * nss/nss_files/files-rpc.c: Likewise.
4375         * nss/nss_files/files-service.c: Likewise.
4376         * nss/nss_files/files-spwd.c: Likewise.
4377         * shadow/fgetspent.c: Likewise.
4378         * shadow/fgetspent_r.c: Likewise.
4379         * shadow/getspent.c: Likewise.
4380         * shadow/getspent_r.c: Likewise.
4381         * shadow/getspnam.c: Likewise.
4382         * shadow/getspnam_r.c: Likewise.
4383         * shadow/putspent.c: Likewise.
4384         * shadow/sgetspent.c: Likewise.
4385         * shadow/sgetspent_r.c: Likewise.
4386         * sysdeps/i386/init-first.c: Likewise.
4387         * sysdeps/unix/i386/sysdep.S: Likewise.
4389         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4390         prepared to be running in a multi-threaded environment.  Change
4391         to __USE_MISC unless the function is defined in POSIX.1 (in this
4392         case also test for __USE_POSIX).
4393         * dirent/dirent.h: Likewise.
4394         * grp/grp.h: Likewise.
4395         * inet/aliases.h: Likewise.
4396         * libio/libio.h: Likewise.
4397         * libio/stdio.h: Likewise.
4398         * login/utmp.h: Likewise.
4399         * math/mathcalls.h: Likewise.
4400         * misc/mntent.h: Likewise.
4401         * pwd/pwd.h: Likewise.
4402         * resolv/netdb.h: Likewise.
4403         * stdlib/stdlib.h: Likewise.
4404         * string/string.h: Likewise.
4405         * sunrpc/rpc/netdb.h: Likewise.
4406         * sysdeps/generic/crypt.h: Likewise.
4407         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4408         * time/time.h: Likewise.
4410 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4412         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4413         only if not cross compiling.
4415 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4417         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4418         NULL.
4419         * sysdeps/posix/sigwait.c: Likewise.
4421 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4423         * Makeconfig ($(common-objpfx)config.make): Depend on
4424         $(..)config.make.in.
4426 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4428         * sunrpc/Makefile: Don't generate headers derived from .x files when
4429         crosscompiling.
4431 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4433         * Makefile: Generate gnu/lib-names.h in before-compile.
4434         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4435         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4436         to the revision found for LIBNSS_FILES_SO.
4437         (nss_initilized): Removed.  It was tested but never set.
4438         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4440         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4441         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4443         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4445 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4447         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4448         override the definition.
4450 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4452         * config.make.in (malloc): Remove.
4454 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4456         * version.h (VERSION): Bump to 2.0.1.
4458         * posix/getopt.c: Handle another problem introduced by the
4459         nonoption_flags array.  We must be able to work with reordered
4460         argv arrays.  Reported by Andreas Schwab.
4462 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4464         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4465         stack.
4467 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4469         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4470         that it works with yp.h.
4472 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4474         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4475         __libc_malloc_initialized so that this variable is not shared with
4476         other users of GNU malloc.
4477         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4479         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4481         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4482         variables to prevent warnings.
4483         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4484         using attribute regparm.
4485         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4486         is changed by the resolver code.
4488 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4490         * malloc/malloc.c (weak_variable): Define.
4491         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4492         __memalign_hook): Make them weak definitions.
4494 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4496         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4497         limits, correctly take structure padding into account, use correct
4498         offset when resetting the stream, change heuristic to assume an
4499         average name length of 14 characters.
4501 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4503         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4504         inclusion.
4507 See ChangeLog.6 for earlier changes.