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