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