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