1e674044d4dc68746fee9b74eeb40fcec669e281
[platform/upstream/glibc.git] / ChangeLog
1 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2
3         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4         copy st_atime member.
5
6 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7
8         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
9         for searches from the root directory.
10         Reported by loris <loris@iol.it> [PR libc/1991].
11         * io/Makefile (tests): Add bug-ftw1.
12         * io/bug-ftw1.c: New file.
13
14         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
15         if it is not available.  Instead use it only if it is available.
16         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
17
18         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
19         overflowing output buffer.
20         (internal_ucs4_loop_unaligned): Likewise.
21         (ucs4_internal_loop): Likewise.
22         (ucs4_internal_loop_unaligned): Likewise.
23         (internal_ucs4le_loop): Likewise.
24         (internal_ucs4le_loop_unaligned): Likewise.
25         (ucs4le_internal_loop): Likewise.
26         (ucs4le_internal_loop_unaligned): Likewise.
27         Reported by Owen Taylor <otaylor@redhat.com>.
28         * iconv/Makefile (tests): Add tst-iconv2.
29         * iconv/tst-iconv2.c: New file.
30
31 2001-01-04  H.J. Lu  <hjl@gnu.org>
32
33         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
34         (_dl_clktck): Declared.
35         (non_dynamic_init): Take 3 arguments.
36         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
37
38 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
39
40         Finish implementation of plural form handling.
41         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
42         'domainname'.  Remove 'plindex' field. Add 'domain' and
43         'translation_length' fields.
44         (transcmp): Don't compare 'plindex' fields.
45         (plural_lookup): New function.
46         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
47         plural_eval before the translation and its catalog file have been
48         found. Remove plindex from cache key.  Add 'translation_length' and
49         'domain' to cache result.
50         (_nl_find_msg): Remove index argument, return length of translation
51         to the caller instead.  Weaken comparison of string lengths, to account
52         for plural entries.  Call iconv() on the entire result string, not
53         only on the portion needed so far.
54         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
55         argument.
56         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
57
58 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
59
60         * intl/plural.y (yylex): Minimal improvement in number scanner.
61
62 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
63
64         * intl/plural.y: Include config.h. Needed to define 'inline' away for
65         C compilers that don't support it.
66         (yylex): Don't use gcc specific case range syntax.
67         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
68         compilers.
69
70 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
71
72         * intl/finddomain.c: Remove unneeded includes.
73
74 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
75
76         * intl/localealias.c (memcpy): Return first argument, just like the
77         real memcpy function does.
78         * intl/bindtextdom.c (memcpy): Likewise.
79         * intl/finddomain.c (memcpy): Likewise.
80         * intl/l10nflist.c (memcpy): Likewise.
81         * intl/textdomain.c (memcpy): Likewise.
82         From Paul Eggert <eggert@twinsun.com>.
83
84 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
85
86         * resolv/resolv.h (struct __res_state): Add nsinit field.
87         * resolv/res_send.c (res_nsend): Use it instead of nscount.
88         * resolv/res_init.c (__res_vinit): Initialize it.
89         (res_nclose): Clear it instead of nscount.
90
91 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
92
93         * malloc/mtrace.pl: Fix matching of addresses.
94         Patch by Aharon Robbins <arnold@skeeve.com>.
95
96         * Versions.def (ld): Add GLIBC_2.2.
97
98         * catgets/gencat.c: Copyright 2001.
99         * csu/version.c: Likewise.
100         * debug/catchsegv.sh: Likewise.
101         * debug/xtrace.sh: Likewise.
102         * elf/ldconfig.c: Likewise.
103         * elf/sprof.c: Likewise.
104         * iconv/iconv_prog.c: Likewise.
105         * locale/locale.c: Likewise.
106         * locale/localedef.c: Likewise.
107         * malloc/memusage.sh: Likewise.
108         * malloc/mtrace.pl: Likewise.
109         * nscd/nscd.c: Likewise.
110         * posix/getconf.c: Likewise.
111
112 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
113
114         * include/stdio.h: Only provide __getwc_unlocked prototype if
115         USE_IN_LIBIO is defined.
116
117 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
118
119         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
120         handling.
121
122 2001-01-03  Andreas Schwab  <schwab@suse.de>
123
124         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
125         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
126
127         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
128         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
129         strtoull alias.
130         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
131         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
132         wcstoull alias.
133
134         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
135         directory.
136         * sysdeps/generic/strtol_l.c: Likewise.
137         * sysdeps/generic/strtoul_l.c: Likewise.
138         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
139
140         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
141         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
142         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
143         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
144
145 2001-01-04  Andreas Jaeger  <aj@suse.de>
146
147         * nss/nsswitch.c: Include files for missing prototypes, remove
148         buggy declaration of prototypes.
149
150 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
151
152         * resolv/Versions: Fix bracing.
153         * sysdeps/powerpc/soft-fp/Versions: Likewise.
154         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
155
156 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
157
158         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
159
160 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
161
162         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
163         Suggested by Minko Markov <mmarkov@home.com>.
164
165 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
166
167         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
168         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
169         the failing symbol.
170         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
171
172 2001-01-02  Ben Collins  <bcollins@debian.org>
173
174         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
175         if TZ is not set and TZDEFAULT is not present.
176
177 2001-01-01  Ben Collins  <bcollins@debian.org>
178
179         * string/strings.h: Make sure we declare our functions even if
180         string.h is already included, based on whether or not __USE_BSD is
181         defined.
182
183 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
184
185         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
186         other dlopen() and dlsym().
187         Based on a patch by Ben Collins <bcollins@debian.org>.
188
189 2001-01-02  Andreas Jaeger  <aj@suse.de>
190
191         * dlfcn/errmsg1.c (main): Call dlerror initially.
192         Reported by Ben Collins <bcollins@debian.org>.
193
194 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
195
196         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
197         value is ignored if the selected locale is the C locale.
198         * intl/tst-gettext.c: Set locale for above change.
199         * intl/tst-translit.c: Likewise.
200
201 2001-01-02  Andreas Jaeger  <aj@suse.de>
202
203         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
204         (_IO_switch_to_wget_mode): Likewise.
205         (_IO_sputbackwc): Likewise.
206         (_IO_sungetwc): Use wint_t for result.
207
208         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
209
210         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
211         signedness.
212
213         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
214         to (int) to avoid warnings.
215         * stdio-common/printf_fp.c (putc): Likewise.
216         * stdio-common/printf_size.c (putc): Likewise.
217
218         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
219         constant unsigned.
220
221 2001-01-01  Andreas Jaeger  <aj@suse.de>
222
223         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
224
225 2000-12-31  Andreas Jaeger  <aj@suse.de>
226
227         * include/libc-internal.h: Add prototype for __libc_freeres.
228
229         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
230         for prototypes, remove redundant prototypes.
231         * gmon/gmon.c: Likewise.
232         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
233         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
234         * malloc/mtrace.c: Likewise.
235
236         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
237         prototypes.
238         * elf/soinit.c: Likewise.
239         * sysdeps/generic/prof-freq.c: Likewise.
240         * sysdeps/mach/hurd/profil.c: Likewise.
241         * debug/noophooks.c: Likewise.
242         * debug/pcprofile.c: Likewise.
243         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
244         * sysdeps/generic/get_clockfreq.c: Likewise.
245         * malloc/set-freeres.c: Likewise.
246
247         * locale/localeinfo.h: Add internal prototypes.
248
249         * elf/rtld.c (dl_main): Fix prototype.
250
251         * iconvdata/tst-table-to.c (main): Use return instead of exit to
252         avoid warning.
253
254         * nis/rpcsvc/yp_prot.h: Remove __P.
255         * nis/rpcsvc/ypupd.h: Likewise.
256         * nis/rpcsvc/yp.h: Likewise.
257
258         * sunrpc/rpc_main.c: Add noreturn attributes.
259         * sunrpc/rpc_scan.h: Likewise.
260
261         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
262
263         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
264
265         * sunrpc/proto.h: Add noreturn attributes to error and crash.
266
267         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
268
269         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
270
271         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
272
273         * include/rpc/rpc_msg.h: Add prototypes for some functions.
274         * include/rpc/auth.h: Likewise.
275         * include/rpc/auth_des.h: Likewise.
276         * include/rpc/clnt.h: Likewise.
277         * include/rpc/rpc.h: Likewise.
278         * include/rpc/svc.h: Likewise.
279         * include/rpc/svc_auth.h: Likewise.
280
281         * include/rpc/des_crypt.h: New file.
282
283         * malloc/memusagestat.c (main): Use return instead of exit to
284         avoid warning.
285         * io/pwd.c (main): Likewise.
286         * iconvdata/tst-table-from.c (main): Likewise.
287         * ctype/test_ctype.c (main): Likewise.
288         * setjmp/tst-setjmp.c (main): Likewise.
289         * signal/tst-signal.c (main): Likewise.
290         * stdlib/tst-strtol.c (main): Likewise.
291         * stdlib/tst-strtod.c (main): Likewise.
292         * stdlib/tst-strtoll.c (main): Likewise.
293         * stdlib/tst-xpg-basename.c (main): Likewise.
294         * dirent/tst-seekdir.c (main): Likewise.
295         * grp/testgrp.c (main): Likewise.
296         * inet/test_ifindex.c (main): Likewise.
297         * io/test-utime.c (main): Likewise.
298         * posix/test-vfork.c (main): Likewise.
299         * posix/testfnm.c (main): Likewise.
300         * stdio-common/temptest.c (main): Likewise.
301         * stdio-common/test_rdwr.c (main): Likewise.
302         * stdio-common/tst-fileno.c (main): Likewise.
303         * stdio-common/tst-sscanf.c (main): Likewise.
304         * stdio-common/tstscanf.c (main): Likewise.
305         * string/bug-strncat1.c (main): Likewise.
306         * string/bug-strpbrk1.c (main): Likewise.
307         * string/bug-strspn1.c (main): Likewise.
308         * string/test-ffs.c (main): Likewise.
309         * string/tst-inlcall.c (main): Likewise.
310         * string/tst-svc.c (main): Likewise.
311         * timezone/test-tz.c (main): Likewise.
312         * wctype/test_wcfuncs.c (main): Likewise.
313         * wctype/test_wctype.c (main): Likewise.
314
315         * stdlib/tst-random.c: Add attribute noreturn to fail.
316
317 2000-12-28  Wolfram Gloger  <wg@malloc.de>
318
319         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
320         destination overlap.  Assume dest is always below source if
321         overlapping.
322
323 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
324
325         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
326         object was not yet initialized.
327
328 2000-12-28  H.J. Lu  <hjl@gnu.org>
329
330         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
331         is always consistent even if its dependency is failed.
332
333         * elf/dl-open.c (_dl_open): Increment the open count before
334         calling _dl_close () in case of failure.
335
336         * elf/neededtest4.c: New file.
337         * elf/neededobj5.c: New file.
338         * elf/neededobj6.c: New file.
339
340         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
341         (tests): Add neededtest4.
342         (modules-names): Add neededobj5 and neededobj6.
343         ($(objpfx)neededobj6.so): New target.
344         ($(objpfx)neededtest4): New target.
345         ($(objpfx)neededtest4.out): New target.
346
347 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
348
349         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
350         * stdlib/monetary.h: Add strfmon format attributes.
351
352 2000-12-28  Roland McGrath  <roland@frob.com>
353
354         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
355         __mempcpy does it for us.
356
357 2000-12-28  Andreas Jaeger  <aj@suse.de>
358
359         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
360
361         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
362         __new_setrlimit.
363
364         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
365         __old_getrlimit64.
366
367         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
368         __new_getrlimit.
369
370         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
371         __chown_is_lchown and __real_chown.
372
373         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
374         _dl_reloc_bad_type.
375
376         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
377         up GCC's warning about "deprecated use of label at end of compound
378         statement."
379         * sunrpc/rpc_cout.c (emit_inline): Likewise.
380
381         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
382         prototypes.
383         Remove struct bb and __bb_head since those are declared by
384         sys/gmon.h.
385
386 2000-12-22  Ben Collins  <bcollins@debian.org>
387
388         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
389
390         * manual/argp.texi: Document argp_domain as part of struct argp.
391
392 2000-12-28  Andreas Jaeger  <aj@suse.de>
393
394         * catgets/Makefile (generated): Add sample.SJIS.cat.
395
396         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
397
398         * elf/dl-minimal.c: Add prototypes.
399
400         * include/locale.h: Add internal prototypes.
401         * include/sys/gmon.h: Likewise.
402
403         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
404
405 2000-12-27  Ben Collins  <bcollins@debian.org>
406
407         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
408         when reallocating the error strings.
409         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
410
411 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
412
413         * dlfcn/Makefile (tests): Add errmsg1.
414         (modules-names): Add errmsg1mod.
415         Add rules to run errmsg1.
416         * dlfcn/errmsg1.c: New file.
417         * dlfcn/errmsg1mod.c: New file.
418
419         * dlfcn/dlerror.c (dlerror): Always create output string which
420         includes object file name.
421
422         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
423         if we would go through it only once.
424         Patch by Rick Gorton <rick.gorton@api-networks.com>.
425
426         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
427         Patch by Richard Henderson <rth@redhat.com>.
428
429 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
430
431         * malloc/malloc.c (memmove): Add prototypes.
432         (MALLOC_MEMMOVE): Define.
433         (chunk_realloc): Use it instead of MALLOC_COPY if source and
434         destination might overlap.
435
436 2000-12-27  Andreas Jaeger  <aj@suse.de>
437
438         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
439         function.
440         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
441         * locale/programs/locale.c (show_locale_vars): Likewise.
442         (show_info): Likewise.
443         * locale/programs/ld-collate.c (collate_output): Likewise.
444         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
445         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
446         * stdlib/rpmatch.c (rpmatch): Likewise.
447
448         * setjmp/tst-setjmp.c: Make local functions static.
449         * setjmp/jmpbug.c: Likewise.
450         * signal/tst-signal.c: Likewise.
451         * stdio-common/tfformat.c: Likewise.
452         * string/tst-svc.c: Likewise.
453         * time/clocktest.c: Likewise.
454         * time/tst-getdate.c: Likewise.
455         * dirent/list.c: Likewise.
456         * dirent/opendir-tst1.c: Likewise.
457         * posix/runtests.c: Likewise.
458         * posix/tst-getaddrinfo.c: Likewise.
459         * posix/tst-chmod.c: Likewise.
460         * posix/wordexp-test.c: Likewise.
461         * misc/tst-efgcvt.c: Likewise.
462         * timezone/tst-timezone.c: Likewise.
463         * rt/tst-clock.c: Likewise.
464         * rt/tst-shm.c: Likewise.
465         * rt/tst-aio2.c: Likewise.
466         * rt/tst-aio3.c: Likewise.
467         * rt/tst-aio4.c: Likewise.
468         * rt/tst-aio5.c: Likewise.
469
470         * dlfcn/failtest.c: Add prototype for foo.
471
472         * dlfcn/glrefmain.c: Add prototype for do_test.
473
474         * dlfcn/tst-dladdr.c: Add prototype for do_test.
475
476         * string/test-ffs.c (main): Add prototype for nested function.
477
478         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
479
480         * nss/XXX-lookup.c: Add prototype to shut up GCC.
481
482         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
483         setetherent prototype.
484         Add internal interfaces.
485
486         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
487         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
488
489         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
490
491         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
492
493         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
494         prototypes, remove struct etherent since it's declared in ether.h.
495         Fix ntohost declaration.
496
497         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
498
499         * include/getopt.h: Add internal interfaces.
500         * include/termios.h: Likewise.
501         * include/resolv.h: Likewise.
502         * include/netdb.h: Likewise.
503         * include/grp.h: Likewise.
504         * include/pwd.h: Likewise.
505         * include/shadow.h: Likewise.
506         * include/rpc/netdb.h: Likewise.
507         * include/setjmp.h: Likewise.
508
509         * include/stdio.h: Add prototypes for compatibility functions.
510         * include/grp.h: Likewise.
511         * include/pwd.h: Likewise.
512         * include/shadow.h: Likewise.
513
514         * include/fenv.h: Define internal interfaces.
515
516 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
517
518         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
519         argument case separately.
520         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
521
522 2000-12-27  Andreas Jaeger  <aj@suse.de>
523
524         * include/sys/wait.h: Add some prototypes.
525         * Rules (dummy.c): Create also prototype to shut up GCC.
526
527 2000-12-27  Andreas Jaeger  <aj@suse.de>
528
529         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
530         it's not needed at the moment.
531         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
532         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
533
534 2000-12-26  Andreas Jaeger  <aj@suse.de>
535
536         * libio/getc_u.c: Include stdio.h via system path to get internal
537         prototypes.
538         * libio/getwc_u.c: Likewise.
539
540         * stdlib/strfmon.c: Fix prototype of __printf_fp.
541
542         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
543         __printf_fp prototypes to ...
544         * include/printf.h: ...here.
545
546         * include/stdio.h: Add some internal prototypes to shut up GCC.
547         * include/stdlib.h: Likewise.
548
549         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
550         declaration.
551
552         * include/signal.h: Add prototypes for internal sigpause
553         interfaces.
554
555 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
556
557         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
558         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
559
560         * string/Makefile (tests): Add tst-bswap.
561         * string/tst-bswap.c: New file.
562
563 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
564
565         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
566
567 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
568
569         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
570         Patch by Ed Connell <Ed.Connell@sas.com>.
571
572 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
573
574         * locale/iso-639.def: Correct one entry.  Add two missing entries.
575
576         * locale/iso-4217.def: Change entry for Eritrea.
577         Reported by Daniel Yacob <yacob@geez.org>.
578
579 2000-12-23  Ben Collins  <bcollins@debian.org>
580
581         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
582         description.
583
584         * manual/stdio.texi (Dynamic Output): Document the return value of
585         asprintf.  Also make the asprintf/snprintf examples a little
586         better (check for some error returns).
587
588 2000-12-22  Andreas Jaeger  <aj@suse.de>
589
590         * include/stdio.h: Add __ftrylockfile prototype.
591
592 2000-12-21  H.J. Lu  <hjl@gnu.org>
593
594         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
595         Make sign_exponent element signed.
596
597         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
598         Fix a typo.
599
600         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
601
602 2000-12-21  Andreas Jaeger  <aj@suse.de>
603
604         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
605         * inet/ether_hton.c: Likewise
606         * inet/ether_ntoh.c: Likewise.
607
608         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
609         declaration to match prototype.
610
611         * include/netinet/ether.h (struct etherent): Declare here so that
612         all implementations use the same struct.
613
614         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
615         prototypes.
616         (struct ether): Removed.
617         Use struct etherent instead of ether everywhere.
618
619         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
620
621         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
622
623         * sunrpc/publickey.c: Include auth_des.h for prototypes.
624
625 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
626
627         * math/test-misc.c: Add more tests for nextafter functions.
628
629         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
630         normal correctly.  Correct test for sign.
631         Based on a patch by HJ Lu.
632
633 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
634
635         * Makeconfig (preprocess-version): Add -traditional to gcc call.
636         Cleanup sed calls.
637
638 2000-12-19  Andreas Jaeger  <aj@suse.de>
639
640         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
641
642         * nis/nis_intern.h: Add prototype for __do_niscall3.
643
644         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
645         match prototype.
646
647         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
648
649         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
650
651         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
652
653 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
654
655         * math/test-misc.c: Add more tests for nextafter.
656         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
657         * sysdeps/ieee754/ldbl-96/math_ldbl.h
658         (ieee_long_double_shape_type): Make sign_exponent element signed.
659
660         * manual/message.texi: Add Estonian to plural overview list.
661         Correct rule for Slavic languages.
662         Patch by Stanislav Brabec <utx@penguin.cz>.
663
664         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
665
666 2000-12-18  Andreas Jaeger  <aj@suse.de>
667
668         * test-skeleton.c: Use temp_name_list instead of name_list to
669         avoid collision with name_list from inet/netgroup.h.
670
671         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
672
673         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
674         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
675         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
676         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
677
678         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
679         declaration to match prototype.
680         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
681         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
682         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
683         Likewise.
684         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
685         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
686         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
687         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
688         (_nss_nis_getservbyport_r): Likewise.
689         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
690         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
691         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
692         (_nss_nis_setnetent): Likewise
693         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
694         (_nss_nis_endnetgrent): Likewise.
695         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
696         Likewise.
697         (_nss_nisplus_setnetgrent): Likewise.
698         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
699         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
700         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
701         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
702         Likewise.
703         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
704         Likewise.
705         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
706         Likewise.
707         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
708         Likewise.
709         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
710         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
711         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
712         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
713         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
714         (_nss_dns_getnetbyaddr_r): Likewise.
715
716 2000-12-17  Andreas Jaeger  <aj@suse.de>
717
718         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
719         parameter.
720
721         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
722         unused attribute to shut up gcc warnings.
723
724         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
725         * sysdeps/generic/k_tanl.c: Likewise.
726         * sysdeps/generic/k_cosl.c: Likewise.
727         * sysdeps/generic/e_j0l.c: Likewise.
728         * sysdeps/generic/e_j1l.c: Likewise.
729         * sysdeps/generic/e_jnl.c: Likewise.
730         * sysdeps/generic/e_lgammal_r.c: Likewise.
731
732         * elf/vismain.c: Move prototypes for functions in vismod*.c to
733         vismod.h.
734         * elf/vismod.h: New file.
735         * elf/Makefile (distribute): Add vismod.h.
736         * elf/vismod1.c: Include vismod.h.
737         * elf/vismod2.c: Likewise.
738         * elf/vismod3.c: Likewise.
739
740         * elf/constload3.c: Add prototype declarations to shut up gcc.
741         * elf/failobj.c: Likewise.
742         * elf/nodelmod3.c: Likewise.
743         * elf/filtmod1.c: Likewise.
744         * elf/filtmod2.c: Likewise.
745         * elf/reldepmod1.c: Likewise.
746         * elf/reldepmod2.c: Likewise.
747         * elf/reldepmod3.c: Likewise.
748         * elf/reldepmod4.c: Likewise.
749         * elf/unload2dep.c: Likewise.
750         * elf/unload2mod.c: Likewise.
751         * elf/ltglobmod1.c: Likewise.
752         * elf/pathoptobj.c: Likewise.
753         * elf/neededobj1.c: Likewise.
754         * elf/neededobj2.c: Likewise.
755         * elf/neededobj3.c: Likewise.
756         * elf/neededobj4.c: Likewise.
757         * elf/nextmod1.c: Likewise.
758         * elf/nextmod2.c: Likewise.
759
760         * locale/programs/ld-collate.c (collate_finish): Don't use labels
761         at end of compound statement.
762         * locale/programs/locale.c (show_info): Likewise.
763         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
764
765 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
766
767         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
768         with a pointer not returned by obstack_ functions.
769
770 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
771
772         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
773         version.
774         (struct stat64): Likewise.
775         Reported by Michael Keezer <mkeezer@redhat.com>.
776
777         * timezone/asia: Update from tzdata2000h.
778         * timezone/australasia: Likewise.
779         * timezone/backward: Likewise.
780         * timezone/europe: Likewise.
781         * timezone/northamerica: Likewise.
782         * timezone/southamerica: Likewise.
783         * timezone/zone.tab: Likewise.
784
785 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
786
787         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
788         and dir.stream is NULL, only free dir.content.
789         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
790         * io/ftwtest-sh: Test with --early-exit.
791
792 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
793
794         * misc/efgcvt.c (FCVT_MAXDIG): Define.
795         (FCVT_BUFPTR): New variable.
796         (fcvt): If fcvt_r returns -1 on the static short buffer,
797         try to malloc a sufficiently large one and retry.
798         (free_mem): New function.
799         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
800         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
801
802 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
803
804         * misc/dirname.c (dirname): Fix search for second to last slash.
805
806 2000-12-13  Andreas Jaeger  <aj@suse.de>
807
808         * misc/tst-dirname.c (main): Fix typo in test to really use
809         the examples from Unix98.
810         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
811
812 2000-12-09  H.J. Lu  <hjl@gnu.org>
813
814         * sysdeps/ia64/fpu/s_fabs.S: New file.
815         * sysdeps/ia64/fpu/s_fabsf.S: New file.
816         * sysdeps/ia64/fpu/s_fabsl.S: New file.
817
818 2000-12-15  Andreas Jaeger  <aj@suse.de>
819
820         * stdio-common/scanf9.c (main): Reformat and change to avoid
821         warnings.
822
823         * stdio-common/tstdiomisc.c: Make local functions static.
824         * stdio-common/tst-printf.c: Likewise.
825
826         * elf/constload2.c: Add prototype declarations to shut up gcc.
827         * elf/dep1.c: Likewise.
828         * elf/dep2.c: Likewise.
829         * elf/dep3.c: Likewise.
830         * elf/dep4.c: Likewise.
831         * elf/ltglobmod2.c: Likewise.
832
833         * libio/fmemopen.c: Make local functions static.
834
835         * elf/Makefile (distribute): Added testobj.h.
836
837         * elf/testobj.h: New file.
838
839         * elf/testobj1.c: Include testobj.h and move prototype
840         declarations to testobj.h.
841         * elf/testobj2.c: Likewise.
842         * elf/testobj3.c: Likewise.
843         * elf/testobj4.c: Likewise.
844         * elf/testobj5.c: Likewise.
845         * elf/testobj6.c: Likewise.
846         * elf/testobj1_1.c: Likewise.
847         * elf/preloadtest.c: Likewise.
848
849 2000-12-15  Ben Collins  <bcollins@debian.org>
850
851         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
852         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
853
854 2000-12-14  H.J. Lu  <hjl@gnu.org>
855
856         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
857         field in a float is 8 bits, not 11 bits.
858
859 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
860
861         * math/test-misc.c (main): Adjust m for IEEE quad long double.
862
863 2000-12-13  Andreas Jaeger  <aj@suse.de>
864
865         * manual/message.texi (Using gettextized software): Fix typo.
866
867         * manual/charset.texi (Converting a Character): Fix mbstouwcs
868         program to compile.
869         Patch by Martin Buchholz <martin@xemacs.org>.
870
871         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
872         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
873
874 2000-12-11  Andreas Jaeger  <aj@suse.de>
875
876         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
877         kernel_sigset_t and use it.
878         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
879
880 2000-12-10  Richard Henderson  <rth@redhat.com>
881
882         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
883         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
884         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
885
886 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
887
888         * sysdeps/alpha/htonl.S: Fix a typo.
889
890 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
891
892         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
893
894 2000-12-10  Andreas Jaeger  <aj@suse.de>
895
896         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
897         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
898         Drepper <drepper@redhat.com>.
899
900 2000-12-09  Andreas Jaeger  <aj@suse.de>
901
902         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
903
904         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
905         generic version.
906         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
907
908         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
909         string.
910
911         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
912         format string.
913
914         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
915         * nscd/connections.c (handle_request): Likewise.
916         * nscd/pwdcache.c (addpwbyname): Likewise.
917         * nscd/grpcache.c (addgrbyname): Likewise.
918
919         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
920
921 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
922
923         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
924
925         * Makeconfig (default_cflags): Make -O2 the default for stable
926         releases.
927
928 2000-12-08  H.J. Lu  <hjl@gnu.org>
929
930         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
931         * sysdeps/ia64/fpu/s_isinf.S: This.
932         Add a .pred.rel.mutex note to avoid false report.
933
934         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
935         * sysdeps/ia64/fpu/s_isnan.S: This.
936
937         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
938         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
939         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
940         * sysdeps/ia64/fpu/s_isinff.S: New file.
941         * sysdeps/ia64/fpu/s_isinfl.S: New file.
942         * sysdeps/ia64/fpu/s_isnanf.S: New file.
943         * sysdeps/ia64/fpu/s_isnanl.S: New file.
944         * sysdeps/ia64/fpu/s_finite.S: New file.
945         * sysdeps/ia64/fpu/s_finitef.S: New file.
946         * sysdeps/ia64/fpu/s_finitel.S: New file.
947         * sysdeps/ia64/fpu/s_signbit.S: New file.
948         * sysdeps/ia64/fpu/s_signbitf.S: New file.
949         * sysdeps/ia64/fpu/s_signbitl.S: New file.
950         * sysdeps/ia64/fpu/s_copysign.S: New file.
951         * sysdeps/ia64/fpu/s_copysignf.S: New file.
952         * sysdeps/ia64/fpu/s_copysignl.S: New file.
953
954 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
955
956         * math/libm-test.inc (main): Fix typos in messages.
957
958         * string/stratcliff.c: Add test for rawmemchr.
959
960 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
961
962         * elf/dl-open.c (_dl_open): If objname points right after errstring,
963         allocate it together with errstring using alloca.
964         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
965         to "", because it might point to local stack.
966
967 2000-12-05  H.J. Lu  <hjl@gnu.org>
968
969         * nss/Makefile (routines): Add getnssent and getnssent_r.
970         * nss/nsswitch.h (__nss_setent): New internal NSS function.
971         (__nss_endent): Likewise.
972         (__nss_getent_r): Likewise.
973         (__nss_getent): Likewise.
974         * nss/getnssent_r.c: New file.
975         * nss/getnssent.c: New file.
976         * nss/getXXent.c (H_ERRNO_VAR): Updated.
977         (GETFUNC_NAME): Updated to call __nss_getent ().
978         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
979         (STAYOPEN_TMPVAR): Updated.
980         (STAYOPEN_VAR): Updated.
981         (SETFUNC_NAME): Updated to call __nss_setent ().
982         (ENDFUNC_NAME): Updated to call __nss_endent ().
983         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
984
985 2000-12-08  Andreas Jaeger  <aj@suse.de>
986
987         * nscd/dbg_log.h (dbg_log): Correct attribute.
988
989 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
990
991         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
992         cp + len.  Compute where from dirname.
993         Reported by <jreiser@BitWagon.com>.
994
995 2000-12-08  Richard Henderson  <rth@twiddle.net>
996
997         * sysdeps/alpha/_mcount.S: Fix typo.
998         * sysdeps/alpha/strncpy.S: Likewise.
999
1000         * sysdeps/alpha/alphaev6/Implies: New file.
1001         * sysdeps/alpha/alphaev67/Implies: New file.
1002         * sysdeps/alpha/alphaev67/ffs.S: New file.
1003         * sysdeps/alpha/alphaev67/ffsll.S: New file.
1004         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1005         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1006         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1007         * sysdeps/alpha/rawmemchr.S: New file.
1008         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1009         * sysdeps/alpha/strcpy.S: Likewise.
1010
1011         From GMP 3.1.1:
1012         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1013
1014         From rick.gorton@alpha-processor.com:
1015         * sysdeps/alpha/alphaev6/memchr.S: New file.
1016         * sysdeps/alpha/alphaev6/memcpy.S: New file.
1017         * sysdeps/alpha/alphaev6/memset.S: New file.
1018         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1019         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1020         * sysdeps/alpha/alphaev67/strcat.S: New file.
1021         * sysdeps/alpha/alphaev67/strchr.S: New file.
1022         * sysdeps/alpha/alphaev67/strlen.S: New file.
1023         * sysdeps/alpha/alphaev67/strncat.S: New file.
1024         * sysdeps/alpha/htonl.S: Use a shorter sequence.
1025
1026 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1027
1028         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1029         Reported by <pspencer@fields.utoronto.ca>.
1030
1031 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
1032
1033         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1034         Pointed out by Hans Boehm.
1035
1036 2000-12-07  H.J. Lu  <hjl@gnu.org>
1037
1038         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1039
1040 2000-12-07  Andreas Jaeger  <aj@suse.de>
1041
1042         * misc/error.c: Add format attributes for __error and __error_at_line.
1043
1044         * nscd/dbg_log.h: Add format attribute.
1045
1046 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1047
1048         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1049         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1050
1051 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
1052
1053         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1054
1055 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1056
1057         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1058         (sysdep_routines): Add uitrunc.
1059         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1060         Patches by Michael Keezer <mkeezer@redhat.com>.
1061
1062 2000-12-06  Roland McGrath  <roland@frob.com>
1063
1064         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1065         argument data, since it will be used to copy out too (for INOUT).
1066         Reported by Marcus Brinkmann <marcus@gnu.org>.
1067
1068         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1069         (__ioctl): Use uintptr_t instead of unsigned long int.
1070
1071 2000-12-06  Jim Wilson  <wilson@redhat.com>
1072
1073         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1074
1075 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1076
1077         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1078         x.5 rounding correctly.
1079
1080 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1081
1082         * stdio-common/perror.c (perror): Conditionalize code dealing with
1083         wide-oriented streams on USE_IN_LIBIO.
1084
1085 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1086
1087         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1088         as internal_function.
1089
1090 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1091
1092         * sysdeps/alpha/elf/start.S (__data_start): Define.
1093
1094 2000-12-05  H.J. Lu  <hjl@gnu.org>
1095
1096         * nss/getXXent_r.c (setup): Change the return type to int.
1097
1098 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1099
1100         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1101         (sysdep_routines): Add restf and savef.
1102         * sysdeps/unix/sysv/aix/restf.c: New file.
1103         * sysdeps/unix/sysv/aix/savef.c: New file.
1104         Patches by Michael Keezer <mkeezer@redhat.com>.
1105
1106         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1107         if O_DIRECTORY is not defined.
1108         Patch by Michael Keezer <mkeezer@redhat.com>.
1109
1110         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1111         Patch by Michael Keezer <mkeezer@redhat.com>.
1112
1113         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1114         than 4 bytes in escape sequence.
1115         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1116
1117 2000-12-05  Andreas Jaeger  <aj@suse.de>
1118
1119         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1120         set mips2.
1121
1122         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1123
1124         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1125
1126         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1127         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1128
1129         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1130         internal_function.
1131         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1132         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1133
1134         * sysdeps/generic/dl-cache.c: Remove declaration of
1135         _dl_sysdep_read_whole_file.
1136
1137         * elf/dl-load.c (_dl_map_object): Remove declaration of
1138         _dl_load_cache_lookup.
1139
1140         * sysdeps/generic/ldsodefs.h: Add declarations of
1141         _dl_load_cache_lookup, _dl_unload_cache,
1142         _dl_sysdep_read_whole_file, _dl_sysdep_start and
1143         _dl_sysdep_start_cleanup.
1144
1145         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1146         now.
1147
1148         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1149         * sysdeps/generic/dl-environ.c: Likewise.
1150
1151         * stdio-common/printf_fp.c: Include <gmp.h> instead of
1152         <stdlib/gmp.h>.
1153         * math/atest-exp.c: Likewise.
1154         * math/atest-exp2.c: Likewise.
1155         * math/atest-sincos.c: Likewise.
1156         * stdio-common/_itoa.c: Likewise.
1157         * stdio-common/_itowa.c: Likewise.
1158
1159         * include/gmp.h: New file with internal prototypes.
1160
1161         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1162         here to...
1163         * include/setjmp.h: ...here.
1164
1165         * locale/Makefile (routines): Remove codeset_name since it's not
1166         needed anywhere.
1167
1168         * locale/codeset_name.c: Removed.
1169
1170 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1171
1172         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1173
1174 2000-12-05  Andreas Jaeger  <aj@suse.de>
1175
1176         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1177
1178 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1179
1180         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1181         available.
1182
1183 2000-12-05  Andreas Jaeger  <aj@suse.de>
1184
1185         * nss/test-netdb.c: Mark local functions as static to avoid
1186         warnings.
1187         (main): Use return to silence warning.
1188
1189         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1190
1191         * stdio-common/test-popen.c: Mark local functions as static to
1192         avoid warnings.
1193         (main): Use return to silence warning.
1194
1195         * stdlib/testsort.c (compare): Mark as static to avoid warning.
1196
1197         * assert/test-assert.c: Mark local functions as static to avoid
1198         warnings.
1199         * assert/test-assert-perr.c: Likewise.
1200
1201         * math/libm-test.inc (main): Use return to silence warnings.
1202
1203 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1204
1205         * math/fenv.h: Fix typo in comment.
1206
1207         * math/test-misc.c (main): Add a few more over and underflow tests
1208         for scalb.
1209
1210         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1211         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1212         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1213         * math/w_scalb.c: Don't use matherr except in SVID mode.
1214         * math/w_scalbf.c: Likewise.
1215         * math/w_scalbl.c: Likewise.
1216         * math/test-misc.c: Add test for NaN and scalbl.
1217         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1218
1219 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1220
1221         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1222         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1223         * include/libc-symbols.h (strong_alias): Define special version
1224         for HAVE_ASM_GLOBAL_DOT_NAME.
1225         (weak_alias): Likewise.
1226         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1227         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1228         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1229         getutxline, pututxline, and utmpxname.
1230         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1231         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1232         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1233         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1234         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1235         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1236         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1237         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
1238         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1239         Patches by Michael Keezer <mkeezer@redhat.com>.
1240
1241 2000-12-04  H.J. Lu  <hjl@gnu.org>
1242
1243         * configure.in: Change --with-oldest-abi=ABI to
1244         --enable-oldest-abi=ABI.
1245
1246 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
1247
1248         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1249         fwprintf instead of fprintf.
1250
1251 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1252
1253         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1254         DECIMAL_DIG definitions.
1255         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1256         * sysdeps/generic/bits/mathdef.h: Likewise
1257         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1258         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1259         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1260         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1261         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1262         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1263
1264 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
1265
1266         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1267
1268         * math/atest-exp.c: Mark local functions as static to avoid warnings.
1269         * math/atest-exp2.c: Likewise.
1270         * math/atest-sincos.c: Likewise.
1271
1272         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1273         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1274
1275         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1276         the handling of denormalized numbers.
1277
1278         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1279         numbers on x86.
1280         * sysdeps/i386/fpu/fpclassifyl.c: New file.
1281
1282         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1283         pseudo denormal representation of LDBL_MIN.
1284
1285         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1286         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1287
1288         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1289         * iconvdata/jis0208.c: Likewise.
1290         * iconvdata/jis0212.c: Likewise.
1291         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1292
1293         * math/test-misc.c (main): More tests for frexp and some for
1294         fpclassify and isnormal.
1295
1296         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1297         test for subnormal.
1298         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1299
1300         * math/test-misc.c (main): Add tests for frexp.
1301         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1302         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1303
1304 2000-12-02  H.J. Lu  <hjl@gnu.org>
1305
1306         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1307         '\0' to wcschr.
1308
1309 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
1310
1311         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1312         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1313         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1314
1315         * sysdeps/generic/glob.c: Adjust types of several variables to
1316         avoid warnings.
1317
1318 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1319
1320         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1321
1322 2000-11-30  Roland McGrath  <roland@frob.com>
1323
1324         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1325         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1326         allow multiple instances using the same function name in one file.
1327
1328 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1329
1330         * configure.in: Correct test for pserver CVS access.
1331
1332 2000-11-28  H.J. Lu  <hjl@gnu.org>
1333
1334         * libio/libio.h: Remove extra "#if ... #endif".
1335
1336 2000-11-29  H.J. Lu  <hjl@gnu.org>
1337
1338         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1339
1340 2000-12-01  H.J. Lu  <hjl@gnu.org>
1341
1342         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1343         * nss/getXXent_r.c: Likewise.
1344         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1345
1346 2000-11-30  H.J. Lu  <hjl@gnu.org>
1347
1348         * scripts/abi-versions.awk (oldest_abi): New variable.
1349         Handle the oldest ABI supported.
1350
1351         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1352         for scripts/abi-versions.awk.
1353
1354         * configure.in: Add --with-oldest-abi=ABI.
1355         * configure: Rebuild.
1356
1357         * config.make.in (oldest-abi): New.
1358
1359         * config.h.in (GLIBC_OLDEST_ABI): New.
1360
1361         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1362
1363 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
1364
1365         * locale/setlocale.c (setname): Free for all categories, not just
1366         LC_ALL.
1367         (setlocale): Store a copy of string passed by user, not the string
1368         itself.
1369
1370 2000-11-30  Roland McGrath  <roland@frob.com>
1371
1372         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1373         rather than _hurd_fd_subinit, so it happens after it's safe to use
1374         libc facilities like malloc.
1375
1376 2000-11-28  Andreas Jaeger  <aj@suse.de>
1377
1378         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1379         declaration, adjust declaration of __syscall_getdents to match
1380         kernel.
1381
1382 2000-11-29  H.J. Lu  <hjl@gnu.org>
1383
1384         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1385
1386 2000-11-29  Andreas Jaeger  <aj@suse.de>
1387
1388         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1389
1390 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1391
1392         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1393         * dlfcn/defaultmod2.c: Likewise.
1394         * dlfcn/dlopen.c: Likewise.
1395         * dlfcn/dlopenold.c: Likewise.
1396         * dlfcn/failtestmod.c: Likewise.
1397         * dlfcn/glreflib1.c: Likewise.
1398         * dlfcn/glreflib2.c: Likewise.
1399         * dlfcn/eval.c: Likewise.  Add attributes.
1400
1401         * ctype/ctype-extn.c: Define isblank and not __isblank.
1402
1403         * time/strftime.c: Add const where necessary to avoid warnings.
1404         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1405
1406 2000-11-22  Paul Eggert  <eggert@twinsun.com>
1407
1408         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1409         size of (size_t) -1; it's not portable.
1410
1411 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1412
1413         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1414         crappy i486 FPU.
1415         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1416
1417 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
1418
1419         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1420
1421         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1422         _mcount is required by profiled binaries.
1423
1424         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1425         * sysdeps/ia64/machine-gmon.h: ...here.
1426
1427 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
1428
1429         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1430         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1431         and ibm1129.h.
1432         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1433         IBM1129.
1434         * iconvdata/ibm922.c: New file.
1435         * iconvdata/ibm922.h: New file.
1436         * iconvdata/ibm1124.c: New file.
1437         * iconvdata/ibm1124.h: New file.
1438         * iconvdata/ibm1129.c: New file.
1439         * iconvdata/ibm1129.h: New file.
1440         * iconvdata/testdata/IBM922: New file.
1441         * iconvdata/testdata/IBM922..UTF8: New file.
1442         * iconvdata/testdata/IBM1124: New file.
1443         * iconvdata/testdata/IBM1124..UTF8: New file.
1444         * iconvdata/testdata/IBM1129: New file.
1445         * iconvdata/testdata/IBM1129..UTF8: New file.
1446
1447 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1448
1449         * catgets/gencat.c (normalize_line): Take extra parameter with escape
1450         character.  Change callers.
1451         (open_conversion): Determine mapping of 0x5c as wchar_t value.
1452         * catgets/Makefile: Add rules to build and run test-gencat.
1453         * catgets/sample.SJIS: New file.
1454         * catgets/test-gencat.c: New file.
1455         * catgets/test-gencat.sh: New file.
1456         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1457
1458 2000-11-28  Andreas Jaeger  <aj@suse.de>
1459
1460         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1461         Linux version.
1462
1463 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1464
1465         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1466
1467 2000-11-28  Andreas Jaeger  <aj@suse.de>
1468
1469         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1470         __flexarr.
1471         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1472         Likewise.
1473
1474 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1475
1476         * misc/getusershell.c: Make strings in okshells array const.
1477         * misc/regexp.c: Add const to cast to avoid warnings.
1478         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1479         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1480         __setresuid.
1481         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1482         setresgid.
1483         * misc/error.c: Add prototypes for __error and __error_at_line.
1484         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1485         statement to avoid warning.
1486         * test-skeleton.c: Mark timeout_handler with noreturn.
1487         * iconv/skeleton.c (get16u): Add const to cast.
1488         (get32u): Likewise.
1489         * iconvdata/gb18030.c: Likewise.
1490         * iconvdata/iso-2022-cn-ext.c: Likewise.
1491         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1492         * iconvdata/big5.c: Likewise.
1493         * iconvdata/big5hkscs.c: Likewise.
1494         * iconvdata/iso_6937.c: Likewise.
1495         * iconvdata/iso_6937-2.c: Likewise.
1496         * iconvdata/t.61.c: Likewise.
1497         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1498         * iconvdata/unicode.c: Likewise.
1499         * iconvdata/utf-16.c: Likewise.
1500         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1501         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1502         with little code shuffling.
1503
1504         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1505         the problems introduced when the user selects -O3.
1506
1507         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1508         * misc/sys/cdefs.h: Define __flexarr.
1509         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1510
1511         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1512         * iconv/skeleton.c: Likewise.
1513         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1514         * iconv/loop.c (get16): Add const to cast.
1515         (get32): Likewise.
1516
1517 2000-11-27  Andreas Jaeger  <aj@suse.de>
1518
1519         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1520         to avoid warning.
1521         * login/programs/utmpdump.c (print_entry): Likewise.
1522
1523 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1524
1525         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1526         in a single asm as they may be used to access other stored
1527         registers.
1528         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1529
1530 2000-11-27  Andreas Jaeger  <aj@suse.de>
1531
1532         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1533         * rt/tst-aio64.c: Likewise.
1534
1535 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1536
1537         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1538         for gencat run.
1539         (libc.cat): Likewise.
1540         * catgets/gencat.c: Implement handling of message catalogs encoded
1541         with stateful character sets.
1542         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1543
1544 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
1545
1546         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1547
1548         * inet/getnameinfo.c: Adjust casts to avoid warnings.
1549         * inet/rcmd.c: Likewise.
1550         * inet/ruserpass.c: Likewise.
1551         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1552         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1553         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1554         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1555         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1556         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1557         * include/aliases.h: Add prototypes for internal __getalias* functions.
1558         * include/netdb.h: Add prototypes for __old_gethostent_r,
1559         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1560         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1561         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1562         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1563         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1564         __old_getrpcbynumber_r, __old_getrpcent_r.
1565
1566         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1567         __getrpcent_r prototypes.
1568
1569 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
1570
1571         * string/strcoll.c: Add casts to avoid warnings.
1572         * string/strnlen.c: Likewise.
1573         * string/strxfrm.c: Likewise.
1574         * sysdeps/generic/_strerror.c: Likewise.
1575         * sysdeps/generic/memrchr.c: Likewise.
1576         * sysdeps/generic/strcasestr.c: Likewise.
1577         * sysdeps/generic/strstr.c: Likewise.
1578
1579         * locale/weight.h (findidx): Add const to cast to avoid warning.
1580
1581         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1582         * elf/loadtest.c: Likewise.
1583         * elf/multiload.c: Likewise.
1584         * elf/next.c: Likewise.
1585         * elf/nodelete.c: Likewise.
1586         * elf/noload.c: Likewise.
1587         * elf/order.c: Likewise.
1588         * elf/origtest.c: Likewise.
1589         * elf/preloadtest.c: Likewise.
1590         * elf/restest1.c: Likewise.
1591
1592         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1593         parameter of asm must be in %ecx.
1594
1595         * string/tester.c: Mark test functions as static to avoid warnings.
1596
1597         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1598         preserve value over different gconv-modules files.
1599
1600 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1601
1602         * locale/findlocale.c: Add casts to avoid warnings.
1603         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1604         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1605         to avoid warnings.
1606         * misc/tsearch.c (const_node): New type.
1607         (trecurse): Correct casts to avoid warnings.
1608         (__twalk): Likewise.
1609         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1610         LONG_BIT.
1611
1612         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1613
1614         * test-skeleton.c: Mark local functions as static to avoid warnings.
1615
1616 2000-11-23  H.J. Lu  <hjl@gnu.org>
1617
1618         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1619         support the background job.
1620         Fix a typo.
1621
1622 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1623
1624         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1625         has same names but lower cost.
1626
1627 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
1628
1629         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1630         which never occur during bootstrap.
1631         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1632
1633 2000-11-23  Andreas Jaeger  <aj@suse.de>
1634
1635         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1636
1637         * nss/Versions: Remove _nss_files_getipnodebyname_r.
1638
1639         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1640
1641 2000-11-18  Martin Buchholz  <martin@xemacs.org>
1642
1643         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1644         (called++) return;'
1645
1646 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
1647
1648         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1649
1650         * csu/abi-note.S: Correct comment for operating system number.
1651
1652 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1653
1654         * Versions.def: Add GLIBC_2.2.1 for glibc.
1655
1656 2000-11-22  Andreas Schwab  <schwab@suse.de>
1657
1658         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1659         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1660
1661 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1662
1663         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1664         absolute time for pthread_cond_timedwait call.
1665         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1666
1667         * rt/Makefile (tests): Add tst-aio6.
1668         * rt/tst-aio6.c: New file.
1669
1670 2000-11-23  Andreas Jaeger  <aj@suse.de>
1671
1672         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1673
1674 2000-11-22  Andreas Jaeger  <aj@suse.de>
1675
1676         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1677
1678 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1679
1680         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1681
1682 2000-11-21  Andreas Schwab  <schwab@suse.de>
1683
1684         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1685         * sysdeps/arm/setjmp.S: Likewise.
1686         * sysdeps/arm/fpu/setjmp.S: Likewise.
1687         * sysdeps/i386/setjmp.S: Likewise.
1688         * sysdeps/i386/elf/setjmp.S: Likewise.
1689         * sysdeps/s390/setjmp.S: Likewise.
1690         * sysdeps/s390/elf/setjmp.S: Likewise.
1691         * sysdeps/sh/sh3/setjmp.S: Likewise.
1692         * sysdeps/sh/sh4/setjmp.S: Likewise.
1693         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1694         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1695         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1696         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1697
1698 2000-11-21  Andreas Jaeger  <aj@suse.de>
1699
1700         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1701         NORETURN, fix parameter list.
1702
1703         * string/bug-strncat1.c (main): Fix typo.
1704         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1705
1706 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
1707
1708         * configure.in: Add --enable-all-warnings.
1709         * config.make.in (all-warnings): New variable.
1710         * Makeconfig (+gccwarn): Define with many more warnings if
1711         all-warnings is yes.
1712
1713 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
1714
1715         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1716         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1717         * malloc/tst-valloc.c (main): Cast valloc return value to long.
1718         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1719         * math/test-fpucw.c (main): Use %lx in format string, cast
1720         control words to long.
1721         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1722         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1723         large that it is unsigned warning.
1724
1725         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1726         it to long on sparc64.
1727
1728 2000-11-20  Andreas Jaeger  <aj@suse.de>
1729
1730         * nscd/nscd.h (termination_handler): Add noreturn attribute.
1731         (receiv_print_stats): Likewise.
1732
1733         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1734
1735 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
1736
1737         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1738
1739         * csu/gmon-start.c: Always have prototype for __gmon_start.
1740         * csu/version.c: Add prototypes for __libc_print_version and
1741         __libc_main.
1742         * iconv/gconv.c: Include gconv_int.h and gconv.h.
1743         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1744         and __to_name.
1745         * iconv/gconv_builtin.h: Add ASCII module definitions.
1746         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1747         (add_module): Add cast to avoid warning.  Rework construction of
1748         strings for new module.
1749         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1750         (derivation_compare): Likewise.
1751         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1752         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1753         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1754         (struct gconv_alias): Remove const from fromname and toname.
1755         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1756         for loop functions.
1757         (internal_ucs4_loop): Use correct const-ness.
1758         (ucs4_internal_loop): Likewise.
1759         (internal_ucs4le_loop): Likewise.
1760         (ucs4le_internal_loop_single): Likewise.
1761         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1762         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
1763         assignments appropriately.
1764         (struct known_trans): Remove const from fname.
1765         (trans_compare): Make s1 and s2 const.
1766         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
1767         avoid warning.
1768         * iconv/skeleton.c: Remove cast in calls of loop functions.
1769         * iconvdata/gconv-modules: Remove US-ASCII definitions.
1770         * iconvdata/iso646.c: Remove US_ASCII support.
1771         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1772         * include/unistd.h: Add __libc_check_standard_fds prototype.
1773         * string/bits/string2.h (__mempcpy_args): Add const to casts.
1774         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1775         _fini.
1776         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1777         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1778         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1779         warning.
1780         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1781         __libc_init_first and _dl_start.
1782         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1783         (DCIGETTEXT): Make domaindata variable const.
1784         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1785         to avoid warning.
1786
1787 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
1788
1789         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1790
1791         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1792         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
1793         __unused? members.
1794
1795         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1796         value defined in /usr/include/asm-mips/fcntl.h.
1797
1798 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1799
1800         * stdio-common/Makefile (tests): Add test-vfprintf.
1801         (test-vfprintf-ENV): New variable.
1802         * stdio-common/test-vfprintf.c: New file.
1803
1804         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1805
1806         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1807         (tst-mbrtowc-ENV): New variable.
1808         (tst-wcrtomb-ENV): New variable.
1809         * wcsmbs/tst-mbrtowc.c: New file.
1810         * wcsmbs/tst-wcrtomb.c: New file.
1811
1812 2000-11-16  Andreas Jaeger  <aj@suse.de>
1813
1814         * manual/install.texi (Tools for Compilation): Update
1815         documentation for GCC 2.95.2.
1816
1817 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1818
1819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1820         if IPv4 and IPv6 requests timed out.
1821
1822 2000-11-18  Akim Demaille  <akim@epita.fr>
1823
1824         * malloc/obstack.h: Formatting changes.
1825         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1826         prevents type checking.
1827         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1828         cast the value to (void *): assigning a `foo *' to a `void *'
1829         variable is valid.
1830         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1831
1832 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
1833
1834         * scripts/config.guess: Update from upstream maintainer.
1835         * scripts/config.sub: Likewise.
1836
1837 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
1838
1839         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1840         * libio/freopen64.c (freopen64): Likewise.
1841         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1842
1843         * libio/Makefile: Add rules to build and run test-freopen.
1844         * libio/test-freopen.c: New file.
1845         * libio/test-freopen.sh: New file.
1846
1847 2000-11-15  H.J. Lu  <hjl@gnu.org>
1848
1849         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1850         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1851         (DL_DT_FINI_ADDRESS): Likewise.
1852
1853         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1854         return type to ElfW(Addr).
1855         (_dl_function_address): New prototype.
1856         (DL_FUNCTION_ADDRESS): Defined.
1857         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1858         (DL_DT_FINI_ADDRESS): Likewise.
1859
1860         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1861
1862         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1863         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1864
1865         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1866         (_dl_function_address): This.
1867
1868         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1869         function pointer for DT_FINI.
1870         * elf/dl-close.c (_dl_close): Likewise.
1871
1872         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1873         function pointer for DT_INIT.
1874
1875 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
1876
1877         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1878         end of wexpbuf buffer.
1879
1880 2000-11-16  Andreas Jaeger  <aj@suse.de>
1881
1882         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1883         definition of F_GETLK, F_SETLK, F_SETLKW.
1884
1885 2000-11-16  Andreas Jaeger  <aj@suse.de>
1886
1887         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1888         it's not defined.
1889
1890 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1891
1892         * dlfcn/default.c (main): Add test for dladdr of main returning
1893         argv[0] in dli_fname field.
1894
1895 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1896
1897         * Makeconfig (run-program-prefix): Move test-static test into the
1898         variable.
1899
1900         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1901         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1902         schedule instructions.
1903         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1904         schedule instructions, fix a bug in copying auxiliary data.
1905
1906 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1907
1908         * manual/startup.texi (Program Arguments): Fix type of main's envp
1909         parameter.
1910         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1911
1912         * iconvdata/gconv-modules: Add CP950 alias.
1913
1914 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1915
1916         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1917         syscall-list.h goal.
1918         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1919
1920 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1921
1922         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1923
1924         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
1925         output of program.
1926
1927         * intl/tst-gettext2.c: Set C locale if setting other locale
1928         failed.  Use gettext() not _().
1929
1930         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1931         successfully loaded a new locale.
1932
1933 2000-11-13  Andreas Jaeger  <aj@suse.de>
1934
1935         * configure.in: Require gcc 2.95 or newer.
1936
1937 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1938
1939         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1940         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1941
1942 2000-11-11  Jim Meyering  <meyering@lucent.com>
1943
1944         * string/strndup.c (strndup): Cast return value to `char *'.
1945
1946 2000-11-15  Jim Meyering  <meyering@ascend.com>
1947
1948         * sysdeps/generic/memchr.c: Remove some useless parentheses.
1949         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1950         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1951         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1952         Also #undef __memchr.
1953         Use `weak_alias' only if it's defined.
1954
1955 2000-11-10  H.J. Lu  <hjl@gnu.org>
1956
1957         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1958
1959 2000-11-15  Andreas Jaeger  <aj@suse.de>
1960
1961         * elf/chroot_canon.c: Include <stdint.h>.
1962
1963         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1964         (print_entry): Likewise.
1965         (add_to_cache): Likewise.
1966
1967         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1968
1969         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1970         (path_hwcap): Likewise.
1971         (search_dir): Likewise.
1972
1973         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1974
1975         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1976
1977         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1978         (_dl_platform_string): New.
1979         (_DL_HWCAP_PLATFORM): New.
1980         (_dl_string_platform): New.
1981         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1982
1983         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1984         (_dl_string_platform): New.
1985         (_DL_HWCAP_PLATFORM): New.
1986         (_dl_platform_string): New.
1987
1988         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1989         recognition.
1990         (_DL_HWCAP_COUNT): New.
1991         (_dl_string_platform): New.
1992         (_DL_HWCAP_PLATFORM): New.
1993         (_dl_platform_string): New.
1994
1995 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
1996
1997         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1998
1999 2000-11-14  Andreas Jaeger  <aj@suse.de>
2000
2001         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2002
2003 2000-11-13  Roland McGrath  <roland@frob.com>
2004
2005         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2006
2007 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
2008
2009         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2010         underrun and make sure the result is null terminated even if there
2011         is no trailing newline.
2012
2013 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2014
2015         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2016
2017 2000-11-10  H.J. Lu  <hjl@gnu.org>
2018
2019         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2020
2021 2000-11-10  Andreas Jaeger  <aj@suse.de>
2022
2023         * elf/ldconfig.c (create_links): Fix alloca calculation.
2024         Patch by Ben Collins <bcollins@debian.org>.
2025
2026 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2027
2028         * inet/getnameinfo.c (getnameinfo): Use correct destination
2029         parameter for if_indextoname.
2030         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2031
2032 2000-11-09  H.J. Lu  <hjl@gnu.org>
2033
2034         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2035         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2036         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2037         xdr_keystatus.
2038
2039         * time/Versions (GLIBC_2.1): Move getitimer to...
2040         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2041
2042 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
2043
2044         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2045         "make install", to work around a binary incompatibility between
2046         glibc 2.1 and glibc 2.2 gconv modules.
2047
2048 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2049
2050         * intl/locale.alias: Add thai.
2051         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2052
2053 2000-11-07  Akim Demaille  <akim@epita.fr>
2054
2055         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2056         argument `data' for consistency with the prototypes.
2057         Qualify it `const'.
2058         (obstack_copy, obstack_copy0): Rename the second argument as
2059         `address' for consistency.  Qualify it `const'.
2060         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2061         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2062         `const' their input argument (`data' or `address').
2063         Adjust the corresponding macros to include `const' in casts.
2064
2065 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2066
2067         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2068         target family.
2069
2070 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2071
2072         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2073         socket creation.
2074
2075 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2076
2077         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2078         ai_protocol by internal table if service was not given.
2079
2080 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2081
2082         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2083         numerical port was specified with protocol without socktype.
2084
2085 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2086
2087         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2088
2089 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2090
2091         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2092
2093 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2094
2095         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2096         sin6_scope_id field.
2097
2098 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2099
2100         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2101
2102 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2103
2104         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2105
2106 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2107
2108         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2109         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2110
2111 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
2112
2113         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2114         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2115
2116 2000-11-09  H.J. Lu  <hjl@gnu.org>
2117
2118         * io/Versions (GLIBC_2.1.1): Remove lockf64.
2119
2120
2121 See ChangeLog.11 for earlier changes.