update from main archive 970226
[glibc.git] / ChangeLog
blob45bc59523b3bbcf65e0980aa30f7f033c1a31b71
1 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3         * manual/Makefile: Add rules to run and distribute xtract-typefun.
4         * manual/xtract-typefun.awk: New file.  Script to extract function,
5         variable, macro anchor to put into the `dir' file.
6         * manual/signal.texi: Document difference between SysV and BSD
7         signal(3) function and add documentation for sysv_signal.
9         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
10         exponent before comparing.
12 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
14         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
15         prototypes to use types with explicit width.  `unsigned long' is
16         different on 64 bit systems.
17         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
18         * sysdeps/generic/htonl.c: Likewise.
19         * sysdeps/generic/htons.c: Likewise.
20         * sysdeps/generic/ntohl.c: Likewise.
21         * sysdeps/generic/ntohs.c: Likewise.
22         Suggested by a sun <asun@zoology.washington.edu>.
24 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
26         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
27         defined and we want optimization.
29 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
31         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
32         prototypes to use types with explicit width.  `unsigned long' is
33         different on 64 bit systems.
34         Suggested by a sun <asun@zoology.washington.edu>.
36 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
38         * misc/getpass.c: Don't disable canonical input.
39         Reverted patch of Mon Jan  6 01:35:29 1997.
41 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
43         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
44         match the hidden __in_chrg parameter of the destructor.
45         (_IO_FINISH): Pass zero for it.
46         * libio/genops.c (_IO_default_finish): Add second parameter, which
47         is ignored.
48         * libio/memstream.c (_IO_mem_finish): Likewise.
49         * libio/fileops.c (_IO_mem_finish): Likewise.
50         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
52 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
54         * time/Makefile: Avoid using patterns in dependencies.
56 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
58         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
59         SPARC will convert the call _dl_start into a call into the PLT.
61         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
62         of arg to make it point to the actual values.
64         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
65         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
67         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
68         them PIC aware.
70         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
71         Implemented.
72         (elf_machine_rela): Make it compile; fix existing relocation
73         types; add unhandled relocation types.
74         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
75         (RTLD_START): Initial implementation, not yet finished.
77         * sysdeps/sparc/elf/start.S: Fix.
79         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
80         __setfpucw.
82         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
83         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
84         sysdeps/sparc/urem.S : Regenerated.
86         * sysdeps/sparc/setjmp.S: Make it PIC aware.
88         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
89         __ASSEMBLY__ before using kernel header.
91         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
92         rtld.c.
94         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
95         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
96         to handle old signals.
97         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
98         for all Linux/SPARC kernels.
99         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
100         errno using __errno_location.
101         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
102         macros for assembler sources.
103         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
105 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
107         * elf/rtld.c (dl_main): Remove dead code that is never executed.
108         Rename local variable l to main_map where it is used to point to
109         the load_map for the executable.
111 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
113         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
114         could not be found.
116 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
118         * Makerules: Generate implicit object suffix rules automagically.
119         (o-iterator): Move before first use.
121         * Makeconfig (all-object-suffixes): Add .bo suffix.
123 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
125         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
126         word on stack for overflow.
128 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
130         * malloc/malloc.c (malloc_get_state): New function.
131         Saves global malloc state to an opaque data structure which
132         is dynamically allocated in the heap.
133         * malloc/malloc.c (malloc_set_state): New function.
134         Restore previously obtained state.
135         * malloc/malloc.h: Add declaration of malloc_get_state()
136         and malloc_set_state().
138 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
140         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
141         position.
143 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
145         * misc/error.c: Make error and error_at_line weak aliases of
146         __error and __error_at_line respectively.
147         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
149         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
151 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
153         * elf/ldd.bash.in: Run the program directly, not as argument
154         to the dynamic linker, if it contains an interpreter segment.
155         * elf/ldd.sh.in: Likewise.
157         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
158         object contains an interpreter segment and exit with 2 if not.
160 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
162         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
163         and xlocale.h.  Make-dist adds them automagically.
165 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
167         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
168         time-era-num-entries.
170 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
172         * rellns-sh: No need to check for existance of first parameter.
174 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
176         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
177         to avoid duplicate mail.
179 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
181         * Makefile (distribute): Add isomac.c.
182         (tests): Run isomac test.
184         * features.h (__USE_ISOC9X): New macro.
186         * catgets/catgets.c: Don't use global variable `optind'.  Instead
187         use result computed by argp_parse.
188         * db/makedb: Likewise.
189         * locale/programs/locale.c: Likewise.
190         * locale/programs/localedef.c: Likewise.
192         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
194         * libio/clearerr.c: Remove clearerr_locked alias.
195         * libio/feof.c: Remove feof_locked alias.
196         * libio/ferror.c: Remove feof_locked alias.
197         * libio/fileno.c: Remove fileno_locked alias.
198         * libio/fputc.c: Remove fputc_locked alias.
199         * libio/getc.c: Remove getc_locked alias.
200         * libio/getchar.c: Remove getchar_locked alias.
201         * libio/iofflush.c: Remove fflush_locked alias.
202         * libio/putc.c: Remove putc_locked alias.
203         * libio/putc.c: Remove putchar_locked alias.
205         * stdio-common/printf_fp.c: When number is inifinity print INF
206         or inf depending on case of specifier.  Same for NaN where NAN
207         or nan is printed.  Specified in ISO C 9X.
209         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
210         * stdio/stdio.h: Add __restrict to prototypes where necessary.
211         * libio/stdio.h: Likewise.
212         * stdlib/stdlib.h: Likewise.
213         * string/string.h: Likewise.
214         * time/time.h: Likewise.
215         * wcsmbs/wchar.h: Likewise.
217         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
218         NAN(...).
220         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
221         of HUGE_VALf and HUGE_VALL.
222         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
223         instead of HUGE_VALf.
224         * wcsmbs/wcstof.c: Likewise.
225         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
226         instead of HUGE_VALl.
227         * wcsmbs/wcstold.c: Likewise.
229         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
230         avoid warning.
232         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
233         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
234         * wcsmbs/wcscasecmp.c: New file.
235         * wcsmbs/wcsncase.c: New file.
237         * stdlib/strtol.c: Define wide character quad word functions as
238         wcstoll and wcstoull and normal versions as strtoll and strtoull.
239         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
240         * wcsmbs/wcstoq: Renamed to wcstoll.c.
241         * wcsmbs/wcstouq: Renamed to wcstoull.c.
242         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
243         alias of wcstoll.
244         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
245         alias of wcstoull.
246         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
247         wcstoll and wcstoull respectively.
248         * stdlib/strtoq.c: Rename to strtoll.c.
249         * stdlib/strtouq.c: Rename to strtoull.c.
250         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
251         alias of strtoll.
252         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
253         alias of strtoull.
254         * stdlib/Makefile (routines): Replace strtoq and strtouq by
255         strtoll and strtoull respectively.
256         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
257         __strtouq_internal but instead __strtoll_internal and
258         __strtoull_internal respectively.
259         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
260         (strtouq): Similar with __internal_strtoull.
261         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
262         (wcstouq): Similar with __internal_wcstoull.
264 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
266         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
267         sign in the strtouXX functions.  The results gets simply negated.
268         * stdio-common/tstscanf.c: Add testcase for above case.
269         * stdlib/tst-strtol.c: Correct tests.
271         * manual/stdio-fp.c: New file.  Generate output for example program
272         in stdio.texi.
274         * stdio-common/Makefile (routines): Add printf_fphex.
275         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
276         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
277         specifier.
279 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
281         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
282         __STRICT_ANSI__.
284         * math/math.h: Prevent definition of struct exception when using
285         C++.  Use __exception instead.
287 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
289         * sysdeps/unix/syscalls.list: Dup takes only one argument.
290         Reported by Greg McGary.
292 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
294         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
295         than file_get_translator.
297         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
298         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
300 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
302         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
303         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
305 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
307         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
308         but ADDR also == 0.
310         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
311         now instead of a weak extern, as some old programs expect it to be
312         defined by ld.so.
314 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
316         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
318         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
319         __hurd_threadvar_stack_offset): Restore initialized versions, so
320         startup works correctly.
322         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
324 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
326         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
327         not __mutex_try_lock.
328         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
329         (tsd_getspecific): Case variable to (void *) before returning.
331         * hurd/hurdinit.c (__libc_argv): Remove extern.
332         (__libc_argc): New variable.
334 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
336         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
337         _HURD_THREADVAR_MALLOC.
338         * malloc/thread-m.h
339         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
340         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
341         __mutex_*.
342         (mutex_t): Type removed & replaced by new macro.
343         (tsd_key_t): Typedef to int instead of pthread_key_t.
344         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
345         (__pthread_initialize): New macro, work around assumption of pthreads.
346         (tsd_keys_alloced): New static variable.
347         <hurd/threadvar.h>: New include.
349         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
350         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
351         defined before using it.
353         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
354         Make extern.
355         * hurd/hurdinit.c (__libc_argv): Make extern.
357         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
358         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
360         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
361         __hurd_threadvar_stack_offset,
362         __hurd_threadvar_stack_mask): New variables.
363         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
364         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
365         New variables (moved here from hurdstartup.c).
366         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
367         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
368         Variables removed (moved to hurdsig.c).
369         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
370         __hurd_threadvar_stack_mask): Variables removed.
371         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
372         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
373         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
374         __hurd_threadvar_stack_mask): Variables removed.
376 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
378         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
379         Declare extern.
381         * malloc/thread-m.h
382         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
383         (mutex_t): Type removed.
384         (mutex_t): New macro.
385         (mutex_trylock): New macro.
386         (__x_mutex_lock, __x_mutex_unlock): New functions.
387         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
388         the cthread definitions.
389         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
390         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
391         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
392         (__pthread_initialize): New macro, work around assumption of pthreads.
394 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
396         * locale/weight.h (collate_rules): It's an u_int32_t array.
397         (get_weight): Compute initial SLOT value correctly.
399 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
401         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
402         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
403         * sysdeps/unix/sysv/linux/bind.S: Likewise.
404         * sysdeps/unix/sysv/linux/connect.S: Likewise.
405         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
406         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
407         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
408         * sysdeps/unix/sysv/linux/listen.S: Likewise.
409         * sysdeps/unix/sysv/linux/recv.S: Likewise.
410         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
411         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
412         * sysdeps/unix/sysv/linux/send.S: Likewise.
413         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
414         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
415         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
416         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
417         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
419 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
421         * catgets/gencat.c: Change to use argp.
422         * db/makedb: Likewise.
423         * locale/programs/localedef.c: Likewise.
425         * locale/programs/locale.c: Little adjustment for better usage of
426         argp.
428 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
430         * Makeconfig: Add rules for libc with bounded pointers.
431         * Makerules: Likewise.
432         * config.make.in: Likewise.
433         * configure.in: Likewise.
435 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
437         * argp.h (OPTION_NO_USAGE): New macro.
438         * argp-help.c (usage_long_opt, usage_argful_short_opt,
439         add_argless_short_opt): Implement OPTION_NO_USAGE.
441 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
443         * malloc/obstack.h: Fix typo.
445 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
447         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
448         where NEXTLINE points one past the end of the active buffer.
450         * argp-help.c <stddef.h>: New include.
451         (__argp_failure): Only exit if STATE says it's ok.
452         (print_header, hol_entry_help): Use UPARAMS fields rather than
453         constants.
454         (_help): Call fill_in_uparams if necessary.
455         (struct hol_help_state): New type.
456         (struct pentry_state): Add hhstate field.  Remove prev_entry &
457         sep_groups fields.
458         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
459         sep_groups parameters.
460         Suppress duplicate arguments if requested, and note the fact.
461         (print_header, comma): Use PEST->hhstate fields.
462         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
463         Remove LAST_ENTRY & SEP_GROUPS variables.
464         If any suplicate arguments were suppressed, print explanatory note.
465         (filter_doc): Replace PEST parameter with STATE.
466         (struct uparams): New type.
467         (uparams): New variable.
468         (struct uparam_name): New type.
469         (uparam_names): New variable.
470         (fill_in_uparams): New function.
471         (__argp_failure, __argp_error, __argp_state_help): Make STATE
472         parameter const.
473         * argp.h (argp_state_help, __argp_state_help, argp_usage,
474         __argp_usage, argp_error, __argp_error, argp_failure,
475         __argp_failure): Make STATE parameter const.
476         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
478         * argp.h (argp_program_bug_address): Make const.
480 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
482         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
484 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
486         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
488 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
490         * stdio-common/test-fseek.c: Remove temporary file, add
491         copyright.
493 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
495         * sysdeps/generic/netinet/in.h: Protect contents using
496         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
498         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
499         * inet/Makefile (headers): Remove net/ethernet.h.
500         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
501         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
503 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
505         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
506         searching in sorted array.
508 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
510         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
511         and protect modification of global data.
513 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
515         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
516         (parser_init): Use the basename for PARSER->state.name.
517         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
518         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
520         * argp-parse.c (parser_init): Set PARSER->state.flags.
521         Make check whether PARSER has the prog name in argv[0] at the
522         proper place.
524 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
526         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
527         Use default value instead of printing a warning.
529         * nss/XXX-lookup.c: Add misssing explanation.
531 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
533         * inet/in6_addr.c: Add missing braces.
535         * inet/getnameinfo.c: Include <arpa/inet.h>.
537         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
539 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
541         * string/strxfrm.c (STRCOLL): Correct handling of `position'
542         levels with no non-IGNOREd element and handling of NUL byte.
543         * string/strcoll.c (STRXFRM): Likewise.
544         * locale/weight.h: Likewise.
546         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
548 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
550         * argp/argp-help.c: Add support for user provided filter of help
551         messages.
552         * argp/argp-parse.c: Likewise.
553         * argp/argp.h: Likewise.
554         * argp/argp-namefrob.h: Define __argp_input.
556         * argp/argp-test.c: Add example for filter.
558 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
560         * argp.h: New file.
561         * locale/programs/locale.c: Switch to use argp.
563         * errno.h: Make it possible to get definition of error_t even
564         after having errno.h already.
566         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
567         from dl-lookup.c.
568         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
570         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
571         * elf/dl-version.c: Likewise.
573         * elf/dl-lookup.c: Implement new versioning lookup scheme.
574         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
575         in l_versions member.
577         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
578         and _dl_lookup_versioned_symbol.
580         * elf/link.h: Rename hash_name_pair to struct r_found_version.
581         * sysdeps/alpha/dl-machine.h: Likewise.
582         * sysdeps/i386/dl-machine.h: Likewise.
583         * sysdeps/m68k/dl-machine.h: Likewise.
584         * sysdeps/mips/dl-machine.h: Likewise.
586         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
587         length of abs_filename.
589         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
591         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
592         in mon_grouping information.  This means no more grouping.
593         * locale/programs/ld-numeric.c (numeric_add): Write value \377
594         when seein value 0 in grouping information.
595         * locale/programs/linereader.c (lr_close): Don't free fname since
596         it might be used in error messages.
598         * locale/programs/locale.c: Check whether output of `locale -a'
599         really is locale directory.  Also print locale aliases.
601         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
602         be const.
604 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
606         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
607         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
609 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
611         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
613 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
615         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
616         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
618         * sysdeps/stub/msync.c (msync): Add missing third parameter.
620 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
622         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
623         additional argument.
625 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
627         * inet/net/ethernet.h: New file.
628         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
629         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
630         Contributed by a sun <asun@zoology.washington.edu>.
632         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
633         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
634         Reported by a sun <asun@zoology.washington.edu>.
636 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
638         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
639         makefiles which may change the distinfo variables.
641 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
644         [$(subdir)=misc]: Add sys/quota.h.
645         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
647 1997-02-17 13:12  aleph1@dfw.net
649         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
650         strncpy.
652 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
654         * stdio-common/bug10.c (main): Correct parameter.
656 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
658         * malloc/obstack.h: Add `extern "C"' protection.
659         * posix/regex.h: Likewise.
660         * io/ftw.h: Likewise.
661         * misc/libgen.h: Likewise.
662         * login/utmp.h: Likewise.
663         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
664         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
665         * sunrpc/rpc/pmap_rmt.h: Likewise.
666         * sunrpc/rpc/auth_des.h: Likewise.
667         * elf/link.h: Likewise.
668         Reported by HJ Lu.
670 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
672         Linux specific network headers.
673         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
674         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
675         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
676         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
677         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
678         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
679         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
680         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
681         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
682         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
683         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
684         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
685         Add sys/quota.h.
686         [$(subdir)=inet] (sysdep_headers): Add new network header.
688         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
690         * inet/netinet/ip.h: Move to sysdeps/generic.
691         * inet/netinet/tcp.h: Likewise.
692         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
693         * sysdeps/generic/netinet/tcp.h: Likewise.
695 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
697         * misc/sys/syslog.h (prioritynames): Correct definition to use
698         braces where necessary.
699         (facilitynames): Likewise.
700         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
701         Comment and beautify declarations.
703 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
705         * inet/Makefile (routines): Add in6_addr, getnameinfo.
706         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
707         by Craig Metz.
708         * inet/in6_addr.c: New file.  IPv6 addressing constants.
709         * posix/Makefile (routines): Add gai_strerror.
710         * resolv/netdb.h: Add more constants for IPv6 basic API.
711         * sysdeps/posix/gai_strerror.c: New file.
712         * sysdeps/stub/gai_strerror.c New file.
713         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
714         basic API.
716         * sysdeps/posix/getaddrinfo.c: Update from latest version by
717         Craig Metz and use reentrant getXXbyYY functions.
719 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
721         * argp/argp.h: Declare argp_program_version as const char.
722         * argp/argp-test.c: Likewise
724         * stdlib/testrand.c (main): Declare main prototype.
725         * stdlib/testdiv.c (main): Likewise.
726         * string/testcopy.c (main): Likewise.
727         * string/test-ffs.c (main): Likewise.
728         * time/test_time.c (main): Likewise.
730         * locale/duplocale.c (__duplocale): Return result.
732 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
734         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
735         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
737         * nss/nss.h: Remove declaration of __nss_shlib_revision.
738         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
740 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
742         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
743         _nss_nis_gethostton_r.
744         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
746 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
748         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
749         trying to resolv name as numeric IPv6 address.
750         * nss/digits_dots.c: Likewise.
752 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
754         * locale/setlocale.c (setlocale): Don't try to be clever about
755         unused locales.  When the existence of the locale files isn't
756         tested the result of setlocale might be different.
758 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
760         * locale/setlocale.c (setlocale): Don't increment usage_count of
761         new locale if it already has the value MAX_USAGE_COUNT (it might
762         be the C locale data which is read-only).
764 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
766         * argp/argp-help.c: Gettextize sources.
767         * argp/argp-parse.c: Likewise.
769 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
771         * features.h (__GLIBC_MINOR__): Bump to 1.
773         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
774         * Makefile (distribute): Add xlocale.h.
775         * locale/Makefile (routines): Add ctype_l.
776         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
777         Add __isblank_l, __toascii_l and __isascii_l.
778         * ctype/ctype.h: Add definitions and declarations for *_l functions.
779         * locale/Makefile (headers): Add xlocale.h.
780         (routines): Add newlocale, duplocale, and freelocale.
781         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
782         (struct locale_data): Add new fields mmaped and usage_count.
783         Correct various declarations.
784         * locale/C-collate.c: Define value for new fields mmaped and
785         usage_count.
786         * locale/C-ctype.c: Likewise.
787         * locale/C-messages.c: Likewise.
788         * locale/C-monetary.c: Likewise.
789         * locale/C-numeric.c: Likewise.
790         * locale/C-time.c: Likewise.
791         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
792         usage_count fields.
793         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
794         Correct prototypes for __newlocale and __freelocale.
795         Add prototype for __duplocale.
796         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
797         (_nl_remove_locale): New function.
798         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
799         * locale/setlocale.c: Likewise.
800         * locale/weight.h: Change for use with locale objects.
801         * locale/xlocale.h: New file.  Define __locale_t type.
802         * locale/newlocale.c: New file.  Create new locale object.
803         * locale/freelocale.c: New file.  Destroy locale object.
804         * locale/duplocale.c: New file.  Create copy of locale object.
805         * stdlib/Makefile (routines): Add strfmon_l.
806         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
807         * stdlib/strfmon.c: Add support for use in extended locale model.
808         * stdlib/strfmon_l.c: New file.
809         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
810         * string/strcoll.c: Change for use in extended locale model.
811         * string/strxfrm.c: Likewise.
812         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
813         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
814         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
815         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
816         * wcsmbs/wcscoll.c: Change for use in extended locale model.
817         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
818         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
819         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
820         and towctrans_l.
821         * wctype/cname-lookup.h: Prepare for use in extended locale model.
822         * wctype/iswctype_l.c: New file.  Implement character classification
823         functions for use with locale objects.
824         * wctype/wctype.h: Declare functions for use with locale objects.
825         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
826         for use with locale objects.
827         * wctype/wcfuncs_l.c: New file.  Implement wide character
828         classification functions for use with locale objects.
829         * wctype/wcextra.c: New file.  Implement real functions for
830         non-standard classification functions.
832         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
833         parameters to ld.so.  Use environment variables.
834         * elf/ldd.sh.in: Likewise.
835         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
836         options.  Instead read environment variables.
838         * elf/link.h (receiver_fct): Add new argument to take error code.
839         * elf/dl-error.c (_dl_signal_error): Call receiver function with
840         another argument.
842         * elf/dl-object.c (_dl_new_object): Create new object with list of
843         names in l_libname member.
844         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
845         find to object to the list in the link_map variable.
846         (_dl_map_object): Use _dl_does_name_match_p to compare with all
847         available names of the object.
848         Optimize handling of LD_LIBRARY_PATH a bit.
849         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
851         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
853         * elf/Makefile (routines): Add dl-version.
854         * elf/link.h (hash_name_pair): New type.  Group pointer to string
855         and its hash value.
856         (struct link_map): Change l_libname member to be a list of names,
857         not a single pointer to a name.
858         Add new members l_nversions and l_versions.
859         (_dl_does_name_match_p): New function to test for all names of an
860         object.
861         Add prototypes for new lookup and versioning functions.
862         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
863         when versioned symbol is requested.
864         (_dl_lookup_symbol): Call do_lookup with another argument.
865         (_dl_lookup_symbol_skip): Likewise.
866         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
867         versioned symbol.
868         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
869         _dl_lookup_symbol_skip.
870         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
871         _dl_lookup_symbol depending on availability of version information.
872         * elf/dl-runtime.c (RESOLVE): Likewise.
873         (fixup): Call elf_machine_relplt with additional argument to point
874         to versioning information if available.
875         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
876         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
877         for correct versions.
878         * elf/dl-version.c: New file.  Check library versions and extract
879         version information for easier access.
880         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
881         * elf/dlvsym.c: New file.  Implementation of function similar to
882         dlsym, but looks for versioned symbol.
883         * elf/elf.h: Add types and macros for versioning.
884         * elf/rtld.c (dl_main): Check availability of needed versions.
885         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
886         argument for version information.  Call RESOLVE with additional
887         argument.
888         * sysdeps/i386/dl-machine.h: Likewise.
889         * sysdeps/m68k/dl-machine.h: Likewise.
890         * sysdeps/mips/dl-machine.h: Likewise.
892         * elf/dlerror.c: Change comment to align with guidelines.
893         * elf/dlopen.c: Likewise.
894         * elf/dlsym.c: Likewise.
896         * locale/programs/localedef.c: Implement --quiet option.
897         * locale/programs/charset.h: Declare be_quiet variable.
898         * locale/programs/locfile.h: Likewise.
899         * locale/programs/charmap.c: Don't print warnings if quiet option
900         was given.
901         * locale/programs/ld-collate.c: Likewise.
902         * locale/programs/ld-ctype.c: Likewise.
903         * locale/programs/ld-messages.c: Likewise.
904         * locale/programs/ld-monetary.c: Likewise.
905         * locale/programs/ld-numeric.c: Likewise.
906         * locale/programs/ld-time.c: Likewise.
907         * locale/programs/locfile.c: Likewise.
909         * Makefile (subdirs): Add argp.
911         * catgets/catgets.c (catopen): Little code improvement.
913         * posix/execl.c: Remove restriction to 1024 arguments.
914         * posix/execle.c: Likewise.
915         * posix/execlp.c: Likewise.
917         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
918         and make regular names weak aliases.
919         * posix/getopt1.c: Likewise.
920         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
921         __ protected forms.
923         * posix/unistd.h: Add prototype for __sleep.
924         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
925         * sysdeps/posix/sleep.c: Likewise.
926         * sysdeps/stub/sleep.c: Likewise.
927         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
929         * ctype/ctype-info.c: Update copyright.
930         * ctype/ctype.c: Likewise.
931         * ctype/test_ctype.c: Likewise.
932         * dirent/alphasort.c: Likewise.
933         * dirent/list.c: Likewise.
934         * gmon/bb_exit_func.c: Likewise.
935         * grp/fgetgrent.c: Likewise.
936         * grp/getgrent.c: Likewise.
937         * grp/getgrent_r.c: Likewise.
938         * grp/getgrgid.c: Likewise.
939         * grp/getgrgid_r.c: Likewise.
940         * grp/getgrnam.c: Likewise.
941         * grp/getgrnam_r.c: Likewise.
942         * hurd/alloc-fd.c: Likewise.
943         * hurd/catch-exc.c: Likewise.
944         * hurd/ctty-input.c: Likewise.
945         * hurd/ctty-output.c: Likewise.
946         * hurd/dtable.c: Likewise.
947         * hurd/fchroot.c: Likewise.
948         * hurd/fd-close.c: Likewise.
949         * hurd/fd-read.c: Likewise.
950         * hurd/fd-write.c: Likewise.
951         * hurd/fopenport.c: Likewise.
952         * hurd/get-host.c: Likewise.
953         * hurd/getdport.c: Likewise.
954         * hurd/getuids.c: Likewise.
955         * hurd/getumask.c: Likewise.
956         * hurd/hurd-raise.c: Likewise.
957         * hurd/hurd.h: Likewise.
958         * hurd/hurdauth.c: Likewise.
959         * hurd/hurdexec.c: Likewise.
960         * hurd/hurdhost.h: Likewise.
961         * hurd/hurdid.c: Likewise.
962         * hurd/hurdinit.c: Likewise.
963         * hurd/hurdioctl.c: Likewise.
964         * hurd/hurdkill.c: Likewise.
965         * hurd/hurdlookup.c: Likewise.
966         * hurd/hurdmsg.c: Likewise.
967         * hurd/hurdpid.c: Likewise.
968         * hurd/hurdports.c: Likewise.
969         * hurd/hurdprio.c: Likewise.
970         * hurd/hurdrlimit.c: Likewise.
971         * hurd/hurdsock.c: Likewise.
972         * hurd/hurdstartup.c: Likewise.
973         * hurd/hurdstartup.h: Likewise.
974         * hurd/intern-fd.c: Likewise.
975         * hurd/intr-msg.c: Likewise.
976         * hurd/intr-rpc.defs: Likewise.
977         * hurd/intr-rpc.h: Likewise.
978         * hurd/msgportdemux.c: Likewise.
979         * hurd/new-fd.c: Likewise.
980         * hurd/openport.c: Likewise.
981         * hurd/pid2task.c: Likewise.
982         * hurd/port-cleanup.c: Likewise.
983         * hurd/port2fd.c: Likewise.
984         * hurd/ports-get.c: Likewise.
985         * hurd/ports-set.c: Likewise.
986         * hurd/privports.c: Likewise.
987         * hurd/report-wait.c: Likewise.
988         * hurd/set-host.c: Likewise.
989         * hurd/setauth.c: Likewise.
990         * hurd/setuids.c: Likewise.
991         * hurd/siginfo.c: Likewise.
992         * hurd/sigunwind.c: Likewise.
993         * hurd/task2pid.c: Likewise.
994         * hurd/thread-cancel.c: Likewise.
995         * hurd/thread-self.c: Likewise.
996         * hurd/vpprintf.c: Likewise.
997         * hurd/hurd/fd.h: Likewise.
998         * hurd/hurd/id.h: Likewise.
999         * hurd/hurd/ioctl.h: Likewise.
1000         * hurd/hurd/lookup.h: Likewise.
1001         * hurd/hurd/port.h: Likewise.
1002         * hurd/hurd/resource.h: Likewise.
1003         * hurd/hurd/threadvar.h: Likewise.
1004         * hurd/hurd/userlink.h: Likewise.
1005         * inet/ether_aton.c: Likewise.
1006         * inet/ether_aton_r.c: Likewise.
1007         * inet/ether_ntoa.c: Likewise.
1008         * inet/ether_ntoa_r.c: Likewise.
1009         * inet/gethstbyad.c: Likewise.
1010         * inet/gethstbyad_r.c: Likewise.
1011         * inet/gethstent.c: Likewise.
1012         * inet/getnetbyad.c: Likewise.
1013         * inet/getnetbyad_r.c: Likewise.
1014         * inet/getnetbynm.c: Likewise.
1015         * inet/getnetbynm_r.c: Likewise.
1016         * inet/getnetent.c: Likewise.
1017         * inet/getnetent_r.c: Likewise.
1018         * inet/getproto.c: Likewise.
1019         * inet/getproto_r.c: Likewise.
1020         * inet/getprtent.c: Likewise.
1021         * inet/getprtent_r.c: Likewise.
1022         * inet/getprtname.c: Likewise.
1023         * inet/getrpcbyname.c: Likewise.
1024         * inet/getrpcbyname_r.c: Likewise.
1025         * inet/getrpcbynumber.c: Likewise.
1026         * inet/getrpcbynumber_r.c: Likewise.
1027         * inet/getrpcent.c: Likewise.
1028         * inet/getrpcent_r.c: Likewise.
1029         * inet/getservent.c: Likewise.
1030         * inet/getservent_r.c: Likewise.
1031         * inet/getsrvbynm.c: Likewise.
1032         * inet/getsrvbynm_r.c: Likewise.
1033         * inet/getsrvbypt.c: Likewise.
1034         * inet/getsrvbypt_r.c: Likewise.
1035         * inet/herrno.c: Likewise.
1036         * inet/netgroup.h: Likewise.
1037         * ient/netinet/ether.h: Likewise.
1038         * intl/bindtextdom.c: Likewise.
1039         * intl/dcgettext.c: Likewise.
1040         * intl/dgettext.c: Likewise.
1041         * intl/gettext.c: Likewise.
1042         * intl/gettext.h: Likewise.
1043         * intl/gettextP.h: Likewise.
1044         * intl/hash-string.h: Likewise.
1045         * intl/loadmsgcat.c: Likewise.
1046         * intl/localealias.c: Likewise.
1047         * intl/textdomain.c: Likewise.
1048         * io/creat.c: Likewise.
1049         * io/getdirname.c: Likewise.
1050         * io/lockf.c: Likewise.
1051         * io/pwd.c: Likewise.
1052         * io/test-utime.c: Likewise.
1053         * locale/categories.def: Likewise.
1054         * locale/codeset_name.c: Likewise.
1055         * locale/lc-collate.c: Likewise.
1056         * locale/lc-ctype.c: Likewise.
1057         * locale/lc-messages.c: Likewise.
1058         * locale/lc-monetary.c: Likewise.
1059         * locale/lc-numeric.c: Likewise.
1060         * locale/lc-time.c: Likewise.
1061         * locale/loadlocale.c: Likewise.
1062         * locale/localeconv.c: Likewise.
1063         * locale/nl_langinfo.c: Likewise.
1064         * locale/setlocale.c: Likewise.
1065         * locale/strlen-hash.h: Likewise.
1066         * locale/programs/charmap-kw.gperf: Likewise.
1067         * locale/programs/charmap-kw.h: Likewise.
1068         * locale/programs/charset.c: Likewise.
1069         * locale/programs/ld-ctype.c: Likewise.
1070         * locale/programs/ld-messages.c: Likewise.
1071         * locale/programs/ld-monetary.c: Likewise.
1072         * locale/programs/linereader.h: Likewise.
1073         * locale/programs/locale-spec.c: Likewise.
1074         * locale/programs/locales.h: Likewise.
1075         * locale/programs/locfile-kw.gperf: Likewise.
1076         * locale/programs/locfile-kw.h: Likewise.
1077         * locale/programs/locfile-token.h: Likewise.
1078         * locale/programs/simple-hash.h: Likewise.
1079         * locale/programs/stringtrans.c: Likewise.
1080         * locale/programs/stringtrans.h: Likewise.
1081         * login/logout.c: Likewise.
1082         * mach/bootprivport.c: Likewise.
1083         * mach/devstream.c: Likewise.
1084         * mach/hello.c: Likewise.
1085         * mach/mach.h: Likewise.
1086         * mach/mach_init.c: Likewise.
1087         * mach/mach_init.h: Likewise.
1088         * mach/mig-alloc.c: Likewise.
1089         * mach/mig-dealloc.c: Likewise.
1090         * mach/mutex-init.c: Likewise.
1091         * mach/mutex-solid.c: Likewise.
1092         * mach/setup-thread.c: Likewise.
1093         * mach/spin-lock.h: Likewise.
1094         * mach/spin-solid.c: Likewise.
1095         * mach/mach/mig_support.h: Likewise.
1096         * md5-crypt/md5-crypt.c: Likewise.
1097         * misc/nlist.h: Likewise.
1098         * nss/nss_files/files-ether.c: Likewise.
1099         * posix/confstr.c: Likewise.
1100         * posix/execl.c: Likewise.
1101         * posix/execle.c: Likewise.
1102         * posix/execlp.c: Likewise.
1103         * posix/execv.c: Likewise.
1104         * posix/execvp.c: Likewise.
1105         * posix/fnmatch.c: Likewise.
1106         * posix/getopt.c: Likewise.
1107         * posix/getopt.h: Likewise.
1108         * posix/getopt1.c: Likewise.
1109         * posix/id.c: Likewise.
1110         * posix/regex.c: Likewise.
1111         * posix/setpgrp.c: Likewise.
1112         * posix/unistd.h: Likewise.
1113         * posix/wordexp.c: Likewise.
1114         * pwd/fgetpwent.c: Likewise.
1115         * pwd/getpwent.c: Likewise.
1116         * pwd/getpwent_r.c: Likewise.
1117         * pwd/getpwnam.c: Likewise.
1118         * pwd/getpwnam_r.c: Likewise.
1119         * pwd/getpwuid.c: Likewise.
1120         * pwd/getpwuid_r.c: Likewise.
1121         * pwd/putpwent.c: Likewise.
1122         * resolv/gethnamaddr.c: Likewise.
1123         * resolv/res_hconf.c: Likewise.
1124         * resolv/res_hconf.h: Likewise.
1125         * setjmp/longjmp.c: Likewise.
1126         * setjmp/sigjmp.c: Likewise.
1127         * setjmp/tst-setjmp.c: Likewise.
1128         * stdio/clearerr.c: Likewise.
1129         * stdio/ferror.c: Likewise.
1130         * stdio/fgetc.c: Likewise.
1131         * stdio/fgetpos.c: Likewise.
1132         * stdio/fgets.c: Likewise.
1133         * stdio/fileno.c: Likewise.
1134         * stdio/fmemopen.c: Likewise.
1135         * stdio/fopen.c: Likewise.
1136         * stdio/fopncook.c: Likewise.
1137         * stdio/fputc.c: Likewise.
1138         * stdio/fputs.c: Likewise.
1139         * stdio/fread.c: Likewise.
1140         * stdio/freopen.c: Likewise.
1141         * stdio/fseek.c: Likewise.
1142         * stdio/fsetpos.c: Likewise.
1143         * stdio/ftell.c: Likewise.
1144         * stdio/fwrite.c: Likewise.
1145         * stdio/getchar.c: Likewise.
1146         * stdio/getdelim.c: Likewise.
1147         * stdio/gets.c: Likewise.
1148         * stdio/glue.c: Likewise.
1149         * stdio/internals.c: Likewise.
1150         * stdio/linewrap.c: Likewise.
1151         * stdio/linewrap.h: Likewise.
1152         * stdio/memstream.c: Likewise.
1153         * stdio/newstream.c: Likewise.
1154         * stdio/putchar.c: Likewise.
1155         * stdio/puts.c: Likewise.
1156         * stdio/rewind.c: Likewise.
1157         * stdio/setbuf.c: Likewise.
1158         * stdio/setbuffer.c: Likewise.
1159         * stdio/setlinebuf.c: Likewise.
1160         * stdio/setvbuf.c: Likewise.
1161         * stdio/ungetc.c: Likewise.
1162         * stdio/vasprintf.c: Likewise.
1163         * stdio/vscanf.c: Likewise.
1164         * stdio/vsnprintf.c: Likewise.
1165         * stdio/vsprintf.c: Likewise.
1166         * stdio/vsscanf.c: Likewise.
1167         * stdio-common/asprintf.c: Likewise.
1168         * stdio-common/dprintf.c: Likewise.
1169         * stdio-common/errnobug.c: Likewise.
1170         * stdio-common/fprintf.c: Likewise.
1171         * stdio-common/getline.c: Likewise.
1172         * stdio-common/getw.c: Likewise.
1173         * stdio-common/perror.c: Likewise.
1174         * stdio-common/psignal.c: Likewise.
1175         * stdio-common/putw.c: Likewise.
1176         * stdio-common/reg-printf.c: Likewise.
1177         * stdio-common/scanf.c: Likewise.
1178         * stdio-common/snprintf.c: Likewise.
1179         * stdio-common/sprintf.c: Likewise.
1180         * stdio-common/tempnam.c: Likewise.
1181         * stdio-common/test_rdwr.c: Likewise.
1182         * stdio-common/tst-fileno.c: Likewise.
1183         * stdio-common/tst-printf.c: Likewise.
1184         * stdio-common/tstgetln.c: Likewise.
1185         * stdio-common/vprintf.c: Likewise.
1186         * stdlib/drand48.c: Likewise.
1187         * stdlib/drand48_r.c: Likewise.
1188         * stdlib/erand48.c: Likewise.
1189         * stdlib/erand48_r.c: Likewise.
1190         * stdlib/exit.h: Likewise.
1191         * stdlib/strtoq.c: Likewise.
1192         * stdlib/strtoul.c: Likewise.
1193         * stdlib/strtouq.c: Likewise.
1194         * stdlib/test-canon.c: Likewise.
1195         * stdlib/testdiv.c: Likewise.
1196         * stdlib/testrand.c: Likewise.
1197         * string/argz-append.c: Likewise.
1198         * string/argz-count.c: Likewise.
1199         * string/argz-create.c: Likewise.
1200         * string/argz-ctsep.c: Likewise.
1201         * string/argz-delete.c: Likewise.
1202         * string/argz-extract.c: Likewise.
1203         * string/argz-insert.c: Likewise.
1204         * string/argz-next.c: Likewise.
1205         * string/argz-stringify.c: Likewise.
1206         * string/basename.c: Likewise.
1207         * string/envz.c: Likewise.
1208         * string/memfrob.c: Likewise.
1209         * string/strcoll.c: Likewise.
1210         * string/strdup.c: Likewise.
1211         * string/string.h: Likewise.
1212         * string/strndup.c: Likewise.
1213         * string/strnlen.c: Likewise.
1214         * string/strsignal.c: Likewise.
1215         * string/strxfrm.c: Likewise.
1216         * string/test-ffs.c: Likewise.
1217         * string/testcopy.c: Likewise.
1218         * sysdeps/generic/enbl-secure.c: Likewise.
1219         * sysdeps/generic/memcopy.h: Likewise.
1220         * sysdeps/generic/stpncpy.c: Likewise.
1221         * sysdeps/generic/strcasecmp.c: Likewise.
1222         * sysdeps/generic/strcat.c: Likewise.
1223         * sysdeps/generic/strchr.c: Likewise.
1224         * sysdeps/generic/strcpy.c: Likewise.
1225         * sysdeps/generic/strcspn.c: Likewise.
1226         * sysdeps/generic/strlen.c: Likewise.
1227         * sysdeps/generic/strncase.c: Likewise.
1228         * sysdeps/generic/strncat.c: Likewise.
1229         * sysdeps/generic/strncpy.c: Likewise.
1230         * sysdeps/generic/strpbrk.c: Likewise.
1231         * sysdeps/generic/strsep.c: Likewise.
1232         * sysdeps/generic/strspn.c: Likewise.
1233         * sysdeps/generic/strstr.c: Likewise.
1234         * sysdeps/generic/strtok.c: Likewise.
1235         * sysdeps/generic/strtok_r.c: Likewise.
1236         * sysdeps/mach/sleep.c: Likewise.
1237         * sysdeps/posix/sleep.c: Likewise.
1238         * sysdeps/stub/sleep.c: Likewise.
1239         * time/date.c: Likewise.
1240         * time/test_time.c: Likewise.
1241         * wcsmbs/wmemcpy.c: Likewise.
1242         * wctye/test_wctype.c: Likewise.
1243         * wctye/towctrans.c: Likewise.
1244         * wctye/wcfuncs.c: Likewise.
1245         * wctye/wctrans.c: Likewise.
1247 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
1249         * argp/Makefile: New file.
1250         * argp/argp.h: Likewise.
1251         * argp/argp-ba.c: Likewise.
1252         * argp/argp-fmtstream.c: Likewise.
1253         * argp/argp-fmtstream.h: Likewise.
1254         * argp/argp-fs-xinl.c: Likewise.
1255         * argp/argp-help.c: Likewise.
1256         * argp/argp-namefrob.h: Likewise.
1257         * argp/argp-parse.c: Likewise.
1258         * argp/argp-pv.c: Likewise.
1259         * argp/argp-pvh.c: Likewise.
1260         * argp/argp-test.c: Likewise.
1261         * argp/argp-xinl.c: Likewise.
1263 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
1265         * stdlib/qsort.c: Add prototype for _quicksort.
1267         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
1269         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
1270         from dl-machine.h.
1272 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
1274         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
1275         Allow user to overwrite it.
1277 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
1279         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
1280         versions.  Reported by Andreas Jaeger.
1282 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
1284         * time/tzfile.c (__tzfile_read): Change comment to follow
1285         change of 1997-02-12.
1287 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
1289         * time/time.h (__nanosleep): Define only when struct timespec is
1290         also available.
1291         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
1293 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
1295         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
1296         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
1298 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
1300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
1301         of 1997-02-09 in resolv/gethnamaddr.c.
1303 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
1305         * libio/_G_config.h (_G_wint_t): New.
1307 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
1309         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
1310         to sizeof (buf.buf) while calling res_search ().
1312 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
1314         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
1315         val to keydat, stat to status.
1317 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
1319         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
1321 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
1323         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
1324         by Keith Bostic.
1326 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
1328         * stdlib/atoll.c: Undefined atoll, not atol.
1330 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1332         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
1333         unused arguments of shell script.
1335         * Makeconfig (all-object-suffixes): New variable.
1336         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
1337         of $(object-suffixes).
1338         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
1340 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
1342         * string/argz-ctsep.c: Initialize *LEN when successful.
1344 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
1346         * stdio-common/_itoa.h: Update copyright.
1348 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
1350         * version.h (VERSION): Bump to 2.0.2.
1352         * posix/Makefile (routines): Add getopt_init.
1353         * posix/getopt.c: Don't get environment variable with nonoption
1354         flags here.  Depend on __getopt_nonoption_flags variable filled
1355         somewhere else.  This is necessary since the variable must be
1356         removed even when getopt isn't used in case exec(2) gets called.
1357         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
1358         and remove environment variable.
1359         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
1360         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1361         * sysdeps/stub/init-first.c: Likewise.
1362         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1364         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
1365         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
1367         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
1368         encryption is wanted.
1370         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
1371         * stdio/vsnprintf.c: Likewise.
1372         Reported by Philip Blundell <pjb27@cam.ac.uk>.
1374         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
1375         * stdio/vsnprintf.c: Likewise.
1376         Reported by Philip Blundell <pjb27@cam.ac.uk>.
1378 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
1380         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
1381         Change PTR to void *.
1382         * sysdeps/posix/vdprintf.c: Change PTR to void *.
1383         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
1385 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
1387         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
1389 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1391         * rellns-sh: No need to check for existance of first parameter.
1393 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1395         * rellns-sh: No need to check for existance of first parameter.
1397 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1399         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
1400         by David Holland <dholland@eecs.harvard.edu>.
1402 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1404         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
1405         select, in case it is modified by the latter.
1406         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1407         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1408         * sunrpc/svc_tcp.c (readtcp): Likewise.
1410         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
1411         array.
1413         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
1414         and gid_t.
1416         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
1417         argument.
1419 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1421         * elf/Makefile (extra-objs): Don't zap previous value.
1422         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
1423         twice.
1425 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1427         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
1428         braindamage (sigh!).
1430 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
1432         * manual/memory.texi: Correct `copystring' example for obstacks.
1434 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
1436         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
1437         GNU tr don't grok it.
1439 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1441         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
1442         Don't use GNU C extensions.
1443         (CMSG_DATA): Use portable definition.
1445 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
1447         * elf/ldd.bash.in: Add test for read permission and print appropriate
1448         message.  Change warning and error messages to print "ldd: " at start.
1449         * elf/ldd.sh.in: Likewise.
1451         * stdlib/Makefile (routines): Add atoll.
1452         * stdlib/atoll.c: New file.
1453         * stdlib/stdlib.h: Add prototype and optimization for atoll.
1455         * stdlib/a64l.c: Update copyright.
1456         * stdlib/abs.c: Likewise.
1457         * stdlib/atof.c: Likewise.
1458         * stdlib/atoi.c: Likewise.
1459         * stdlib/atol.c: Likewise.
1460         * stdlib/bsearch.c: Likewise.
1461         * stdlib/exit.c: Likewise.
1462         * stdlib/fpioconst.c: Likewise.
1463         * stdlib/fpioconst.h: Likewise.
1464         * stdlib/jrand48.c: Likewise.
1465         * stdlib/jrand48_r.c: Likewise.
1466         * stdlib/labs.c: Likewise.
1467         * stdlib/lcong48.c: Likewise.
1468         * stdlib/lcong48_r.c: Likewise.
1469         * stdlib/llabs.c: Likewise.
1470         * stdlib/lrand48.c: Likewise.
1471         * stdlib/lrand48_r.c: Likewise.
1472         * stdlib/mblen.c: Likewise.
1473         * stdlib/mbstowcs.c: Likewise.
1474         * stdlib/mbtowc.c: Likewise.
1475         * stdlib/mp_clz_tab.c: Likewise.
1476         * stdlib/mrand48.c: Likewise.
1477         * stdlib/mrand48_r.c: Likewise.
1478         * stdlib/msort.c: Likewise.
1479         * stdlib/nrand48.c: Likewise.
1480         * stdlib/nrand48_r.c: Likewise.
1481         * stdlib/qsort.c: Likewise.
1482         * stdlib/rpmatch.c: Likewise.
1483         * stdlib/seed48.c: Likewise.
1484         * stdlib/seed48_r.c: Likewise.
1485         * stdlib/srand48.c: Likewise.
1486         * stdlib/srand48_r.c: Likewise.
1487         * stdlib/strtod.c: Likewise.
1488         * stdlib/wcstombs.c: Likewise.
1489         * stdlib/wctomb.c: Likewise.
1491 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
1493         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
1494         as const.
1496 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
1498         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
1499         including <stddef.h>.
1501 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
1503         * time/Makefile (tzbases, tzlinks): New.
1504         (tzfiles): Changed to $(tzbases) $(tzlinks).
1505         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
1507 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
1509         * Makefile (install): Ignore error from ldconfig.
1511         * time/zic.c (mkdirs): Double check the error return of mkdir ().
1513 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
1515         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
1516         like PPC where va_list is no integral type.
1518 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
1520         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
1521         if nonoption_flags_len == -1.
1523 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
1525         * Version 2.0.1 net release.
1527 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
1529         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
1531 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
1533         * stdlib/getsubopt.c: Don't return `=' for suboption which has
1534         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
1536 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1538         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
1539         values as in yp.x and yp.h.
1541 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
1543         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
1544         1997-02-03 02:17.  Sun's implementation internally corrects
1545         this bug but we don't want to hide this from the user.
1546         * nis/rpcsvc/yp.h: Likewise.
1548 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1550         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
1551         inclusion.
1553 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1555         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
1556         fixes.
1558 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1560         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
1561         (all-sources, all-headers): Use them instead of $(sources) and
1562         $(headers) when searching in sysdep directories.
1564 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1566         * Makerules (REAL_MAKE_VERSION): Use internal make function
1567         instead of shelling out.
1569 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1571         * time/Makefile (install-test-data): Remove mkdir command, zic can
1572         handle that gracefully.
1574 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1576         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
1577         somehow.
1579 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1581         * sunrpc/Makefile: Check $(cross-compiling) only after including
1582         ../Makeconfig.
1583         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
1584         being considered as a rule.
1585         (generated): Add stamp files before the inclusion of Makerules to
1586         magically mark them as not being intermediate via the `generated'
1587         target.
1589 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
1591         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
1592         entries.  This is still no complete implementation since AUXILIARY
1593         entries in other shared objects are not yet handled.
1595         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
1596         place.
1598         * po/es.po: Update.
1599         * po/fr.po: Update.
1600         * po/nl.po: Update.
1602         * time/Makefile: Better cross-compile support.  Avoid test which
1603         cannot be run.
1604         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
1605         tzfile.h file.
1606         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
1607         in SUID programs.
1608         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
1609         default values as in tzfile.c.
1611         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
1612         tags.
1613         * elf/link.h: Likewise.
1614         * elf/elf.h: Add tag definitions and data structures for versioning.
1616 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
1618         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
1619         "Sun bug".  This is the order of elements also used by 4.4BSD.
1620         * nis/rpcsvc/yp.h: Likewise.
1621         Reported by HJ Lu.
1623 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
1625         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
1626         action.
1628         * Makefile (install): Pass installation directories as arguments
1629         to ldconfig.
1631 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
1633         * malloc/malloc.c (__after_morecore_hook): New variable.
1634         (malloc_extend_top): Call __after_morecore_hook if set.
1635         (main_trim): Likewise.
1636         * malloc/malloc.h: Add declaration of __after_morecore_hook.
1637         Suggested by Marcus Daniels.
1639 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
1641         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
1642         #ifndef NO_THREADS.
1643         (mallinfo): Likewise.
1645         * malloc/malloc.c (__morecore): Make external since it is used in
1646         programs.
1648 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
1650         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
1651         unsigned.
1653 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
1655         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
1656         use t6 as a temporary; it contains bits we still need in $u_head.
1658 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
1660         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
1661         using __ prefix.  Add prototype for log1p.
1663 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
1665         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
1667 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
1669         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
1671 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
1673         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
1674         structure plus related macros.
1675         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
1676         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
1677         (sysdep_routines): Add cmsg_nxthdr.
1678         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
1679         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
1681 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
1683         * time/strftime.c: Define _strftime_copytm without protecting arguments
1684         which breaks the definition.
1686 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1688         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
1689         definition of type for element.
1691 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
1693         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
1694         constants.
1696 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
1698         * Makefile: Pass PARALLELMFLAGS to sub-makes.
1699         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
1701 1997-01-31  Paul Eggert  <eggert@twinsun.com>
1703         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
1704         Define if _LIBC is defined.
1705         <limits.h>: Include if HAVE_LIMITS_H instead of if
1706         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
1707         <stdlib.h>: Similarly, include if STDC_HEADERS.
1708         (localtime_r): Redo #ifdef to make it clear that glibc has
1709         localtime_r now.
1711 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1713         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
1714         file to avoid unnecessary recompilation.
1716 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1718         * Makefile: Set install-others, not install_others.
1719         (before-compile): Use += to preserve previous value.
1720         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
1721         fix dependency name.
1722         ($(objpfx)lib-names.h): Remove rule.
1723         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
1724         with correct name, using an intermediate stamp file.
1725         (common-generated): Add gnu/lib-names.h.
1726         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
1728 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
1730         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
1731         to prevent warnings on 64 bit systems.
1732         Reported by Paul Wouters <paul@xtdnet.nl>.
1734         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
1735         we assume it works.
1737 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
1739         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
1740         double word boundary before pushing args for main.  This way we
1741         don't get penalties for misaligned memory accesses.  Reported by
1742         Edward Seidl <seidl@janed.com>.
1744         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
1745         Patch by HJ Lu.
1747         * misc/bsd-compat.c: Update copyright.
1748         * misc/efgcvt.c: Likewise.
1749         * misc/efgcvt_r.c: Likewise.
1750         * misc/error.c: Likewise.
1751         * misc/error.h: Likewise.
1752         * misc/fstab.c: Likewise.
1753         * misc/init-misc.c: Likewise.
1754         * misc/lsearch.c: Likewise.
1755         * misc/mntent.c: Likewise.
1756         * misc/qefgcvt.c: Likewise.
1757         * misc/qefgcvt_r.c: Likewise.
1758         * nss/databases.def: Likewise.
1759         * nss/db-Makefile: Likewise.
1760         * nss/ethers-lookup.c: Likewise.
1761         * nss/hosts-lookup.c: Likewise.
1762         * nss/netgrp-lookup.c: Likewise.
1763         * nss/nsswitch.h: Likewise.
1764         * nss/proto-lookup.c: Likewise.
1765         * nss/rpc-lookup.c: Likewise.
1766         * nss/service-lookup.c: Likewise.
1767         * nss/nss_db/db-netgrp.c: Likewise.
1768         * nss/nss_files/files-grp.c: Likewise.
1769         * nss/nss_files/files-hosts.c: Likewise.
1770         * nss/nss_files/files-network.c: Likewise.
1771         * nss/nss_files/files-proto.c: Likewise.
1772         * nss/nss_files/files-pwd.c: Likewise.
1773         * nss/nss_files/files-rpc.c: Likewise.
1774         * nss/nss_files/files-service.c: Likewise.
1775         * nss/nss_files/files-spwd.c: Likewise.
1776         * shadow/fgetspent.c: Likewise.
1777         * shadow/fgetspent_r.c: Likewise.
1778         * shadow/getspent.c: Likewise.
1779         * shadow/getspent_r.c: Likewise.
1780         * shadow/getspnam.c: Likewise.
1781         * shadow/getspnam_r.c: Likewise.
1782         * shadow/putspent.c: Likewise.
1783         * shadow/sgetspent.c: Likewise.
1784         * shadow/sgetspent_r.c: Likewise.
1785         * sysdeps/i386/init-first.c: Likewise.
1786         * sysdeps/unix/i386/sysdep.S: Likewise.
1788         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
1789         prepared to be running in a multi-threaded environment.  Change
1790         to __USE_MISC unless the function is defined in POSIX.1 (in this
1791         case also test for __USE_POSIX).
1792         * dirent/dirent.h: Likewise.
1793         * grp/grp.h: Likewise.
1794         * inet/aliases.h: Likewise.
1795         * libio/libio.h: Likewise.
1796         * libio/stdio.h: Likewise.
1797         * login/utmp.h: Likewise.
1798         * math/mathcalls.h: Likewise.
1799         * misc/mntent.h: Likewise.
1800         * pwd/pwd.h: Likewise.
1801         * resolv/netdb.h: Likewise.
1802         * stdlib/stdlib.h: Likewise.
1803         * string/string.h: Likewise.
1804         * sunrpc/rpc/netdb.h: Likewise.
1805         * sysdeps/generic/crypt.h: Likewise.
1806         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
1807         * time/time.h: Likewise.
1809 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
1811         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
1812         only if not cross compiling.
1814 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
1816         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
1817         NULL.
1818         * sysdeps/posix/sigwait.c: Likewise.
1820 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1822         * Makeconfig ($(common-objpfx)config.make): Depend on
1823         $(..)config.make.in.
1825 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
1827         * sunrpc/Makefile: Don't generate headers derived from .x files when
1828         crosscompiling.
1830 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
1832         * Makefile: Generate gnu/lib-names.h in before-compile.
1833         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
1834         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
1835         to the revision found for LIBNSS_FILES_SO.
1836         (nss_initilized): Removed.  It was tested but never set.
1837         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
1839         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
1840         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
1842         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
1844 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
1846         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
1847         override the definition.
1849 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
1851         * config.make.in (malloc): Remove.
1853 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
1855         * version.h (VERSION): Bump to 2.0.1.
1857         * posix/getopt.c: Handle another problem introduced by the
1858         nonoption_flags array.  We must be able to work with reordered
1859         argv arrays.  Reported by Andreas Schwab.
1861 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
1863         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
1864         stack.
1866 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1868         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
1869         that it works with yp.h.
1871 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
1873         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
1874         __libc_malloc_initialized so that this variable is not shared with
1875         other users of GNU malloc.
1876         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
1878         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
1880         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
1881         variables to prevent warnings.
1882         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
1883         using attribute regparm.
1884         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
1885         is changed by the resolver code.
1887 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1889         * malloc/malloc.c (weak_variable): Define.
1890         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
1891         __memalign_hook): Make them weak definitions.
1893 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1895         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
1896         limits, correctly take structure padding into account, use correct
1897         offset when resetting the stream, change heuristic to assume an
1898         average name length of 14 characters.
1900 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1902         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
1903         inclusion.
1906 See ChangeLog.6 for earlier changes.