Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
2
3         * timezone/asia: Update from tzdata2000h.
4         * timezone/australasia: Likewise.
5         * timezone/backward: Likewise.
6         * timezone/europe: Likewise.
7         * timezone/northamerica: Likewise.
8         * timezone/southamerica: Likewise.
9         * timezone/zone.tab: Likewise.
10
11 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
12
13         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
14         and dir.stream is NULL, only free dir.content.
15         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
16         * io/ftwtest-sh: Test with --early-exit.
17
18 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
19
20         * misc/efgcvt.c (FCVT_MAXDIG): Define.
21         (FCVT_BUFPTR): New variable.
22         (fcvt): If fcvt_r returns -1 on the static short buffer,
23         try to malloc a sufficiently large one and retry.
24         (free_mem): New function.
25         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
26         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
27
28 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
29
30         * misc/dirname.c (dirname): Fix search for second to last slash.
31
32 2000-12-13  Andreas Jaeger  <aj@suse.de>
33
34         * misc/tst-dirname.c (main): Fix typo in test to really use
35         the examples from Unix98.
36         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
37
38 2000-12-09  H.J. Lu  <hjl@gnu.org>
39
40         * sysdeps/ia64/fpu/s_fabs.S: New file.
41         * sysdeps/ia64/fpu/s_fabsf.S: New file.
42         * sysdeps/ia64/fpu/s_fabsl.S: New file.
43
44 2000-12-15  Andreas Jaeger  <aj@suse.de>
45
46         * stdio-common/scanf9.c (main): Reformat and change to avoid
47         warnings.
48
49         * stdio-common/tstdiomisc.c: Make local functions static.
50         * stdio-common/tst-printf.c: Likewise.
51
52         * elf/constload2.c: Add prototype declarations to shut up gcc.
53         * elf/dep1.c: Likewise.
54         * elf/dep2.c: Likewise.
55         * elf/dep3.c: Likewise.
56         * elf/dep4.c: Likewise.
57         * elf/ltglobmod2.c: Likewise.
58
59         * libio/fmemopen.c: Make local functions static.
60
61         * elf/Makefile (distribute): Added testobj.h.
62
63         * elf/testobj.h: New file.
64
65         * elf/testobj1.c: Include testobj.h and move prototype
66         declarations to testobj.h.
67         * elf/testobj2.c: Likewise.
68         * elf/testobj3.c: Likewise.
69         * elf/testobj4.c: Likewise.
70         * elf/testobj5.c: Likewise.
71         * elf/testobj6.c: Likewise.
72         * elf/testobj1_1.c: Likewise.
73         * elf/preloadtest.c: Likewise.
74
75 2000-12-15  Ben Collins  <bcollins@debian.org>
76
77         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
78         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
79
80 2000-12-14  H.J. Lu  <hjl@gnu.org>
81
82         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
83         field in a float is 8 bits, not 11 bits.
84
85 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
86
87         * math/test-misc.c (main): Adjust m for IEEE quad long double.
88
89 2000-12-13  Andreas Jaeger  <aj@suse.de>
90
91         * manual/message.texi (Using gettextized software): Fix typo.
92
93         * manual/charset.texi (Converting a Character): Fix mbstouwcs
94         program to compile.
95         Patch by Martin Buchholz <martin@xemacs.org>.
96
97         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
98         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
99
100 2000-12-11  Andreas Jaeger  <aj@suse.de>
101
102         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
103         kernel_sigset_t and use it.
104         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
105
106 2000-12-10  Richard Henderson  <rth@redhat.com>
107
108         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
109         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
110         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
111
112 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
113
114         * sysdeps/alpha/htonl.S: Fix a typo.
115
116 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
117
118         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
119
120 2000-12-10  Andreas Jaeger  <aj@suse.de>
121
122         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
123         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
124         Drepper <drepper@redhat.com>.
125
126 2000-12-09  Andreas Jaeger  <aj@suse.de>
127
128         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
129
130         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
131         generic version.
132         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
133
134         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
135         string.
136
137         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
138         format string.
139
140         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
141         * nscd/connections.c (handle_request): Likewise.
142         * nscd/pwdcache.c (addpwbyname): Likewise.
143         * nscd/grpcache.c (addgrbyname): Likewise.
144
145         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
146
147 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
148
149         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
150
151         * Makeconfig (default_cflags): Make -O2 the default for stable
152         releases.
153
154 2000-12-08  H.J. Lu  <hjl@gnu.org>
155
156         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
157         * sysdeps/ia64/fpu/s_isinf.S: This.
158         Add a .pred.rel.mutex note to avoid false report.
159
160         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
161         * sysdeps/ia64/fpu/s_isnan.S: This.
162
163         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
164         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
165         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
166         * sysdeps/ia64/fpu/s_isinff.S: New file.
167         * sysdeps/ia64/fpu/s_isinfl.S: New file.
168         * sysdeps/ia64/fpu/s_isnanf.S: New file.
169         * sysdeps/ia64/fpu/s_isnanl.S: New file.
170         * sysdeps/ia64/fpu/s_finite.S: New file.
171         * sysdeps/ia64/fpu/s_finitef.S: New file.
172         * sysdeps/ia64/fpu/s_finitel.S: New file.
173         * sysdeps/ia64/fpu/s_signbit.S: New file.
174         * sysdeps/ia64/fpu/s_signbitf.S: New file.
175         * sysdeps/ia64/fpu/s_signbitl.S: New file.
176         * sysdeps/ia64/fpu/s_copysign.S: New file.
177         * sysdeps/ia64/fpu/s_copysignf.S: New file.
178         * sysdeps/ia64/fpu/s_copysignl.S: New file.
179
180 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
181
182         * math/libm-test.inc (main): Fix typos in messages.
183
184         * string/stratcliff.c: Add test for rawmemchr.
185
186 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
187
188         * elf/dl-open.c (_dl_open): If objname points right after errstring,
189         allocate it together with errstring using alloca.
190         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
191         to "", because it might point to local stack.
192
193 2000-12-05  H.J. Lu  <hjl@gnu.org>
194
195         * nss/Makefile (routines): Add getnssent and getnssent_r.
196         * nss/nsswitch.h (__nss_setent): New internal NSS function.
197         (__nss_endent): Likewise.
198         (__nss_getent_r): Likewise.
199         (__nss_getent): Likewise.
200         * nss/getnssent_r.c: New file.
201         * nss/getnssent.c: New file.
202         * nss/getXXent.c (H_ERRNO_VAR): Updated.
203         (GETFUNC_NAME): Updated to call __nss_getent ().
204         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
205         (STAYOPEN_TMPVAR): Updated.
206         (STAYOPEN_VAR): Updated.
207         (SETFUNC_NAME): Updated to call __nss_setent ().
208         (ENDFUNC_NAME): Updated to call __nss_endent ().
209         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
210
211 2000-12-08  Andreas Jaeger  <aj@suse.de>
212
213         * nscd/dbg_log.h (dbg_log): Correct attribute.
214
215 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
216
217         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
218         cp + len.  Compute where from dirname.
219         Reported by <jreiser@BitWagon.com>.
220
221 2000-12-08  Richard Henderson  <rth@twiddle.net>
222
223         * sysdeps/alpha/_mcount.S: Fix typo.
224         * sysdeps/alpha/strncpy.S: Likewise.
225
226         * sysdeps/alpha/alphaev6/Implies: New file.
227         * sysdeps/alpha/alphaev67/Implies: New file.
228         * sysdeps/alpha/alphaev67/ffs.S: New file.
229         * sysdeps/alpha/alphaev67/ffsll.S: New file.
230         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
231         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
232         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
233         * sysdeps/alpha/rawmemchr.S: New file.
234         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
235         * sysdeps/alpha/strcpy.S: Likewise.
236
237         From GMP 3.1.1:
238         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
239
240         From rick.gorton@alpha-processor.com:
241         * sysdeps/alpha/alphaev6/memchr.S: New file.
242         * sysdeps/alpha/alphaev6/memcpy.S: New file.
243         * sysdeps/alpha/alphaev6/memset.S: New file.
244         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
245         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
246         * sysdeps/alpha/alphaev67/strcat.S: New file.
247         * sysdeps/alpha/alphaev67/strchr.S: New file.
248         * sysdeps/alpha/alphaev67/strlen.S: New file.
249         * sysdeps/alpha/alphaev67/strncat.S: New file.
250         * sysdeps/alpha/htonl.S: Use a shorter sequence.
251
252 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
253
254         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
255         Reported by <pspencer@fields.utoronto.ca>.
256
257 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
258
259         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
260         Pointed out by Hans Boehm.
261
262 2000-12-07  H.J. Lu  <hjl@gnu.org>
263
264         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
265
266 2000-12-07  Andreas Jaeger  <aj@suse.de>
267
268         * misc/error.c: Add format attributes for __error and __error_at_line.
269
270         * nscd/dbg_log.h: Add format attribute.
271
272 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
273
274         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
275         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
276
277 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
278
279         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
280
281 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
282
283         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
284         (sysdep_routines): Add uitrunc.
285         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
286         Patches by Michael Keezer <mkeezer@redhat.com>.
287
288 2000-12-06  Roland McGrath  <roland@frob.com>
289
290         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
291         argument data, since it will be used to copy out too (for INOUT).
292         Reported by Marcus Brinkmann <marcus@gnu.org>.
293
294         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
295         (__ioctl): Use uintptr_t instead of unsigned long int.
296
297 2000-12-06  Jim Wilson  <wilson@redhat.com>
298
299         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
300
301 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
302
303         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
304         x.5 rounding correctly.
305
306 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
307
308         * stdio-common/perror.c (perror): Conditionalize code dealing with
309         wide-oriented streams on USE_IN_LIBIO.
310
311 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
312
313         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
314         as internal_function.
315
316 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
317
318         * sysdeps/alpha/elf/start.S (__data_start): Define.
319
320 2000-12-05  H.J. Lu  <hjl@gnu.org>
321
322         * nss/getXXent_r.c (setup): Change the return type to int.
323
324 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
325
326         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
327         (sysdep_routines): Add restf and savef.
328         * sysdeps/unix/sysv/aix/restf.c: New file.
329         * sysdeps/unix/sysv/aix/savef.c: New file.
330         Patches by Michael Keezer <mkeezer@redhat.com>.
331
332         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
333         if O_DIRECTORY is not defined.
334         Patch by Michael Keezer <mkeezer@redhat.com>.
335
336         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
337         Patch by Michael Keezer <mkeezer@redhat.com>.
338
339         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
340         than 4 bytes in escape sequence.
341         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
342
343 2000-12-05  Andreas Jaeger  <aj@suse.de>
344
345         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
346         set mips2.
347
348         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
349
350         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
351
352         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
353         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
354
355         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
356         internal_function.
357         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
358         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
359
360         * sysdeps/generic/dl-cache.c: Remove declaration of
361         _dl_sysdep_read_whole_file.
362
363         * elf/dl-load.c (_dl_map_object): Remove declaration of
364         _dl_load_cache_lookup.
365
366         * sysdeps/generic/ldsodefs.h: Add declarations of
367         _dl_load_cache_lookup, _dl_unload_cache,
368         _dl_sysdep_read_whole_file, _dl_sysdep_start and
369         _dl_sysdep_start_cleanup.
370
371         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
372         now.
373
374         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
375         * sysdeps/generic/dl-environ.c: Likewise.
376
377         * stdio-common/printf_fp.c: Include <gmp.h> instead of
378         <stdlib/gmp.h>.
379         * math/atest-exp.c: Likewise.
380         * math/atest-exp2.c: Likewise.
381         * math/atest-sincos.c: Likewise.
382         * stdio-common/_itoa.c: Likewise.
383         * stdio-common/_itowa.c: Likewise.
384
385         * include/gmp.h: New file with internal prototypes.
386
387         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
388         here to...
389         * include/setjmp.h: ...here.
390
391         * locale/Makefile (routines): Remove codeset_name since it's not
392         needed anywhere.
393
394         * locale/codeset_name.c: Removed.
395
396 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
397
398         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
399
400 2000-12-05  Andreas Jaeger  <aj@suse.de>
401
402         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
403
404 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
405
406         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
407         available.
408
409 2000-12-05  Andreas Jaeger  <aj@suse.de>
410
411         * nss/test-netdb.c: Mark local functions as static to avoid
412         warnings.
413         (main): Use return to silence warning.
414
415         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
416
417         * stdio-common/test-popen.c: Mark local functions as static to
418         avoid warnings.
419         (main): Use return to silence warning.
420
421         * stdlib/testsort.c (compare): Mark as static to avoid warning.
422
423         * assert/test-assert.c: Mark local functions as static to avoid
424         warnings.
425         * assert/test-assert-perr.c: Likewise.
426
427         * math/libm-test.inc (main): Use return to silence warnings.
428
429 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
430
431         * math/fenv.h: Fix typo in comment.
432
433         * math/test-misc.c (main): Add a few more over and underflow tests
434         for scalb.
435
436         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
437         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
438         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
439         * math/w_scalb.c: Don't use matherr except in SVID mode.
440         * math/w_scalbf.c: Likewise.
441         * math/w_scalbl.c: Likewise.
442         * math/test-misc.c: Add test for NaN and scalbl.
443         Reported by Fred J. Tydeman <tydeman@tybor.com>.
444
445 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
446
447         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
448         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
449         * include/libc-symbols.h (strong_alias): Define special version
450         for HAVE_ASM_GLOBAL_DOT_NAME.
451         (weak_alias): Likewise.
452         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
453         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
454         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
455         getutxline, pututxline, and utmpxname.
456         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
457         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
458         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
459         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
460         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
461         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
462         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
463         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
464         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
465         Patches by Michael Keezer <mkeezer@redhat.com>.
466
467 2000-12-04  H.J. Lu  <hjl@gnu.org>
468
469         * configure.in: Change --with-oldest-abi=ABI to
470         --enable-oldest-abi=ABI.
471
472 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
473
474         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
475         fwprintf instead of fprintf.
476
477 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
478
479         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
480         DECIMAL_DIG definitions.
481         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
482         * sysdeps/generic/bits/mathdef.h: Likewise
483         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
484         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
485         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
486         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
487         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
488         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
489
490 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
491
492         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
493
494         * math/atest-exp.c: Mark local functions as static to avoid warnings.
495         * math/atest-exp2.c: Likewise.
496         * math/atest-sincos.c: Likewise.
497
498         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
499         Reported by Fred J. Tydeman <tydeman@tybor.com>.
500
501         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
502         the handling of denormalized numbers.
503
504         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
505         numbers on x86.
506         * sysdeps/i386/fpu/fpclassifyl.c: New file.
507
508         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
509         pseudo denormal representation of LDBL_MIN.
510
511         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
512         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
513
514         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
515         * iconvdata/jis0208.c: Likewise.
516         * iconvdata/jis0212.c: Likewise.
517         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
518
519         * math/test-misc.c (main): More tests for frexp and some for
520         fpclassify and isnormal.
521
522         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
523         test for subnormal.
524         Reported by Fred J. Tydeman <tydeman@tybor.com>.
525
526         * math/test-misc.c (main): Add tests for frexp.
527         Reported by Fred J. Tydeman <tydeman@tybor.com>.
528         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
529
530 2000-12-02  H.J. Lu  <hjl@gnu.org>
531
532         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
533         '\0' to wcschr.
534
535 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
536
537         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
538         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
539         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
540
541         * sysdeps/generic/glob.c: Adjust types of several variables to
542         avoid warnings.
543
544 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
545
546         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
547
548 2000-11-30  Roland McGrath  <roland@frob.com>
549
550         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
551         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
552         allow multiple instances using the same function name in one file.
553
554 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
555
556         * configure.in: Correct test for pserver CVS access.
557
558 2000-11-28  H.J. Lu  <hjl@gnu.org>
559
560         * libio/libio.h: Remove extra "#if ... #endif".
561
562 2000-11-29  H.J. Lu  <hjl@gnu.org>
563
564         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
565
566 2000-12-01  H.J. Lu  <hjl@gnu.org>
567
568         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
569         * nss/getXXent_r.c: Likewise.
570         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
571
572 2000-11-30  H.J. Lu  <hjl@gnu.org>
573
574         * scripts/abi-versions.awk (oldest_abi): New variable.
575         Handle the oldest ABI supported.
576
577         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
578         for scripts/abi-versions.awk.
579
580         * configure.in: Add --with-oldest-abi=ABI.
581         * configure: Rebuild.
582
583         * config.make.in (oldest-abi): New.
584
585         * config.h.in (GLIBC_OLDEST_ABI): New.
586
587         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
588
589 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
590
591         * locale/setlocale.c (setname): Free for all categories, not just
592         LC_ALL.
593         (setlocale): Store a copy of string passed by user, not the string
594         itself.
595
596 2000-11-30  Roland McGrath  <roland@frob.com>
597
598         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
599         rather than _hurd_fd_subinit, so it happens after it's safe to use
600         libc facilities like malloc.
601
602 2000-11-28  Andreas Jaeger  <aj@suse.de>
603
604         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
605         declaration, adjust declaration of __syscall_getdents to match
606         kernel.
607
608 2000-11-29  H.J. Lu  <hjl@gnu.org>
609
610         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
611
612 2000-11-29  Andreas Jaeger  <aj@suse.de>
613
614         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
615
616 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
617
618         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
619         * dlfcn/defaultmod2.c: Likewise.
620         * dlfcn/dlopen.c: Likewise.
621         * dlfcn/dlopenold.c: Likewise.
622         * dlfcn/failtestmod.c: Likewise.
623         * dlfcn/glreflib1.c: Likewise.
624         * dlfcn/glreflib2.c: Likewise.
625         * dlfcn/eval.c: Likewise.  Add attributes.
626
627         * ctype/ctype-extn.c: Define isblank and not __isblank.
628
629         * time/strftime.c: Add const where necessary to avoid warnings.
630         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
631
632 2000-11-22  Paul Eggert  <eggert@twinsun.com>
633
634         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
635         size of (size_t) -1; it's not portable.
636
637 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
638
639         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
640         crappy i486 FPU.
641         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
642
643 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
644
645         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
646
647         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
648         _mcount is required by profiled binaries.
649
650         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
651         * sysdeps/ia64/machine-gmon.h: ...here.
652
653 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
654
655         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
656         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
657         and ibm1129.h.
658         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
659         IBM1129.
660         * iconvdata/ibm922.c: New file.
661         * iconvdata/ibm922.h: New file.
662         * iconvdata/ibm1124.c: New file.
663         * iconvdata/ibm1124.h: New file.
664         * iconvdata/ibm1129.c: New file.
665         * iconvdata/ibm1129.h: New file.
666         * iconvdata/testdata/IBM922: New file.
667         * iconvdata/testdata/IBM922..UTF8: New file.
668         * iconvdata/testdata/IBM1124: New file.
669         * iconvdata/testdata/IBM1124..UTF8: New file.
670         * iconvdata/testdata/IBM1129: New file.
671         * iconvdata/testdata/IBM1129..UTF8: New file.
672
673 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
674
675         * catgets/gencat.c (normalize_line): Take extra parameter with escape
676         character.  Change callers.
677         (open_conversion): Determine mapping of 0x5c as wchar_t value.
678         * catgets/Makefile: Add rules to build and run test-gencat.
679         * catgets/sample.SJIS: New file.
680         * catgets/test-gencat.c: New file.
681         * catgets/test-gencat.sh: New file.
682         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
683
684 2000-11-28  Andreas Jaeger  <aj@suse.de>
685
686         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
687         Linux version.
688
689 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
690
691         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
692
693 2000-11-28  Andreas Jaeger  <aj@suse.de>
694
695         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
696         __flexarr.
697         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
698         Likewise.
699
700 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
701
702         * misc/getusershell.c: Make strings in okshells array const.
703         * misc/regexp.c: Add const to cast to avoid warnings.
704         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
705         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
706         __setresuid.
707         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
708         setresgid.
709         * misc/error.c: Add prototypes for __error and __error_at_line.
710         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
711         statement to avoid warning.
712         * test-skeleton.c: Mark timeout_handler with noreturn.
713         * iconv/skeleton.c (get16u): Add const to cast.
714         (get32u): Likewise.
715         * iconvdata/gb18030.c: Likewise.
716         * iconvdata/iso-2022-cn-ext.c: Likewise.
717         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
718         * iconvdata/big5.c: Likewise.
719         * iconvdata/big5hkscs.c: Likewise.
720         * iconvdata/iso_6937.c: Likewise.
721         * iconvdata/iso_6937-2.c: Likewise.
722         * iconvdata/t.61.c: Likewise.
723         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
724         * iconvdata/unicode.c: Likewise.
725         * iconvdata/utf-16.c: Likewise.
726         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
727         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
728         with little code shuffling.
729
730         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
731         the problems introduced when the user selects -O3.
732
733         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
734         * misc/sys/cdefs.h: Define __flexarr.
735         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
736
737         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
738         * iconv/skeleton.c: Likewise.
739         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
740         * iconv/loop.c (get16): Add const to cast.
741         (get32): Likewise.
742
743 2000-11-27  Andreas Jaeger  <aj@suse.de>
744
745         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
746         to avoid warning.
747         * login/programs/utmpdump.c (print_entry): Likewise.
748
749 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
750
751         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
752         in a single asm as they may be used to access other stored
753         registers.
754         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
755
756 2000-11-27  Andreas Jaeger  <aj@suse.de>
757
758         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
759         * rt/tst-aio64.c: Likewise.
760
761 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
762
763         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
764         for gencat run.
765         (libc.cat): Likewise.
766         * catgets/gencat.c: Implement handling of message catalogs encoded
767         with stateful character sets.
768         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
769
770 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
771
772         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
773
774         * inet/getnameinfo.c: Adjust casts to avoid warnings.
775         * inet/rcmd.c: Likewise.
776         * inet/ruserpass.c: Likewise.
777         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
778         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
779         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
780         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
781         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
782         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
783         * include/aliases.h: Add prototypes for internal __getalias* functions.
784         * include/netdb.h: Add prototypes for __old_gethostent_r,
785         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
786         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
787         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
788         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
789         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
790         __old_getrpcbynumber_r, __old_getrpcent_r.
791
792         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
793         __getrpcent_r prototypes.
794
795 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
796
797         * string/strcoll.c: Add casts to avoid warnings.
798         * string/strnlen.c: Likewise.
799         * string/strxfrm.c: Likewise.
800         * sysdeps/generic/_strerror.c: Likewise.
801         * sysdeps/generic/memrchr.c: Likewise.
802         * sysdeps/generic/strcasestr.c: Likewise.
803         * sysdeps/generic/strstr.c: Likewise.
804
805         * locale/weight.h (findidx): Add const to cast to avoid warning.
806
807         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
808         * elf/loadtest.c: Likewise.
809         * elf/multiload.c: Likewise.
810         * elf/next.c: Likewise.
811         * elf/nodelete.c: Likewise.
812         * elf/noload.c: Likewise.
813         * elf/order.c: Likewise.
814         * elf/origtest.c: Likewise.
815         * elf/preloadtest.c: Likewise.
816         * elf/restest1.c: Likewise.
817
818         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
819         parameter of asm must be in %ecx.
820
821         * string/tester.c: Mark test functions as static to avoid warnings.
822
823         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
824         preserve value over different gconv-modules files.
825
826 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
827
828         * locale/findlocale.c: Add casts to avoid warnings.
829         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
830         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
831         to avoid warnings.
832         * misc/tsearch.c (const_node): New type.
833         (trecurse): Correct casts to avoid warnings.
834         (__twalk): Likewise.
835         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
836         LONG_BIT.
837
838         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
839
840         * test-skeleton.c: Mark local functions as static to avoid warnings.
841
842 2000-11-23  H.J. Lu  <hjl@gnu.org>
843
844         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
845         support the background job.
846         Fix a typo.
847
848 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
849
850         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
851         has same names but lower cost.
852
853 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
854
855         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
856         which never occur during bootstrap.
857         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
858
859 2000-11-23  Andreas Jaeger  <aj@suse.de>
860
861         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
862
863         * nss/Versions: Remove _nss_files_getipnodebyname_r.
864
865         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
866
867 2000-11-18  Martin Buchholz  <martin@xemacs.org>
868
869         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
870         (called++) return;'
871
872 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
873
874         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
875
876         * csu/abi-note.S: Correct comment for operating system number.
877
878 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
879
880         * Versions.def: Add GLIBC_2.2.1 for glibc.
881
882 2000-11-22  Andreas Schwab  <schwab@suse.de>
883
884         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
885         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
886
887 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
888
889         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
890         absolute time for pthread_cond_timedwait call.
891         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
892
893         * rt/Makefile (tests): Add tst-aio6.
894         * rt/tst-aio6.c: New file.
895
896 2000-11-23  Andreas Jaeger  <aj@suse.de>
897
898         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
899
900 2000-11-22  Andreas Jaeger  <aj@suse.de>
901
902         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
903
904 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
905
906         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
907
908 2000-11-21  Andreas Schwab  <schwab@suse.de>
909
910         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
911         * sysdeps/arm/setjmp.S: Likewise.
912         * sysdeps/arm/fpu/setjmp.S: Likewise.
913         * sysdeps/i386/setjmp.S: Likewise.
914         * sysdeps/i386/elf/setjmp.S: Likewise.
915         * sysdeps/s390/setjmp.S: Likewise.
916         * sysdeps/s390/elf/setjmp.S: Likewise.
917         * sysdeps/sh/sh3/setjmp.S: Likewise.
918         * sysdeps/sh/sh4/setjmp.S: Likewise.
919         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
920         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
921         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
922         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
923
924 2000-11-21  Andreas Jaeger  <aj@suse.de>
925
926         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
927         NORETURN, fix parameter list.
928
929         * string/bug-strncat1.c (main): Fix typo.
930         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
931
932 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
933
934         * configure.in: Add --enable-all-warnings.
935         * config.make.in (all-warnings): New variable.
936         * Makeconfig (+gccwarn): Define with many more warnings if
937         all-warnings is yes.
938
939 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
940
941         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
942         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
943         * malloc/tst-valloc.c (main): Cast valloc return value to long.
944         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
945         * math/test-fpucw.c (main): Use %lx in format string, cast
946         control words to long.
947         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
948         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
949         large that it is unsigned warning.
950
951         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
952         it to long on sparc64.
953
954 2000-11-20  Andreas Jaeger  <aj@suse.de>
955
956         * nscd/nscd.h (termination_handler): Add noreturn attribute.
957         (receiv_print_stats): Likewise.
958
959         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
960
961 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
962
963         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
964
965         * csu/gmon-start.c: Always have prototype for __gmon_start.
966         * csu/version.c: Add prototypes for __libc_print_version and
967         __libc_main.
968         * iconv/gconv.c: Include gconv_int.h and gconv.h.
969         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
970         and __to_name.
971         * iconv/gconv_builtin.h: Add ASCII module definitions.
972         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
973         (add_module): Add cast to avoid warning.  Rework construction of
974         strings for new module.
975         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
976         (derivation_compare): Likewise.
977         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
978         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
979         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
980         (struct gconv_alias): Remove const from fromname and toname.
981         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
982         for loop functions.
983         (internal_ucs4_loop): Use correct const-ness.
984         (ucs4_internal_loop): Likewise.
985         (internal_ucs4le_loop): Likewise.
986         (ucs4le_internal_loop_single): Likewise.
987         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
988         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
989         assignments appropriately.
990         (struct known_trans): Remove const from fname.
991         (trans_compare): Make s1 and s2 const.
992         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
993         avoid warning.
994         * iconv/skeleton.c: Remove cast in calls of loop functions.
995         * iconvdata/gconv-modules: Remove US-ASCII definitions.
996         * iconvdata/iso646.c: Remove US_ASCII support.
997         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
998         * include/unistd.h: Add __libc_check_standard_fds prototype.
999         * string/bits/string2.h (__mempcpy_args): Add const to casts.
1000         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1001         _fini.
1002         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1003         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1004         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1005         warning.
1006         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1007         __libc_init_first and _dl_start.
1008         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1009         (DCIGETTEXT): Make domaindata variable const.
1010         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1011         to avoid warning.
1012
1013 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
1014
1015         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1016
1017         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1018         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
1019         __unused? members.
1020
1021         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1022         value defined in /usr/include/asm-mips/fcntl.h.
1023
1024 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1025
1026         * stdio-common/Makefile (tests): Add test-vfprintf.
1027         (test-vfprintf-ENV): New variable.
1028         * stdio-common/test-vfprintf.c: New file.
1029
1030         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1031
1032         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1033         (tst-mbrtowc-ENV): New variable.
1034         (tst-wcrtomb-ENV): New variable.
1035         * wcsmbs/tst-mbrtowc.c: New file.
1036         * wcsmbs/tst-wcrtomb.c: New file.
1037
1038 2000-11-16  Andreas Jaeger  <aj@suse.de>
1039
1040         * manual/install.texi (Tools for Compilation): Update
1041         documentation for GCC 2.95.2.
1042
1043 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1044
1045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1046         if IPv4 and IPv6 requests timed out.
1047
1048 2000-11-18  Akim Demaille  <akim@epita.fr>
1049
1050         * malloc/obstack.h: Formatting changes.
1051         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1052         prevents type checking.
1053         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1054         cast the value to (void *): assigning a `foo *' to a `void *'
1055         variable is valid.
1056         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1057
1058 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
1059
1060         * scripts/config.guess: Update from upstream maintainer.
1061         * scripts/config.sub: Likewise.
1062
1063 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
1064
1065         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1066         * libio/freopen64.c (freopen64): Likewise.
1067         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1068
1069         * libio/Makefile: Add rules to build and run test-freopen.
1070         * libio/test-freopen.c: New file.
1071         * libio/test-freopen.sh: New file.
1072
1073 2000-11-15  H.J. Lu  <hjl@gnu.org>
1074
1075         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1076         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1077         (DL_DT_FINI_ADDRESS): Likewise.
1078
1079         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1080         return type to ElfW(Addr).
1081         (_dl_function_address): New prototype.
1082         (DL_FUNCTION_ADDRESS): Defined.
1083         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1084         (DL_DT_FINI_ADDRESS): Likewise.
1085
1086         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1087
1088         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1089         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1090
1091         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1092         (_dl_function_address): This.
1093
1094         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1095         function pointer for DT_FINI.
1096         * elf/dl-close.c (_dl_close): Likewise.
1097
1098         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1099         function pointer for DT_INIT.
1100
1101 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
1102
1103         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1104         end of wexpbuf buffer.
1105
1106 2000-11-16  Andreas Jaeger  <aj@suse.de>
1107
1108         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1109         definition of F_GETLK, F_SETLK, F_SETLKW.
1110
1111 2000-11-16  Andreas Jaeger  <aj@suse.de>
1112
1113         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1114         it's not defined.
1115
1116 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1117
1118         * dlfcn/default.c (main): Add test for dladdr of main returning
1119         argv[0] in dli_fname field.
1120
1121 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1122
1123         * Makeconfig (run-program-prefix): Move test-static test into the
1124         variable.
1125
1126         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1127         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1128         schedule instructions.
1129         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1130         schedule instructions, fix a bug in copying auxiliary data.
1131
1132 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1133
1134         * manual/startup.texi (Program Arguments): Fix type of main's envp
1135         parameter.
1136         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1137
1138         * iconvdata/gconv-modules: Add CP950 alias.
1139
1140 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1141
1142         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1143         syscall-list.h goal.
1144         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1145
1146 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1147
1148         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1149
1150         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
1151         output of program.
1152
1153         * intl/tst-gettext2.c: Set C locale if setting other locale
1154         failed.  Use gettext() not _().
1155
1156         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1157         successfully loaded a new locale.
1158
1159 2000-11-13  Andreas Jaeger  <aj@suse.de>
1160
1161         * configure.in: Require gcc 2.95 or newer.
1162
1163 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1164
1165         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1166         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1167
1168 2000-11-11  Jim Meyering  <meyering@lucent.com>
1169
1170         * string/strndup.c (strndup): Cast return value to `char *'.
1171
1172 2000-11-15  Jim Meyering  <meyering@ascend.com>
1173
1174         * sysdeps/generic/memchr.c: Remove some useless parentheses.
1175         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1176         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1177         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1178         Also #undef __memchr.
1179         Use `weak_alias' only if it's defined.
1180
1181 2000-11-10  H.J. Lu  <hjl@gnu.org>
1182
1183         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1184
1185 2000-11-15  Andreas Jaeger  <aj@suse.de>
1186
1187         * elf/chroot_canon.c: Include <stdint.h>.
1188
1189         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1190         (print_entry): Likewise.
1191         (add_to_cache): Likewise.
1192
1193         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1194
1195         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1196         (path_hwcap): Likewise.
1197         (search_dir): Likewise.
1198
1199         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1200
1201         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1202
1203         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1204         (_dl_platform_string): New.
1205         (_DL_HWCAP_PLATFORM): New.
1206         (_dl_string_platform): New.
1207         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1208
1209         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1210         (_dl_string_platform): New.
1211         (_DL_HWCAP_PLATFORM): New.
1212         (_dl_platform_string): New.
1213
1214         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1215         recognition.
1216         (_DL_HWCAP_COUNT): New.
1217         (_dl_string_platform): New.
1218         (_DL_HWCAP_PLATFORM): New.
1219         (_dl_platform_string): New.
1220
1221 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
1222
1223         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1224
1225 2000-11-14  Andreas Jaeger  <aj@suse.de>
1226
1227         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1228
1229 2000-11-13  Roland McGrath  <roland@frob.com>
1230
1231         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1232
1233 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
1234
1235         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1236         underrun and make sure the result is null terminated even if there
1237         is no trailing newline.
1238
1239 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1240
1241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1242
1243 2000-11-10  H.J. Lu  <hjl@gnu.org>
1244
1245         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1246
1247 2000-11-10  Andreas Jaeger  <aj@suse.de>
1248
1249         * elf/ldconfig.c (create_links): Fix alloca calculation.
1250         Patch by Ben Collins <bcollins@debian.org>.
1251
1252 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1253
1254         * inet/getnameinfo.c (getnameinfo): Use correct destination
1255         parameter for if_indextoname.
1256         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1257
1258 2000-11-09  H.J. Lu  <hjl@gnu.org>
1259
1260         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1261         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1262         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1263         xdr_keystatus.
1264
1265         * time/Versions (GLIBC_2.1): Move getitimer to...
1266         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1267
1268 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1269
1270         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1271         "make install", to work around a binary incompatibility between
1272         glibc 2.1 and glibc 2.2 gconv modules.
1273
1274 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1275
1276         * intl/locale.alias: Add thai.
1277         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1278
1279 2000-11-07  Akim Demaille  <akim@epita.fr>
1280
1281         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1282         argument `data' for consistency with the prototypes.
1283         Qualify it `const'.
1284         (obstack_copy, obstack_copy0): Rename the second argument as
1285         `address' for consistency.  Qualify it `const'.
1286         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1287         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1288         `const' their input argument (`data' or `address').
1289         Adjust the corresponding macros to include `const' in casts.
1290
1291 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1292
1293         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1294         target family.
1295
1296 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1297
1298         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1299         socket creation.
1300
1301 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1302
1303         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1304         ai_protocol by internal table if service was not given.
1305
1306 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1307
1308         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1309         numerical port was specified with protocol without socktype.
1310
1311 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1312
1313         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1314
1315 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1316
1317         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1318
1319 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1320
1321         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1322         sin6_scope_id field.
1323
1324 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1325
1326         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1327
1328 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1329
1330         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1331
1332 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1333
1334         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1335         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1336
1337 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
1338
1339         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1340         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1341
1342 2000-11-09  H.J. Lu  <hjl@gnu.org>
1343
1344         * io/Versions (GLIBC_2.1.1): Remove lockf64.
1345
1346
1347 See ChangeLog.11 for earlier changes.