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