Update.
[glibc.git] / ChangeLog
blob3d5b51cd12670ccc65330cdca96b9e3a890d341b
1 1998-03-03 23:08  H.J. Lu  <hjl@gnu.org>
3         * misc/efgcvt_r.c: Really update from 2.1.
5 1998-02-07 15:06  H.J. Lu  <hjl@gnu.org>
7         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
9 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
11         * version.h (VERSION): Bump to 2.0.7.
13         * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
14         to open_path.
15         (open_path): If preloading and SUID binary, use shared object only
16         if SUID bit is set.
17         * elf/link.h: Adjust prototype for _dl_map_object.
18         * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
19         new argument.
20         * elf/dl-open.c (_dl_open): Likewise.
21         * elf/rtld.c: Likewise.
23         * Makefile (subdirs): Undo last patch.
25         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
26         for some broken kernel versions.
27         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
28         closing paren.
29         * sysdeps/alpha/dl-machine.h: Add missing opening brace.
30         Patches by Cristian Gafton.
32         * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
33         bugs.
35         * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
36         * sunrpc/rpc/auth.h: Likewise.
37         * sunrpc/rpc/clnt.h: Likewise.
38         * sunrpc/rpc/xdr.h: Likewise.
40         * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
41         * sunrpc/clnt_perror.c: Adopt definition.
43 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
45         * db/Makefile ($(inst_libdir)/libndbm.a,
46         $(inst_libdir)/libndbm.so): New targets.
48 1998-03-03  Ulrich Drepper  <drepper@cygnus.com>
50         * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
51         * math/math.h: Likewise.
53 1998-03-02 18:23  H.J. Lu  <hjl@gnu.org>
55         * stdio-common/vfscanf.c (inchar): Fix typos.
57 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
59         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
60         search.
62 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
64         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
66 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
68         * inet/netinet/in.h: Rename second parameter of bindresvport to
69         avoid buggy gcc warning. [PR libc/412]
71 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
73         * dladdr.c (dladdr): Remove duplicate code.
75 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
77         * Makefile (subdirs): Remove login.  It appears in
78         sysdeps/unix/Subdirs.  Reported by Roland McGrath.
80         * configure.in: Fix script for handling $CC containing whitespace.
81         Patch by Roland McGrath.
83         * configure.in: Avoid //s in sysdirs.  Patch by Roland McGrath.
85 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
87         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
88         setting _dl_global_scope for RTLD_GLOBAL.
90 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
92         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
93         that the number of program headers is >0 (which is wrong for the
94         loader itself).
96 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
98         * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
99         but does not require it.  Handle missing argv[] values gracefully.
100         * posix/execle.c: Likewise.
102 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
104         * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
105         input.
107 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
109         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
110         * tst-strtod.c (tests): Add fail case for above.
112         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
113         bootstrapping.  Produce saner error messages.
115         * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
116         adjtimex.
117         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
118         asjtime.
119         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
120         syscalls that use 32-bit struct timeval.
121         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
122         Update to 2.1.87 for the benefit of Alpha.
124         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
125         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
127 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
129         * nis/ypclnt.c: Give clnt handle after error checking free, change
130         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
132 1998-02-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
134         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
135         __fsid_t.  Reported by Gene McCulley <mcculley@iag.net>.
137 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
139         * resolv/gethnamaddr.c (addrsort): Make this function extern.
141 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
143         * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
144         _dl_lookup_symbol_skip call.
146 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
148         * wctype/test_wctype.c (TEST): Fix paren nesting.
150 1998-02-17 16:11  Ulrich Drepper  <drepper@cygnus.com>
152         * sysdeps/generic/selectbits.h: Compare result with 0 to get an
153         int value.
155 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
157         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
158         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
160         * math/math.h: Define M_* constants always as `double' and add new
161         macros M_*l which are of type `long double'.
163 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
165         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
166         starting from 0 not only from `from'.
167         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
169 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
171         * locale/programs/ld-messages.c (messages_finish): Don't skip
172         error checking when being quiet.
173         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
174         (set_class_defaults): Likewise.
175         * locale/programs/charmap.c (parse_charmap): Likewise.
176         * locale/programs/ld-collate.c (collate_finish): Likewise.
177         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
178         * locale/programs/ld-time.c (time_finish): Likewise.
179         * locale/programs/locfile.c (write_locale_data): Likewise.
181         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
182         unknown characters and empty ranges.
183         * locale/programs/ld-collate.c (collate_order_elem): When
184         processing an ellipsis properly form a linked list in the result
185         table, fix typo when allocating ordering array.
186         [PR libc/419]
188 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
190         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
192 1998-02-09  H.J. Lu  <hjl@gnu.org>
194         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
195         bind 4.9.6.
196         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
197         [PR libc/389 and 431]
199 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
201         * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
203 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
205         * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
206         instead of __mempcpy.  Reported by OKUJI Yoshinori
207         <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
209 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
211         * configure.in: Check for working msgfmt version (from GNU gettext
212         0.10 or later).
214 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
216         * configure.in: Check for a working makeinfo (3.11 or better).
217         * config.make.in: Add MAKEINFO to be substituted.
218         * manual/Makefile: Don't update info if makeinfo is too old.
220 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
222         * elf/dladdr.c: Use braces for correct logical grouping.
223         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
225 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
227         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
229 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
231         * manual/Makefile: Don't try to install the info files if makeinfo
232         is not available.
234 1998-01-26  Richard Henderson  <rth@cygnus.com>
236         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
237         kernel 2.1.82 has this fixed.
239 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
241         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
242         name to lowercase.
244         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
245         name to lowercase, add test for big enough buffer.
247 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
249         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
250         Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
252 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
254         * manual/errno.texi (Error Messages): Correct description of
255         strerror_r.  Pointed out by jonas@bagge.se.
257 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
259         * db/makedb.c (main): Add output_name to error message.
261         * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
262         Patch by Thorsten Kukuk.
264         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
265         last patch.  Patch by Thorsten Kukuk.
267         * nss/getXXent_r.c: Include <errno.h>
269         * nss/getXXbyYY_r.c: Include <errno.h>.
271 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
273         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
274         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
275         * wctype/wctype.c: Likewise.
276         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
277         changed.  They are incompatible with the _ISxxx values from
278         <ctype.h> on little endian machines.
279         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
280         bit number.  This fixes the real bug and restores the integrity of
281         the LC_CTYPE locale file.
282         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
283         * wctype/wcfuncs_l.c: Likewise.
284         * wctype/wcextra.c: Likewise.
285         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
286         byte swapping.
287         [PR libc/405]
289 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
291         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
292         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
293         Reported by Craig Metz <cmetz@inner.net>.
295         * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
297         * signal/signal.h: Always define sigset_t if __need_sigset_h is
298         defined.
300 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
302         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
303         Patch by Dean Gaudet <dgaudet@arctic.org>.
305 1998-02-13 17:16  Ulrich Drepper  <drepper@cygnus.com>
307         * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
308         with hidden variable name.
309         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
311 1998-02-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
313         * nss/getXXent_r.c: Include <errno.h>
315         * nss/getXXbyYY_r.c: Include <errno.h>.
317 1998-02-02 00:17  Ulrich Drepper  <drepper@cygnus.com>
319         * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
320         is too small.
321         * nss/getXXent_r.c: Likewise.
323 1998-02-02  Ulrich Drepper  <drepper@cygnus.com>
325         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
327 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
329         * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
330         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
331         [PR libc/441]
333         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
334         occurence in cache. Reported by Rudolf Leitgeb
335         <leitgeb@leland.stanford.edu>.
336         [PR libc/440]
338         * nss/nss_files/files-service.c: Undo last change.
340 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
342         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
343         [PR libc/410]
345 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
347         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
348         zero in alternate form with precision of zero, which must produce
349         "0".  Add braces to avoid ambiguous `else'.
351 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
353         * locale/programs/charset.c (insert_char): Correctly insert value
354         of eliipsis expression.
356 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
358         * stdlib/strfmon.c: Fix numerous bugs in formatting.
360 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
362         * string/strsignal.c: Regard signal number NSIG as illegal.
363         * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
364         members.
366 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
368         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
369         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
371 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
373         * nis/ypclnt.c: Try at first to use the binding file from ypbind
374         before using RPC.
376 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
378         * manual/memory.texi (Heap Consistency Checking): mcheck is
379         declared in <mcheck.h>.
380         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
382         * malloc/Makefile (headers): Add mcheck.h.
383         (distribute): Remove mcheck.h.
385 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
387         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
388         beginning of haystack.
390 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
392         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
394 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
396         * login/utmp_file.c (pututline_file): Don't always report success
397         if similar entry is found.  Patch by Mark M. Kettenis.
399 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
401         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
402         kernel's network ioctls, rather than using <linux/sockios.h> to
403         get them.  This way we are sure of maintaining compatibility if
404         the kernel interface should change.
406 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
408         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
410 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
412         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
415 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
417         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
419 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
421         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
422         really kept as a variable.  Patch by Richard Henderson,
423         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
425 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
427         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
428         by uch@nop.or.jp. [PR libc/437]
430 1998-01-28  Ulrich Drepper  <drepper@cygnus.com>
432         * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
433         prevent use of kernel headers.
434         Patch by Richard Henderson.
436 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
438         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
439         overflow while reading line with fgets.
440         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
442 1998-01-27 00:45  Ulrich Drepper  <drepper@cygnus.com>
444         * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
445         unsigned short, not short.
446         Reported by Andreas Jaeger.
448 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
450         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
451         reading line with fgets.
452         * nis/nss_compat/compat-pwd.c: Likewise.
453         * nis/nss_compat/compat-spwd.c: Likewise.
454         * nss/nss_files/files-XXX.c: Likewise.
455         * nss/nss_files/files-alias.c: Likewise.
456         * shadow/fgetspent_r.c: Likewise.
458 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
460         * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
461         Patch by Ulrich Drepper. [PR libc/413]
463 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
465         * nss/db-Makefile: Handle empty and comment lines better.
466         ($(VAR_DB)/services.db): Generate entries with missing protocol
467         value.
469 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
471         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
472         exit of loop.
474 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
476         * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
477         (getservbyname): Allow proto == NULL.
478         Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
479         [PR libc/430].
481         * string/strerror_r.c (__strerror_r): Fix description of
482         function.
483         * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
484         unknown error in presense of small buffer.
485         * sysdeps/generic/_strerror.c: Likewise.
486         Pointed out by Jonas Bagge <jonas@bagge.se>.
488 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
490         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
491         instead of strcasecmp.
492         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
494 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
496         * locale/langinfo.h: Add defines.
497         * dirent/dirent.h: Add defines for DT_*.
499         * sysdeps/generic/confname.h: Add defines for _CS_PATH and
500         _PC_VDISABLE.
501         Suggested by Roland McGrath.
503 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
505         * sysdeps/alpha/w_sqrt.S: Removed.
506         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
507         and build a version that is as fast as possible given the constraint.
508         [PR libc/423].
510 1998-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
512         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
513         handling of enlarging buffers (clear errno).
514         * sunrpc/clnt_simp.c (callrpc): Likewise.
515         * sunrpc/getrpcport.c (getrpcport): Likewise.
516         * sunrpc/clnt_gen.c (clnt_create): Likewise.
517         * shadow/fgetspent.c (fgetspent): Likewise.
518         * shadow/sgetspent.c (sgetspent): Likewise.
519         * pwd/fgetpwent.c (fgetpwent): Likewise.
520         * nss/getXXent.c (GETFUNC_NAME): Likewise.
521         * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
522         * inet/rexec.c (rexec): Likewise.
523         * inet/rcmd.c (rcmd): Likewise.
524         (ruserok): Likewise.
525         (__icheckhost): Likewise.
526         * grp/initgroups.c (initgroups): Likewise
527         * grp/fgetgrent.c (fgetgrent): Likewise.
528         Based on patches by Cristian Gafton <gafton@redhat.com>.
530 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
532         * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
533         * nss/getXXent_r.c: Likewise.
534         Patches by Cristian Gafton <gafton@redhat.com>.
536 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
538         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
539         terminating null in key size.
541 1998-01-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
543         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
544         wcstombs.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
545         [PR libc/417].
547         * sysdeps/i386/fpu/__math.h: Change sgn to __sgn.  Suggested
548         by Jochen Voss <voss@mathematik.uni-kl.de>.
549         [PR libc/415].
551         * manual/time.texi (Priority): Correct description of
552         PRIO_MAX.  Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
553         [PR libc/416].
555         * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
557 1998-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
559         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
561 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
563         * nss/nss_files/files-service.c: Fix allocation size to include
564         length of PROTO.
566         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
567         applicable.  Fix return value and error checking.
568         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
569         unparsable lines.
570         (DB_LOOKUP): Allocate space for terminating null byte.
571         [PR libc/404]
573         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
574         uids specially.
576         * db2/makedb.c (process_input): Continue processing if a duplicate
577         key is encountered.
579 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
581         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
582         lookups ignoring case.
583         * nss/nss_files/files-network.c: Do network lookups ignoring
584         case.
585         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
586         case.
587         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
588         case insensitive comparing.
589         Patches by Cristian Gafton <gafton@redhat.com>.
591         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
592         2.1 for newer kernels (osf_sigaction).  Suggested by Cristian Gafton
593         <gafton@redhat.com>.
595 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
597         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
598         by Roland McGrath. [PR libc/395]
600 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
602         * manual/arith.texi (Parsing of Integers): Correct description of
603         strtoul.  Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
604         [PR libc/396]
606 1998-01-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
608         * signals.c (sigwait): Correct loop initilization and end
609         test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
611 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
613         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
614         cancelable socket functions as __libc_xxx with __xxx as weak
615         alias.
617         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
618         redefined.
619         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
621         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
622         and __xxx a weak alias.
623         * sysdeps/unix/sysv/linux/connect.S: Likewise.
624         * sysdeps/unix/sysv/linux/recv.S: Likewise.
625         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
626         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
627         * sysdeps/unix/sysv/linux/send.S: Likewise.
628         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
629         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
630         [PR libc/391]
632 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
634         * configure.in: Fix --enable-add-ons code.
636 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
638         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
639         Patch by David Engel <david@sw.ods.com>.
641         * configure.in: Fix another typo in --enable-add-ons code.
643 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
645         * misc/lsearch.c (lsearch): Return a pointer to the new element
646         if one was "allocated".
648 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
650         * string/strsignal.c: Don't zap the last character of the "Unknown
651         signal" message.
653 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
655         * libio/iofgets.c (_IO_fgets): Return an error only if there
656         is a new error.
657         * libio/iogets.c (_IO_gets): Ditto.
659 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
661         * nss/nss_files/files-network.c: Correct order of parameters for
662         getnetbyaddr.
663         (LINE_PARSER): Set n_addrtype to AF_INET.
665 1998-01-25 19:24   Richard Henderson  <rth@cygnus.com>
667         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
668         and JMP_SLOT see the relocation addend.
670 1997-12-28 19:22  Ulrich Drepper  <drepper@cygnus.com>
672         * version.h (RELEASE): Set to "production".
674         * po/nl.po: Updated.
675         * po/es.po: Updated.
677         * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
679 1997-12-28 17:13  Ulrich Drepper  <drepper@cygnus.com>
681         * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
682         Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
684 1997-12-24 22:04  Ulrich Drepper  <drepper@cygnus.com>
686         * configure.in: Fix typo.  Correct check for available add-ons.
688         * limits.h: Always define MB_LEN_MAX.
690         * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
691         * nis/nss_nis/nis-grp.c: Likewise.
692         * nis/nss_nis/nis-hosts.c: Likewise.
693         * nis/nss_nis/nis-network.c: Likewise.
694         * nis/nss_nis/nis-proto.c: Likewise.
695         * nis/nss_nis/nis-pwd.c: Likewise.
696         * nis/nss_nis/nis-rpc.c: Likewise.
697         * nis/nss_nis/nis-service.c: Likewise.
698         * nis/nss_nis/nis-spwd.c: Likewise.
700         * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
701         directly.
703         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
705         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
707 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
709         * posix/sched.h: timespec is in <time.h>.
711         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
713 1997-12-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
715         * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
716         Define STREAM_MAX using FOPEN_MAX.
718         * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
719         Define as size_t.
720         * locale/programs/locale.c: Use correct cast from pointer value.
722         * misc/regexp.h (compile): Use parameter names without __.
724         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
725         instead of strcpy for security reasons.
726         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
727         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
728         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
729         * sunrpc/clnt_simp.c (callrpc): Likewise.
731         * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
732         for map_v4v6_hostent call.
734         * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
735         __need_FOPEN_MAX.
736         * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
737         __need_FOPEN_MAX.
738         * sysdeps/stub/stdio_lim.h: Likewise.
740         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
741         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
742         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
743         msg_lspid and msg_lrpid field.
744         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
745         shm_lpid field.
747 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
749         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
751 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
753         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
755 1997-12-11 18:19  Ulrich Drepper  <drepper@cygnus.com>
757         * elf/rtld.c: Don't count in multiply reference object in number
758         of preloaded objects.  [PR libc/375].
760         * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
761         shifted correctly.
762         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
763         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
764         Reported by Richard Henderson.
766 1997-12-11 12:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
768         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
769         return code for non existent +name entries.
770         * nis/nss_compat/compat-pwd.c: Likewise.
771         * nis/nss_compat/compat-spwd.c: Likewise.
773 1997-12-11 17:40  Ulrich Drepper  <drepper@cygnus.com>
775         * posix/glob.c: Update from glibc 2.1.
776         * posix/glob.h: Likewise.
778 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
780         * stdlib/exit.c (exit): Handle recursive calls to exit ().
782 1997-12-11 07:36  Ulrich Drepper  <drepper@cygnus.com>
784         * sysdeps/alpha/bsd-setjmp.S: Add empty file.
785         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
787 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
789         * configure.in: If --enable-add-ons is given without an
790         argument, set the addons list to all subdirs with a configure
791         script.
793 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
795         * resolv/res_query.c (res_querydomain): Avoid potential buffer
796         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
798 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
800         * glibcbug.in: Add more information of build environment and flags.
802 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
804         * resolv/inet_neta.c (inet_neta): Change type of first parameter
805         to u_int32_t. Suggested by John Lavagnino
806         <John_Lavagnino@Brown.edu> [PR libc/366].
808         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
810         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
812 1997-12-10  Ulrich Drepper  <drepper@cygnus.com>
814         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
816 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
818         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
819         variable as well.
821         * locale/C-ctype.c: Correct data for isw* functions.
822         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
823         byte order.
824         * wctype/test_wctype.c: Add test for isw* functions.
825         * wctype/wctype.c: Return value with expected byte order.
827         * sysdeps/alpha/__math.h: Remove cabs definition.
828         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
830         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
832         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
833         __libc_* names.
835         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
836         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
837         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
838         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
839         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
841         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
843         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
845 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
847         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
848         * sysdeps/unix/sysv/linux/send.S: Likewise.
849         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
850         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
851         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
852         * sysdeps/unix/sysv/linux/recv.S: Likewise.
853         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
854         * sysdeps/unix/sysv/linux/connect.S: Likewise.
856 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
858         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
859         handle for /etc/group back in some more cases.
860         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
861         handle for /etc/passwd back in some more cases.
862         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
863         handle for /etc/shadow back in some more cases.
865 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
867         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
868         beyound its size.
869         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
870         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
872 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
874         Alpha changes for EGCS:
875         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
876         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
877         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
878         (_start): Likewise.
879         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
881         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
882         * sysdeps/alpha/__longjmp.S: Likewise.
883         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
884         * sysdeps/alpha/bsd-setjmp.S: Likewise.
885         * sysdeps/alpha/jmp_buf.h: Likewise.
886         * sysdeps/alpha/setjmp.S: Likewise.
887         * sysdeps/alpha/__longjmp.c: Removed.
888         * sysdeps/alpha/setjmp_aux.c: Removed.
890 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
892         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
893         constants from Linux headers.  Pointed out by
894         csmall@scooter.o.i.net. [PR libc/369]
896 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
898         * grp/initgroups.c: Increase buffer if it is too small.
900 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
902         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
903         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
904         [PR libc/367].
906 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
908         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
909         __typeof for C++ since this fails for class members.
910         Reported by Neal Becker <neal@ctd.comsat.com>.
912 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
914         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
915         incompatible with Linux 2.1.x. Packages using modules
916         (e.g. modutils) should/do provide their own version. Suggested by
917         Richard Henderson.
919         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
922         [$(subdir)=socket]: Remove sys/module.h.
924 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
926         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
927         not shadow the variable in the outer scope. Carry over from glibc 2.1.
929 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
931         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
933 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
935         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
936         return value.
938 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
940         * configure.in: Update from 2.1 version.
941         * glibcbug.in: Likewise.
942         * manual/maint.texi: Likewise.
944         * math/mathcalls.c: Remove declaration of infnan and cabs.
946         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
948         * manual/errno.texi: Define new Linux errors.
950         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
951         and __kernel_rem_pio2{,f,l}.
953         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
955         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
957         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
959         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
961         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
962         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
963         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
965         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
966         <bits/libc-lock.h>.
968         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
969         types in struct cmsghdr.
971         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
972         loading of return address.
974         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
975         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
977         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
979 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
981         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
982         value type to long int.
983         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
984         types.
986 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
988         * sysdeps/posix/writev.c: Correct condition to leave the loop.
990 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
992         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
993         zero isn't enough to determine illegal arguments.
994         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
995         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
997 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
999         * sysdeps/libm-i387/e_remainder.S: Pretty print.
1000         * sysdeps/libm-i387/e_remainderf.S: Likewise.
1001         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1003 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1005         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1007 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
1009         * stdlib/stdlib.h: Remove mblen optimization.
1010         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1011         Reported by anderson@metrolink.com.
1013 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1015         * po/Makefile ($(mo-installed)): Don't fail during installation if
1016         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1017         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1019 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1021         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1022         header is used in some others as well for historical reasons.
1024 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1026         * locale/setlocale.c (setname): Only remove old name when it
1027         is for category LC_ALL.
1029 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
1031         * intl/localealias.c (read_alias_file): Correct handling of line
1032         reader which sometimes skipped complete lines (PR 205).
1034 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1036         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1037         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1039         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1040         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1042 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1044         * Makerules (libc.so): Fix typo.
1046         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1047         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1049         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1050         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1052 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1054         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1055         compilers.
1056         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1058         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1059         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1061 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1063         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1064         for NULL.
1065         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1066         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1068         * configure.in: Correct test for bash2.
1069         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1071         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1072         (CFLAGS-locfile.c): Likewise.
1073         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1075         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1076         non-existing entry if the table is full.
1078         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1080 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1082         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1083         Replace revoke call by use of REVOKE.
1084         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1085         empty and #include generic version.
1086         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1088 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1090         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1091         again after successful call.
1092         Patch by Marc Lehmann <pcg@goof.com>.
1094 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
1096         * malloc/thread-m.h: Remove malloc_key-data definition.
1097         Reported by Trevor Johnson <trevor@jpj.net>.
1099 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1101         * manual/filesys.texi (Scanning Directory Content): Document error
1102         case more.
1104         * dirent/scandir.c (scandir): Ignore errors from select function.
1105         Suggested by urbanw@cs.umu.se (closes PR libc/316).
1107 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1109         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1110         * termios/termios.h: Change prototype accordingly.
1112 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1114         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1115         for C++.
1117 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
1119         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1120         bugs.
1122 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
1124         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1125         2.1 development version  to fix some more severe bugs.
1126         * nis/nss_compat/compat-pwd.c: Likewise.
1127         * nis/nss_compat/compat-spwd.c: Likewise.
1128         * nis/ypclnt.c: Likewise.
1129         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1131         * version.h (VERSION): Bump to 2.0.6.
1133 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
1135         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1136         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
1138 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
1140         * posix/glob.c (glob): If calling glob_in_dir for a list which was
1141         generated by a glob call disable GLOB_ERR since there might be
1142         non-directories in the list (PR203).
1144 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
1146         * misc/efgcvt.c: Call correct reentrant functions.
1148 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
1150         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1151         timezone variable.
1152         * time/tzset.c (tz_compute): Likewise.
1153         Reported by Erik Troan <ewt@redhat.com>.
1155 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
1157         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1158         in all error cases (PR 244).
1160 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
1162         * manual/filesys.texi: Correct prototype in readdir_r description.
1163         Reported by Jim Meyering <meyering@eng.ascend.com>.
1165 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
1167         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1168         matching of version function if both the general (1) and
1169         glibc-specific (3) entry are present.
1171 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1173         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1174         elements in struct msghdr and struct cmsghdr, to keep in step with
1175         the kernel.
1177 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1179         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1180         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1181         struct and not a pointer.  Little optimizations.
1183 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1185         * intl/loadmsgcat.c (_nl_load_domain):
1186         Fix &&/|| typo when checking file size.
1188 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1190         * time/africa: Update from tzdata1997i.
1192 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1194         * malloc/obstack.h (obstack_empty_p): New macro.
1196 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1198         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1199         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1200         for time_t overflow.
1202 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
1204         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1205         type of fw_pcnt and fw_bcnt fields to match kernel.
1206         Patch by a sun <asun@zoology.washington.edu>.
1208 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1210         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1211         Reported by Erik Troan <ewt@redhat.com>.
1213 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1215         Fix gmtime so that it reports leap seconds when TZ
1216         indicates that leap seconds are desired.
1218         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1219         (gmtime): Put after gmtime_r, to help the compiler inline.
1220         (__tz_convert): New decl.
1221         (gmtime_r): Use __tz_convert instead of __offtime,
1222         so that leap seconds are handled correctly.
1224         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1225         are now unnecessary.
1226         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1227         __tzset_lock): Remove extern decls that are now unnecessary.
1228         (localtime_internal): Moved to __tz_convert in tzset.c.
1229         so that localtime and gmtime can both use it easily.
1230         (localtime): Put after localtime_r, to help the compiler inline.
1231         (localtime_r): Use __tz_convert instead of localtime_internal.
1233         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1234         decl.
1236         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1238         * time/tzset.c (<errno.h>): Include.
1239         (_tmbuf): New decl.
1240         (__tzfile_compute): New function.
1241         (tz_compute): Renamed from __tz_compute.  No longer extern.
1242         Remove redundant call to tzset_internal.
1243         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1244         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1245         (__tz_convert): New function, containing functionality of old
1246         localtime_internal function, plus locking and optional UTC.
1248 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1250         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1251         string, just use UTC without leap seconds.  This is for compatibility
1252         with the Olson code.
1254 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1256         * time/tzset.c (__tzname_max): Lock tz data structures before
1257         invoking tzset_internal.
1259         * time/tzfile.c: Define compute_tzname_max statically.
1261 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1263         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1264         __FD_ISSET): Use correct casts to address array correctly.
1265         Reported by urbanw@cs.umu.se.
1267 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
1269         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1270         next head.  Reported by baccala@FreeSoft.org.
1272 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
1274         * sysdeps/stub/sigaction.c: Fix typo.
1275         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1277 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
1279         * catgets/catgets.c (catopen): Correctly determine length of string
1280         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1282 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
1284         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1286 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
1288         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1289         for descriptors >= 32.
1291         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1292         is used __alloca is not defined to __builtin_alloca and so might
1293         not be available.
1294         Reported by Uwe Ohse <uwe@ohse.de>.
1296         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1297         way if gcc is not used and so dev_t is an array.
1298         Reported by Uwe Ohse <uwe@ohse.de>.
1300         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1301         of sys/cdefs.h.  Pretty print.
1303 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
1305         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1306         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1307         with g++ internal symbols.
1308         Patch by Sudish Joseph <sj@eng.mindspring.net>.
1310 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
1312         * string/argz.h: Add missing __END_DECLS.
1313         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1315 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
1317         * locale/iso-4217.def: Update for more complete ISO 4217 match.
1319         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1321         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1323 1997-08-17  Paul Eggert  <eggert@twinsun.com>
1325         * tzset.c (__tzset_internal): Fix memory leak when the user
1326         specifies a TZ value that uses a default rule file.
1327         Do not assume US DST rules when the user specifies
1328         that there is no DST.
1330 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1332         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1333         they operate on internal kernel structures and have no place in a
1334         user header.
1336 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
1338         * sysdeps/mach/libc-lock.h: Fix typo.
1339         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1341 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
1343         * sysdeps/mach/hurd/Dist: Add cthreads.c.
1345         * catgets/gencat.c (usage): Fix help text.
1347         Update of UTMP interface.
1348         * login/Makefile (routines): Add utmpname, remove utmp_db.
1349         * login/getutent.c: Rename to __getutent and make getutent a weak
1350         alias.
1351         * login/getutent.c: Rename to __getutid and make getutid a weak
1352         alias.
1353         * login/getutent.c: Rename to __getutline and make getutline a weak
1354         alias.
1355         * login/getutent_r.c: Rewrite to use jump table correctly.
1356         * login/getutid_r.c: Likewise.
1357         * login/getutline_r.c: Likewise.
1358         * login/updwtmp.c: Likewise.
1359         * login/login.c (login): Correct test for result of utmpname.
1360         Use updwtmp instead of implementing this here again.
1361         * login/logout.c (logout): Correct test for result of utmpname
1362         and pututline.  Handle ut_type field correctly if it exists.
1363         * login/utmp-private.h: Update for changed internal functions.
1364         * login/utmp.h: Reformat and correct typos.
1365         * login/utmp_file.c: Rewrite lock handling.
1366         * login/utmpname.c: New file.
1367         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1369         * socket/sys/socket.h (getpeername): Correct type of len argument.
1370         Reported by a sun <asun@zoology.washington.edu>.
1372         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1373         <bits/types.h>.
1374         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1376         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1377         functions.
1379         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1380         cthreads.
1381         * sysdeps/mach/hurd/cthreads.c: New file.
1383 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
1385         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1386         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1388 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
1390         * login/login.c (login): Check for correct return value of
1391         utmpname.
1393 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
1395         * time/tzset.c: Interpret no DST information in user provided time
1396         zone specification as it is meant: no DST.
1397         Patch by Paul Eggert <eggert@twinsun.com>.
1399 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
1401         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1402         Add macros for key handling.
1403         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1404         cthreads.
1405         * sysdeps/mach/hurd/cthreads.c: New file.
1406         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1408 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1410         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1412 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
1414         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1415         for storage class.
1416         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1418         * login/Makefile (routines): Add updwtmp.
1419         * login/logwtmp.c: Move definition of updwtmp to ...
1420         * login/updwtmp.c: here.  New file.
1422         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1423         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1424         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1426 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1428         * libio/stdfiles.c (_libio_using_thunks): Define if
1429         _G_USING_THUNKS is defined.
1431         * libio/_G_config.h: Moved to
1432         * sysdeps/generic/_G_config.h: ...here.
1434         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1436 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1438         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1439         right place.
1441 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1443         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1444         PC's in long long to avoid overflow.
1446 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1448         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1449         New macros.
1451 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
1453         * gmon/gmon.c (_mcleanup): Fix typos.
1455         * gmon/sys/gmon.h: Add prototype for write_profiling.
1457 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1459         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1460         loop, to avoid dragging stdio into the dynamic linker.
1462 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1464         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1465         (_mcleanup): Use write_gmon.
1466         (write_profiling): This function can be safely called at any time
1467         to write a current histogram without interfering with ongoing
1468         profiling.
1470         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1472 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1474         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1475         not be vm_deallocated; it's a stack buffer.
1476         (profil_vm_deallocate): Delete prototype.
1477         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1478         inclusion.
1479         * sysdeps/mach/hurd/Makefile
1480         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1481         this rule.
1483         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1484         from profile_waiter.
1485         (profile_waiter): Use fetch_samples.
1486         (profil): When turning off profiling, fetch the last bunch of
1487         samples before disabling PC sampling.
1488         (fetch_samples): Add prototype.
1490 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1492         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1493         source included by profil.c instead of trying to use
1494         before-compile grot.
1496 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1498         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1499         after releasing lock.  Use special RPC stubs and avoid assert,
1500         thus making this function entirely independent of the threadvar
1501         mechanism and of cthreads.
1502         (lock): Convert to be a spin lock instead of a mutex, so that the
1503         waiter thread need not use cthreads.  Use a fork prepare hook
1504         instead of _hurd_fork_locks to make sure we are clean before
1505         forking.
1506         (fork_profil_child): Renamed from fork_profil.
1507         (profil_reply_port): New variable.
1508         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1509         stubs made by special hacks.
1510         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1511         source files that profil.c needs if we are in the gmon directory.
1513         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1514         cthreads bug that hasn't existed for two years.
1516 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1518         * locale/programs/localedef.c (main): Set bit in avail for those
1519         categories which are successfully read.
1520         * locale/programs/locfile.c (check_all_categories): Don't check
1521         categories if they are not available.
1522         (write_all_categories): Don't write categories if they are not
1523         available.
1525         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1526         getsockopt, setsockopt, accept): Change size argument to type
1527         socklen_t.
1528         Pretty print.
1529         * manual/socket.texi: Describe socklen_t and change prototypes of
1530         socket functions to use socklen_t.
1531         * sysdeps/generic/bits/socket.h: Define socklen_t.
1532         (struct msghdr): Correct types to use socklen_t.
1533         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1534         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1536         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1537         1.0 < x < 8.0.
1538         * stdio-common/tfformat.c: Add new tests for above bug.
1540         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1542         * wcsmbs/Makefile (tests): Add tst-wcstof.
1543         * wcsmbs/tst-wcstof.c: New file.
1544         * wcsmbs/wcstof.c (FLT): Define as FLT.
1546 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1548         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1549         case since the __syscall_ptrace call already did this.
1550         Reported by Philip Gladstone <philip@talon.raptor.com>.
1552 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1554         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1555         <gnu/types.h> to <sys/types.h>.
1557 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1559         * locale/programs/locale.c (print_escaped): New function.
1560         (show_info): Use print_escaped if strings can control unprintable
1561         characters.
1562         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1564 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1566         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1567         dependencies.
1569 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1571         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1572         for stream on input file.
1573         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1574         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1575         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1576         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1577         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1578         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1579         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1580         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1582 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1584         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1585         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1586         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1587         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1589 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1591         * time/africa: Update from tzdata1997g.
1592         * time/asia: Likewise.
1593         * time/australasia: Likewise.
1594         * time/europe: Likewise.
1595         * time/iso3166.tab: Likewise.
1596         * time/zone.tab: Likewise.
1597         * time/private.h: Update from tzcode1997f.
1598         * time/scheck.c: Likewise.
1600 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1602         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1603         Synchronize with malloc/obstack.c.
1605 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1607         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1608         path to install-info for systems like Debian that have an
1609         install-info with a different command line interface from the
1610         canonical GNU texinfo version.
1612 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1614         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1615         * posix/unistd.h: Likewise.
1616         * sysdeps/stub/ttyname_r.c: Likewise.
1618 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1620         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1622         * time/tzfile.c (__tzstring): New decl.
1623         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1624         (__tzfile_default): First two args are now const char *.
1626         * time/tzset.c (__tzstring): New function.
1627         (tz_rule): Name is now const char *.
1628         (struct tzstring_head): New type.
1629         (tzstring_list, tzstring_last_buffer_size): New static vars.
1630         (__tzset_internal): Time zone names are now permanent, not temporary.
1632 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1634         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1635         and && in tests to allow use in C++ code which overloads these
1636         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1638 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1640         * login/login.c (tty_name): Test return value of ttyname_r for !=
1641         0, not < 0.
1642         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1643         0, not >= 0.
1644         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1645         ttyname_r for != 0.
1646         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1648 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1650         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1651         one.
1653         * signal/sigandset.c: Include stddef.h to get NULL defined.
1654         * signal/sigisempty.c: Likewise.
1655         * signal/sigorset.c: Likewise.
1657 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1659         * posix/execvp.c (execvp): Handle ESTALE.
1661 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1663         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1664         before calling _IO_SYSREAD ().
1666 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1668         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1669         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1671 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1673         * io/lockf.c (lockf): Clear fl before using.
1674         Patch by sr@adb.fr.
1676         * libio/strops.c: Correctly handle _IO_write_end.
1678         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1679         panic if setnetgrent wasn't called before, return error.
1680         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1682         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1683         if locally defined.
1684         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1685         if locally defined.
1686         Define tm_diff function as ftime_tm_diff if locally defined.
1687         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1689 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1691         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1692         in cc1.  Cpp in gcc doesn't do it.
1694 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1696         * login/login.c (tty_name): Use newly allocated buffer.
1697         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1699         * time/asctime.c: Never translate week and month name according
1700         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1702 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1704         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1705         setresgid.
1707 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1709         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1710         Reported by a sun.
1712 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1714         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1715         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1717 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
1719         * math/math.h: Add warning about use of M_* constants.
1720         Pretty print.
1722 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
1724         * locale/programs/locale.c: Correct comment.
1726         * po/ko.po: Update.
1728 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
1730         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1732 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
1734         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
1736         * manual/Makefile (distribute): Add dir.
1737         * manual/dir: New file.
1739 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1741         * time/tzfile.c (__tzfile_read): Store getc () return in int.
1743 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
1745         * string/Makefile (routines): Add argz-replace.
1747 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
1749         * string/argz.h (__argz_replace, argz_replace): New declarations.
1750         * string/argz-replace.c: New file.
1752 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1754         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
1755         character read in/put back.
1756         * stdio-common/tstscanf.c: Add test case for this.
1758 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
1760         * manual/Makefile (install): Make sure `dir' file exists if we use
1761         install-info.
1763 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1765         * manual/Makefile (info): Depend on dir-add.info.
1767 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1769         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
1770         * sysdeps/stub/e_acosl.c: Likewise.
1771         * sysdeps/stub/e_asinl.c: Likewise.
1772         * sysdeps/stub/e_atan2l.c: Likewise.
1773         * sysdeps/stub/e_expl.c: Likewise.
1774         * sysdeps/stub/e_fmodl.c: Likewise.
1775         * sysdeps/stub/e_j0l.c: Likewise.
1776         * sysdeps/stub/e_j1l.c: Likewise.
1777         * sysdeps/stub/e_jnl.c: Likewise.
1778         * sysdeps/stub/e_lgammal_r.c: Likewise.
1779         * sysdeps/stub/e_log10l.c: Likewise.
1780         * sysdeps/stub/e_logl.c: Likewise.
1781         * sysdeps/stub/e_powl.c: Likewise.
1782         * sysdeps/stub/e_rem_pio2l.c: Likewise.
1783         * sysdeps/stub/e_sqrtl.c: Likewise.
1784         * sysdeps/stub/k_cosl.c: Likewise.
1785         * sysdeps/stub/k_rem_pio2l.c: Likewise.
1786         * sysdeps/stub/k_sinl.c: Likewise.
1787         * sysdeps/stub/k_tanl.c: Likewise.
1788         * sysdeps/stub/s_atanl.c: Likewise.
1789         * sysdeps/stub/s_erfl.c: Likewise.
1790         * sysdeps/stub/s_expm1l.c: Likewise.
1791         * sysdeps/stub/s_log1pl.c: Likewise.
1793 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
1795         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
1796         01:13:56 1996.
1798 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
1800         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
1801         * sysdeps/libm-i387/s_asinhf.S: Likewise.
1802         * sysdeps/libm-i387/s_asinhl.S: Likewise.
1803         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
1804         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
1805         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
1807 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
1809         * Makefile (manual/dir-add.info): New rule.
1811         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
1812         `unsigned short'.
1814         * manual/Makefile (dir-add.texi): Also emit wrapper text for
1815         info/install-info.
1816         (distribute): Add dir-add.texi and dir-add.info.
1817         (mostlyclean): Add dir-add.info.
1818         (realclean): Add dir-add.texi.
1819         (install): Add entries in `dir' file using install-info.
1821         * manual/libc.texinfo: Add @dircategory and @direntry text.
1822         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
1824 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
1826         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
1827         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
1828         M_SQRT2.
1829         * math/math.h (_Mldbl): Define even if M_* constants are not
1830         defined.
1831         Reported by corsepiu@faw.uni-ulm.de.
1833 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
1835         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
1837 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
1839         * misc/regexp.h (compile): Allow use of macro INIT for variable
1840         declaration.  Add documentation for INIT.
1841         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
1843 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
1845         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
1847 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1849         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
1850         netinet/icmp.h, add netatalk/at.h.
1851         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
1852         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
1854 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
1856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
1858 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
1860         * string/argz-addsep.c: Correct weak alias.
1861         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1863         * locale/setlocale.c (setlocale): Free variable with locale path
1864         before returning.
1865         (setname): Don't test for _nl_current[category] being NULL before
1866         freeing.
1867         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1869 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
1871         * time/Makefile: Make tzselect depend on config.make.
1873 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
1875         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
1876         type to `unsigned long int'.
1877         Patch by Richard Henderson <richard@twiddle.rth.home>.
1879 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1881         * nss/nss_files/files-hosts.c: Delete inclusion of
1882         "../resolv/mapv4v6hostent.h".
1884 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
1886         * libio/libio.h: Define bits for libg++-2.8.
1888 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
1890         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
1891         plan on doing so ever again.  Don't say alpha-linuxecoff is known
1892         to work.
1894         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
1895         will last until I figure out how to build a parallel libm_ieee.
1897         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
1898         FP mode to round to nearest, no exceptions as for Intel.
1899         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
1900         (rdfpcr): Use excb rather than trapb.  Be more efficient about
1901         getting at the fpcr.
1902         (wrfpcr): Likewise.
1903         (__setfpucw): Reformat.
1905         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
1906         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1907         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
1908         sure the stack frame is released the very instruction before the
1909         real jump out.
1910         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1911         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1913         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
1914         have gotten from <linux/posix_types.h>.
1916         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
1918 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1920         * Makefile (manual/dir-add.texi): Force execution.
1922 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1924         * stdlib/strfmon.c: Don't run past EOS after `='.
1926 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
1928         Update resolver code to bind-4.9.6-T1A.
1929         * resolv/Banner: Update.
1930         * nss/digits_dots.c: Adapt text address matching to T1A.
1931         * nss/nss_files/files-hosts.c: Always use inet_pton.
1932         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
1933         it would lead to warnings.
1934         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
1935         at several places.
1936         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
1937         * resolv/res_comp.c (dn_expand): Check for overflow.
1938         (dn_comp): Likewise.
1939         * resolv/res_debug.c (precsize_aton): Better implementation.
1940         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
1941         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
1942         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
1943         length at several places.
1945 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1947         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
1948         time_t.
1950         * login/pty.h: Include <ioctl-types.h> for definition of struct
1951         winsize.
1953 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
1955         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
1956         number to four digits and to representable range for 4 byte time_t
1957         values.
1958         Patch by H.J. Lu <hjl@lucon.org>.
1960 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
1962         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1963         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1964         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1966 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1968         * login/login.c (tty_name): Use newly allocated buffer.
1969         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1971         * time/asctime.c: Never translate week and month name according
1972         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1974 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1976         * hurd/hurdsig.c: Include <hurd/id.h>.
1977         (reauth_proc): Call proc_setowner appropriately too.
1979 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1981         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
1982         correct value for _POSIX_VDISABLE.
1984 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
1986         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
1988         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
1990 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
1992         * Net release 2.0.4.
1994 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
1996         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
1997         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
1998         environments in which linking is not possible at configure time
1999         (since te libc is just build).
2000         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2002 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
2004         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2005         state array only at right place.
2006         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2008         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2009         [0.5,1.0) but really in [0.0, 1.0).
2010         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2012 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
2014         * sysdeps/i386/elf/start.S: Change local label "nofini"
2015         to ".Lnofini".
2017         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2019 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
2021         * time/zic.c: Update from tzcode1997e.
2023         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2024         are not defined.
2026 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
2028         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2029         monstartup.
2031 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
2033         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2034         values.
2035         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2037         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2038         u_long.
2040 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
2042         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2043         not looking at the new thread-safe .plt, don't be lazy about relocs.
2044         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2045         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2046         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2047         elf_machine_runtime_setup() decide if we can actually be lazy.
2048         * elf/rtld.c (_dl_start): So don't call it.
2049         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2050         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2051         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2052         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2053         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2054         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2055         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2056         skeleton definition.
2058 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
2060         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2061         stack by fxtract.
2063 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2065         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2066         warning.
2068         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2069         of USHRT_MAX.
2071         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2073 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
2075         * version.h (VERSION): Bump to 2.0.4.
2077         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2078         and for Linux ld.so.
2079         * login/Makefile (libutil.so): Likewise.
2080         * math/Makefile (libm.so): Likewise.
2081         * md5-crypt/Makefile (libcrypt.so): Likewise.
2082         * nis/Makefile (libnss_%.so): Likewise.
2083         * resolv/Makefile (libnss_dns.so): Likewise.
2085 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2087         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2088         workaround.
2090 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
2092         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2094         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
2095         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2096         Reported by Ian Taylor <ian@cygnus.com>.
2098         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2100         * po/de.po: Updated.
2102         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2104         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2106 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
2108         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2109         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2111 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2113         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2114         msg_add_auth was overflowing it.
2116 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
2118         * time/sys/time.h: Make second argument of setitimer const.
2119         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2120         * sysdeps/stub/setitimer.c: Likewise.
2121         * sysdeps/mach/hurd/setitimer.c: Likewise.
2123 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
2125         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2126         when we can't find the symbol.
2128 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
2130         * posix/regex.c: Fix handling of 32-bit Windog environments.
2131         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2133 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2135         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2137 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2139         * sysdeps/unix/sysv/linux/poll.c: Save errno.
2141 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
2143         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2145 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
2147         * sys/ttydefaults.h: Removed.
2149 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2151         * termios/sys/ttydefaults.h: Delete file.
2152         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2153         TTYDEF_OFLAG.
2154         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2155         XTABS in TTYDEF_OFLAG.
2156         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2157         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2159 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
2161         * posix/TESTS: Add some more tests for character class matching.
2162         * posix/regex.c: Merge with GNU awk version.
2163         (regex_compile): Use ISO C/amend 1 functions for character class
2164         handling.
2165         * posix/regex.h: Merge with GNU awk version.
2167         * posix/getopt.c: Declare as master copies.
2168         * posix/getopt1.c: Likewise.
2169         * posix/getopt.h: Likewise.
2171         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2172         value to mount functions.
2173         Patch by a sun <asun@zoology.washington.edu>.
2175 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
2177         * sunrpc/svc_run.c (svc_exit): New, defined.
2178         (svc_run): Test for svc_stop variable.
2179         * sunrpc/rpc/svc.h (svc_exit): New, declared.
2181 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2183         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2185         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2186         NaN.  Fix test for sign of infinite y.
2188         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2190         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2192 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2194         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2195         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2197 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
2199         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2200         kernel can return negative values.  Only fail when return value is
2201         in range in range which is never returned as valid address.
2202         Patch by Bruno Haible <haible@ilog.fr>.
2204 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
2206         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
2207         case.
2209         * time/strftime.c (add): Respect `0' padding flag.
2210         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2212 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
2214         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2215         will preserve non-call-saved registers; save and restore a0 across
2216         the system call.
2217         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2218         data onto the new thread's stack.
2220 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
2222         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2223         * config.make.in: Set cross-compiling from configure result.
2224         * configure.in: Emit definition of `cross_compiling'.
2225         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2227 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
2229         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2230         * sysdeps/libm-i387/e_pow.S: Likewise.
2231         * sysdeps/libm-i387/e_powl.S: Likewise.
2233 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2235         * malloc/obstack.h (obstack_specify_allocation_with_arg,
2236         obstack_chunkfun, obstack_freefun): Fix casts.
2238 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
2240         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2241         not <netinet/icmp.h>.
2242         * inet/netinet/tcp.h: Move to...
2243         * sysdeps/generic/netinet/tcp.h: ...here.
2244         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2246 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
2248         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2249         to command line of compiler.
2250         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2252         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2253         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2255         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2256         in declaration.
2257         Patch by Michael Widenius <monty@tcx.se>.
2259         * time/strptime.c (strptime_internal): Fix %I format specifier
2260         being off by one.
2261         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2263 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
2265         * Net release 2.0.3.
2267 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2269         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2270         * stdlib/srand48_r.c: Likewise.
2272 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
2274         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2275         fpclassify & friends, and complex number operations.
2276         Update various other math functions for ISO C 9X.
2277         * manual/math.texi: Update various entries for ISO C 9X.
2278         Add description for complex number functions.
2279         Add description of rand48 function family.
2280         * manual/string.h: Add description of a64l and l64a.
2282         * math/cmathcalls.h: Fix typo.
2284         * stdlib/a64l.c: Pretty printing.
2286         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2287         * stdlib/srand48_r.c: Likewise.
2289 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
2291         * rellns-sh: Handle files in the same directory correctly.
2293 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
2295         * csu/initfini.c: Place ALIGN instruction at correct positions.
2296         Patch by Richard Henderson <richard@twiddle.rth.home>.
2298 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
2300         * Make-dist: Don't automatically ignore .c files if .S or .s files
2301         are ignored.
2303         * csu/Makefile (distribute): Add defs.awk.
2305 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
2307         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2308         * sysdeps/stub/shmdt.c: Likewise.
2309         Reported by Thomas Bushnell, n/BSG.
2311 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
2313         * sysdeps/unix/sysv/linux/Dist: Rename
2314         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2315         Remove sysdeps/sysv/linux/netinet/icmp.h.
2317         * login/utmp.h: Add prototype for updwtmp.
2318         * login/logwtmp.c: Add new function updwtmp which allows to write
2319         a complete record to the wtmp file.
2320         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2322 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
2324         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2325         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2327 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
2329         * csu/initfini.c: Rewrite by Zack Weinberg
2330         <zack@rabi.phys.columbia.edu>.
2331         * csu/Makefile: Add rules for rewrite.
2332         * csu/defs.awk: Helper script to generate derived header.
2334 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
2336         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2338 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2340         * sysdeps/generic/Dist: Remove old math implementation files.
2341         * sysdeps/generic/mathimpl.h: Removed.
2342         * sysdeps/generic/trig.h: Removed.
2343         * sysdeps/generic/sincos.c: Removed.
2344         * sysdeps/generic/asincos.c: Removed.
2345         * sysdeps/generic/exp__E.c: Removed.
2346         * sysdeps/generic/log__L.c: Removed.
2348 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2350         * malloc/malloc.c (fREe): Small optimization.  Before returning,
2351         add fast check whether the heap containing top can go away.
2353 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2355         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2356         failing to allocate a new chunk, also try the main_arena.  It may
2357         be that we are only running out of mmapped regions, and other
2358         arenas cannot be enlarged sufficiently.
2359         (new_heap, malloc_extend_top): Handle top_pad more consistently,
2360         i.e. only in new_heap().
2362 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
2364         * time/strftime.c (memset_space): Increment pointer.
2365         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2366         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2368 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
2370         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2372         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
2373         63 bits.
2374         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2376         * po/pl.po: Updated.
2378         * string/swab.c: Correctly handle array of odd length.
2380         * manual/string.texi: Correct prototype in memmem documentation.
2382 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2384         * manual/Makefile (dir-add.texi): Simplify.
2386 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
2388         * rellns-sh: Rewrite to work also in presence of symlinks.
2390         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2391         Reported by Greg McGary <gkm@eng.ascend.com>.
2393         * manual/libc.texinfo: Update malloc documentation for new malloc.
2394         * manual/memory.texi: Likewise.
2395         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2397         * stdlib/erand48_r.c (erand48_r): Build double value using
2398         ieee754_double union and use random bits in different order to
2399         increase effect of seed.
2400         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2402 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2404         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2405         a read-only stream.
2407 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
2409         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2410         in correct place.
2411         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2413 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2415         * posix/getopt.c (_getopt_initialize): Preserve optind.
2416         (_getopt_internal): Set optind to 1 if optind == 0 before
2417         calling _getopt_initialize ().
2419 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2421         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2422         on a read-only stream.
2424         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2425         (ut_time): Define it only if _NO_UT_TIME is not defined.
2427 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2429         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2430         get definition of sa_family_t for <linux/atalk.h>.
2431         Reported by a sun <asun@zoology.washington.edu>.
2433         * malloc/malloc.c (cALLOc): Little optimization.
2435 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2437         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2438         headers but instead add comments and parameter names.
2439         Don't use BSD specific types in prototypes.
2441         * manual/nss.texi: Correct a few typos and errors.
2443 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2445         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2446         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2448         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2449         TAB3, if one of them is defined.
2451 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2453         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2455 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2457         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2458         clearenv a weak alias.
2460         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2461         of type clashes.  Add all definitions here.
2463         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2464         to XPG4.2.
2465         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2466         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2468         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2470         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2471         use of kernel types.
2473 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2475         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2476         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2478 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2480         * Makeconfig (all): Make sure this is always the default goal.
2482 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2484         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2485         Don't include <endian.h>.
2487 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2488         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2489         Don't include <endian.h>.
2491 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2493         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2495 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2497         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2498         compiler.
2500 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
2502         * hurd/Makefile (sunrpc-headers): Add clnt.h.
2503         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2505 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2507         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2508         by 31 positions to get 0/1 result.
2509         Patch by Joe Keane <jgk@jgk.org>.
2511 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2513         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2514         to prevent from ld linking in getopt.o even if there is another
2515         incompatible one.
2517         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2519 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
2521         * Makerules (depfiles): Remove $(test-srcs).
2523 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2525         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2526         on a read-only stream.
2528         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2529         (ut_time): Define it only if _NO_UT_TIME is not defined.
2531 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2533         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2534         typo.
2536 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2538         * Makefile: Add rule to easily generate dir-add.texi file.
2539         * manual/Makefile: Likewise.
2541 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2543         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2544         (sysdep_headers): Remove netinet/icmp.h.
2546 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2548         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2549         adjustment if the underlying function say it is too small.
2550         * pwd/fgetpwent.c: Likewise.
2551         * shadow/fgetspent.c: Likewise.
2552         * shadow/sgetspent.c: Likewise.
2554         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2555         this means there was not enough room for the gr_mem array.
2557         * nss/nss_files/files-XXX.c: Leave loop and return error if
2558         `parse_result' returns -1.
2560         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2561         of trailing list fails because of low memory.
2562         (parse_list): Rewrite.  The logic was completly incorrect since
2563         the checks for overflowing the array were not executed when
2564         needed.
2566         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2567         signals success.
2569         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2570         * nss/getXXent.c: Likewise.
2572 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2574         * manual/errno.texi: Add description of strerror_r.
2576 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2578         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2580 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2582         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2584 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2586         * stdlib/stdlib.h: Declare __clearenv.
2588 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2590         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2591         the last change.
2593 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2595         * configure.in: Call AC_CANONICAL_BUILD before referencing
2596         $build.  Fix test for BUILD_CC.
2598 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2600         * sysdeps/i386/memset.c: Fix typo.
2601         * sysdeps/stub/fchmod.c: Fix typo.
2602         * sysdeps/stub/fchdir.c: Fix typo.
2603         Reported by Fila Kolodny <fila@ibi.com>.
2605         * time/time.h (strftime): Remove __restrict in declaration.
2607 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2609         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2610         syntax for local label.
2611         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2612         binary format.
2613         * sysdeps/i386/addmul_1.S: Likewise.
2614         * sysdeps/i386/lshift.S: Likewise.
2615         * sysdeps/i386/memchr.S: Likewise.
2616         * sysdeps/i386/memcmp.S: Likewise.
2617         * sysdeps/i386/mul_1.S: Likewise.
2618         * sysdeps/i386/rshift.S: Likewise.
2619         * sysdeps/i386/stpcpy.S: Likewise.
2620         * sysdeps/i386/stpncpy.S: Likewise.
2621         * sysdeps/i386/strchr.S: Likewise.
2622         * sysdeps/i386/strcspn.S: Likewise.
2623         * sysdeps/i386/strlen.S: Likewise.
2624         * sysdeps/i386/strpbrk.S: Likewise.
2625         * sysdeps/i386/strrchr.S: Likewise.
2626         * sysdeps/i386/strspn.S: Likewise.
2627         * sysdeps/i386/strtok.S: Likewise.
2628         * sysdeps/i386/sub_n.S: Likewise.
2629         * sysdeps/i386/submul_1.S: Likewise.
2630         * sysdeps/i386/i486/strcat.S: Likewise.
2631         * sysdeps/i386/i486/strlen.S: Likewise.
2632         * sysdeps/i386/i586/add_n.S: Likewise.
2633         * sysdeps/i386/i586/addmul_1.S: Likewise.
2634         * sysdeps/i386/i586/lshift.S: Likewise.
2635         * sysdeps/i386/i586/memset.S: Likewise.
2636         * sysdeps/i386/i586/mul_1.S: Likewise.
2637         * sysdeps/i386/i586/rshift.S: Likewise.
2638         * sysdeps/i386/i586/strchr.S: Likewise.
2639         * sysdeps/i386/i586/strlen.S: Likewise.
2640         * sysdeps/i386/i586/sub_n.S: Likewise.
2641         * sysdeps/i386/i586/submul_1.S: Likewise.
2643         * time/africa: Updated from ADO tzdata1997e.
2644         * time/antarctica: Likewise.
2645         * time/asia: Likewise.
2646         * time/australasia: Likewise.
2647         * time/europe: Likewise.
2648         * time/northamerica: Likewise.
2649         * time/southamerica: Likewise.
2650         * time/private.h: Updated from ADO tzcode1997d.
2651         * time/scheck.c: Likewise.
2653 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2655         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2656         thread-specific memory in multi-threaded programs.
2658         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2659         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2660         Suggested by a sun <asun@zoology.washington.edu>.
2662 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2664         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2665         of <netinet/icmp.h>.
2666         Patch by a sun <asun@zoology.washington.edu>.
2668 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2670         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2671         before using system.
2672         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2673         before using popen.
2675 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2677         * inet/rexec.c: Make string parameters `const'.
2678         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2679         rresvport.
2681         * posix/glob.h: Add declaration for glob_pattern_p.
2682         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2683         make glob_pattern_p a weak alias.  This function is used in other
2684         packages (e.g. bash).
2686         * signal/Makefile (routines): Add sigisempty, sigandset, and
2687         sigorset.
2688         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2689         sigorset.
2690         * signal/sigisempty.c: New file.
2691         * signal/sigandset.c: New file.
2692         * signal/sigorset.c: New file.
2693         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2694         and __sigorset.
2695         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2697         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2698         ip_icmp.h.  Reported by HJ Lu.
2700 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2702         * grp/grp.h: Include <stddef.h> only once.
2704 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
2706         * version.h (VERSION): Bump to 2.0.3.
2708 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2710         * Makerules (BUILD_CFLAGS): Fix reference to config file.
2712 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2714         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2715         is found.
2716         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2718 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2720         * Net release 2.0.2.
2722 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2724         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2725         XTABS.
2726         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2727         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2728         of Sun Dec 15 16:33:44 1996.
2729         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2731 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2733         * Makefile (distribute): Add BUGS.
2735         * sysdeps/generic/machine-gmon.h: Update copyright.
2737         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2738         i386-mcount.
2739         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2740         use regparam mechanism for call of `fixup' call.
2741         * sysdeps/i386/Dist: New file.
2742         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2743         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2744         of gmon definitions.
2746 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2748         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2749         may modify it, use the saved errno everywhere.
2750         * stdlib/tst-strtod.c (main): Likewise.
2752 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2754         * posix/glob.c (glob): Fix completely broken handling of
2755         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2756         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2758 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2760         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2761         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2762         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2763         Reported by Matthis Urlichs.
2765 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2767         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2768         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2769         which clobbers %eax.
2771         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2772         crtbegin.o/crtend.o, using gcc to find them.
2773         (+link): Use them.
2775 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2777         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2778         affect the alignment, and therefore the end padding of the structs.
2779         Reported by David Mosberger <davidm@azstarnet.com>.
2780         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
2781         Use __writev instead of write for the I/O.
2783         * misc/sys/uio.h: Declare __writev and __readv.
2784         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2785         * sysdeps/posix/writev.c: Likewise for writev.
2786         * sysdeps/stub/readv.c: Likewise.
2787         * sysdeps/stub/writev.c: Likewise.
2788         * sysdeps/unix/syscalls.list: Likewise.
2789         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2790         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2792         * stdlib/testdiv.c: Exit with error status when we have an error.
2793         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2794         * sysdeps/alpha/ldiv.S: Likewise.
2796         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2798 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
2800         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
2801         generic prototype.
2803         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
2804         Future releases will have this function.
2805         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2806         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2807         Reported by HJ Lu.
2809 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
2811         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2812         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
2813         `__sigsetjmp' in PIC code.
2814         * sysdeps/i386/bsd-setjmp.S: Likewise.
2816         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2817         overflow.
2818         * sysdeps/libm-i387/e_powf.S: Likewise.
2819         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2820         case since expm1(-0) == -0.
2821         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2822         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2823         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2824         access to FP number.
2825         * sysdeps/libm-ieee754/s_modff.c: Likewise.
2826         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2827         code.  It never worked correctly.
2828         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2829         case since tanh(-0) == -0.
2830         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2831         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2833 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
2835         * time/Makefile: Correct dependencies for test-tz.
2837         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
2838         UIO_FASTIOV and set to 8 if not available.
2839         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2840         Patch by HJ Lu.
2842         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2843         "kernel_stat.h".
2844         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2845         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2846         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2848 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
2850         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2852         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2854         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
2856         * sysdeps/unix/sysv/Dist: Add direct.h.
2858         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2860         * Make-dist ($(tardir).tar): Prefer writing temporary file to
2861         $TMPDIR is available.  The default is /tmp.
2863         * sysdeps/generic/ip.h: Move to...
2864         * sysdeps/generic/netinet/ip.h: ...here.
2866         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
2867         is placed in wrong place on the stack.
2868         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
2870 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
2872         * time/offtime.c (__offtime): Change type of `yg' to long int.
2873         Reported by a sun <asun@zoology.washington.edu>.
2875 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
2877         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2878         2.2.0 to prevent version mismatch.
2880 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
2882         * Make-dist (srcs): Add $(test-srcs).
2883         * MakeTAGS (all-sources): Likewise.
2884         * Makerules (depfiles, common-mostlyclean): Likewise.
2885         * Rules (tests): Likewise.
2887 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
2889         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2891 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
2893         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2894         protocol=NULL to match any protocol rather than returning an
2895         error.
2897 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
2899         * nss/nss_files/files-service.c (servbyname): Match any protocol
2900         if proto==NULL.
2902 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
2904         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2905         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2906         Proposed by Thomas Bushnell, n/BSG.
2908 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2910         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2911         the buffer for replacement.
2913 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
2915         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2916         sys_lstat and sys_stat.
2918 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2920         * mach/devstream.c (output/write_some): Don't try and write more
2921         than IO_INBAND_MAX in a single call to device_write_inband.
2923 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
2925         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2926         type is SVID.
2927         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2928         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2930         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2931         FLAGS parameter.
2933 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
2935         * manual/filesys.texi: Add documentation for scandir and alphasort.
2936         * manual/examples/dir2.c: New example for scandir.
2938         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
2939         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
2940         * sysdeps/ieee754/huge_val.h: Remove definition of long double
2941         definition.  Make it the same as the double definition.
2943         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2944         * sysdeps/libm-i387/e_acosf.S: Likewise.
2945         * sysdeps/libm-i387/e_acosl.S: Likewise.
2946         * sysdeps/libm-i387/e_asin.S: Likewise.
2947         * sysdeps/libm-i387/e_asinf.S: Likewise.
2948         * sysdeps/libm-i387/e_asinl.S: Likewise.
2949         * sysdeps/libm-i387/e_exp.S: Likewise.
2950         * sysdeps/libm-i387/e_expf.S: Likewise.
2951         * sysdeps/libm-i387/e_expl.S: Likewise.
2952         * sysdeps/libm-i387/s_scalbn.S: Likewise.
2953         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2954         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2956         * sysdeps/libm-i387/e_log.S: Optimize branch code.
2957         * sysdeps/libm-i387/e_logf.S: Likewise.
2958         * sysdeps/libm-i387/e_logl.S: Likewise.
2959         * sysdeps/libm-i387/e_log10.S: Likewise.
2960         * sysdeps/libm-i387/e_log10f.S: Likewise.
2961         * sysdeps/libm-i387/e_log10l.S: Likewise.
2963         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2964         * sysdeps/libm-i387/e_powf.S: Likewise.
2965         * sysdeps/libm-i387/e_powl.S: Likewise.
2967         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2968         argument to -1.0.
2969         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2970         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2972         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2974         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
2975         stack element after fxtract.
2977         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
2978         implementation for atan2 function.
2980         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2981         _SVID_ mode when acos, asin, atan2, log, log10 is called with
2982         argument out of range.
2983         Add new error case for pow(+0,neg).
2985         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2986         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2987         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2989         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2990         long double type.
2992         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2993         in SVID mode.
2994         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2995         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2997         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2998         or -0.
2999         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3000         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3002         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3004         * sysdeps/stub/fcntlbits.h: Update copyright.
3005         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3006         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3007         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3008         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3009         * sysdeps/unix/common/fcntlbits.h: Likewise.
3010         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3011         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3012         and FNDELAY.
3013         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3015         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3016         only reclen bytes.
3018         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3019         and O_NORW.
3020         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3022         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3024         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3025         struct stat to user-level form.
3026         * sysdeps/unix/sysv/linux/lxstat: New file.
3027         * sysdeps/unix/sysv/linux/xstat: New file.
3028         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3029         kernel.
3030         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3031         to use prescribed types for elements.
3032         (_STAT_VER): Change to value 3.
3033         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3034         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3035         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3037         * time/Makefile: Correct dependencies for test-tz.
3039         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3041 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3043         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3044         kernel header.
3045         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3047 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3049         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3050         without testing for last_bfp to be NULL.
3051         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3053 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3055         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3056         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3058 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3060         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3061         functions.  Compare result for correct address type.
3062         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3063         * nss/nss_files/files-hosts.c: Likewise.
3064         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3066 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3068         * time/strptime.c (recursive): Return rp to caller.
3069         (strptime_internal): First check for long names, then abbreviated
3070         (month & weekday).
3072 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3074         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3075         1900 from year, regardless of century.
3077 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3079         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3080         all numbers unsigned to make buggy gccs happy.
3081         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3083         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3084         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3085         Pretty print header.
3087         * Makerules (build-shlib): Also create symlink if library is versioned.
3088         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3089         Remove special rule to libc.so symlink.
3091 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3093         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3094         return values for acos, asin, and atan2.
3095         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3097 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3099         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3101 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3103         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3104         to pointers to directory entries so that alphasort really can be
3105         used as argument for scandir.
3107 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3109         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3110         instead of strcpy.
3112 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3114         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3115         catalogs, not only if the envvar NLSPATH is not available.
3116         Reported by Andries.Brouwer@cwi.nl.
3118 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3120         * Makeconfig (localtime-file): Don't define using installation
3121         directory.
3122         (inst_localtime-file): New variable.
3123         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3124         Reported by Edward Seidl <seidl@janed.com>.
3126 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3128         * time/Makefile: Add source files to dependencies for test data.
3130 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3132         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3133         * nis/nss_nis/nis-proto.c: Likewise.
3134         * nis/nss_nis/nis-rpc.c: Likewise.
3135         * nis/nss_nis/nis-service.c: Likewise.
3137 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3139         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3140         euidaccess weak alias.
3142 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3144         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3146         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3148 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3150         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3152         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3153         __file_name_split.
3155         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3156         * mach/errstring.c (mach_error_string_int): Likewise.
3157         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3158         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3159         * stdio/vasprintf.c (vasprintf): Likewise.
3161         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3163         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3164         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3165         swtch_pri.
3167         * mach/mach_init.c: Include <mach/mig_support.h>.
3169         * mach/mach_error.h (mach_error_string, mach_error,
3170         mach_error_type): Always provide prototypes.
3172         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3173         appears to be entirely unused dead code.
3175 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3177         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3178         [!__const] (__const): New macro.
3179         [!__error_t_defined] (error_t): New typedef.
3181 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3183         * posix/unistd.h: Add prototype for __euidaccess.
3184         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3185         euidaccess weak alias.
3186         * sysdeps/stub/euidaccess.c: Likewise.
3187         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3189         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3190         binary locale files.  Use LOCALEDIR only.
3191         * locale/programs/locfile.c: When named file not found and not
3192         absolute use path in I18NPATH.
3194         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3195         and AF_FILE as synonym for AF_LOCAL.
3196         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3198         * time/Makefile: Rewrite rules for test to handle parallel builds.
3200 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3202         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3203         robbe@orcus.priv.at.
3205 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3207         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3208         8-byte boundary.
3210 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3212         * elf/link.h: Include <features.h>.
3213         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3215 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3217         Rewrite NIS code to allow empty keys.
3218         * nis/nss_nis/nis-ethers.c: Rewritten.
3219         * nis/nss_nis/nis-proto.c: Rewritten.
3220         * nis/nss_nis/nis-publickey.c: Rewritten.
3221         * nis/nss_nis/nis-rpc.c: Rewritten.
3222         * nis/nss_nis/nis-service.c: Rewritten.
3224 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3226         * time/scheck.c (scheck): Add extra const to second argument.
3228         * time/private.h: Correct prototypes to match definition.
3230 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3232         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3233         switching of UID before opening .rhosts.
3235         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3236         version in GNU awk.
3237         * posix/regex.h: Likewise.
3239         Add regex test suite by Tom Lord.
3240         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3241         (tests): Add runtests.
3242         (before-compile): Add testcases.h.
3243         (testcases.h): New rule to generate header with tests.
3244         * posix/TESTS: New file.
3245         * posix/TESTS2C.sed.: New file.
3246         * posix/runtests.c: New file.
3247         * posix/testcases.h: New file.
3249         * time/ialloc.c: Update from tzcode1997c.
3250         * time/private.h: Likewise.
3251         * time/scheck.c: Likewise.
3252         * time/tzselect.ksh: Likewise.
3253         * time/zdump.c: Likewise.
3254         * time/zic.c: Likewise.
3256         * time/tzfile.c: Pretty print.
3258 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3260         * stdio-common/vfscanf.c: Use __va_copy if available.
3262 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3264         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3265         clean up namespace.
3267 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3269         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3270         kernel-level sigaction structure is different.  handle this
3271         correctly.
3272         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3274 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3276         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3277         recognize cache entries with flag == 3.
3279 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3281         * time/antarctica: Update from tzdata1997c.
3282         * time/asia: Likewise.
3283         * time/zone.tab: Likewise.
3285 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3287         * sysdeps/m68k/fpu/__math.h: Update feature tests.
3288         (fabs): Remove defininition, it is a gcc builtin.
3289         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3291 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3293         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3294         instead to avoid namespace problems.
3295         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3297 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3299         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3300         falling back to select-based implementation if syscall isn't
3301         available.
3302         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3304         * time/leapseconds: Update from tzdata1997b.
3305         * time/zic.c: Update from tzcode1997b.
3307 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3309         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3310         depedencies between installed $(tzlinks) and $(tzbases) files.
3312 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3314         * math/math.h: Make compatible with traditional preprocessor;
3315         requires carefull placement of whitespace in macro arguments.
3316         Use __CONCAT instead of ##.
3317         Declare long double functions only if __STDC__ or __GNUC__.
3318         * math/mathcall.h: Avoid whitespace before argument of macro call
3319         that is used as function name.
3321         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3322         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3323         of __NO_M81_MATH_INLINES.
3324         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3325         starting with __ieee754.
3326         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3327         functions as inlines.
3328         (__m81_defun): Put __attribute__ between return type and function
3329         name.
3330         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3331         is defined.
3332         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3333         instead of __NO_M81_MATH_INLINES.
3334         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3335         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3336         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3337         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3338         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3339         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3340         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3341         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3342         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3343         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3345 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3347         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3348         so that clearing second word is necessary.
3350         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3351         header since it is wrong for 64 bit systems.
3352         Patch by a sun <asun@zoology.washington.edu>.
3354 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3356         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3357         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3358         for the benefit of running foreign binaries.
3360 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3362         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3363         * manual/xtract-typefun.awk: New file.  Script to extract function,
3364         variable, macro anchor to put into the `dir' file.
3366         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3367         exponent before comparing.
3369 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3371         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3372         prototypes to use types with explicit width.  `unsigned long' is
3373         different on 64 bit systems.
3374         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3375         * sysdeps/generic/htonl.c: Likewise.
3376         * sysdeps/generic/htons.c: Likewise.
3377         * sysdeps/generic/ntohl.c: Likewise.
3378         * sysdeps/generic/ntohs.c: Likewise.
3379         Suggested by a sun <asun@zoology.washington.edu>.
3381 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3383         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3384         defined and we want optimization.
3386 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3388         * misc/getpass.c: Don't disable canonical input.
3389         Reverted patch of Mon Jan  6 01:35:29 1997.
3391 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3393         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3394         match the hidden __in_chrg parameter of the destructor.
3395         (_IO_FINISH): Pass zero for it.
3396         * libio/genops.c (_IO_default_finish): Add second parameter, which
3397         is ignored.
3398         * libio/memstream.c (_IO_mem_finish): Likewise.
3399         * libio/fileops.c (_IO_file_finish): Likewise.
3400         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3402 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3404         * time/Makefile: Avoid using patterns in dependencies.
3406 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
3408         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3410 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3412         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3413         word on stack for overflow.
3415 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3417         * malloc/malloc.c (malloc_get_state): New function.
3418         Saves global malloc state to an opaque data structure which
3419         is dynamically allocated in the heap.
3420         * malloc/malloc.c (malloc_set_state): New function.
3421         Restore previously obtained state.
3422         * malloc/malloc.h: Add declaration of malloc_get_state()
3423         and malloc_set_state().
3425 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
3427         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3428         position.
3430 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3432         * misc/error.c: Make error and error_at_line weak aliases of
3433         __error and __error_at_line respectively.
3434         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3436 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3438         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3439         time-era-num-entries.
3441 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3443         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3444         to avoid duplicate mail.
3446 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
3448         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3449         numeric values.
3451 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3453         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3454         sign in the strtouXX functions.  The results gets simply negated.
3455         * stdlib/tst-strtol.c: Correct tests.
3457 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
3459         * math/math.h: Prevent definition of struct exception when using
3460         C++.
3462 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
3464         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3465         Reported by Greg McGary.
3467 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3469         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3470         than file_get_translator.
3472         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3473         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3475 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3477         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3478         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3480 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3482         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3483         but ADDR also == 0.
3485         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3486         now instead of a weak extern, as some old programs expect it to be
3487         defined by ld.so.
3489 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3491         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3493         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3494         __hurd_threadvar_stack_offset): Restore initialized versions, so
3495         startup works correctly.
3497         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3499 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3501         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3502         not __mutex_try_lock.
3503         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3504         (tsd_getspecific): Case variable to (void *) before returning.
3506         * hurd/hurdinit.c (__libc_argv): Remove extern.
3507         (__libc_argc): New variable.
3509 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3511         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3512         _HURD_THREADVAR_MALLOC.
3513         * malloc/thread-m.h
3514         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3515         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3516         __mutex_*.
3517         (mutex_t): Type removed & replaced by new macro.
3518         (tsd_key_t): Typedef to int instead of pthread_key_t.
3519         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3520         (__pthread_initialize): New macro, work around assumption of pthreads.
3521         (tsd_keys_alloced): New static variable.
3522         <hurd/threadvar.h>: New include.
3524         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3525         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3526         defined before using it.
3528         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3529         Make extern.
3530         * hurd/hurdinit.c (__libc_argv): Make extern.
3532         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3533         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3535         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3536         __hurd_threadvar_stack_offset,
3537         __hurd_threadvar_stack_mask): New variables.
3538         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3539         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3540         New variables (moved here from hurdstartup.c).
3541         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3542         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3543         Variables removed (moved to hurdsig.c).
3544         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3545         __hurd_threadvar_stack_mask): Variables removed.
3546         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3547         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3548         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3549         __hurd_threadvar_stack_mask): Variables removed.
3551 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3553         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3554         Declare extern.
3556         * malloc/thread-m.h
3557         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3558         (mutex_t): Type removed.
3559         (mutex_t): New macro.
3560         (mutex_trylock): New macro.
3561         (__x_mutex_lock, __x_mutex_unlock): New functions.
3562         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3563         the cthread definitions.
3564         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3565         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3566         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3567         (__pthread_initialize): New macro, work around assumption of pthreads.
3569 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3571         * sysdeps/generic/netinet/in.h: Protect contents using
3572         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3574         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3575         * inet/Makefile (headers): Remove net/ethernet.h.
3576         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3577         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3579 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
3581         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3582         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3584 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3586         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3588 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3590         * stdio-common/test-fseek.c: Remove temporary file, add
3591         copyright.
3593 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3595         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3596         levels with no non-IGNOREd element and handling of NUL byte.
3597         * string/strcoll.c (STRXFRM): Likewise.
3598         * locale/weight.h: Likewise.
3600         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3602 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3604         * locale/programs/locale.c: Check whether output of `locale -a'
3605         really is locale directory.  Also print locale aliases.
3607 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3609         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3610         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3612 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3614         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3615         additional argument.
3617 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3619         * inet/net/ethernet.h: New file.
3620         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3621         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3622         Contributed by a sun <asun@zoology.washington.edu>.
3624         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3625         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3626         Reported by a sun <asun@zoology.washington.edu>.
3628 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3630         * stdio-common/bug10.c (main): Correct parameter.
3632         * string/strcoll.c: Update copyright.
3634 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3636         * malloc/obstack.h: Add `extern "C"' protection.
3637         * posix/regex.h: Likewise.
3638         * io/ftw.h: Likewise.
3639         * misc/libgen.h: Likewise.
3640         * login/utmp.h: Likewise.
3641         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3642         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3643         * sunrpc/rpc/pmap_rmt.h: Likewise.
3644         * sunrpc/rpc/auth_des.h: Likewise.
3645         * elf/link.h: Likewise.
3646         * inet/netinet/ether.h: Likewise.
3647         Reported by HJ Lu.
3649 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3651         Linux specific network headers.
3652         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3653         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3654         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3655         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3656         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3657         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3658         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3659         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3660         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3661         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3662         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3663         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3664         Add sys/quota.h.
3665         [$(subdir)=inet] (sysdep_headers): Add new network header.
3667         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3668         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3670         * inet/netinet/ip.h: Move to sysdeps/generic.
3672 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3674         * inet/netinet/ip.h: Add protection.
3676 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3678         * misc/sys/syslog.h (prioritynames): Correct definition to use
3679         braces where necessary.
3680         (facilitynames): Likewise.
3681         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3682         Comment and beautify declarations.
3684 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3686         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3687         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3689 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3691         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3692         _nss_nis_gethostton_r.
3693         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3695 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
3697         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
3698         length of abs_filename.
3700 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3702         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3703         trying to resolv name as numeric IPv6 address.
3704         * nss/digits_dots.c: Likewise.
3706 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3708         * locale/programs/localedef.c: Implement --quiet option.
3709         * locale/programs/charset.h: Declare be_quiet variable.
3710         * locale/programs/locfile.h: Likewise.
3711         * locale/programs/charmap.c: Don't print warnings if quiet option
3712         was given.
3713         * locale/programs/ld-collate.c: Likewise.
3714         * locale/programs/ld-ctype.c: Likewise.
3715         * locale/programs/ld-messages.c: Likewise.
3716         * locale/programs/ld-monetary.c: Likewise.
3717         * locale/programs/ld-numeric.c: Likewise.
3718         * locale/programs/ld-time.c: Likewise.
3719         * locale/programs/locfile.c: Likewise.
3721 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3723         * stdlib/qsort.c: Add prototype for _quicksort.
3725         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3727         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3728         from dl-machine.h.
3730 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3732         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3733         Allow user to overwrite it.
3735 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3737         * libio/_G_config.h: Make sure win_t is also defined for old gcc
3738         versions.  Reported by Andreas Jaeger.
3740 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3742         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
3743         1997-02-12.
3745         * time/tzfile.c (__tzfile_read): Change comment to follow
3746         change of 1997-02-12.
3748 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3750         * time/time.h (__nanosleep): Define only when struct timespec is
3751         also available.
3752         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3754 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3756         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3757         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3759 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3761         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3762         of 1997-02-09 in resolv/gethnamaddr.c.
3764 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3766         * libio/_G_config.h (_G_wint_t): New.
3768 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3770         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3771         to sizeof (buf.buf) while calling res_search ().
3773 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3775         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3776         val to keydat, stat to status.
3778 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3780         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3782 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3784         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3785         by Keith Bostic.
3787 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3789         * stdlib/atoll.c: Undefine atoll, not atol.
3791 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3793         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3794         unused arguments of shell script.
3796         * Makeconfig (all-object-suffixes): New variable.
3797         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3798         of $(object-suffixes).
3799         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3801 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3803         * locale/weight.h (collate_rules): It's an u_int32_t array.
3804         (get_weight): Compute initial SLOT value correctly.
3806 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3808         * string/argz-ctsep.c: Initialize *LEN when successful.
3810 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3812         * version.h (VERSION): Bump to 2.0.2.
3814         * posix/Makefile (routines): Add getopt_init.
3815         * posix/getopt.c: Don't get environment variable with nonoption
3816         flags here.  Depend on __getopt_nonoption_flags variable filled
3817         somewhere else.  This is necessary since the variable must be
3818         removed even when getopt isn't used in case exec(2) gets called.
3819         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3820         and remove environment variable.
3821         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3822         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3823         * sysdeps/stub/init-first.c: Likewise.
3824         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3826         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3827         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3829         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3830         encryption is wanted.
3832         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3833         * stdio/vsnprintf.c: Likewise.
3834         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3836         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3837         * stdio/vsnprintf.c: Likewise.
3838         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3840 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3842         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3843         Change PTR to void *.
3844         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3845         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3847 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3849         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3851 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3853         * rellns-sh: No need to check for existance of first parameter.
3855 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3857         * rellns-sh: No need to check for existance of first parameter.
3859 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3861         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
3862         by David Holland <dholland@eecs.harvard.edu>.
3864 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3866         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3867         select, in case it is modified by the latter.
3868         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3869         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3870         * sunrpc/svc_tcp.c (readtcp): Likewise.
3872         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3873         array.
3875         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3876         and gid_t.
3878         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3879         argument.
3881 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3883         * elf/Makefile (extra-objs): Don't zap previous value.
3884         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
3885         twice.
3887 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3889         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3890         braindamage (sigh!).
3892 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
3894         * manual/memory.texi: Correct `copystring' example for obstacks.
3896 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
3898         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3899         GNU tr don't grok it.
3901 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3903         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
3904         Don't use GNU C extensions.
3905         (CMSG_DATA): Use portable definition.
3907 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
3909         * elf/ldd.bash.in: Add test for read permission and print appropriate
3910         message.  Change warning and error messages to print "ldd: " at start.
3911         * elf/ldd.sh.in: Likewise.
3913         * stdlib/Makefile (routines): Add atoll.
3914         * stdlib/atoll.c: New file.
3915         * stdlib/stdlib.h: Add prototype and optimization for atoll.
3917         * stdlib/a64l.c: Update copyright.
3918         * stdlib/abs.c: Likewise.
3919         * stdlib/atof.c: Likewise.
3920         * stdlib/atoi.c: Likewise.
3921         * stdlib/atol.c: Likewise.
3922         * stdlib/bsearch.c: Likewise.
3923         * stdlib/exit.c: Likewise.
3924         * stdlib/fpioconst.c: Likewise.
3925         * stdlib/fpioconst.h: Likewise.
3926         * stdlib/jrand48.c: Likewise.
3927         * stdlib/jrand48_r.c: Likewise.
3928         * stdlib/labs.c: Likewise.
3929         * stdlib/lcong48.c: Likewise.
3930         * stdlib/lcong48_r.c: Likewise.
3931         * stdlib/llabs.c: Likewise.
3932         * stdlib/lrand48.c: Likewise.
3933         * stdlib/lrand48_r.c: Likewise.
3934         * stdlib/mblen.c: Likewise.
3935         * stdlib/mbstowcs.c: Likewise.
3936         * stdlib/mbtowc.c: Likewise.
3937         * stdlib/mp_clz_tab.c: Likewise.
3938         * stdlib/mrand48.c: Likewise.
3939         * stdlib/mrand48_r.c: Likewise.
3940         * stdlib/msort.c: Likewise.
3941         * stdlib/nrand48.c: Likewise.
3942         * stdlib/nrand48_r.c: Likewise.
3943         * stdlib/qsort.c: Likewise.
3944         * stdlib/rpmatch.c: Likewise.
3945         * stdlib/seed48.c: Likewise.
3946         * stdlib/seed48_r.c: Likewise.
3947         * stdlib/srand48.c: Likewise.
3948         * stdlib/srand48_r.c: Likewise.
3949         * stdlib/strtod.c: Likewise.
3950         * stdlib/wcstombs.c: Likewise.
3951         * stdlib/wctomb.c: Likewise.
3953 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
3955         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
3956         as const.
3958 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
3960         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
3961         including <stddef.h>.
3963 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3965         * time/Makefile (tzbases, tzlinks): New.
3966         (tzfiles): Changed to $(tzbases) $(tzlinks).
3967         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
3969 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3971         * Makefile (install): Ignore error from ldconfig.
3973         * time/zic.c (mkdirs): Double check the error return of mkdir ().
3975 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
3977         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
3978         like PPC where va_list is no integral type.
3980 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
3982         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
3983         if nonoption_flags_len == -1.
3985 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
3987         * Version 2.0.1 net release.
3989 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
3991         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
3993 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
3995         * stdlib/getsubopt.c: Don't return `=' for suboption which has
3996         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
3998 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4000         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4001         values as in yp.x and yp.h.
4003 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4005         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4006         1997-02-03 02:17.  Sun's implementation internally corrects
4007         this bug but we don't want to hide this from the user.
4008         * nis/rpcsvc/yp.h: Likewise.
4010 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4012         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4013         inclusion.
4015 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4017         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4018         fixes.
4020 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4022         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4023         (all-sources, all-headers): Use them instead of $(sources) and
4024         $(headers) when searching in sysdep directories.
4026 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4028         * Makerules (REAL_MAKE_VERSION): Use internal make function
4029         instead of shelling out.
4031 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4033         * time/Makefile (install-test-data): Remove mkdir command, zic can
4034         handle that gracefully.
4036 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4038         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4039         somehow.
4041 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4043         * sunrpc/Makefile: Check $(cross-compiling) only after including
4044         ../Makeconfig.
4045         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4046         being considered as a rule.
4047         (generated): Add stamp files before the inclusion of Makerules to
4048         magically mark them as not being intermediate via the `generated'
4049         target.
4051 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4053         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4054         entries.  This is still no complete implementation since AUXILIARY
4055         entries in other shared objects are not yet handled.
4057         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4058         place.
4060         * po/es.po: Update.
4061         * po/fr.po: Update.
4062         * po/nl.po: Update.
4064         * time/Makefile: Better cross-compile support.  Avoid test which
4065         cannot be run.
4066         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4067         tzfile.h file.
4068         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4069         in SUID programs.
4070         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4071         default values as in tzfile.c.
4073         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4074         tags.
4075         * elf/link.h: Likewise.
4076         * elf/elf.h: Add tag definitions and data structures for versioning.
4078 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4080         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4081         "Sun bug".  This is the order of elements also used by 4.4BSD.
4082         * nis/rpcsvc/yp.h: Likewise.
4083         Reported by HJ Lu.
4085 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4087         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4088         action.
4090         * Makefile (install): Pass installation directories as arguments
4091         to ldconfig.
4093 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4095         * malloc/malloc.c (__after_morecore_hook): New variable.
4096         (malloc_extend_top): Call __after_morecore_hook if set.
4097         (main_trim): Likewise.
4098         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4099         Suggested by Marcus Daniels.
4101 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4103         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4104         #ifndef NO_THREADS.
4105         (mallinfo): Likewise.
4107         * malloc/malloc.c (__morecore): Make external since it is used in
4108         programs.
4110 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4112         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4113         unsigned.
4115 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4117         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4118         use t6 as a temporary; it contains bits we still need in $u_head.
4120 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4122         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4123         using __ prefix.  Add prototype for log1p.
4125 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4127         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4129 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4131         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4133 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4135         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4136         structure plus related macros.
4137         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4138         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4139         (sysdep_routines): Add cmsg_nxthdr.
4140         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4141         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4143 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4145         * time/strftime.c: Define _strftime_copytm without protecting arguments
4146         which breaks the definition.
4148 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4150         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4151         definition of type for element.
4153 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4155         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4156         constants.
4158 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4160         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4161         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4163 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4165         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4166         Define if _LIBC is defined.
4167         <limits.h>: Include if HAVE_LIMITS_H instead of if
4168         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4169         <stdlib.h>: Similarly, include if STDC_HEADERS.
4170         (localtime_r): Redo #ifdef to make it clear that glibc has
4171         localtime_r now.
4173 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4175         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4176         file to avoid unnecessary recompilation.
4178 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4180         * Makefile: Set install-others, not install_others.
4181         (before-compile): Use += to preserve previous value.
4182         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4183         fix dependency name.
4184         ($(objpfx)lib-names.h): Remove rule.
4185         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4186         with correct name, using an intermediate stamp file.
4187         (common-generated): Add gnu/lib-names.h.
4188         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4190 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4192         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4193         to prevent warnings on 64 bit systems.
4194         Reported by Paul Wouters <paul@xtdnet.nl>.
4196         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4197         we assume it works.
4199 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4201         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4202         double word boundary before pushing args for main.  This way we
4203         don't get penalties for misaligned memory accesses.  Reported by
4204         Edward Seidl <seidl@janed.com>.
4206         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4207         Patch by HJ Lu.
4209         * misc/bsd-compat.c: Update copyright.
4210         * misc/efgcvt.c: Likewise.
4211         * misc/efgcvt_r.c: Likewise.
4212         * misc/error.c: Likewise.
4213         * misc/error.h: Likewise.
4214         * misc/fstab.c: Likewise.
4215         * misc/init-misc.c: Likewise.
4216         * misc/lsearch.c: Likewise.
4217         * misc/mntent.c: Likewise.
4218         * misc/qefgcvt.c: Likewise.
4219         * misc/qefgcvt_r.c: Likewise.
4220         * nss/databases.def: Likewise.
4221         * nss/db-Makefile: Likewise.
4222         * nss/ethers-lookup.c: Likewise.
4223         * nss/hosts-lookup.c: Likewise.
4224         * nss/netgrp-lookup.c: Likewise.
4225         * nss/nsswitch.h: Likewise.
4226         * nss/proto-lookup.c: Likewise.
4227         * nss/rpc-lookup.c: Likewise.
4228         * nss/service-lookup.c: Likewise.
4229         * nss/nss_db/db-netgrp.c: Likewise.
4230         * nss/nss_files/files-grp.c: Likewise.
4231         * nss/nss_files/files-hosts.c: Likewise.
4232         * nss/nss_files/files-network.c: Likewise.
4233         * nss/nss_files/files-proto.c: Likewise.
4234         * nss/nss_files/files-pwd.c: Likewise.
4235         * nss/nss_files/files-rpc.c: Likewise.
4236         * nss/nss_files/files-service.c: Likewise.
4237         * nss/nss_files/files-spwd.c: Likewise.
4238         * shadow/fgetspent.c: Likewise.
4239         * shadow/fgetspent_r.c: Likewise.
4240         * shadow/getspent.c: Likewise.
4241         * shadow/getspent_r.c: Likewise.
4242         * shadow/getspnam.c: Likewise.
4243         * shadow/getspnam_r.c: Likewise.
4244         * shadow/putspent.c: Likewise.
4245         * shadow/sgetspent.c: Likewise.
4246         * shadow/sgetspent_r.c: Likewise.
4247         * sysdeps/i386/init-first.c: Likewise.
4248         * sysdeps/unix/i386/sysdep.S: Likewise.
4250         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4251         prepared to be running in a multi-threaded environment.  Change
4252         to __USE_MISC unless the function is defined in POSIX.1 (in this
4253         case also test for __USE_POSIX).
4254         * dirent/dirent.h: Likewise.
4255         * grp/grp.h: Likewise.
4256         * inet/aliases.h: Likewise.
4257         * libio/libio.h: Likewise.
4258         * libio/stdio.h: Likewise.
4259         * login/utmp.h: Likewise.
4260         * math/mathcalls.h: Likewise.
4261         * misc/mntent.h: Likewise.
4262         * pwd/pwd.h: Likewise.
4263         * resolv/netdb.h: Likewise.
4264         * stdlib/stdlib.h: Likewise.
4265         * string/string.h: Likewise.
4266         * sunrpc/rpc/netdb.h: Likewise.
4267         * sysdeps/generic/crypt.h: Likewise.
4268         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4269         * time/time.h: Likewise.
4271 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4273         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4274         only if not cross compiling.
4276 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4278         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4279         NULL.
4280         * sysdeps/posix/sigwait.c: Likewise.
4282 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4284         * Makeconfig ($(common-objpfx)config.make): Depend on
4285         $(..)config.make.in.
4287 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4289         * sunrpc/Makefile: Don't generate headers derived from .x files when
4290         crosscompiling.
4292 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4294         * Makefile: Generate gnu/lib-names.h in before-compile.
4295         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4296         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4297         to the revision found for LIBNSS_FILES_SO.
4298         (nss_initilized): Removed.  It was tested but never set.
4299         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4301         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4302         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4304         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4306 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4308         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4309         override the definition.
4311 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4313         * config.make.in (malloc): Remove.
4315 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4317         * version.h (VERSION): Bump to 2.0.1.
4319         * posix/getopt.c: Handle another problem introduced by the
4320         nonoption_flags array.  We must be able to work with reordered
4321         argv arrays.  Reported by Andreas Schwab.
4323 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4325         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4326         stack.
4328 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4330         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4331         that it works with yp.h.
4333 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4335         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4336         __libc_malloc_initialized so that this variable is not shared with
4337         other users of GNU malloc.
4338         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4340         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4342         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4343         variables to prevent warnings.
4344         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4345         using attribute regparm.
4346         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4347         is changed by the resolver code.
4349 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4351         * malloc/malloc.c (weak_variable): Define.
4352         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4353         __memalign_hook): Make them weak definitions.
4355 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4357         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4358         limits, correctly take structure padding into account, use correct
4359         offset when resetting the stream, change heuristic to assume an
4360         average name length of 14 characters.
4362 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4364         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4365         inclusion.
4368 See ChangeLog.6 for earlier changes.