update from main archive 970221
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
2
3         * catgets/gencat.c: Change to use argp.
4         * db/makedb: Likewise.
5         * locale/programs/localedef.c: Likewise.
6
7         * locale/programs/locale.c: Little adjustment for better usage of
8         argp.
9
10 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
11
12         * Makeconfig: Add rules for libc with bounded pointers.
13         * Makerules: Likewise.
14         * config.make.in: Likewise.
15         * configure.in: Likewise.
16
17 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
18
19         * argp.h (OPTION_NO_USAGE): New macro.
20         * argp-help.c (usage_long_opt, usage_argful_short_opt,
21         add_argless_short_opt): Implement OPTION_NO_USAGE.
22
23 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
24
25         * malloc/obstack.h: Fix typo.
26
27 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
28
29         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
30         where NEXTLINE points one past the end of the active buffer.
31
32         * argp-help.c <stddef.h>: New include.
33         (__argp_failure): Only exit if STATE says it's ok.
34         (print_header, hol_entry_help): Use UPARAMS fields rather than
35         constants.
36         (_help): Call fill_in_uparams if necessary.
37         (struct hol_help_state): New type.
38         (struct pentry_state): Add hhstate field.  Remove prev_entry &
39         sep_groups fields.
40         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
41         sep_groups parameters.
42         Suppress duplicate arguments if requested, and note the fact.
43         (print_header, comma): Use PEST->hhstate fields.
44         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
45         Remove LAST_ENTRY & SEP_GROUPS variables.
46         If any suplicate arguments were suppressed, print explanatory note.
47         (filter_doc): Replace PEST parameter with STATE.
48         (struct uparams): New type.
49         (uparams): New variable.
50         (struct uparam_name): New type.
51         (uparam_names): New variable.
52         (fill_in_uparams): New function.
53         (__argp_failure, __argp_error, __argp_state_help): Make STATE
54         parameter const.
55         * argp.h (argp_state_help, __argp_state_help, argp_usage,
56         __argp_usage, argp_error, __argp_error, argp_failure,
57         __argp_failure): Make STATE parameter const.
58         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
59
60         * argp.h (argp_program_bug_address): Make const.
61
62 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
63
64         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
65
66 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
67
68         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
69
70 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
71
72         * stdio-common/test-fseek.c: Remove temporary file, add
73         copyright.
74
75 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
76
77         * sysdeps/generic/netinet/in.h: Protect contents using
78         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
79
80         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
81         * inet/Makefile (headers): Remove net/ethernet.h.
82         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
83         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
84
85 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
86
87         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
88         searching in sorted array.
89
90 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
91
92         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
93         and protect modification of global data.
94
95 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
96
97         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
98         (parser_init): Use the basename for PARSER->state.name.
99         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
100         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
101
102         * argp-parse.c (parser_init): Set PARSER->state.flags.
103         Make check whether PARSER has the prog name in argv[0] at the
104         proper place.
105
106 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
107
108         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
109         Use default value instead of printing a warning.
110
111         * nss/XXX-lookup.c: Add misssing explanation.
112
113 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
114
115         * inet/in6_addr.c: Add missing braces.
116
117         * inet/getnameinfo.c: Include <arpa/inet.h>.
118
119         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
120
121 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
122
123         * string/strxfrm.c (STRCOLL): Correct handling of `position'
124         levels with no non-IGNOREd element and handling of NUL byte.
125         * string/strcoll.c (STRXFRM): Likewise.
126         * locale/weight.h: Likewise.
127
128         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
129
130 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
131
132         * argp/argp-help.c: Add support for user provided filter of help
133         messages.
134         * argp/argp-parse.c: Likewise.
135         * argp/argp.h: Likewise.
136         * argp/argp-namefrob.h: Define __argp_input.
137
138         * argp/argp-test.c: Add example for filter.
139
140 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
141
142         * argp.h: New file.
143         * locale/programs/locale.c: Switch to use argp.
144
145         * errno.h: Make it possible to get definition of error_t even
146         after having errno.h already.
147
148         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
149         from dl-lookup.c.
150         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
151
152         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
153         * elf/dl-version.c: Likewise.
154
155         * elf/dl-lookup.c: Implement new versioning lookup scheme.
156         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
157         in l_versions member.
158
159         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
160         and _dl_lookup_versioned_symbol.
161
162         * elf/link.h: Rename hash_name_pair to struct r_found_version.
163         * sysdeps/alpha/dl-machine.h: Likewise.
164         * sysdeps/i386/dl-machine.h: Likewise.
165         * sysdeps/m68k/dl-machine.h: Likewise.
166         * sysdeps/mips/dl-machine.h: Likewise.
167
168         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
169         length of abs_filename.
170
171         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
172
173         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
174         in mon_grouping information.  This means no more grouping.
175         * locale/programs/ld-numeric.c (numeric_add): Write value \377
176         when seein value 0 in grouping information.
177         * locale/programs/linereader.c (lr_close): Don't free fname since
178         it might be used in error messages.
179
180         * locale/programs/locale.c: Check whether output of `locale -a'
181         really is locale directory.  Also print locale aliases.
182
183         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
184         be const.
185
186 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
187
188         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
189         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
190
191 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
192
193         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
194
195 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
196
197         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
198         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
199
200         * sysdeps/stub/msync.c (msync): Add missing third parameter.
201
202 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
203
204         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
205         additional argument.
206
207 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
208
209         * inet/net/ethernet.h: New file.
210         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
211         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
212         Contributed by a sun <asun@zoology.washington.edu>.
213
214         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
215         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
216         Reported by a sun <asun@zoology.washington.edu>.
217
218 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
219
220         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
221         makefiles which may change the distinfo variables.
222
223 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
224
225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
226         [$(subdir)=misc]: Add sys/quota.h.
227         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
228
229 1997-02-17 13:12  aleph1@dfw.net
230
231         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
232         strncpy.
233
234 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
235
236         * stdio-common/bug10.c (main): Correct parameter.
237
238 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
239
240         * malloc/obstack.h: Add `extern "C"' protection.
241         * posix/regex.h: Likewise.
242         * io/ftw.h: Likewise.
243         * misc/libgen.h: Likewise.
244         * login/utmp.h: Likewise.
245         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
246         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
247         * sunrpc/rpc/pmap_rmt.h: Likewise.
248         * sunrpc/rpc/auth_des.h: Likewise.
249         * elf/link.h: Likewise.
250         Reported by HJ Lu.
251
252 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
253
254         Linux specific network headers.
255         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
256         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
257         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
258         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
259         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
260         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
261         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
262         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
263         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
264         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
265         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
266         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
267         Add sys/quota.h.
268         [$(subdir)=inet] (sysdep_headers): Add new network header.
269
270         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
271
272         * inet/netinet/ip.h: Move to sysdeps/generic.
273         * inet/netinet/tcp.h: Likewise.
274         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
275         * sysdeps/generic/netinet/tcp.h: Likewise.
276
277 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
278
279         * misc/sys/syslog.h (prioritynames): Correct definition to use
280         braces where necessary.
281         (facilitynames): Likewise.
282         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
283         Comment and beautify declarations.
284
285 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
286
287         * inet/Makefile (routines): Add in6_addr, getnameinfo.
288         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
289         by Craig Metz.
290         * inet/in6_addr.c: New file.  IPv6 addressing constants.
291         * posix/Makefile (routines): Add gai_strerror.
292         * resolv/netdb.h: Add more constants for IPv6 basic API.
293         * sysdeps/posix/gai_strerror.c: New file.
294         * sysdeps/stub/gai_strerror.c New file.
295         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
296         basic API.
297
298         * sysdeps/posix/getaddrinfo.c: Update from latest version by
299         Craig Metz and use reentrant getXXbyYY functions.
300
301 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
302
303         * argp/argp.h: Declare argp_program_version as const char.
304         * argp/argp-test.c: Likewise
305
306         * stdlib/testrand.c (main): Declare main prototype.
307         * stdlib/testdiv.c (main): Likewise.
308         * string/testcopy.c (main): Likewise.
309         * string/test-ffs.c (main): Likewise.
310         * time/test_time.c (main): Likewise.
311
312         * locale/duplocale.c (__duplocale): Return result.
313
314 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
315
316         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
317         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
318
319         * nss/nss.h: Remove declaration of __nss_shlib_revision.
320         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
321
322 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
323
324         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
325         _nss_nis_gethostton_r.
326         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
327
328 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
329
330         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
331         trying to resolv name as numeric IPv6 address.
332         * nss/digits_dots.c: Likewise.
333
334 Sat Feb 15 04:51:08 1997  Ulrich Drepper  <drepper@cygnus.com>
335
336         * locale/setlocale.c (setlocale): Don't try to be clever about
337         unused locales.  When the existence of the locale files isn't
338         tested the result of setlocale might be different.
339
340 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
341
342         * locale/setlocale.c (setlocale): Don't increment usage_count of
343         new locale if it already has the value MAX_USAGE_COUNT (it might
344         be the C locale data which is read-only).
345
346 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
347
348         * argp/argp-help.c: Gettextize sources.
349         * argp/argp-parse.c: Likewise.
350
351 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
352
353         * features.h (__GLIBC_MINOR__): Bump to 1.
354
355         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
356         * Makefile (distribute): Add xlocale.h.
357         * locale/Makefile (routines): Add ctype_l.
358         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
359         Add __isblank_l, __toascii_l and __isascii_l.
360         * ctype/ctype.h: Add definitions and declarations for *_l functions.
361         * locale/Makefile (headers): Add xlocale.h.
362         (routines): Add newlocale, duplocale, and freelocale.
363         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
364         (struct locale_data): Add new fields mmaped and usage_count.
365         Correct various declarations.
366         * locale/C-collate.c: Define value for new fields mmaped and
367         usage_count.
368         * locale/C-ctype.c: Likewise.
369         * locale/C-messages.c: Likewise.
370         * locale/C-monetary.c: Likewise.
371         * locale/C-numeric.c: Likewise.
372         * locale/C-time.c: Likewise.
373         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
374         usage_count fields.
375         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
376         Correct prototypes for __newlocale and __freelocale.
377         Add prototype for __duplocale.
378         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
379         (_nl_remove_locale): New function.
380         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
381         * locale/setlocale.c: Likewise.
382         * locale/weight.h: Change for use with locale objects.
383         * locale/xlocale.h: New file.  Define __locale_t type.
384         * locale/newlocale.c: New file.  Create new locale object.
385         * locale/freelocale.c: New file.  Destroy locale object.
386         * locale/duplocale.c: New file.  Create copy of locale object.
387         * stdlib/Makefile (routines): Add strfmon_l.
388         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
389         * stdlib/strfmon.c: Add support for use in extended locale model.
390         * stdlib/strfmon_l.c: New file.
391         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
392         * string/strcoll.c: Change for use in extended locale model.
393         * string/strxfrm.c: Likewise.
394         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
395         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
396         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
397         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
398         * wcsmbs/wcscoll.c: Change for use in extended locale model.
399         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
400         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
401         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
402         and towctrans_l.
403         * wctype/cname-lookup.h: Prepare for use in extended locale model.
404         * wctype/iswctype_l.c: New file.  Implement character classification
405         functions for use with locale objects.
406         * wctype/wctype.h: Declare functions for use with locale objects.
407         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
408         for use with locale objects.
409         * wctype/wcfuncs_l.c: New file.  Implement wide character
410         classification functions for use with locale objects.
411         * wctype/wcextra.c: New file.  Implement real functions for
412         non-standard classification functions.
413
414         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
415         parameters to ld.so.  Use environment variables.
416         * elf/ldd.sh.in: Likewise.
417         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
418         options.  Instead read environment variables.
419
420         * elf/link.h (receiver_fct): Add new argument to take error code.
421         * elf/dl-error.c (_dl_signal_error): Call receiver function with
422         another argument.
423
424         * elf/dl-object.c (_dl_new_object): Create new object with list of
425         names in l_libname member.
426         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
427         find to object to the list in the link_map variable.
428         (_dl_map_object): Use _dl_does_name_match_p to compare with all
429         available names of the object.
430         Optimize handling of LD_LIBRARY_PATH a bit.
431         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
432
433         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
434
435         * elf/Makefile (routines): Add dl-version.
436         * elf/link.h (hash_name_pair): New type.  Group pointer to string
437         and its hash value.
438         (struct link_map): Change l_libname member to be a list of names,
439         not a single pointer to a name.
440         Add new members l_nversions and l_versions.
441         (_dl_does_name_match_p): New function to test for all names of an
442         object.
443         Add prototypes for new lookup and versioning functions.
444         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
445         when versioned symbol is requested.
446         (_dl_lookup_symbol): Call do_lookup with another argument.
447         (_dl_lookup_symbol_skip): Likewise.
448         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
449         versioned symbol.
450         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
451         _dl_lookup_symbol_skip.
452         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
453         _dl_lookup_symbol depending on availability of version information.
454         * elf/dl-runtime.c (RESOLVE): Likewise.
455         (fixup): Call elf_machine_relplt with additional argument to point
456         to versioning information if available.
457         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
458         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
459         for correct versions.
460         * elf/dl-version.c: New file.  Check library versions and extract
461         version information for easier access.
462         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
463         * elf/dlvsym.c: New file.  Implementation of function similar to
464         dlsym, but looks for versioned symbol.
465         * elf/elf.h: Add types and macros for versioning.
466         * elf/rtld.c (dl_main): Check availability of needed versions.
467         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
468         argument for version information.  Call RESOLVE with additional
469         argument.
470         * sysdeps/i386/dl-machine.h: Likewise.
471         * sysdeps/m68k/dl-machine.h: Likewise.
472         * sysdeps/mips/dl-machine.h: Likewise.
473
474         * elf/dlerror.c: Change comment to align with guidelines.
475         * elf/dlopen.c: Likewise.
476         * elf/dlsym.c: Likewise.
477
478         * locale/programs/localedef.c: Implement --quiet option.
479         * locale/programs/charset.h: Declare be_quiet variable.
480         * locale/programs/locfile.h: Likewise.
481         * locale/programs/charmap.c: Don't print warnings if quiet option
482         was given.
483         * locale/programs/ld-collate.c: Likewise.
484         * locale/programs/ld-ctype.c: Likewise.
485         * locale/programs/ld-messages.c: Likewise.
486         * locale/programs/ld-monetary.c: Likewise.
487         * locale/programs/ld-numeric.c: Likewise.
488         * locale/programs/ld-time.c: Likewise.
489         * locale/programs/locfile.c: Likewise.
490
491         * Makefile (subdirs): Add argp.
492
493         * catgets/catgets.c (catopen): Little code improvement.
494
495         * posix/execl.c: Remove restriction to 1024 arguments.
496         * posix/execle.c: Likewise.
497         * posix/execlp.c: Likewise.
498
499         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
500         and make regular names weak aliases.
501         * posix/getopt1.c: Likewise.
502         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
503         __ protected forms.
504
505         * posix/unistd.h: Add prototype for __sleep.
506         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
507         * sysdeps/posix/sleep.c: Likewise.
508         * sysdeps/stub/sleep.c: Likewise.
509         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
510
511         * ctype/ctype-info.c: Update copyright.
512         * ctype/ctype.c: Likewise.
513         * ctype/test_ctype.c: Likewise.
514         * dirent/alphasort.c: Likewise.
515         * dirent/list.c: Likewise.
516         * gmon/bb_exit_func.c: Likewise.
517         * grp/fgetgrent.c: Likewise.
518         * grp/getgrent.c: Likewise.
519         * grp/getgrent_r.c: Likewise.
520         * grp/getgrgid.c: Likewise.
521         * grp/getgrgid_r.c: Likewise.
522         * grp/getgrnam.c: Likewise.
523         * grp/getgrnam_r.c: Likewise.
524         * hurd/alloc-fd.c: Likewise.
525         * hurd/catch-exc.c: Likewise.
526         * hurd/ctty-input.c: Likewise.
527         * hurd/ctty-output.c: Likewise.
528         * hurd/dtable.c: Likewise.
529         * hurd/fchroot.c: Likewise.
530         * hurd/fd-close.c: Likewise.
531         * hurd/fd-read.c: Likewise.
532         * hurd/fd-write.c: Likewise.
533         * hurd/fopenport.c: Likewise.
534         * hurd/get-host.c: Likewise.
535         * hurd/getdport.c: Likewise.
536         * hurd/getuids.c: Likewise.
537         * hurd/getumask.c: Likewise.
538         * hurd/hurd-raise.c: Likewise.
539         * hurd/hurd.h: Likewise.
540         * hurd/hurdauth.c: Likewise.
541         * hurd/hurdexec.c: Likewise.
542         * hurd/hurdhost.h: Likewise.
543         * hurd/hurdid.c: Likewise.
544         * hurd/hurdinit.c: Likewise.
545         * hurd/hurdioctl.c: Likewise.
546         * hurd/hurdkill.c: Likewise.
547         * hurd/hurdlookup.c: Likewise.
548         * hurd/hurdmsg.c: Likewise.
549         * hurd/hurdpid.c: Likewise.
550         * hurd/hurdports.c: Likewise.
551         * hurd/hurdprio.c: Likewise.
552         * hurd/hurdrlimit.c: Likewise.
553         * hurd/hurdsock.c: Likewise.
554         * hurd/hurdstartup.c: Likewise.
555         * hurd/hurdstartup.h: Likewise.
556         * hurd/intern-fd.c: Likewise.
557         * hurd/intr-msg.c: Likewise.
558         * hurd/intr-rpc.defs: Likewise.
559         * hurd/intr-rpc.h: Likewise.
560         * hurd/msgportdemux.c: Likewise.
561         * hurd/new-fd.c: Likewise.
562         * hurd/openport.c: Likewise.
563         * hurd/pid2task.c: Likewise.
564         * hurd/port-cleanup.c: Likewise.
565         * hurd/port2fd.c: Likewise.
566         * hurd/ports-get.c: Likewise.
567         * hurd/ports-set.c: Likewise.
568         * hurd/privports.c: Likewise.
569         * hurd/report-wait.c: Likewise.
570         * hurd/set-host.c: Likewise.
571         * hurd/setauth.c: Likewise.
572         * hurd/setuids.c: Likewise.
573         * hurd/siginfo.c: Likewise.
574         * hurd/sigunwind.c: Likewise.
575         * hurd/task2pid.c: Likewise.
576         * hurd/thread-cancel.c: Likewise.
577         * hurd/thread-self.c: Likewise.
578         * hurd/vpprintf.c: Likewise.
579         * hurd/hurd/fd.h: Likewise.
580         * hurd/hurd/id.h: Likewise.
581         * hurd/hurd/ioctl.h: Likewise.
582         * hurd/hurd/lookup.h: Likewise.
583         * hurd/hurd/port.h: Likewise.
584         * hurd/hurd/resource.h: Likewise.
585         * hurd/hurd/threadvar.h: Likewise.
586         * hurd/hurd/userlink.h: Likewise.
587         * inet/ether_aton.c: Likewise.
588         * inet/ether_aton_r.c: Likewise.
589         * inet/ether_ntoa.c: Likewise.
590         * inet/ether_ntoa_r.c: Likewise.
591         * inet/gethstbyad.c: Likewise.
592         * inet/gethstbyad_r.c: Likewise.
593         * inet/gethstent.c: Likewise.
594         * inet/getnetbyad.c: Likewise.
595         * inet/getnetbyad_r.c: Likewise.
596         * inet/getnetbynm.c: Likewise.
597         * inet/getnetbynm_r.c: Likewise.
598         * inet/getnetent.c: Likewise.
599         * inet/getnetent_r.c: Likewise.
600         * inet/getproto.c: Likewise.
601         * inet/getproto_r.c: Likewise.
602         * inet/getprtent.c: Likewise.
603         * inet/getprtent_r.c: Likewise.
604         * inet/getprtname.c: Likewise.
605         * inet/getrpcbyname.c: Likewise.
606         * inet/getrpcbyname_r.c: Likewise.
607         * inet/getrpcbynumber.c: Likewise.
608         * inet/getrpcbynumber_r.c: Likewise.
609         * inet/getrpcent.c: Likewise.
610         * inet/getrpcent_r.c: Likewise.
611         * inet/getservent.c: Likewise.
612         * inet/getservent_r.c: Likewise.
613         * inet/getsrvbynm.c: Likewise.
614         * inet/getsrvbynm_r.c: Likewise.
615         * inet/getsrvbypt.c: Likewise.
616         * inet/getsrvbypt_r.c: Likewise.
617         * inet/herrno.c: Likewise.
618         * inet/netgroup.h: Likewise.
619         * ient/netinet/ether.h: Likewise.
620         * intl/bindtextdom.c: Likewise.
621         * intl/dcgettext.c: Likewise.
622         * intl/dgettext.c: Likewise.
623         * intl/gettext.c: Likewise.
624         * intl/gettext.h: Likewise.
625         * intl/gettextP.h: Likewise.
626         * intl/hash-string.h: Likewise.
627         * intl/loadmsgcat.c: Likewise.
628         * intl/localealias.c: Likewise.
629         * intl/textdomain.c: Likewise.
630         * io/creat.c: Likewise.
631         * io/getdirname.c: Likewise.
632         * io/lockf.c: Likewise.
633         * io/pwd.c: Likewise.
634         * io/test-utime.c: Likewise.
635         * locale/categories.def: Likewise.
636         * locale/codeset_name.c: Likewise.
637         * locale/lc-collate.c: Likewise.
638         * locale/lc-ctype.c: Likewise.
639         * locale/lc-messages.c: Likewise.
640         * locale/lc-monetary.c: Likewise.
641         * locale/lc-numeric.c: Likewise.
642         * locale/lc-time.c: Likewise.
643         * locale/loadlocale.c: Likewise.
644         * locale/localeconv.c: Likewise.
645         * locale/nl_langinfo.c: Likewise.
646         * locale/setlocale.c: Likewise.
647         * locale/strlen-hash.h: Likewise.
648         * locale/programs/charmap-kw.gperf: Likewise.
649         * locale/programs/charmap-kw.h: Likewise.
650         * locale/programs/charset.c: Likewise.
651         * locale/programs/ld-ctype.c: Likewise.
652         * locale/programs/ld-messages.c: Likewise.
653         * locale/programs/ld-monetary.c: Likewise.
654         * locale/programs/linereader.h: Likewise.
655         * locale/programs/locale-spec.c: Likewise.
656         * locale/programs/locales.h: Likewise.
657         * locale/programs/locfile-kw.gperf: Likewise.
658         * locale/programs/locfile-kw.h: Likewise.
659         * locale/programs/locfile-token.h: Likewise.
660         * locale/programs/simple-hash.h: Likewise.
661         * locale/programs/stringtrans.c: Likewise.
662         * locale/programs/stringtrans.h: Likewise.
663         * login/logout.c: Likewise.
664         * mach/bootprivport.c: Likewise.
665         * mach/devstream.c: Likewise.
666         * mach/hello.c: Likewise.
667         * mach/mach.h: Likewise.
668         * mach/mach_init.c: Likewise.
669         * mach/mach_init.h: Likewise.
670         * mach/mig-alloc.c: Likewise.
671         * mach/mig-dealloc.c: Likewise.
672         * mach/mutex-init.c: Likewise.
673         * mach/mutex-solid.c: Likewise.
674         * mach/setup-thread.c: Likewise.
675         * mach/spin-lock.h: Likewise.
676         * mach/spin-solid.c: Likewise.
677         * mach/mach/mig_support.h: Likewise.
678         * md5-crypt/md5-crypt.c: Likewise.
679         * misc/nlist.h: Likewise.
680         * nss/nss_files/files-ether.c: Likewise.
681         * posix/confstr.c: Likewise.
682         * posix/execl.c: Likewise.
683         * posix/execle.c: Likewise.
684         * posix/execlp.c: Likewise.
685         * posix/execv.c: Likewise.
686         * posix/execvp.c: Likewise.
687         * posix/fnmatch.c: Likewise.
688         * posix/getopt.c: Likewise.
689         * posix/getopt.h: Likewise.
690         * posix/getopt1.c: Likewise.
691         * posix/id.c: Likewise.
692         * posix/regex.c: Likewise.
693         * posix/setpgrp.c: Likewise.
694         * posix/unistd.h: Likewise.
695         * posix/wordexp.c: Likewise.
696         * pwd/fgetpwent.c: Likewise.
697         * pwd/getpwent.c: Likewise.
698         * pwd/getpwent_r.c: Likewise.
699         * pwd/getpwnam.c: Likewise.
700         * pwd/getpwnam_r.c: Likewise.
701         * pwd/getpwuid.c: Likewise.
702         * pwd/getpwuid_r.c: Likewise.
703         * pwd/putpwent.c: Likewise.
704         * resolv/gethnamaddr.c: Likewise.
705         * resolv/res_hconf.c: Likewise.
706         * resolv/res_hconf.h: Likewise.
707         * setjmp/longjmp.c: Likewise.
708         * setjmp/sigjmp.c: Likewise.
709         * setjmp/tst-setjmp.c: Likewise.
710         * stdio/clearerr.c: Likewise.
711         * stdio/ferror.c: Likewise.
712         * stdio/fgetc.c: Likewise.
713         * stdio/fgetpos.c: Likewise.
714         * stdio/fgets.c: Likewise.
715         * stdio/fileno.c: Likewise.
716         * stdio/fmemopen.c: Likewise.
717         * stdio/fopen.c: Likewise.
718         * stdio/fopncook.c: Likewise.
719         * stdio/fputc.c: Likewise.
720         * stdio/fputs.c: Likewise.
721         * stdio/fread.c: Likewise.
722         * stdio/freopen.c: Likewise.
723         * stdio/fseek.c: Likewise.
724         * stdio/fsetpos.c: Likewise.
725         * stdio/ftell.c: Likewise.
726         * stdio/fwrite.c: Likewise.
727         * stdio/getchar.c: Likewise.
728         * stdio/getdelim.c: Likewise.
729         * stdio/gets.c: Likewise.
730         * stdio/glue.c: Likewise.
731         * stdio/internals.c: Likewise.
732         * stdio/linewrap.c: Likewise.
733         * stdio/linewrap.h: Likewise.
734         * stdio/memstream.c: Likewise.
735         * stdio/newstream.c: Likewise.
736         * stdio/putchar.c: Likewise.
737         * stdio/puts.c: Likewise.
738         * stdio/rewind.c: Likewise.
739         * stdio/setbuf.c: Likewise.
740         * stdio/setbuffer.c: Likewise.
741         * stdio/setlinebuf.c: Likewise.
742         * stdio/setvbuf.c: Likewise.
743         * stdio/ungetc.c: Likewise.
744         * stdio/vasprintf.c: Likewise.
745         * stdio/vscanf.c: Likewise.
746         * stdio/vsnprintf.c: Likewise.
747         * stdio/vsprintf.c: Likewise.
748         * stdio/vsscanf.c: Likewise.
749         * stdio-common/asprintf.c: Likewise.
750         * stdio-common/dprintf.c: Likewise.
751         * stdio-common/errnobug.c: Likewise.
752         * stdio-common/fprintf.c: Likewise.
753         * stdio-common/getline.c: Likewise.
754         * stdio-common/getw.c: Likewise.
755         * stdio-common/perror.c: Likewise.
756         * stdio-common/psignal.c: Likewise.
757         * stdio-common/putw.c: Likewise.
758         * stdio-common/reg-printf.c: Likewise.
759         * stdio-common/scanf.c: Likewise.
760         * stdio-common/snprintf.c: Likewise.
761         * stdio-common/sprintf.c: Likewise.
762         * stdio-common/tempnam.c: Likewise.
763         * stdio-common/test_rdwr.c: Likewise.
764         * stdio-common/tst-fileno.c: Likewise.
765         * stdio-common/tst-printf.c: Likewise.
766         * stdio-common/tstgetln.c: Likewise.
767         * stdio-common/vprintf.c: Likewise.
768         * stdlib/drand48.c: Likewise.
769         * stdlib/drand48_r.c: Likewise.
770         * stdlib/erand48.c: Likewise.
771         * stdlib/erand48_r.c: Likewise.
772         * stdlib/exit.h: Likewise.
773         * stdlib/strtoq.c: Likewise.
774         * stdlib/strtoul.c: Likewise.
775         * stdlib/strtouq.c: Likewise.
776         * stdlib/test-canon.c: Likewise.
777         * stdlib/testdiv.c: Likewise.
778         * stdlib/testrand.c: Likewise.
779         * string/argz-append.c: Likewise.
780         * string/argz-count.c: Likewise.
781         * string/argz-create.c: Likewise.
782         * string/argz-ctsep.c: Likewise.
783         * string/argz-delete.c: Likewise.
784         * string/argz-extract.c: Likewise.
785         * string/argz-insert.c: Likewise.
786         * string/argz-next.c: Likewise.
787         * string/argz-stringify.c: Likewise.
788         * string/basename.c: Likewise.
789         * string/envz.c: Likewise.
790         * string/memfrob.c: Likewise.
791         * string/strcoll.c: Likewise.
792         * string/strdup.c: Likewise.
793         * string/string.h: Likewise.
794         * string/strndup.c: Likewise.
795         * string/strnlen.c: Likewise.
796         * string/strsignal.c: Likewise.
797         * string/strxfrm.c: Likewise.
798         * string/test-ffs.c: Likewise.
799         * string/testcopy.c: Likewise.
800         * sysdeps/generic/enbl-secure.c: Likewise.
801         * sysdeps/generic/memcopy.h: Likewise.
802         * sysdeps/generic/stpncpy.c: Likewise.
803         * sysdeps/generic/strcasecmp.c: Likewise.
804         * sysdeps/generic/strcat.c: Likewise.
805         * sysdeps/generic/strchr.c: Likewise.
806         * sysdeps/generic/strcpy.c: Likewise.
807         * sysdeps/generic/strcspn.c: Likewise.
808         * sysdeps/generic/strlen.c: Likewise.
809         * sysdeps/generic/strncase.c: Likewise.
810         * sysdeps/generic/strncat.c: Likewise.
811         * sysdeps/generic/strncpy.c: Likewise.
812         * sysdeps/generic/strpbrk.c: Likewise.
813         * sysdeps/generic/strsep.c: Likewise.
814         * sysdeps/generic/strspn.c: Likewise.
815         * sysdeps/generic/strstr.c: Likewise.
816         * sysdeps/generic/strtok.c: Likewise.
817         * sysdeps/generic/strtok_r.c: Likewise.
818         * sysdeps/mach/sleep.c: Likewise.
819         * sysdeps/posix/sleep.c: Likewise.
820         * sysdeps/stub/sleep.c: Likewise.
821         * time/date.c: Likewise.
822         * time/test_time.c: Likewise.
823         * wcsmbs/wmemcpy.c: Likewise.
824         * wctye/test_wctype.c: Likewise.
825         * wctye/towctrans.c: Likewise.
826         * wctye/wcfuncs.c: Likewise.
827         * wctye/wctrans.c: Likewise.
828
829 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
830
831         * argp/Makefile: New file.
832         * argp/argp.h: Likewise.
833         * argp/argp-ba.c: Likewise.
834         * argp/argp-fmtstream.c: Likewise.
835         * argp/argp-fmtstream.h: Likewise.
836         * argp/argp-fs-xinl.c: Likewise.
837         * argp/argp-help.c: Likewise.
838         * argp/argp-namefrob.h: Likewise.
839         * argp/argp-parse.c: Likewise.
840         * argp/argp-pv.c: Likewise.
841         * argp/argp-pvh.c: Likewise.
842         * argp/argp-test.c: Likewise.
843         * argp/argp-xinl.c: Likewise.
844
845 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
846
847         * stdlib/qsort.c: Add prototype for _quicksort.
848
849         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
850
851         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
852         from dl-machine.h.
853
854 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
855
856         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
857         Allow user to overwrite it.
858
859 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
860
861         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
862         versions.  Reported by Andreas Jaeger.
863
864 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
865
866         * time/tzfile.c (__tzfile_read): Change comment to follow
867         change of 1997-02-12.
868
869 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
870
871         * time/time.h (__nanosleep): Define only when struct timespec is
872         also available.
873         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
874
875 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
876
877         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
878         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
879
880 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
881
882         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
883         of 1997-02-09 in resolv/gethnamaddr.c.
884
885 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
886
887         * libio/_G_config.h (_G_wint_t): New.
888
889 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
890
891         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
892         to sizeof (buf.buf) while calling res_search ().
893
894 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
895
896         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
897         val to keydat, stat to status.
898
899 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
900
901         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
902
903 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
904
905         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
906         by Keith Bostic.
907
908 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
909
910         * stdlib/atoll.c: Undefined atoll, not atol.
911
912 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
913
914         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
915         unused arguments of shell script.
916
917         * Makeconfig (all-object-suffixes): New variable.
918         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
919         of $(object-suffixes).
920         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
921
922 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
923
924         * string/argz-ctsep.c: Initialize *LEN when successful.
925
926 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
927
928         * stdio-common/_itoa.h: Update copyright.
929
930 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
931
932         * version.h (VERSION): Bump to 2.0.2.
933
934         * posix/Makefile (routines): Add getopt_init.
935         * posix/getopt.c: Don't get environment variable with nonoption
936         flags here.  Depend on __getopt_nonoption_flags variable filled
937         somewhere else.  This is necessary since the variable must be
938         removed even when getopt isn't used in case exec(2) gets called.
939         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
940         and remove environment variable.
941         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
942         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
943         * sysdeps/stub/init-first.c: Likewise.
944         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
945
946         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
947         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
948
949         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
950         encryption is wanted.
951
952         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
953         * stdio/vsnprintf.c: Likewise.
954         Reported by Philip Blundell <pjb27@cam.ac.uk>.
955
956         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
957         * stdio/vsnprintf.c: Likewise.
958         Reported by Philip Blundell <pjb27@cam.ac.uk>.
959
960 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
961
962         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
963         Change PTR to void *.
964         * sysdeps/posix/vdprintf.c: Change PTR to void *.
965         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
966
967 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
968
969         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
970
971 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
972
973         * rellns-sh: No need to check for existance of first parameter.
974
975 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
976
977         * rellns-sh: No need to check for existance of first parameter.
978
979 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
980
981         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
982         by David Holland <dholland@eecs.harvard.edu>.
983
984 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
985
986         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
987         select, in case it is modified by the latter.
988         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
989         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
990         * sunrpc/svc_tcp.c (readtcp): Likewise.
991
992         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
993         array.
994
995         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
996         and gid_t.
997
998         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
999         argument.
1000
1001 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1002
1003         * elf/Makefile (extra-objs): Don't zap previous value.
1004         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
1005         twice.
1006
1007 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1008
1009         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
1010         braindamage (sigh!).
1011
1012 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
1013
1014         * manual/memory.texi: Correct `copystring' example for obstacks.
1015
1016 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
1017
1018         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
1019         GNU tr don't grok it.
1020
1021 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1022
1023         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
1024         Don't use GNU C extensions.
1025         (CMSG_DATA): Use portable definition.
1026
1027 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
1028
1029         * elf/ldd.bash.in: Add test for read permission and print appropriate
1030         message.  Change warning and error messages to print "ldd: " at start.
1031         * elf/ldd.sh.in: Likewise.
1032
1033         * stdlib/Makefile (routines): Add atoll.
1034         * stdlib/atoll.c: New file.
1035         * stdlib/stdlib.h: Add prototype and optimization for atoll.
1036
1037         * stdlib/a64l.c: Update copyright.
1038         * stdlib/abs.c: Likewise.
1039         * stdlib/atof.c: Likewise.
1040         * stdlib/atoi.c: Likewise.
1041         * stdlib/atol.c: Likewise.
1042         * stdlib/bsearch.c: Likewise.
1043         * stdlib/exit.c: Likewise.
1044         * stdlib/fpioconst.c: Likewise.
1045         * stdlib/fpioconst.h: Likewise.
1046         * stdlib/jrand48.c: Likewise.
1047         * stdlib/jrand48_r.c: Likewise.
1048         * stdlib/labs.c: Likewise.
1049         * stdlib/lcong48.c: Likewise.
1050         * stdlib/lcong48_r.c: Likewise.
1051         * stdlib/llabs.c: Likewise.
1052         * stdlib/lrand48.c: Likewise.
1053         * stdlib/lrand48_r.c: Likewise.
1054         * stdlib/mblen.c: Likewise.
1055         * stdlib/mbstowcs.c: Likewise.
1056         * stdlib/mbtowc.c: Likewise.
1057         * stdlib/mp_clz_tab.c: Likewise.
1058         * stdlib/mrand48.c: Likewise.
1059         * stdlib/mrand48_r.c: Likewise.
1060         * stdlib/msort.c: Likewise.
1061         * stdlib/nrand48.c: Likewise.
1062         * stdlib/nrand48_r.c: Likewise.
1063         * stdlib/qsort.c: Likewise.
1064         * stdlib/rpmatch.c: Likewise.
1065         * stdlib/seed48.c: Likewise.
1066         * stdlib/seed48_r.c: Likewise.
1067         * stdlib/srand48.c: Likewise.
1068         * stdlib/srand48_r.c: Likewise.
1069         * stdlib/strtod.c: Likewise.
1070         * stdlib/wcstombs.c: Likewise.
1071         * stdlib/wctomb.c: Likewise.
1072
1073 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
1074
1075         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
1076         as const.
1077
1078 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
1079
1080         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
1081         including <stddef.h>.
1082
1083 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
1084
1085         * time/Makefile (tzbases, tzlinks): New.
1086         (tzfiles): Changed to $(tzbases) $(tzlinks).
1087         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
1088
1089 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
1090
1091         * Makefile (install): Ignore error from ldconfig.
1092
1093         * time/zic.c (mkdirs): Double check the error return of mkdir ().
1094
1095 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
1096
1097         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
1098         like PPC where va_list is no integral type.
1099
1100 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
1101
1102         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
1103         if nonoption_flags_len == -1.
1104
1105 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
1106
1107         * Version 2.0.1 net release.
1108
1109 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
1110
1111         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
1112
1113 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
1114
1115         * stdlib/getsubopt.c: Don't return `=' for suboption which has
1116         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
1117
1118 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1119
1120         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
1121         values as in yp.x and yp.h.
1122
1123 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
1124
1125         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
1126         1997-02-03 02:17.  Sun's implementation internally corrects
1127         this bug but we don't want to hide this from the user.
1128         * nis/rpcsvc/yp.h: Likewise.
1129
1130 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1131
1132         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
1133         inclusion.
1134
1135 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1136
1137         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
1138         fixes.
1139
1140 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1141
1142         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
1143         (all-sources, all-headers): Use them instead of $(sources) and
1144         $(headers) when searching in sysdep directories.
1145
1146 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1147
1148         * Makerules (REAL_MAKE_VERSION): Use internal make function
1149         instead of shelling out.
1150
1151 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1152
1153         * time/Makefile (install-test-data): Remove mkdir command, zic can
1154         handle that gracefully.
1155
1156 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1157
1158         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
1159         somehow.
1160
1161 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1162
1163         * sunrpc/Makefile: Check $(cross-compiling) only after including
1164         ../Makeconfig.
1165         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
1166         being considered as a rule.
1167         (generated): Add stamp files before the inclusion of Makerules to
1168         magically mark them as not being intermediate via the `generated'
1169         target.
1170
1171 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
1172
1173         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
1174         entries.  This is still no complete implementation since AUXILIARY
1175         entries in other shared objects are not yet handled.
1176
1177         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
1178         place.
1179
1180         * po/es.po: Update.
1181         * po/fr.po: Update.
1182         * po/nl.po: Update.
1183
1184         * time/Makefile: Better cross-compile support.  Avoid test which
1185         cannot be run.
1186         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
1187         tzfile.h file.
1188         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
1189         in SUID programs.
1190         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
1191         default values as in tzfile.c.
1192
1193         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
1194         tags.
1195         * elf/link.h: Likewise.
1196         * elf/elf.h: Add tag definitions and data structures for versioning.
1197
1198 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
1199
1200         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
1201         "Sun bug".  This is the order of elements also used by 4.4BSD.
1202         * nis/rpcsvc/yp.h: Likewise.
1203         Reported by HJ Lu.
1204
1205 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
1206
1207         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
1208         action.
1209
1210         * Makefile (install): Pass installation directories as arguments
1211         to ldconfig.
1212
1213 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
1214
1215         * malloc/malloc.c (__after_morecore_hook): New variable.
1216         (malloc_extend_top): Call __after_morecore_hook if set.
1217         (main_trim): Likewise.
1218         * malloc/malloc.h: Add declaration of __after_morecore_hook.
1219         Suggested by Marcus Daniels.
1220
1221 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
1222
1223         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
1224         #ifndef NO_THREADS.
1225         (mallinfo): Likewise.
1226
1227         * malloc/malloc.c (__morecore): Make external since it is used in
1228         programs.
1229
1230 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
1231
1232         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
1233         unsigned.
1234
1235 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
1236
1237         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
1238         use t6 as a temporary; it contains bits we still need in $u_head.
1239
1240 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
1241
1242         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
1243         using __ prefix.  Add prototype for log1p.
1244
1245 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
1246
1247         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
1248
1249 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
1250
1251         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
1252
1253 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
1254
1255         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
1256         structure plus related macros.
1257         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
1258         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
1259         (sysdep_routines): Add cmsg_nxthdr.
1260         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
1261         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
1262
1263 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
1264
1265         * time/strftime.c: Define _strftime_copytm without protecting arguments
1266         which breaks the definition.
1267
1268 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1269
1270         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
1271         definition of type for element.
1272
1273 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
1274
1275         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
1276         constants.
1277
1278 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
1279
1280         * Makefile: Pass PARALLELMFLAGS to sub-makes.
1281         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
1282
1283 1997-01-31  Paul Eggert  <eggert@twinsun.com>
1284
1285         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
1286         Define if _LIBC is defined.
1287         <limits.h>: Include if HAVE_LIMITS_H instead of if
1288         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
1289         <stdlib.h>: Similarly, include if STDC_HEADERS.
1290         (localtime_r): Redo #ifdef to make it clear that glibc has
1291         localtime_r now.
1292
1293 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1294
1295         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
1296         file to avoid unnecessary recompilation.
1297
1298 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1299
1300         * Makefile: Set install-others, not install_others.
1301         (before-compile): Use += to preserve previous value.
1302         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
1303         fix dependency name.
1304         ($(objpfx)lib-names.h): Remove rule.
1305         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
1306         with correct name, using an intermediate stamp file.
1307         (common-generated): Add gnu/lib-names.h.
1308         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
1309
1310 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
1311
1312         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
1313         to prevent warnings on 64 bit systems.
1314         Reported by Paul Wouters <paul@xtdnet.nl>.
1315
1316         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
1317         we assume it works.
1318
1319 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
1320
1321         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
1322         double word boundary before pushing args for main.  This way we
1323         don't get penalties for misaligned memory accesses.  Reported by
1324         Edward Seidl <seidl@janed.com>.
1325
1326         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
1327         Patch by HJ Lu.
1328
1329         * misc/bsd-compat.c: Update copyright.
1330         * misc/efgcvt.c: Likewise.
1331         * misc/efgcvt_r.c: Likewise.
1332         * misc/error.c: Likewise.
1333         * misc/error.h: Likewise.
1334         * misc/fstab.c: Likewise.
1335         * misc/init-misc.c: Likewise.
1336         * misc/lsearch.c: Likewise.
1337         * misc/mntent.c: Likewise.
1338         * misc/qefgcvt.c: Likewise.
1339         * misc/qefgcvt_r.c: Likewise.
1340         * nss/databases.def: Likewise.
1341         * nss/db-Makefile: Likewise.
1342         * nss/ethers-lookup.c: Likewise.
1343         * nss/hosts-lookup.c: Likewise.
1344         * nss/netgrp-lookup.c: Likewise.
1345         * nss/nsswitch.h: Likewise.
1346         * nss/proto-lookup.c: Likewise.
1347         * nss/rpc-lookup.c: Likewise.
1348         * nss/service-lookup.c: Likewise.
1349         * nss/nss_db/db-netgrp.c: Likewise.
1350         * nss/nss_files/files-grp.c: Likewise.
1351         * nss/nss_files/files-hosts.c: Likewise.
1352         * nss/nss_files/files-network.c: Likewise.
1353         * nss/nss_files/files-proto.c: Likewise.
1354         * nss/nss_files/files-pwd.c: Likewise.
1355         * nss/nss_files/files-rpc.c: Likewise.
1356         * nss/nss_files/files-service.c: Likewise.
1357         * nss/nss_files/files-spwd.c: Likewise.
1358         * shadow/fgetspent.c: Likewise.
1359         * shadow/fgetspent_r.c: Likewise.
1360         * shadow/getspent.c: Likewise.
1361         * shadow/getspent_r.c: Likewise.
1362         * shadow/getspnam.c: Likewise.
1363         * shadow/getspnam_r.c: Likewise.
1364         * shadow/putspent.c: Likewise.
1365         * shadow/sgetspent.c: Likewise.
1366         * shadow/sgetspent_r.c: Likewise.
1367         * sysdeps/i386/init-first.c: Likewise.
1368         * sysdeps/unix/i386/sysdep.S: Likewise.
1369
1370         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
1371         prepared to be running in a multi-threaded environment.  Change
1372         to __USE_MISC unless the function is defined in POSIX.1 (in this
1373         case also test for __USE_POSIX).
1374         * dirent/dirent.h: Likewise.
1375         * grp/grp.h: Likewise.
1376         * inet/aliases.h: Likewise.
1377         * libio/libio.h: Likewise.
1378         * libio/stdio.h: Likewise.
1379         * login/utmp.h: Likewise.
1380         * math/mathcalls.h: Likewise.
1381         * misc/mntent.h: Likewise.
1382         * pwd/pwd.h: Likewise.
1383         * resolv/netdb.h: Likewise.
1384         * stdlib/stdlib.h: Likewise.
1385         * string/string.h: Likewise.
1386         * sunrpc/rpc/netdb.h: Likewise.
1387         * sysdeps/generic/crypt.h: Likewise.
1388         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
1389         * time/time.h: Likewise.
1390
1391 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
1392
1393         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
1394         only if not cross compiling.
1395
1396 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
1397
1398         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
1399         NULL.
1400         * sysdeps/posix/sigwait.c: Likewise.
1401
1402 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1403
1404         * Makeconfig ($(common-objpfx)config.make): Depend on
1405         $(..)config.make.in.
1406
1407 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
1408
1409         * sunrpc/Makefile: Don't generate headers derived from .x files when
1410         crosscompiling.
1411
1412 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
1413
1414         * Makefile: Generate gnu/lib-names.h in before-compile.
1415         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
1416         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
1417         to the revision found for LIBNSS_FILES_SO.
1418         (nss_initilized): Removed.  It was tested but never set.
1419         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
1420
1421         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
1422         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
1423
1424         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
1425
1426 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
1427
1428         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
1429         override the definition.
1430
1431 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
1432
1433         * config.make.in (malloc): Remove.
1434
1435 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
1436
1437         * version.h (VERSION): Bump to 2.0.1.
1438
1439         * posix/getopt.c: Handle another problem introduced by the
1440         nonoption_flags array.  We must be able to work with reordered
1441         argv arrays.  Reported by Andreas Schwab.
1442
1443 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
1444
1445         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
1446         stack.
1447
1448 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1449
1450         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
1451         that it works with yp.h.
1452
1453 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
1454
1455         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
1456         __libc_malloc_initialized so that this variable is not shared with
1457         other users of GNU malloc.
1458         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
1459
1460         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
1461
1462         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
1463         variables to prevent warnings.
1464         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
1465         using attribute regparm.
1466         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
1467         is changed by the resolver code.
1468
1469 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1470
1471         * malloc/malloc.c (weak_variable): Define.
1472         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
1473         __memalign_hook): Make them weak definitions.
1474
1475 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1476
1477         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
1478         limits, correctly take structure padding into account, use correct
1479         offset when resetting the stream, change heuristic to assume an
1480         average name length of 14 characters.
1481
1482 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1483
1484         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
1485         inclusion.
1486
1487
1488 See ChangeLog.6 for earlier changes.