Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
2
3         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
4         DECIMAL_DIG definitions.
5         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6         * sysdeps/generic/bits/mathdef.h: Likewise
7         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
10         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
11         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
12         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
13
14 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
15
16         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
17
18         * math/atest-exp.c: Mark local functions as static to avoid warnings.
19         * math/atest-exp2.c: Likewise.
20         * math/atest-sincos.c: Likewise.
21
22         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
23         Reported by Fred J. Tydeman <tydeman@tybor.com>.
24
25         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
26         the handling of denormalized numbers.
27
28         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
29         numbers on x86.
30         * sysdeps/i386/fpu/fpclassifyl.c: New file.
31
32         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
33         pseudo denormal representation of LDBL_MIN.
34
35         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
36         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
37
38         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
39         * iconvdata/jis0208.c: Likewise.
40         * iconvdata/jis0212.c: Likewise.
41         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
42
43         * math/test-misc.c (main): More tests for frexp and some for
44         fpclassify and isnormal.
45
46         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
47         test for subnormal.
48         Reported by Fred J. Tydeman <tydeman@tybor.com>.
49
50         * math/test-misc.c (main): Add tests for frexp.
51         Reported by Fred J. Tydeman <tydeman@tybor.com>.
52         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
53
54 2000-12-02  H.J. Lu  <hjl@gnu.org>
55
56         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
57         '\0' to wcschr.
58
59 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
60
61         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
62         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64
65         * sysdeps/generic/glob.c: Adjust types of several variables to
66         avoid warnings.
67
68 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
69
70         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
71
72 2000-11-30  Roland McGrath  <roland@frob.com>
73
74         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
75         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
76         allow multiple instances using the same function name in one file.
77
78 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
79
80         * configure.in: Correct test for pserver CVS access.
81
82 2000-11-28  H.J. Lu  <hjl@gnu.org>
83
84         * libio/libio.h: Remove extra "#if ... #endif".
85
86 2000-11-29  H.J. Lu  <hjl@gnu.org>
87
88         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
89
90 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
91
92         * locale/setlocale.c (setname): Free for all categories, not just
93         LC_ALL.
94         (setlocale): Store a copy of string passed by user, not the string
95         itself.
96
97 2000-11-30  Roland McGrath  <roland@frob.com>
98
99         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
100         rather than _hurd_fd_subinit, so it happens after it's safe to use
101         libc facilities like malloc.
102
103 2000-11-28  Andreas Jaeger  <aj@suse.de>
104
105         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
106         declaration, adjust declaration of __syscall_getdents to match
107         kernel.
108
109 2000-11-29  H.J. Lu  <hjl@gnu.org>
110
111         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
112
113 2000-11-29  Andreas Jaeger  <aj@suse.de>
114
115         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
116
117 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
118
119         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
120         * dlfcn/defaultmod2.c: Likewise.
121         * dlfcn/dlopen.c: Likewise.
122         * dlfcn/dlopenold.c: Likewise.
123         * dlfcn/failtestmod.c: Likewise.
124         * dlfcn/glreflib1.c: Likewise.
125         * dlfcn/glreflib2.c: Likewise.
126         * dlfcn/eval.c: Likewise.  Add attributes.
127
128         * ctype/ctype-extn.c: Define isblank and not __isblank.
129
130         * time/strftime.c: Add const where necessary to avoid warnings.
131         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
132
133 2000-11-22  Paul Eggert  <eggert@twinsun.com>
134
135         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
136         size of (size_t) -1; it's not portable.
137
138 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
139
140         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
141         crappy i486 FPU.
142         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
143
144 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
145
146         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
147
148         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
149         _mcount is required by profiled binaries.
150
151         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
152         * sysdeps/ia64/machine-gmon.h: ...here.
153
154 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
155
156         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
157         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
158         and ibm1129.h.
159         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
160         IBM1129.
161         * iconvdata/ibm922.c: New file.
162         * iconvdata/ibm922.h: New file.
163         * iconvdata/ibm1124.c: New file.
164         * iconvdata/ibm1124.h: New file.
165         * iconvdata/ibm1129.c: New file.
166         * iconvdata/ibm1129.h: New file.
167         * iconvdata/testdata/IBM922: New file.
168         * iconvdata/testdata/IBM922..UTF8: New file.
169         * iconvdata/testdata/IBM1124: New file.
170         * iconvdata/testdata/IBM1124..UTF8: New file.
171         * iconvdata/testdata/IBM1129: New file.
172         * iconvdata/testdata/IBM1129..UTF8: New file.
173
174 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
175
176         * catgets/gencat.c (normalize_line): Take extra parameter with escape
177         character.  Change callers.
178         (open_conversion): Determine mapping of 0x5c as wchar_t value.
179         * catgets/Makefile: Add rules to build and run test-gencat.
180         * catgets/sample.SJIS: New file.
181         * catgets/test-gencat.c: New file.
182         * catgets/test-gencat.sh: New file.
183         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
184
185 2000-11-28  Andreas Jaeger  <aj@suse.de>
186
187         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
188         Linux version.
189
190 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
191
192         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
193
194 2000-11-28  Andreas Jaeger  <aj@suse.de>
195
196         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
197         __flexarr.
198         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
199         Likewise.
200
201 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
202
203         * misc/getusershell.c: Make strings in okshells array const.
204         * misc/regexp.c: Add const to cast to avoid warnings.
205         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
206         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
207         __setresuid.
208         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
209         setresgid.
210         * misc/error.c: Add prototypes for __error and __error_at_line.
211         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
212         statement to avoid warning.
213         * test-skeleton.c: Mark timeout_handler with noreturn.
214         * iconv/skeleton.c (get16u): Add const to cast.
215         (get32u): Likewise.
216         * iconvdata/gb18030.c: Likewise.
217         * iconvdata/iso-2022-cn-ext.c: Likewise.
218         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
219         * iconvdata/big5.c: Likewise.
220         * iconvdata/big5hkscs.c: Likewise.
221         * iconvdata/iso_6937.c: Likewise.
222         * iconvdata/iso_6937-2.c: Likewise.
223         * iconvdata/t.61.c: Likewise.
224         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
225         * iconvdata/unicode.c: Likewise.
226         * iconvdata/utf-16.c: Likewise.
227         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
228         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
229         with little code shuffling.
230
231         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
232         the problems introduced when the user selects -O3.
233
234         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
235         * misc/sys/cdefs.h: Define __flexarr.
236         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
237
238         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
239         * iconv/skeleton.c: Likewise.
240         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
241         * iconv/loop.c (get16): Add const to cast.
242         (get32): Likewise.
243
244 2000-11-27  Andreas Jaeger  <aj@suse.de>
245
246         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
247         to avoid warning.
248         * login/programs/utmpdump.c (print_entry): Likewise.
249
250 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
251
252         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
253         in a single asm as they may be used to access other stored
254         registers.
255         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
256
257 2000-11-27  Andreas Jaeger  <aj@suse.de>
258
259         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
260         * rt/tst-aio64.c: Likewise.
261
262 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
263
264         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
265         for gencat run.
266         (libc.cat): Likewise.
267         * catgets/gencat.c: Implement handling of message catalogs encoded
268         with stateful character sets.
269         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
270
271 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
272
273         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
274
275         * inet/getnameinfo.c: Adjust casts to avoid warnings.
276         * inet/rcmd.c: Likewise.
277         * inet/ruserpass.c: Likewise.
278         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
279         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
280         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
281         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
282         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
283         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
284         * include/aliases.h: Add prototypes for internal __getalias* functions.
285         * include/netdb.h: Add prototypes for __old_gethostent_r,
286         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
287         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
288         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
289         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
290         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
291         __old_getrpcbynumber_r, __old_getrpcent_r.
292
293         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
294         __getrpcent_r prototypes.
295
296 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
297
298         * string/strcoll.c: Add casts to avoid warnings.
299         * string/strnlen.c: Likewise.
300         * string/strxfrm.c: Likewise.
301         * sysdeps/generic/_strerror.c: Likewise.
302         * sysdeps/generic/memrchr.c: Likewise.
303         * sysdeps/generic/strcasestr.c: Likewise.
304         * sysdeps/generic/strstr.c: Likewise.
305
306         * locale/weight.h (findidx): Add const to cast to avoid warning.
307
308         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
309         * elf/loadtest.c: Likewise.
310         * elf/multiload.c: Likewise.
311         * elf/next.c: Likewise.
312         * elf/nodelete.c: Likewise.
313         * elf/noload.c: Likewise.
314         * elf/order.c: Likewise.
315         * elf/origtest.c: Likewise.
316         * elf/preloadtest.c: Likewise.
317         * elf/restest1.c: Likewise.
318
319         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
320         parameter of asm must be in %ecx.
321
322         * string/tester.c: Mark test functions as static to avoid warnings.
323
324         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
325         preserve value over different gconv-modules files.
326
327 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
328
329         * locale/findlocale.c: Add casts to avoid warnings.
330         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
331         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
332         to avoid warnings.
333         * misc/tsearch.c (const_node): New type.
334         (trecurse): Correct casts to avoid warnings.
335         (__twalk): Likewise.
336         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
337         LONG_BIT.
338
339         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
340
341         * test-skeleton.c: Mark local functions as static to avoid warnings.
342
343 2000-11-23  H.J. Lu  <hjl@gnu.org>
344
345         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
346         support the background job.
347         Fix a typo.
348
349 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
350
351         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
352         has same names but lower cost.
353
354 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
355
356         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
357         which never occur during bootstrap.
358         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
359
360 2000-11-23  Andreas Jaeger  <aj@suse.de>
361
362         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
363
364         * nss/Versions: Remove _nss_files_getipnodebyname_r.
365
366         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
367
368 2000-11-18  Martin Buchholz  <martin@xemacs.org>
369
370         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
371         (called++) return;'
372
373 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
374
375         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
376
377         * csu/abi-note.S: Correct comment for operating system number.
378
379 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
380
381         * Versions.def: Add GLIBC_2.2.1 for glibc.
382
383 2000-11-22  Andreas Schwab  <schwab@suse.de>
384
385         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
386         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
387
388 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
389
390         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
391         absolute time for pthread_cond_timedwait call.
392         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
393
394         * rt/Makefile (tests): Add tst-aio6.
395         * rt/tst-aio6.c: New file.
396
397 2000-11-23  Andreas Jaeger  <aj@suse.de>
398
399         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
400
401 2000-11-22  Andreas Jaeger  <aj@suse.de>
402
403         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
404
405 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
406
407         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
408
409 2000-11-21  Andreas Schwab  <schwab@suse.de>
410
411         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
412         * sysdeps/arm/setjmp.S: Likewise.
413         * sysdeps/arm/fpu/setjmp.S: Likewise.
414         * sysdeps/i386/setjmp.S: Likewise.
415         * sysdeps/i386/elf/setjmp.S: Likewise.
416         * sysdeps/s390/setjmp.S: Likewise.
417         * sysdeps/s390/elf/setjmp.S: Likewise.
418         * sysdeps/sh/sh3/setjmp.S: Likewise.
419         * sysdeps/sh/sh4/setjmp.S: Likewise.
420         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
421         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
422         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
423         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
424
425 2000-11-21  Andreas Jaeger  <aj@suse.de>
426
427         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
428         NORETURN, fix parameter list.
429
430         * string/bug-strncat1.c (main): Fix typo.
431         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
432
433 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
434
435         * configure.in: Add --enable-all-warnings.
436         * config.make.in (all-warnings): New variable.
437         * Makeconfig (+gccwarn): Define with many more warnings if
438         all-warnings is yes.
439
440 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
441
442         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
443         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
444         * malloc/tst-valloc.c (main): Cast valloc return value to long.
445         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
446         * math/test-fpucw.c (main): Use %lx in format string, cast
447         control words to long.
448         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
449         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
450         large that it is unsigned warning.
451
452         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
453         it to long on sparc64.
454
455 2000-11-20  Andreas Jaeger  <aj@suse.de>
456
457         * nscd/nscd.h (termination_handler): Add noreturn attribute.
458         (receiv_print_stats): Likewise.
459
460         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
461
462 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
463
464         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
465
466         * csu/gmon-start.c: Always have prototype for __gmon_start.
467         * csu/version.c: Add prototypes for __libc_print_version and
468         __libc_main.
469         * iconv/gconv.c: Include gconv_int.h and gconv.h.
470         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
471         and __to_name.
472         * iconv/gconv_builtin.h: Add ASCII module definitions.
473         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
474         (add_module): Add cast to avoid warning.  Rework construction of
475         strings for new module.
476         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
477         (derivation_compare): Likewise.
478         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
479         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
480         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
481         (struct gconv_alias): Remove const from fromname and toname.
482         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
483         for loop functions.
484         (internal_ucs4_loop): Use correct const-ness.
485         (ucs4_internal_loop): Likewise.
486         (internal_ucs4le_loop): Likewise.
487         (ucs4le_internal_loop_single): Likewise.
488         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
489         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
490         assignments appropriately.
491         (struct known_trans): Remove const from fname.
492         (trans_compare): Make s1 and s2 const.
493         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
494         avoid warning.
495         * iconv/skeleton.c: Remove cast in calls of loop functions.
496         * iconvdata/gconv-modules: Remove US-ASCII definitions.
497         * iconvdata/iso646.c: Remove US_ASCII support.
498         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
499         * include/unistd.h: Add __libc_check_standard_fds prototype.
500         * string/bits/string2.h (__mempcpy_args): Add const to casts.
501         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
502         _fini.
503         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
504         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
505         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
506         warning.
507         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
508         __libc_init_first and _dl_start.
509         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
510         (DCIGETTEXT): Make domaindata variable const.
511         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
512         to avoid warning.
513
514 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
515
516         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
517
518         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
519         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
520         __unused? members.
521
522         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
523         value defined in /usr/include/asm-mips/fcntl.h.
524
525 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
526
527         * stdio-common/Makefile (tests): Add test-vfprintf.
528         (test-vfprintf-ENV): New variable.
529         * stdio-common/test-vfprintf.c: New file.
530
531         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
532
533         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
534         (tst-mbrtowc-ENV): New variable.
535         (tst-wcrtomb-ENV): New variable.
536         * wcsmbs/tst-mbrtowc.c: New file.
537         * wcsmbs/tst-wcrtomb.c: New file.
538
539 2000-11-16  Andreas Jaeger  <aj@suse.de>
540
541         * manual/install.texi (Tools for Compilation): Update
542         documentation for GCC 2.95.2.
543
544 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
545
546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
547         if IPv4 and IPv6 requests timed out.
548
549 2000-11-18  Akim Demaille  <akim@epita.fr>
550
551         * malloc/obstack.h: Formatting changes.
552         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
553         prevents type checking.
554         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
555         cast the value to (void *): assigning a `foo *' to a `void *'
556         variable is valid.
557         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
558
559 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
560
561         * scripts/config.guess: Update from upstream maintainer.
562         * scripts/config.sub: Likewise.
563
564 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
565
566         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
567         * libio/freopen64.c (freopen64): Likewise.
568         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
569
570         * libio/Makefile: Add rules to build and run test-freopen.
571         * libio/test-freopen.c: New file.
572         * libio/test-freopen.sh: New file.
573
574 2000-11-15  H.J. Lu  <hjl@gnu.org>
575
576         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
577         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
578         (DL_DT_FINI_ADDRESS): Likewise.
579
580         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
581         return type to ElfW(Addr).
582         (_dl_function_address): New prototype.
583         (DL_FUNCTION_ADDRESS): Defined.
584         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
585         (DL_DT_FINI_ADDRESS): Likewise.
586
587         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
588
589         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
590         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
591
592         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
593         (_dl_function_address): This.
594
595         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
596         function pointer for DT_FINI.
597         * elf/dl-close.c (_dl_close): Likewise.
598
599         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
600         function pointer for DT_INIT.
601
602 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
603
604         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
605         end of wexpbuf buffer.
606
607 2000-11-16  Andreas Jaeger  <aj@suse.de>
608
609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
610         definition of F_GETLK, F_SETLK, F_SETLKW.
611
612 2000-11-16  Andreas Jaeger  <aj@suse.de>
613
614         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
615         it's not defined.
616
617 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
618
619         * dlfcn/default.c (main): Add test for dladdr of main returning
620         argv[0] in dli_fname field.
621
622 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
623
624         * Makeconfig (run-program-prefix): Move test-static test into the
625         variable.
626
627         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
628         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
629         schedule instructions.
630         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
631         schedule instructions, fix a bug in copying auxiliary data.
632
633 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
634
635         * manual/startup.texi (Program Arguments): Fix type of main's envp
636         parameter.
637         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
638
639         * iconvdata/gconv-modules: Add CP950 alias.
640
641 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
642
643         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
644         syscall-list.h goal.
645         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
646
647 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
648
649         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
650
651         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
652         output of program.
653
654         * intl/tst-gettext2.c: Set C locale if setting other locale
655         failed.  Use gettext() not _().
656
657         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
658         successfully loaded a new locale.
659
660 2000-11-13  Andreas Jaeger  <aj@suse.de>
661
662         * configure.in: Require gcc 2.95 or newer.
663
664 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
665
666         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
667         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
668
669 2000-11-11  Jim Meyering  <meyering@lucent.com>
670
671         * string/strndup.c (strndup): Cast return value to `char *'.
672
673 2000-11-15  Jim Meyering  <meyering@ascend.com>
674
675         * sysdeps/generic/memchr.c: Remove some useless parentheses.
676         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
677         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
678         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
679         Also #undef __memchr.
680         Use `weak_alias' only if it's defined.
681
682 2000-11-10  H.J. Lu  <hjl@gnu.org>
683
684         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
685
686 2000-11-15  Andreas Jaeger  <aj@suse.de>
687
688         * elf/chroot_canon.c: Include <stdint.h>.
689
690         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
691         (print_entry): Likewise.
692         (add_to_cache): Likewise.
693
694         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
695
696         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
697         (path_hwcap): Likewise.
698         (search_dir): Likewise.
699
700         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
701
702         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
703
704         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
705         (_dl_platform_string): New.
706         (_DL_HWCAP_PLATFORM): New.
707         (_dl_string_platform): New.
708         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
709
710         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
711         (_dl_string_platform): New.
712         (_DL_HWCAP_PLATFORM): New.
713         (_dl_platform_string): New.
714
715         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
716         recognition.
717         (_DL_HWCAP_COUNT): New.
718         (_dl_string_platform): New.
719         (_DL_HWCAP_PLATFORM): New.
720         (_dl_platform_string): New.
721
722 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
723
724         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
725
726 2000-11-14  Andreas Jaeger  <aj@suse.de>
727
728         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
729         _dl_hwcap.
730
731 2000-11-13  Roland McGrath  <roland@frob.com>
732
733         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
734
735 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
736
737         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
738         underrun and make sure the result is null terminated even if there
739         is no trailing newline.
740
741 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
742
743         * sysdeps/alpha/fpu/libm-test-ulps: Update.
744
745 2000-11-10  H.J. Lu  <hjl@gnu.org>
746
747         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
748
749 2000-11-10  Andreas Jaeger  <aj@suse.de>
750
751         * elf/ldconfig.c (create_links): Fix alloca calculation.
752         Patch by Ben Collins <bcollins@debian.org>.
753
754 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
755
756         * inet/getnameinfo.c (getnameinfo): Use correct destination
757         parameter for if_indextoname.
758         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
759
760 2000-11-09  H.J. Lu  <hjl@gnu.org>
761
762         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
763         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
764         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
765         xdr_keystatus.
766
767         * time/Versions (GLIBC_2.1): Move getitimer to...
768         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
769
770 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
771
772         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
773         "make install", to work around a binary incompatibility between
774         glibc 2.1 and glibc 2.2 gconv modules.
775
776 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
777
778         * intl/locale.alias: Add thai.
779         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
780
781 2000-11-07  Akim Demaille  <akim@epita.fr>
782
783         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
784         argument `data' for consistency with the prototypes.
785         Qualify it `const'.
786         (obstack_copy, obstack_copy0): Rename the second argument as
787         `address' for consistency.  Qualify it `const'.
788         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
789         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
790         `const' their input argument (`data' or `address').
791         Adjust the corresponding macros to include `const' in casts.
792
793 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
794
795         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
796         target family.
797
798 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
799
800         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
801         socket creation.
802
803 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
804
805         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
806         ai_protocol by internal table if service was not given.
807
808 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
809
810         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
811         numerical port was specified with protocol without socktype.
812
813 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
814
815         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
816
817 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
818
819         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
820
821 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
822
823         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
824         sin6_scope_id field.
825
826 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
827
828         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
829
830 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
831
832         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
833
834 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
835
836         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
837         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
838
839 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
840
841         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
842         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
843
844 2000-11-09  H.J. Lu  <hjl@gnu.org>
845
846         * io/Versions (GLIBC_2.1.1): Remove lockf64.
847
848
849 See ChangeLog.11 for earlier changes.