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