Update.
[glibc.git] / ChangeLog
blobe503b3ff5ba84931bb3b15e6d22f784604850f17
1 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
4         -fPIC.
5         * Makerules (compile.S): Use ASFLAGS-%.
6         (COMPILE.S): Likewise.
7         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
8         * configure.in: Substitute ASFLAGS_SO.
9         * sysdeps/sparc/configure.in: New file.
11         * posix/unitstd.h: Add prototype for __euidaccess.
12         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
13         euidaccess weak alias.
14         * sysdeps/stubs/euidaccess.c: Likewise.
15         * inet/rcmd.c: Use __ protected versions of non-standard functions.
17         * locale/setlocale.c (setlocale): Don't set usage_count to
18         MAX_USAGE_COUNT if it already has this value.
20         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
21         binary locale files.  Use LOCALEDIR only.
22         * locale/programs/locfile.c: When named file not found and not
23         absolute use path in I18NPATH.
25         * stdlib/Makefile (headers): Add inttypes.h.
27         * sysdpes/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
28         and AF_FILE as synonym for AF_LOCAL.
29         * sysdpes/unix/sysv/linux/socketbits.h: Likewise.
31         * time/Makefile: Rewrite rules for test to handle parallel builds.
33 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
35         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
36         robbe@orcus.priv.at.
38 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
40         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
41         8-byte boundary.
43 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
45         * elf/link.h: Define __need_NULL to get definition.  Include
46         <features.h>.
47         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
49 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
51         Rewrite NIS code to allow empty keys.
52         * nis/nss_nis/nis-ethers.c: Rewritten.
53         * nis/nss_nis/nis-proto.c: Rewritten.
54         * nis/nss_nis/nis-publickey.c: Rewritten.
55         * nis/nss_nis/nis-rpc.c: Rewritten.
56         * nis/nss_nis/nis-service.c: Rewritten.
58 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
60         * time/scheck.c (scheck): Add extra const to second argument.
62         * time/private.h: Correct prototypes to match definition.
64 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
66         * sysdeps/alpha/__math.h: Remove cabs inline definition.
67         Reported by Philip Blundell <pjb27@cam.ac.uk>.
69 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
71         * argp/Makefile (routines): Add argp-eexst.
72         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
73         * argp/argp-eexst.c: New file.  Define exit status variable.
74         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
75         variable instead of always exiting with value 1.
76         * argp/argp-pv.c (argp_program_version): Make `const'.
77         * argp/argp.h: Declare argp_err_exit_status.
78         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
80         * locale/programs/localedef.c: Use argp_err_exit_status to
81         terminate with correct value.
83         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
84         switching of UID before opening .rhosts.
86         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
87         proposal.  The return value now is always the number of characters
88         which would be written if enough space is available.
89         * manual/stdio.texi: Update description for new behaviour.
91         * locale/locale.h (__locale_t): Don't use __locale_t for struct
92         name and pointer to struct since old gccs cannot keep the namespaces
93         apart.  Rename struct to __locale_struct.
94         * locale/duplocale.h: Likewise.
95         * locale/newlocale.h: Likewise.
97         * math/Makefile (headers): Add complex.h and cmathcalls.h.
98         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
99         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
100         after use.
101         (signgam): Move declaration to here from mathcalls.h.
102         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
103         Correct comment for fmin and fmax.
104         Start implementing complex math function from ISO C 9X.
105         * math/complex.h: New file.
106         * math/cmathcalls.h: New file.
107         * math/cabs.c: New file.
108         * math/cabsf.c: New file.
109         * math/cabsl.c: New file.
110         * math/cimag.c: New file.
111         * math/cimagf.c: New file.
112         * math/cimagl.c: New file.
113         * math/conj.c: New file.
114         * math/conjf.c: New file.
115         * math/conjl.c: New file.
116         * math/creal.c: New file.
117         * math/crealf.c: New file.
118         * math/creall.c: New file.
119         * sysdeps/libm-ieee754/w_cabs.c: Removed.
120         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
121         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
123         * posix/regex.c: Merge with regex sources from Arnold Robbins'
124         version in GNU awk.
125         * posix/regex.h: Likewise.
127         Add regex test suite by Tom Lord.
128         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
129         (tests): Add runtests.
130         (before-compile): Add testcases.h.
131         (testcases.h): New rule to generate header with tests.
132         * posix/TESTS: New file.
133         * posix/TESTS2C.sed.: New file.
134         * posix/runtests.c: New file.
135         * posix/testcases.h: New file.
137         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
138         available and use fall-back implementation if not.
140         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
142         * time/ialloc.c: Update from tzcode1997c.
143         * time/private.h: Likewise.
144         * time/scheck.c: Likewise.
145         * time/tzselect.ksh: Likewise.
146         * time/zdump.c: Likewise.
147         * time/zic.c: Likewise.
149         * time/tzfile.c: Pretty print.
151 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
153         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
154         on a 601.
156         * sysdeps/powerpc/Implies: Added.
157         * sysdeps/powerpc/__longjmp.S: Added.
158         * sysdeps/powerpc/__math.h: Added.
159         * sysdeps/powerpc/bsd-_setjmp.S: Added.
160         * sysdeps/powerpc/bsd-setjmp.S: Added.
161         * sysdeps/powerpc/dl-machine.h: Added.
162         * sysdeps/powerpc/ffs.c: Added.
163         * sysdeps/powerpc/fpu_control.h: Added.
164         * sysdeps/powerpc/jmp_buf.h: Added.
165         * sysdeps/powerpc/setjmp.S: Added.
166         * sysdeps/powerpc/strlen.s: Added.
167         * sysdeps/powerpc/elf/start.c: Added.
168         * sysdeps/powerpc/fpu_control.h: Added.
169         * sysdeps/powerpc/jmp_buf.h: Added.
171         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
172         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
173         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
174         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
175         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
176         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
177         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
178         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
179         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
180         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
181         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
182         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
183         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
184         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
185         * sysdeps/unix/sysv/linux/powerpc/sys/syscall.h: Added.
187 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
189         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
190         because knowing the first instruction of a PowerPC PLT trampoline
191         is not very helpful.
193 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
195         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
196         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
197         a preference as to where executables should be loaded.
199 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
201         * elf/elf.h: Add in all those PowerPC reloc types.
203 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
205         * stdio-common/vfscanf.c: Use __va_copy if available.
207 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
209         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
210         clean up namespace.
212 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
214         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
215         non-existing GET_WORDS macro, use EXTRACT_WORDS.
216         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
218 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
220         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
221         kernel-level sigaction structure is different.  handle this
222         correctly.
223         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
225 1997-03-06 05:55  David Engel  <david@sw.ods.com>
227         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
228         recognize cache entries with flag == 3.
230 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
232         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
233         (INADDR_LOOPBACK): Likewise.
234         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
236         * manual/socket.texi: Correct types of INADDR_* constants from
237         unsigned long to unsigned.
239 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
241         * time/antarctica: Update from tzdata1997c.
242         * time/asia: Likewise.
243         * time/zone.tab: Likewise.
245 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
247         * configure.in (libc_cv_asm_symver_directive,
248         libc_cv_ld_version_script_option): Remove unknown instruction from
249         assembler test file.
251 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
253         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
254         __USE_ISOC9X.
255         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
256         (fabs): Remove defininition, it is a gcc builtin.
257         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
259 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
261         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
262         generating file.
264 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
266         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
267         instead to avoid namespace problems.
268         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
270 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
272         * login/utmp_file.c: Fix previous change.  Make portable by
273         checking the _HAVE_UT_* feature macros.
275 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
277         * Makerules: Add rules to handle versioning.
278         * config.h.in (DO_VERSIONING): New macro.
279         * config.make.in (versioning): New variable.
280         * configure.in: Add checks for .symver directive in gas and
281         --version-script option to ld.  Define DO_VERSIONING and
282         versioning if appropriate.
284         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
285         s_fmin, and s_fdim.
286         * math/math.h: Define ISO C 9X constants, macros and functions.
287         * math/mathcalls.h: Likewise.
288         * sysdeps/libm-ieee754/s_fdim.c: New file.
289         * sysdeps/libm-ieee754/s_fdimf.c: New file.
290         * sysdeps/libm-ieee754/s_fdiml.c: New file.
291         * sysdeps/libm-ieee754/s_fmax.c: New file.
292         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
293         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
294         * sysdeps/libm-ieee754/s_fmin.c: New file.
295         * sysdeps/libm-ieee754/s_fminf.c: New file.
296         * sysdeps/libm-ieee754/s_fminl.c: New file.
297         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
298         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
299         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
300         * sysdeps/libm-ieee754/s_signbit.c: New file.
301         * sysdeps/libm-ieee754/s_signbitf.c: New file.
302         * sysdeps/libm-ieee754/s_signbitl.c: New file.
304         * stdio-common/printf_fphex.c: Correct printing of decimal point
305         character.
306         Simplify conversion of mantissa to string.
307         * stdio-common/vfscanf.c: Handle %A format.
308         Optimize termination of floating-point scanning.
309         * stdio-common/tstscanf.c (main): Add new test to scanf to test
310         scanning float values with given width.
311         * stdlib/strtod.c: Add handling of floating-point numbers in
312         hexadecimal notation.
314         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
315         functions.
316         Pretty print #if directives.
317         * string/string.h: Pretty print #if directives.
319         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
320         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
321         * sysdeps/ieee754/mpn2dbl.c: Likewise.
322         * sysdeps/ieee754/mpn2flt.c: Likewise.
323         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
325         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
326         falling back to select-based implementation if syscall isn't
327         available.
328         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
330         * time/leapseconds: Update from tzdata1997b.
331         * time/zic.c: Update from tzcode1997b.
333 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
335         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
336         depedencies between installed $(tzlinks) and $(tzbases) files.
338 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
340         * math/math.h: Make compatible with traditional preprocessor;
341         requires carefull placement of whitespace in macro arguments.
342         Use __CONCAT instead of ##.
343         Declare long double functions only if __STDC__ or __GNUC__.
344         * math/mathcall.h: Avoid whitespace before argument of macro call
345         that is used as function name.
347         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
348         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
349         of __NO_M81_MATH_INLINES.
350         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
351         starting with __ieee754.
352         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
353         functions as inlines.
354         (__m81_defun): Put __attribute__ between return type and function
355         name.
356         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
357         is defined.
358         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
359         instead of __NO_M81_MATH_INLINES.
360         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
361         * sysdeps/m68k/fpu/k_cos.c: Likewise.
362         * sysdeps/m68k/fpu/k_sin.c: Likewise.
363         * sysdeps/m68k/fpu/k_tan.c: Likewise.
364         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
365         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
366         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
367         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
368         * sysdeps/m68k/fpu/s_modf.c: Likewise.
369         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
371 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
373         * Makefile (tests): Cope with $PATH not including the current
374         directory.
376 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
378         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
379         $(common-objdir-compile).
380         ($(common-objpfx)make-ioctls): Likewise.
381         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
382         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
383         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
384         Likewise.
385         ($(common-objpfx)sys/syscall.h): Likewise.
386         ($(common-objpfx)local_lim.h): Let make deal with command
387         failure.
388         ($(common-objpfx)param.h.dep): Use temporary file and update
389         target atomically.
390         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
391         (include $(common-objpfx)param.h.dep): Ignore error.
393         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
394         $(common-objdir-compile).
395         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
396         $(shell pwd) instead of $$cwd.
398         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
399         $(common-objdir-compile).
400         ($(objpfx)make_siglist): Use $(native-compile).
401         (make_siglist-CFLAGS): New variable.
403         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
404         the old name for the user to pass additional flags to the host
405         compiler.  Fix reference to config header.
406         (native-compile, common-objdir-compile): Rewritten to make more
407         generally usable.
408         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
409         instead of BUILD_CFLAGS.
411         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
412         defined.
414 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
416         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
417         New rules to generate dependencies for the RPC service objects.
419 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
421         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
422         supplied.
424 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
426         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
427         so that clearing second word is necessary.
429         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
430         header since it is wrong for 64 bit systems.
431         Patch by a sun <asun@zoology.washington.edu>.
433 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
435         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
436         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
437         for the benefit of running foreign binaries.
439 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
441         * login/utmp_file.c (pututline_file): Correctly decide whether
442         LAST_ENTRY matches DATA.
443         Don't depend on ut_id ever being set.
444         (proc_utmp_eq): New function.
445         (internal_getut_r): Renamed from internal_getutid_r.
446         Use proc_utmp_eq.
448         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
450 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
452         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
454 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
456         * manual/Makefile: Add rules to run and distribute xtract-typefun.
457         * manual/xtract-typefun.awk: New file.  Script to extract function,
458         variable, macro anchor to put into the `dir' file.
459         * manual/signal.texi: Document difference between SysV and BSD
460         signal(3) function and add documentation for sysv_signal.
462         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
463         exponent before comparing.
465 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
467         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
468         prototypes to use types with explicit width.  `unsigned long' is
469         different on 64 bit systems.
470         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
471         * sysdeps/generic/htonl.c: Likewise.
472         * sysdeps/generic/htons.c: Likewise.
473         * sysdeps/generic/ntohl.c: Likewise.
474         * sysdeps/generic/ntohs.c: Likewise.
475         Suggested by a sun <asun@zoology.washington.edu>.
477 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
479         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
480         defined and we want optimization.
482 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
484         * misc/getpass.c: Don't disable canonical input.
485         Reverted patch of Mon Jan  6 01:35:29 1997.
487 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
489         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
490         match the hidden __in_chrg parameter of the destructor.
491         (_IO_FINISH): Pass zero for it.
492         * libio/genops.c (_IO_default_finish): Add second parameter, which
493         is ignored.
494         * libio/memstream.c (_IO_mem_finish): Likewise.
495         * libio/fileops.c (_IO_file_finish): Likewise.
496         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
498 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
500         * time/Makefile: Avoid using patterns in dependencies.
502 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
504         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
505         SPARC will convert the call _dl_start into a call into the PLT.
507         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
508         of arg to make it point to the actual values.
510         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
511         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
513         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
514         them PIC aware.
516         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
517         Implemented.
518         (elf_machine_rela): Make it compile; fix existing relocation
519         types; add unhandled relocation types.
520         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
521         (RTLD_START): Initial implementation, not yet finished.
523         * sysdeps/sparc/elf/start.S: Fix.
525         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
526         __setfpucw.
528         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
529         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
530         sysdeps/sparc/urem.S : Regenerated.
532         * sysdeps/sparc/setjmp.S: Make it PIC aware.
534         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
535         __ASSEMBLY__ before using kernel header.
537         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
538         rtld.c.
540         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
541         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
542         to handle old signals.
543         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
544         for all Linux/SPARC kernels.
545         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
546         errno using __errno_location.
547         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
548         macros for assembler sources.
549         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
551 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
553         * elf/rtld.c (dl_main): Remove dead code that is never executed.
554         Rename local variable l to main_map where it is used to point to
555         the load_map for the executable.
557 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
559         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
560         could not be found.
562 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
564         * Makerules: Generate implicit object suffix rules automagically.
565         (o-iterator): Move before first use.
567         * Makeconfig (all-object-suffixes): Add .bo suffix.
569 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
571         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
572         word on stack for overflow.
574 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
576         * malloc/malloc.c (malloc_get_state): New function.
577         Saves global malloc state to an opaque data structure which
578         is dynamically allocated in the heap.
579         * malloc/malloc.c (malloc_set_state): New function.
580         Restore previously obtained state.
581         * malloc/malloc.h: Add declaration of malloc_get_state()
582         and malloc_set_state().
584 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
586         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
587         position.
589 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
591         * misc/error.c: Make error and error_at_line weak aliases of
592         __error and __error_at_line respectively.
593         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
595         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
597 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
599         * elf/ldd.bash.in: Run the program directly, not as argument
600         to the dynamic linker, if it contains an interpreter segment.
601         * elf/ldd.sh.in: Likewise.
603         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
604         object contains an interpreter segment and exit with 2 if not.
606 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
608         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
609         and xlocale.h.  Make-dist adds them automagically.
611 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
613         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
614         time-era-num-entries.
616 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
618         * rellns-sh: No need to check for existance of first parameter.
620 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
622         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
623         to avoid duplicate mail.
625 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
627         * Makefile (distribute): Add isomac.c.
628         (tests): Run isomac test.
630         * features.h (__USE_ISOC9X): New macro.
632         * catgets/catgets.c: Don't use global variable `optind'.  Instead
633         use result computed by argp_parse.
634         * db/makedb: Likewise.
635         * locale/programs/locale.c: Likewise.
636         * locale/programs/localedef.c: Likewise.
638         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
640         * libio/clearerr.c: Remove clearerr_locked alias.
641         * libio/feof.c: Remove feof_locked alias.
642         * libio/ferror.c: Remove feof_locked alias.
643         * libio/fileno.c: Remove fileno_locked alias.
644         * libio/fputc.c: Remove fputc_locked alias.
645         * libio/getc.c: Remove getc_locked alias.
646         * libio/getchar.c: Remove getchar_locked alias.
647         * libio/iofflush.c: Remove fflush_locked alias.
648         * libio/putc.c: Remove putc_locked alias.
649         * libio/putc.c: Remove putchar_locked alias.
651         * stdio-common/printf_fp.c: When number is inifinity print INF
652         or inf depending on case of specifier.  Same for NaN where NAN
653         or nan is printed.  Specified in ISO C 9X.
655         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
656         * stdio/stdio.h: Add __restrict to prototypes where necessary.
657         * libio/stdio.h: Likewise.
658         * stdlib/stdlib.h: Likewise.
659         * string/string.h: Likewise.
660         * time/time.h: Likewise.
661         * wcsmbs/wchar.h: Likewise.
663         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
664         NAN(...).
666         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
667         of HUGE_VALf and HUGE_VALL.
668         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
669         instead of HUGE_VALf.
670         * wcsmbs/wcstof.c: Likewise.
671         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
672         instead of HUGE_VALl.
673         * wcsmbs/wcstold.c: Likewise.
675         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
676         avoid warning.
678         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
679         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
680         * wcsmbs/wcscasecmp.c: New file.
681         * wcsmbs/wcsncase.c: New file.
683         * stdlib/strtol.c: Define wide character quad word functions as
684         wcstoll and wcstoull and normal versions as strtoll and strtoull.
685         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
686         * wcsmbs/wcstoq: Renamed to wcstoll.c.
687         * wcsmbs/wcstouq: Renamed to wcstoull.c.
688         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
689         alias of wcstoll.
690         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
691         alias of wcstoull.
692         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
693         wcstoll and wcstoull respectively.
694         * stdlib/strtoq.c: Rename to strtoll.c.
695         * stdlib/strtouq.c: Rename to strtoull.c.
696         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
697         alias of strtoll.
698         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
699         alias of strtoull.
700         * stdlib/Makefile (routines): Replace strtoq and strtouq by
701         strtoll and strtoull respectively.
702         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
703         __strtouq_internal but instead __strtoll_internal and
704         __strtoull_internal respectively.
705         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
706         (strtouq): Similar with __internal_strtoull.
707         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
708         (wcstouq): Similar with __internal_wcstoull.
710 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
712         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
713         sign in the strtouXX functions.  The results gets simply negated.
714         * stdio-common/tstscanf.c: Add testcase for above case.
715         * stdlib/tst-strtol.c: Correct tests.
717         * manual/stdio-fp.c: New file.  Generate output for example program
718         in stdio.texi.
720         * stdio-common/Makefile (routines): Add printf_fphex.
721         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
722         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
723         specifier.
725 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
727         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
728         __STRICT_ANSI__.
730         * math/math.h: Prevent definition of struct exception when using
731         C++.  Use __exception instead.
733 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
735         * sysdeps/unix/syscalls.list: Dup takes only one argument.
736         Reported by Greg McGary.
738 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
740         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
741         than file_get_translator.
743         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
744         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
746 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
748         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
749         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
751 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
753         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
754         but ADDR also == 0.
756         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
757         now instead of a weak extern, as some old programs expect it to be
758         defined by ld.so.
760 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
762         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
764         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
765         __hurd_threadvar_stack_offset): Restore initialized versions, so
766         startup works correctly.
768         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
770 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
772         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
773         not __mutex_try_lock.
774         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
775         (tsd_getspecific): Case variable to (void *) before returning.
777         * hurd/hurdinit.c (__libc_argv): Remove extern.
778         (__libc_argc): New variable.
780 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
782         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
783         _HURD_THREADVAR_MALLOC.
784         * malloc/thread-m.h
785         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
786         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
787         __mutex_*.
788         (mutex_t): Type removed & replaced by new macro.
789         (tsd_key_t): Typedef to int instead of pthread_key_t.
790         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
791         (__pthread_initialize): New macro, work around assumption of pthreads.
792         (tsd_keys_alloced): New static variable.
793         <hurd/threadvar.h>: New include.
795         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
796         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
797         defined before using it.
799         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
800         Make extern.
801         * hurd/hurdinit.c (__libc_argv): Make extern.
803         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
804         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
806         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
807         __hurd_threadvar_stack_offset,
808         __hurd_threadvar_stack_mask): New variables.
809         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
810         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
811         New variables (moved here from hurdstartup.c).
812         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
813         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
814         Variables removed (moved to hurdsig.c).
815         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
816         __hurd_threadvar_stack_mask): Variables removed.
817         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
818         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
819         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
820         __hurd_threadvar_stack_mask): Variables removed.
822 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
824         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
825         Declare extern.
827         * malloc/thread-m.h
828         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
829         (mutex_t): Type removed.
830         (mutex_t): New macro.
831         (mutex_trylock): New macro.
832         (__x_mutex_lock, __x_mutex_unlock): New functions.
833         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
834         the cthread definitions.
835         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
836         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
837         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
838         (__pthread_initialize): New macro, work around assumption of pthreads.
840 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
842         * locale/weight.h (collate_rules): It's an u_int32_t array.
843         (get_weight): Compute initial SLOT value correctly.
845 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
847         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
848         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
849         * sysdeps/unix/sysv/linux/bind.S: Likewise.
850         * sysdeps/unix/sysv/linux/connect.S: Likewise.
851         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
852         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
853         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
854         * sysdeps/unix/sysv/linux/listen.S: Likewise.
855         * sysdeps/unix/sysv/linux/recv.S: Likewise.
856         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
857         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
858         * sysdeps/unix/sysv/linux/send.S: Likewise.
859         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
860         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
861         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
862         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
863         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
865 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
867         * catgets/gencat.c: Change to use argp.
868         * db/makedb: Likewise.
869         * locale/programs/localedef.c: Likewise.
871         * locale/programs/locale.c: Little adjustment for better usage of
872         argp.
874 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
876         * Makeconfig: Add rules for libc with bounded pointers.
877         * Makerules: Likewise.
878         * config.make.in: Likewise.
879         * configure.in: Likewise.
881 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
883         * argp.h (OPTION_NO_USAGE): New macro.
884         * argp-help.c (usage_long_opt, usage_argful_short_opt,
885         add_argless_short_opt): Implement OPTION_NO_USAGE.
887 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
889         * malloc/obstack.h: Fix typo.
891 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
893         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
894         where NEXTLINE points one past the end of the active buffer.
896         * argp-help.c <stddef.h>: New include.
897         (__argp_failure): Only exit if STATE says it's ok.
898         (print_header, hol_entry_help): Use UPARAMS fields rather than
899         constants.
900         (_help): Call fill_in_uparams if necessary.
901         (struct hol_help_state): New type.
902         (struct pentry_state): Add hhstate field.  Remove prev_entry &
903         sep_groups fields.
904         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
905         sep_groups parameters.
906         Suppress duplicate arguments if requested, and note the fact.
907         (print_header, comma): Use PEST->hhstate fields.
908         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
909         Remove LAST_ENTRY & SEP_GROUPS variables.
910         If any suplicate arguments were suppressed, print explanatory note.
911         (filter_doc): Replace PEST parameter with STATE.
912         (struct uparams): New type.
913         (uparams): New variable.
914         (struct uparam_name): New type.
915         (uparam_names): New variable.
916         (fill_in_uparams): New function.
917         (__argp_failure, __argp_error, __argp_state_help): Make STATE
918         parameter const.
919         * argp.h (argp_state_help, __argp_state_help, argp_usage,
920         __argp_usage, argp_error, __argp_error, argp_failure,
921         __argp_failure): Make STATE parameter const.
922         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
924         * argp.h (argp_program_bug_address): Make const.
926 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
928         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
930 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
932         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
934 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
936         * stdio-common/test-fseek.c: Remove temporary file, add
937         copyright.
939 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
941         * sysdeps/generic/netinet/in.h: Protect contents using
942         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
944         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
945         * inet/Makefile (headers): Remove net/ethernet.h.
946         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
947         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
949 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
951         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
952         searching in sorted array.
954 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
956         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
957         and protect modification of global data.
959 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
961         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
962         (parser_init): Use the basename for PARSER->state.name.
963         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
964         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
966         * argp-parse.c (parser_init): Set PARSER->state.flags.
967         Make check whether PARSER has the prog name in argv[0] at the
968         proper place.
970 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
972         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
973         Use default value instead of printing a warning.
975         * nss/XXX-lookup.c: Add misssing explanation.
977 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
979         * inet/in6_addr.c: Add missing braces.
981         * inet/getnameinfo.c: Include <arpa/inet.h>.
983         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
985 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
987         * string/strxfrm.c (STRCOLL): Correct handling of `position'
988         levels with no non-IGNOREd element and handling of NUL byte.
989         * string/strcoll.c (STRXFRM): Likewise.
990         * locale/weight.h: Likewise.
992         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
994 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
996         * argp/argp-help.c: Add support for user provided filter of help
997         messages.
998         * argp/argp-parse.c: Likewise.
999         * argp/argp.h: Likewise.
1000         * argp/argp-namefrob.h: Define __argp_input.
1002         * argp/argp-test.c: Add example for filter.
1004 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
1006         * argp.h: New file.
1007         * locale/programs/locale.c: Switch to use argp.
1009         * errno.h: Make it possible to get definition of error_t even
1010         after having errno.h already.
1012         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
1013         from dl-lookup.c.
1014         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
1016         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
1017         * elf/dl-version.c: Likewise.
1019         * elf/dl-lookup.c: Implement new versioning lookup scheme.
1020         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
1021         in l_versions member.
1023         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
1024         and _dl_lookup_versioned_symbol.
1026         * elf/link.h: Rename hash_name_pair to struct r_found_version.
1027         * sysdeps/alpha/dl-machine.h: Likewise.
1028         * sysdeps/i386/dl-machine.h: Likewise.
1029         * sysdeps/m68k/dl-machine.h: Likewise.
1030         * sysdeps/mips/dl-machine.h: Likewise.
1032         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
1033         length of abs_filename.
1035         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
1037         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
1038         in mon_grouping information.  This means no more grouping.
1039         * locale/programs/ld-numeric.c (numeric_add): Write value \377
1040         when seein value 0 in grouping information.
1041         * locale/programs/linereader.c (lr_close): Don't free fname since
1042         it might be used in error messages.
1044         * locale/programs/locale.c: Check whether output of `locale -a'
1045         really is locale directory.  Also print locale aliases.
1047         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
1048         be const.
1050 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
1052         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
1053         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
1055 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
1057         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
1059 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
1061         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
1062         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1064         * sysdeps/stub/msync.c (msync): Add missing third parameter.
1066 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
1068         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
1069         additional argument.
1071 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
1073         * inet/net/ethernet.h: New file.
1074         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
1075         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
1076         Contributed by a sun <asun@zoology.washington.edu>.
1078         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
1079         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
1080         Reported by a sun <asun@zoology.washington.edu>.
1082 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1084         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
1085         makefiles which may change the distinfo variables.
1087 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1090         [$(subdir)=misc]: Add sys/quota.h.
1091         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
1093 1997-02-17 13:12  aleph1@dfw.net
1095         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
1096         strncpy.
1098 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
1100         * stdio-common/bug10.c (main): Correct parameter.
1102 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
1104         * malloc/obstack.h: Add `extern "C"' protection.
1105         * posix/regex.h: Likewise.
1106         * io/ftw.h: Likewise.
1107         * misc/libgen.h: Likewise.
1108         * login/utmp.h: Likewise.
1109         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
1110         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1111         * sunrpc/rpc/pmap_rmt.h: Likewise.
1112         * sunrpc/rpc/auth_des.h: Likewise.
1113         * elf/link.h: Likewise.
1114         Reported by HJ Lu.
1116 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
1118         Linux specific network headers.
1119         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
1120         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
1121         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
1122         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
1123         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
1124         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
1125         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
1126         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
1127         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
1128         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
1129         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
1130         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1131         Add sys/quota.h.
1132         [$(subdir)=inet] (sysdep_headers): Add new network header.
1134         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
1136         * inet/netinet/ip.h: Move to sysdeps/generic.
1137         * inet/netinet/tcp.h: Likewise.
1138         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
1139         * sysdeps/generic/netinet/tcp.h: Likewise.
1141 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
1143         * misc/sys/syslog.h (prioritynames): Correct definition to use
1144         braces where necessary.
1145         (facilitynames): Likewise.
1146         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
1147         Comment and beautify declarations.
1149 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
1151         * inet/Makefile (routines): Add in6_addr, getnameinfo.
1152         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
1153         by Craig Metz.
1154         * inet/in6_addr.c: New file.  IPv6 addressing constants.
1155         * posix/Makefile (routines): Add gai_strerror.
1156         * resolv/netdb.h: Add more constants for IPv6 basic API.
1157         * sysdeps/posix/gai_strerror.c: New file.
1158         * sysdeps/stub/gai_strerror.c New file.
1159         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
1160         basic API.
1162         * sysdeps/posix/getaddrinfo.c: Update from latest version by
1163         Craig Metz and use reentrant getXXbyYY functions.
1165 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
1167         * argp/argp.h: Declare argp_program_version as const char.
1168         * argp/argp-test.c: Likewise
1170         * stdlib/testrand.c (main): Declare main prototype.
1171         * stdlib/testdiv.c (main): Likewise.
1172         * string/testcopy.c (main): Likewise.
1173         * string/test-ffs.c (main): Likewise.
1174         * time/test_time.c (main): Likewise.
1176         * locale/duplocale.c (__duplocale): Return result.
1178 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
1180         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
1181         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
1183         * nss/nss.h: Remove declaration of __nss_shlib_revision.
1184         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
1186 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1188         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
1189         _nss_nis_gethostton_r.
1190         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
1192 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
1194         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
1195         trying to resolv name as numeric IPv6 address.
1196         * nss/digits_dots.c: Likewise.
1198 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
1200         * locale/setlocale.c (setlocale): Don't try to be clever about
1201         unused locales.  When the existence of the locale files isn't
1202         tested the result of setlocale might be different.
1204 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
1206         * locale/setlocale.c (setlocale): Don't increment usage_count of
1207         new locale if it already has the value MAX_USAGE_COUNT (it might
1208         be the C locale data which is read-only).
1210 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
1212         * argp/argp-help.c: Gettextize sources.
1213         * argp/argp-parse.c: Likewise.
1215 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
1217         * features.h (__GLIBC_MINOR__): Bump to 1.
1219         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
1220         * Makefile (distribute): Add xlocale.h.
1221         * locale/Makefile (routines): Add ctype_l.
1222         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
1223         Add __isblank_l, __toascii_l and __isascii_l.
1224         * ctype/ctype.h: Add definitions and declarations for *_l functions.
1225         * locale/Makefile (headers): Add xlocale.h.
1226         (routines): Add newlocale, duplocale, and freelocale.
1227         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
1228         (struct locale_data): Add new fields mmaped and usage_count.
1229         Correct various declarations.
1230         * locale/C-collate.c: Define value for new fields mmaped and
1231         usage_count.
1232         * locale/C-ctype.c: Likewise.
1233         * locale/C-messages.c: Likewise.
1234         * locale/C-monetary.c: Likewise.
1235         * locale/C-numeric.c: Likewise.
1236         * locale/C-time.c: Likewise.
1237         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
1238         usage_count fields.
1239         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
1240         Correct prototypes for __newlocale and __freelocale.
1241         Add prototype for __duplocale.
1242         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
1243         (_nl_remove_locale): New function.
1244         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
1245         * locale/setlocale.c: Likewise.
1246         * locale/weight.h: Change for use with locale objects.
1247         * locale/xlocale.h: New file.  Define __locale_t type.
1248         * locale/newlocale.c: New file.  Create new locale object.
1249         * locale/freelocale.c: New file.  Destroy locale object.
1250         * locale/duplocale.c: New file.  Create copy of locale object.
1251         * stdlib/Makefile (routines): Add strfmon_l.
1252         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
1253         * stdlib/strfmon.c: Add support for use in extended locale model.
1254         * stdlib/strfmon_l.c: New file.
1255         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
1256         * string/strcoll.c: Change for use in extended locale model.
1257         * string/strxfrm.c: Likewise.
1258         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
1259         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
1260         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
1261         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
1262         * wcsmbs/wcscoll.c: Change for use in extended locale model.
1263         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
1264         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
1265         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
1266         and towctrans_l.
1267         * wctype/cname-lookup.h: Prepare for use in extended locale model.
1268         * wctype/iswctype_l.c: New file.  Implement character classification
1269         functions for use with locale objects.
1270         * wctype/wctype.h: Declare functions for use with locale objects.
1271         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
1272         for use with locale objects.
1273         * wctype/wcfuncs_l.c: New file.  Implement wide character
1274         classification functions for use with locale objects.
1275         * wctype/wcextra.c: New file.  Implement real functions for
1276         non-standard classification functions.
1278         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
1279         parameters to ld.so.  Use environment variables.
1280         * elf/ldd.sh.in: Likewise.
1281         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
1282         options.  Instead read environment variables.
1284         * elf/link.h (receiver_fct): Add new argument to take error code.
1285         * elf/dl-error.c (_dl_signal_error): Call receiver function with
1286         another argument.
1288         * elf/dl-object.c (_dl_new_object): Create new object with list of
1289         names in l_libname member.
1290         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
1291         find to object to the list in the link_map variable.
1292         (_dl_map_object): Use _dl_does_name_match_p to compare with all
1293         available names of the object.
1294         Optimize handling of LD_LIBRARY_PATH a bit.
1295         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
1297         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
1299         * elf/Makefile (routines): Add dl-version.
1300         * elf/link.h (hash_name_pair): New type.  Group pointer to string
1301         and its hash value.
1302         (struct link_map): Change l_libname member to be a list of names,
1303         not a single pointer to a name.
1304         Add new members l_nversions and l_versions.
1305         (_dl_does_name_match_p): New function to test for all names of an
1306         object.
1307         Add prototypes for new lookup and versioning functions.
1308         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
1309         when versioned symbol is requested.
1310         (_dl_lookup_symbol): Call do_lookup with another argument.
1311         (_dl_lookup_symbol_skip): Likewise.
1312         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
1313         versioned symbol.
1314         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
1315         _dl_lookup_symbol_skip.
1316         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
1317         _dl_lookup_symbol depending on availability of version information.
1318         * elf/dl-runtime.c (RESOLVE): Likewise.
1319         (fixup): Call elf_machine_relplt with additional argument to point
1320         to versioning information if available.
1321         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1322         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
1323         for correct versions.
1324         * elf/dl-version.c: New file.  Check library versions and extract
1325         version information for easier access.
1326         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
1327         * elf/dlvsym.c: New file.  Implementation of function similar to
1328         dlsym, but looks for versioned symbol.
1329         * elf/elf.h: Add types and macros for versioning.
1330         * elf/rtld.c (dl_main): Check availability of needed versions.
1331         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
1332         argument for version information.  Call RESOLVE with additional
1333         argument.
1334         * sysdeps/i386/dl-machine.h: Likewise.
1335         * sysdeps/m68k/dl-machine.h: Likewise.
1336         * sysdeps/mips/dl-machine.h: Likewise.
1338         * elf/dlerror.c: Change comment to align with guidelines.
1339         * elf/dlopen.c: Likewise.
1340         * elf/dlsym.c: Likewise.
1342         * locale/programs/localedef.c: Implement --quiet option.
1343         * locale/programs/charset.h: Declare be_quiet variable.
1344         * locale/programs/locfile.h: Likewise.
1345         * locale/programs/charmap.c: Don't print warnings if quiet option
1346         was given.
1347         * locale/programs/ld-collate.c: Likewise.
1348         * locale/programs/ld-ctype.c: Likewise.
1349         * locale/programs/ld-messages.c: Likewise.
1350         * locale/programs/ld-monetary.c: Likewise.
1351         * locale/programs/ld-numeric.c: Likewise.
1352         * locale/programs/ld-time.c: Likewise.
1353         * locale/programs/locfile.c: Likewise.
1355         * Makefile (subdirs): Add argp.
1357         * catgets/catgets.c (catopen): Little code improvement.
1359         * posix/execl.c: Remove restriction to 1024 arguments.
1360         * posix/execle.c: Likewise.
1361         * posix/execlp.c: Likewise.
1363         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
1364         and make regular names weak aliases.
1365         * posix/getopt1.c: Likewise.
1366         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
1367         __ protected forms.
1369         * posix/unistd.h: Add prototype for __sleep.
1370         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
1371         * sysdeps/posix/sleep.c: Likewise.
1372         * sysdeps/stub/sleep.c: Likewise.
1373         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1375         * ctype/ctype-info.c: Update copyright.
1376         * ctype/ctype.c: Likewise.
1377         * ctype/test_ctype.c: Likewise.
1378         * dirent/alphasort.c: Likewise.
1379         * dirent/list.c: Likewise.
1380         * gmon/bb_exit_func.c: Likewise.
1381         * grp/fgetgrent.c: Likewise.
1382         * grp/getgrent.c: Likewise.
1383         * grp/getgrent_r.c: Likewise.
1384         * grp/getgrgid.c: Likewise.
1385         * grp/getgrgid_r.c: Likewise.
1386         * grp/getgrnam.c: Likewise.
1387         * grp/getgrnam_r.c: Likewise.
1388         * hurd/alloc-fd.c: Likewise.
1389         * hurd/catch-exc.c: Likewise.
1390         * hurd/ctty-input.c: Likewise.
1391         * hurd/ctty-output.c: Likewise.
1392         * hurd/dtable.c: Likewise.
1393         * hurd/fchroot.c: Likewise.
1394         * hurd/fd-close.c: Likewise.
1395         * hurd/fd-read.c: Likewise.
1396         * hurd/fd-write.c: Likewise.
1397         * hurd/fopenport.c: Likewise.
1398         * hurd/get-host.c: Likewise.
1399         * hurd/getdport.c: Likewise.
1400         * hurd/getuids.c: Likewise.
1401         * hurd/getumask.c: Likewise.
1402         * hurd/hurd-raise.c: Likewise.
1403         * hurd/hurd.h: Likewise.
1404         * hurd/hurdauth.c: Likewise.
1405         * hurd/hurdexec.c: Likewise.
1406         * hurd/hurdhost.h: Likewise.
1407         * hurd/hurdid.c: Likewise.
1408         * hurd/hurdinit.c: Likewise.
1409         * hurd/hurdioctl.c: Likewise.
1410         * hurd/hurdkill.c: Likewise.
1411         * hurd/hurdlookup.c: Likewise.
1412         * hurd/hurdmsg.c: Likewise.
1413         * hurd/hurdpid.c: Likewise.
1414         * hurd/hurdports.c: Likewise.
1415         * hurd/hurdprio.c: Likewise.
1416         * hurd/hurdrlimit.c: Likewise.
1417         * hurd/hurdsock.c: Likewise.
1418         * hurd/hurdstartup.c: Likewise.
1419         * hurd/hurdstartup.h: Likewise.
1420         * hurd/intern-fd.c: Likewise.
1421         * hurd/intr-msg.c: Likewise.
1422         * hurd/intr-rpc.defs: Likewise.
1423         * hurd/intr-rpc.h: Likewise.
1424         * hurd/msgportdemux.c: Likewise.
1425         * hurd/new-fd.c: Likewise.
1426         * hurd/openport.c: Likewise.
1427         * hurd/pid2task.c: Likewise.
1428         * hurd/port-cleanup.c: Likewise.
1429         * hurd/port2fd.c: Likewise.
1430         * hurd/ports-get.c: Likewise.
1431         * hurd/ports-set.c: Likewise.
1432         * hurd/privports.c: Likewise.
1433         * hurd/report-wait.c: Likewise.
1434         * hurd/set-host.c: Likewise.
1435         * hurd/setauth.c: Likewise.
1436         * hurd/setuids.c: Likewise.
1437         * hurd/siginfo.c: Likewise.
1438         * hurd/sigunwind.c: Likewise.
1439         * hurd/task2pid.c: Likewise.
1440         * hurd/thread-cancel.c: Likewise.
1441         * hurd/thread-self.c: Likewise.
1442         * hurd/vpprintf.c: Likewise.
1443         * hurd/hurd/fd.h: Likewise.
1444         * hurd/hurd/id.h: Likewise.
1445         * hurd/hurd/ioctl.h: Likewise.
1446         * hurd/hurd/lookup.h: Likewise.
1447         * hurd/hurd/port.h: Likewise.
1448         * hurd/hurd/resource.h: Likewise.
1449         * hurd/hurd/threadvar.h: Likewise.
1450         * hurd/hurd/userlink.h: Likewise.
1451         * inet/ether_aton.c: Likewise.
1452         * inet/ether_aton_r.c: Likewise.
1453         * inet/ether_ntoa.c: Likewise.
1454         * inet/ether_ntoa_r.c: Likewise.
1455         * inet/gethstbyad.c: Likewise.
1456         * inet/gethstbyad_r.c: Likewise.
1457         * inet/gethstent.c: Likewise.
1458         * inet/getnetbyad.c: Likewise.
1459         * inet/getnetbyad_r.c: Likewise.
1460         * inet/getnetbynm.c: Likewise.
1461         * inet/getnetbynm_r.c: Likewise.
1462         * inet/getnetent.c: Likewise.
1463         * inet/getnetent_r.c: Likewise.
1464         * inet/getproto.c: Likewise.
1465         * inet/getproto_r.c: Likewise.
1466         * inet/getprtent.c: Likewise.
1467         * inet/getprtent_r.c: Likewise.
1468         * inet/getprtname.c: Likewise.
1469         * inet/getrpcbyname.c: Likewise.
1470         * inet/getrpcbyname_r.c: Likewise.
1471         * inet/getrpcbynumber.c: Likewise.
1472         * inet/getrpcbynumber_r.c: Likewise.
1473         * inet/getrpcent.c: Likewise.
1474         * inet/getrpcent_r.c: Likewise.
1475         * inet/getservent.c: Likewise.
1476         * inet/getservent_r.c: Likewise.
1477         * inet/getsrvbynm.c: Likewise.
1478         * inet/getsrvbynm_r.c: Likewise.
1479         * inet/getsrvbypt.c: Likewise.
1480         * inet/getsrvbypt_r.c: Likewise.
1481         * inet/herrno.c: Likewise.
1482         * inet/netgroup.h: Likewise.
1483         * ient/netinet/ether.h: Likewise.
1484         * intl/bindtextdom.c: Likewise.
1485         * intl/dcgettext.c: Likewise.
1486         * intl/dgettext.c: Likewise.
1487         * intl/gettext.c: Likewise.
1488         * intl/gettext.h: Likewise.
1489         * intl/gettextP.h: Likewise.
1490         * intl/hash-string.h: Likewise.
1491         * intl/loadmsgcat.c: Likewise.
1492         * intl/localealias.c: Likewise.
1493         * intl/textdomain.c: Likewise.
1494         * io/creat.c: Likewise.
1495         * io/getdirname.c: Likewise.
1496         * io/lockf.c: Likewise.
1497         * io/pwd.c: Likewise.
1498         * io/test-utime.c: Likewise.
1499         * locale/categories.def: Likewise.
1500         * locale/codeset_name.c: Likewise.
1501         * locale/lc-collate.c: Likewise.
1502         * locale/lc-ctype.c: Likewise.
1503         * locale/lc-messages.c: Likewise.
1504         * locale/lc-monetary.c: Likewise.
1505         * locale/lc-numeric.c: Likewise.
1506         * locale/lc-time.c: Likewise.
1507         * locale/loadlocale.c: Likewise.
1508         * locale/localeconv.c: Likewise.
1509         * locale/nl_langinfo.c: Likewise.
1510         * locale/setlocale.c: Likewise.
1511         * locale/strlen-hash.h: Likewise.
1512         * locale/programs/charmap-kw.gperf: Likewise.
1513         * locale/programs/charmap-kw.h: Likewise.
1514         * locale/programs/charset.c: Likewise.
1515         * locale/programs/ld-ctype.c: Likewise.
1516         * locale/programs/ld-messages.c: Likewise.
1517         * locale/programs/ld-monetary.c: Likewise.
1518         * locale/programs/linereader.h: Likewise.
1519         * locale/programs/locale-spec.c: Likewise.
1520         * locale/programs/locales.h: Likewise.
1521         * locale/programs/locfile-kw.gperf: Likewise.
1522         * locale/programs/locfile-kw.h: Likewise.
1523         * locale/programs/locfile-token.h: Likewise.
1524         * locale/programs/simple-hash.h: Likewise.
1525         * locale/programs/stringtrans.c: Likewise.
1526         * locale/programs/stringtrans.h: Likewise.
1527         * login/logout.c: Likewise.
1528         * mach/bootprivport.c: Likewise.
1529         * mach/devstream.c: Likewise.
1530         * mach/hello.c: Likewise.
1531         * mach/mach.h: Likewise.
1532         * mach/mach_init.c: Likewise.
1533         * mach/mach_init.h: Likewise.
1534         * mach/mig-alloc.c: Likewise.
1535         * mach/mig-dealloc.c: Likewise.
1536         * mach/mutex-init.c: Likewise.
1537         * mach/mutex-solid.c: Likewise.
1538         * mach/setup-thread.c: Likewise.
1539         * mach/spin-lock.h: Likewise.
1540         * mach/spin-solid.c: Likewise.
1541         * mach/mach/mig_support.h: Likewise.
1542         * md5-crypt/md5-crypt.c: Likewise.
1543         * misc/nlist.h: Likewise.
1544         * nss/nss_files/files-ether.c: Likewise.
1545         * posix/confstr.c: Likewise.
1546         * posix/execl.c: Likewise.
1547         * posix/execle.c: Likewise.
1548         * posix/execlp.c: Likewise.
1549         * posix/execv.c: Likewise.
1550         * posix/execvp.c: Likewise.
1551         * posix/fnmatch.c: Likewise.
1552         * posix/getopt.c: Likewise.
1553         * posix/getopt.h: Likewise.
1554         * posix/getopt1.c: Likewise.
1555         * posix/id.c: Likewise.
1556         * posix/regex.c: Likewise.
1557         * posix/setpgrp.c: Likewise.
1558         * posix/unistd.h: Likewise.
1559         * posix/wordexp.c: Likewise.
1560         * pwd/fgetpwent.c: Likewise.
1561         * pwd/getpwent.c: Likewise.
1562         * pwd/getpwent_r.c: Likewise.
1563         * pwd/getpwnam.c: Likewise.
1564         * pwd/getpwnam_r.c: Likewise.
1565         * pwd/getpwuid.c: Likewise.
1566         * pwd/getpwuid_r.c: Likewise.
1567         * pwd/putpwent.c: Likewise.
1568         * resolv/gethnamaddr.c: Likewise.
1569         * resolv/res_hconf.c: Likewise.
1570         * resolv/res_hconf.h: Likewise.
1571         * setjmp/longjmp.c: Likewise.
1572         * setjmp/sigjmp.c: Likewise.
1573         * setjmp/tst-setjmp.c: Likewise.
1574         * stdio/clearerr.c: Likewise.
1575         * stdio/ferror.c: Likewise.
1576         * stdio/fgetc.c: Likewise.
1577         * stdio/fgetpos.c: Likewise.
1578         * stdio/fgets.c: Likewise.
1579         * stdio/fileno.c: Likewise.
1580         * stdio/fmemopen.c: Likewise.
1581         * stdio/fopen.c: Likewise.
1582         * stdio/fopncook.c: Likewise.
1583         * stdio/fputc.c: Likewise.
1584         * stdio/fputs.c: Likewise.
1585         * stdio/fread.c: Likewise.
1586         * stdio/freopen.c: Likewise.
1587         * stdio/fseek.c: Likewise.
1588         * stdio/fsetpos.c: Likewise.
1589         * stdio/ftell.c: Likewise.
1590         * stdio/fwrite.c: Likewise.
1591         * stdio/getchar.c: Likewise.
1592         * stdio/getdelim.c: Likewise.
1593         * stdio/gets.c: Likewise.
1594         * stdio/glue.c: Likewise.
1595         * stdio/internals.c: Likewise.
1596         * stdio/linewrap.c: Likewise.
1597         * stdio/linewrap.h: Likewise.
1598         * stdio/memstream.c: Likewise.
1599         * stdio/newstream.c: Likewise.
1600         * stdio/putchar.c: Likewise.
1601         * stdio/puts.c: Likewise.
1602         * stdio/rewind.c: Likewise.
1603         * stdio/setbuf.c: Likewise.
1604         * stdio/setbuffer.c: Likewise.
1605         * stdio/setlinebuf.c: Likewise.
1606         * stdio/setvbuf.c: Likewise.
1607         * stdio/ungetc.c: Likewise.
1608         * stdio/vasprintf.c: Likewise.
1609         * stdio/vscanf.c: Likewise.
1610         * stdio/vsnprintf.c: Likewise.
1611         * stdio/vsprintf.c: Likewise.
1612         * stdio/vsscanf.c: Likewise.
1613         * stdio-common/asprintf.c: Likewise.
1614         * stdio-common/dprintf.c: Likewise.
1615         * stdio-common/errnobug.c: Likewise.
1616         * stdio-common/fprintf.c: Likewise.
1617         * stdio-common/getline.c: Likewise.
1618         * stdio-common/getw.c: Likewise.
1619         * stdio-common/perror.c: Likewise.
1620         * stdio-common/psignal.c: Likewise.
1621         * stdio-common/putw.c: Likewise.
1622         * stdio-common/reg-printf.c: Likewise.
1623         * stdio-common/scanf.c: Likewise.
1624         * stdio-common/snprintf.c: Likewise.
1625         * stdio-common/sprintf.c: Likewise.
1626         * stdio-common/tempnam.c: Likewise.
1627         * stdio-common/test_rdwr.c: Likewise.
1628         * stdio-common/tst-fileno.c: Likewise.
1629         * stdio-common/tst-printf.c: Likewise.
1630         * stdio-common/tstgetln.c: Likewise.
1631         * stdio-common/vprintf.c: Likewise.
1632         * stdlib/drand48.c: Likewise.
1633         * stdlib/drand48_r.c: Likewise.
1634         * stdlib/erand48.c: Likewise.
1635         * stdlib/erand48_r.c: Likewise.
1636         * stdlib/exit.h: Likewise.
1637         * stdlib/strtoq.c: Likewise.
1638         * stdlib/strtoul.c: Likewise.
1639         * stdlib/strtouq.c: Likewise.
1640         * stdlib/test-canon.c: Likewise.
1641         * stdlib/testdiv.c: Likewise.
1642         * stdlib/testrand.c: Likewise.
1643         * string/argz-append.c: Likewise.
1644         * string/argz-count.c: Likewise.
1645         * string/argz-create.c: Likewise.
1646         * string/argz-ctsep.c: Likewise.
1647         * string/argz-delete.c: Likewise.
1648         * string/argz-extract.c: Likewise.
1649         * string/argz-insert.c: Likewise.
1650         * string/argz-next.c: Likewise.
1651         * string/argz-stringify.c: Likewise.
1652         * string/basename.c: Likewise.
1653         * string/envz.c: Likewise.
1654         * string/memfrob.c: Likewise.
1655         * string/strcoll.c: Likewise.
1656         * string/strdup.c: Likewise.
1657         * string/string.h: Likewise.
1658         * string/strndup.c: Likewise.
1659         * string/strnlen.c: Likewise.
1660         * string/strsignal.c: Likewise.
1661         * string/strxfrm.c: Likewise.
1662         * string/test-ffs.c: Likewise.
1663         * string/testcopy.c: Likewise.
1664         * sysdeps/generic/enbl-secure.c: Likewise.
1665         * sysdeps/generic/memcopy.h: Likewise.
1666         * sysdeps/generic/stpncpy.c: Likewise.
1667         * sysdeps/generic/strcasecmp.c: Likewise.
1668         * sysdeps/generic/strcat.c: Likewise.
1669         * sysdeps/generic/strchr.c: Likewise.
1670         * sysdeps/generic/strcpy.c: Likewise.
1671         * sysdeps/generic/strcspn.c: Likewise.
1672         * sysdeps/generic/strlen.c: Likewise.
1673         * sysdeps/generic/strncase.c: Likewise.
1674         * sysdeps/generic/strncat.c: Likewise.
1675         * sysdeps/generic/strncpy.c: Likewise.
1676         * sysdeps/generic/strpbrk.c: Likewise.
1677         * sysdeps/generic/strsep.c: Likewise.
1678         * sysdeps/generic/strspn.c: Likewise.
1679         * sysdeps/generic/strstr.c: Likewise.
1680         * sysdeps/generic/strtok.c: Likewise.
1681         * sysdeps/generic/strtok_r.c: Likewise.
1682         * sysdeps/mach/sleep.c: Likewise.
1683         * sysdeps/posix/sleep.c: Likewise.
1684         * sysdeps/stub/sleep.c: Likewise.
1685         * time/date.c: Likewise.
1686         * time/test_time.c: Likewise.
1687         * wcsmbs/wmemcpy.c: Likewise.
1688         * wctye/test_wctype.c: Likewise.
1689         * wctye/towctrans.c: Likewise.
1690         * wctye/wcfuncs.c: Likewise.
1691         * wctye/wctrans.c: Likewise.
1693 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
1695         * argp/Makefile: New file.
1696         * argp/argp.h: Likewise.
1697         * argp/argp-ba.c: Likewise.
1698         * argp/argp-fmtstream.c: Likewise.
1699         * argp/argp-fmtstream.h: Likewise.
1700         * argp/argp-fs-xinl.c: Likewise.
1701         * argp/argp-help.c: Likewise.
1702         * argp/argp-namefrob.h: Likewise.
1703         * argp/argp-parse.c: Likewise.
1704         * argp/argp-pv.c: Likewise.
1705         * argp/argp-pvh.c: Likewise.
1706         * argp/argp-test.c: Likewise.
1707         * argp/argp-xinl.c: Likewise.
1709 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
1711         * stdlib/qsort.c: Add prototype for _quicksort.
1713         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
1715         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
1716         from dl-machine.h.
1718 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
1720         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
1721         Allow user to overwrite it.
1723 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
1725         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
1726         versions.  Reported by Andreas Jaeger.
1728 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
1730         * time/tzfile.c (__tzfile_read): Change comment to follow
1731         change of 1997-02-12.
1733 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
1735         * time/time.h (__nanosleep): Define only when struct timespec is
1736         also available.
1737         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
1739 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
1741         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
1742         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
1744 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
1746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
1747         of 1997-02-09 in resolv/gethnamaddr.c.
1749 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
1751         * libio/_G_config.h (_G_wint_t): New.
1753 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
1755         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
1756         to sizeof (buf.buf) while calling res_search ().
1758 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
1760         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
1761         val to keydat, stat to status.
1763 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
1765         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
1767 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
1769         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
1770         by Keith Bostic.
1772 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
1774         * stdlib/atoll.c: Undefined atoll, not atol.
1776 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1778         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
1779         unused arguments of shell script.
1781         * Makeconfig (all-object-suffixes): New variable.
1782         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
1783         of $(object-suffixes).
1784         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
1786 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
1788         * string/argz-ctsep.c: Initialize *LEN when successful.
1790 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
1792         * stdio-common/_itoa.h: Update copyright.
1794 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
1796         * version.h (VERSION): Bump to 2.0.2.
1798         * posix/Makefile (routines): Add getopt_init.
1799         * posix/getopt.c: Don't get environment variable with nonoption
1800         flags here.  Depend on __getopt_nonoption_flags variable filled
1801         somewhere else.  This is necessary since the variable must be
1802         removed even when getopt isn't used in case exec(2) gets called.
1803         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
1804         and remove environment variable.
1805         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
1806         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1807         * sysdeps/stub/init-first.c: Likewise.
1808         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1810         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
1811         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
1813         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
1814         encryption is wanted.
1816         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
1817         * stdio/vsnprintf.c: Likewise.
1818         Reported by Philip Blundell <pjb27@cam.ac.uk>.
1820         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
1821         * stdio/vsnprintf.c: Likewise.
1822         Reported by Philip Blundell <pjb27@cam.ac.uk>.
1824 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
1826         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
1827         Change PTR to void *.
1828         * sysdeps/posix/vdprintf.c: Change PTR to void *.
1829         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
1831 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
1833         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
1835 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1837         * rellns-sh: No need to check for existance of first parameter.
1839 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1841         * rellns-sh: No need to check for existance of first parameter.
1843 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1845         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
1846         by David Holland <dholland@eecs.harvard.edu>.
1848 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1850         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
1851         select, in case it is modified by the latter.
1852         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1853         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1854         * sunrpc/svc_tcp.c (readtcp): Likewise.
1856         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
1857         array.
1859         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
1860         and gid_t.
1862         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
1863         argument.
1865 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1867         * elf/Makefile (extra-objs): Don't zap previous value.
1868         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
1869         twice.
1871 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1873         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
1874         braindamage (sigh!).
1876 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
1878         * manual/memory.texi: Correct `copystring' example for obstacks.
1880 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
1882         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
1883         GNU tr don't grok it.
1885 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1887         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
1888         Don't use GNU C extensions.
1889         (CMSG_DATA): Use portable definition.
1891 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
1893         * elf/ldd.bash.in: Add test for read permission and print appropriate
1894         message.  Change warning and error messages to print "ldd: " at start.
1895         * elf/ldd.sh.in: Likewise.
1897         * stdlib/Makefile (routines): Add atoll.
1898         * stdlib/atoll.c: New file.
1899         * stdlib/stdlib.h: Add prototype and optimization for atoll.
1901         * stdlib/a64l.c: Update copyright.
1902         * stdlib/abs.c: Likewise.
1903         * stdlib/atof.c: Likewise.
1904         * stdlib/atoi.c: Likewise.
1905         * stdlib/atol.c: Likewise.
1906         * stdlib/bsearch.c: Likewise.
1907         * stdlib/exit.c: Likewise.
1908         * stdlib/fpioconst.c: Likewise.
1909         * stdlib/fpioconst.h: Likewise.
1910         * stdlib/jrand48.c: Likewise.
1911         * stdlib/jrand48_r.c: Likewise.
1912         * stdlib/labs.c: Likewise.
1913         * stdlib/lcong48.c: Likewise.
1914         * stdlib/lcong48_r.c: Likewise.
1915         * stdlib/llabs.c: Likewise.
1916         * stdlib/lrand48.c: Likewise.
1917         * stdlib/lrand48_r.c: Likewise.
1918         * stdlib/mblen.c: Likewise.
1919         * stdlib/mbstowcs.c: Likewise.
1920         * stdlib/mbtowc.c: Likewise.
1921         * stdlib/mp_clz_tab.c: Likewise.
1922         * stdlib/mrand48.c: Likewise.
1923         * stdlib/mrand48_r.c: Likewise.
1924         * stdlib/msort.c: Likewise.
1925         * stdlib/nrand48.c: Likewise.
1926         * stdlib/nrand48_r.c: Likewise.
1927         * stdlib/qsort.c: Likewise.
1928         * stdlib/rpmatch.c: Likewise.
1929         * stdlib/seed48.c: Likewise.
1930         * stdlib/seed48_r.c: Likewise.
1931         * stdlib/srand48.c: Likewise.
1932         * stdlib/srand48_r.c: Likewise.
1933         * stdlib/strtod.c: Likewise.
1934         * stdlib/wcstombs.c: Likewise.
1935         * stdlib/wctomb.c: Likewise.
1937 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
1939         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
1940         as const.
1942 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
1944         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
1945         including <stddef.h>.
1947 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
1949         * time/Makefile (tzbases, tzlinks): New.
1950         (tzfiles): Changed to $(tzbases) $(tzlinks).
1951         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
1953 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
1955         * Makefile (install): Ignore error from ldconfig.
1957         * time/zic.c (mkdirs): Double check the error return of mkdir ().
1959 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
1961         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
1962         like PPC where va_list is no integral type.
1964 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
1966         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
1967         if nonoption_flags_len == -1.
1969 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
1971         * Version 2.0.1 net release.
1973 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
1975         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
1977 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
1979         * stdlib/getsubopt.c: Don't return `=' for suboption which has
1980         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
1982 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1984         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
1985         values as in yp.x and yp.h.
1987 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
1989         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
1990         1997-02-03 02:17.  Sun's implementation internally corrects
1991         this bug but we don't want to hide this from the user.
1992         * nis/rpcsvc/yp.h: Likewise.
1994 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1996         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
1997         inclusion.
1999 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2001         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
2002         fixes.
2004 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2006         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
2007         (all-sources, all-headers): Use them instead of $(sources) and
2008         $(headers) when searching in sysdep directories.
2010 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2012         * Makerules (REAL_MAKE_VERSION): Use internal make function
2013         instead of shelling out.
2015 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2017         * time/Makefile (install-test-data): Remove mkdir command, zic can
2018         handle that gracefully.
2020 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2022         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
2023         somehow.
2025 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2027         * sunrpc/Makefile: Check $(cross-compiling) only after including
2028         ../Makeconfig.
2029         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
2030         being considered as a rule.
2031         (generated): Add stamp files before the inclusion of Makerules to
2032         magically mark them as not being intermediate via the `generated'
2033         target.
2035 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
2037         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
2038         entries.  This is still no complete implementation since AUXILIARY
2039         entries in other shared objects are not yet handled.
2041         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
2042         place.
2044         * po/es.po: Update.
2045         * po/fr.po: Update.
2046         * po/nl.po: Update.
2048         * time/Makefile: Better cross-compile support.  Avoid test which
2049         cannot be run.
2050         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
2051         tzfile.h file.
2052         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
2053         in SUID programs.
2054         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
2055         default values as in tzfile.c.
2057         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
2058         tags.
2059         * elf/link.h: Likewise.
2060         * elf/elf.h: Add tag definitions and data structures for versioning.
2062 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
2064         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
2065         "Sun bug".  This is the order of elements also used by 4.4BSD.
2066         * nis/rpcsvc/yp.h: Likewise.
2067         Reported by HJ Lu.
2069 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
2071         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
2072         action.
2074         * Makefile (install): Pass installation directories as arguments
2075         to ldconfig.
2077 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
2079         * malloc/malloc.c (__after_morecore_hook): New variable.
2080         (malloc_extend_top): Call __after_morecore_hook if set.
2081         (main_trim): Likewise.
2082         * malloc/malloc.h: Add declaration of __after_morecore_hook.
2083         Suggested by Marcus Daniels.
2085 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
2087         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
2088         #ifndef NO_THREADS.
2089         (mallinfo): Likewise.
2091         * malloc/malloc.c (__morecore): Make external since it is used in
2092         programs.
2094 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
2096         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
2097         unsigned.
2099 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
2101         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
2102         use t6 as a temporary; it contains bits we still need in $u_head.
2104 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
2106         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
2107         using __ prefix.  Add prototype for log1p.
2109 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
2111         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
2113 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
2115         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
2117 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
2119         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
2120         structure plus related macros.
2121         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
2122         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
2123         (sysdep_routines): Add cmsg_nxthdr.
2124         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
2125         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
2127 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
2129         * time/strftime.c: Define _strftime_copytm without protecting arguments
2130         which breaks the definition.
2132 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2134         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
2135         definition of type for element.
2137 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
2139         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
2140         constants.
2142 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
2144         * Makefile: Pass PARALLELMFLAGS to sub-makes.
2145         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
2147 1997-01-31  Paul Eggert  <eggert@twinsun.com>
2149         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
2150         Define if _LIBC is defined.
2151         <limits.h>: Include if HAVE_LIMITS_H instead of if
2152         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
2153         <stdlib.h>: Similarly, include if STDC_HEADERS.
2154         (localtime_r): Redo #ifdef to make it clear that glibc has
2155         localtime_r now.
2157 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2159         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
2160         file to avoid unnecessary recompilation.
2162 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2164         * Makefile: Set install-others, not install_others.
2165         (before-compile): Use += to preserve previous value.
2166         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
2167         fix dependency name.
2168         ($(objpfx)lib-names.h): Remove rule.
2169         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
2170         with correct name, using an intermediate stamp file.
2171         (common-generated): Add gnu/lib-names.h.
2172         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
2174 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
2176         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
2177         to prevent warnings on 64 bit systems.
2178         Reported by Paul Wouters <paul@xtdnet.nl>.
2180         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
2181         we assume it works.
2183 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
2185         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
2186         double word boundary before pushing args for main.  This way we
2187         don't get penalties for misaligned memory accesses.  Reported by
2188         Edward Seidl <seidl@janed.com>.
2190         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
2191         Patch by HJ Lu.
2193         * misc/bsd-compat.c: Update copyright.
2194         * misc/efgcvt.c: Likewise.
2195         * misc/efgcvt_r.c: Likewise.
2196         * misc/error.c: Likewise.
2197         * misc/error.h: Likewise.
2198         * misc/fstab.c: Likewise.
2199         * misc/init-misc.c: Likewise.
2200         * misc/lsearch.c: Likewise.
2201         * misc/mntent.c: Likewise.
2202         * misc/qefgcvt.c: Likewise.
2203         * misc/qefgcvt_r.c: Likewise.
2204         * nss/databases.def: Likewise.
2205         * nss/db-Makefile: Likewise.
2206         * nss/ethers-lookup.c: Likewise.
2207         * nss/hosts-lookup.c: Likewise.
2208         * nss/netgrp-lookup.c: Likewise.
2209         * nss/nsswitch.h: Likewise.
2210         * nss/proto-lookup.c: Likewise.
2211         * nss/rpc-lookup.c: Likewise.
2212         * nss/service-lookup.c: Likewise.
2213         * nss/nss_db/db-netgrp.c: Likewise.
2214         * nss/nss_files/files-grp.c: Likewise.
2215         * nss/nss_files/files-hosts.c: Likewise.
2216         * nss/nss_files/files-network.c: Likewise.
2217         * nss/nss_files/files-proto.c: Likewise.
2218         * nss/nss_files/files-pwd.c: Likewise.
2219         * nss/nss_files/files-rpc.c: Likewise.
2220         * nss/nss_files/files-service.c: Likewise.
2221         * nss/nss_files/files-spwd.c: Likewise.
2222         * shadow/fgetspent.c: Likewise.
2223         * shadow/fgetspent_r.c: Likewise.
2224         * shadow/getspent.c: Likewise.
2225         * shadow/getspent_r.c: Likewise.
2226         * shadow/getspnam.c: Likewise.
2227         * shadow/getspnam_r.c: Likewise.
2228         * shadow/putspent.c: Likewise.
2229         * shadow/sgetspent.c: Likewise.
2230         * shadow/sgetspent_r.c: Likewise.
2231         * sysdeps/i386/init-first.c: Likewise.
2232         * sysdeps/unix/i386/sysdep.S: Likewise.
2234         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
2235         prepared to be running in a multi-threaded environment.  Change
2236         to __USE_MISC unless the function is defined in POSIX.1 (in this
2237         case also test for __USE_POSIX).
2238         * dirent/dirent.h: Likewise.
2239         * grp/grp.h: Likewise.
2240         * inet/aliases.h: Likewise.
2241         * libio/libio.h: Likewise.
2242         * libio/stdio.h: Likewise.
2243         * login/utmp.h: Likewise.
2244         * math/mathcalls.h: Likewise.
2245         * misc/mntent.h: Likewise.
2246         * pwd/pwd.h: Likewise.
2247         * resolv/netdb.h: Likewise.
2248         * stdlib/stdlib.h: Likewise.
2249         * string/string.h: Likewise.
2250         * sunrpc/rpc/netdb.h: Likewise.
2251         * sysdeps/generic/crypt.h: Likewise.
2252         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
2253         * time/time.h: Likewise.
2255 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
2257         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
2258         only if not cross compiling.
2260 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
2262         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
2263         NULL.
2264         * sysdeps/posix/sigwait.c: Likewise.
2266 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2268         * Makeconfig ($(common-objpfx)config.make): Depend on
2269         $(..)config.make.in.
2271 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
2273         * sunrpc/Makefile: Don't generate headers derived from .x files when
2274         crosscompiling.
2276 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
2278         * Makefile: Generate gnu/lib-names.h in before-compile.
2279         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
2280         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
2281         to the revision found for LIBNSS_FILES_SO.
2282         (nss_initilized): Removed.  It was tested but never set.
2283         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
2285         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
2286         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
2288         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
2290 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
2292         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
2293         override the definition.
2295 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
2297         * config.make.in (malloc): Remove.
2299 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
2301         * version.h (VERSION): Bump to 2.0.1.
2303         * posix/getopt.c: Handle another problem introduced by the
2304         nonoption_flags array.  We must be able to work with reordered
2305         argv arrays.  Reported by Andreas Schwab.
2307 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
2309         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
2310         stack.
2312 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2314         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
2315         that it works with yp.h.
2317 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
2319         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
2320         __libc_malloc_initialized so that this variable is not shared with
2321         other users of GNU malloc.
2322         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
2324         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
2326         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
2327         variables to prevent warnings.
2328         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
2329         using attribute regparm.
2330         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
2331         is changed by the resolver code.
2333 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2335         * malloc/malloc.c (weak_variable): Define.
2336         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
2337         __memalign_hook): Make them weak definitions.
2339 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2341         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
2342         limits, correctly take structure padding into account, use correct
2343         offset when resetting the stream, change heuristic to assume an
2344         average name length of 14 characters.
2346 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2348         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
2349         inclusion.
2352 See ChangeLog.6 for earlier changes.