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