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