1 2000-12-17 Andreas Jaeger <aj@suse.de>
3 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7 unused attribute to shut up gcc warnings.
9 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
10 * sysdeps/generic/k_tanl.c: Likewise.
11 * sysdeps/generic/k_cosl.c: Likewise.
12 * sysdeps/generic/e_j0l.c: Likewise.
13 * sysdeps/generic/e_j1l.c: Likewise.
14 * sysdeps/generic/e_jnl.c: Likewise.
15 * sysdeps/generic/e_lgammal_r.c: Likewise.
17 * elf/vismain.c: Move prototypes for functions in vismod*.c to
19 * elf/vismod.h: New file.
20 * elf/Makefile (distribute): Add vismod.h.
21 * elf/vismod1.c: Include vismod.h.
22 * elf/vismod2.c: Likewise.
23 * elf/vismod3.c: Likewise.
25 * elf/constload3.c: Add prototype declarations to shut up gcc.
26 * elf/failobj.c: Likewise.
27 * elf/nodelmod3.c: Likewise.
28 * elf/filtmod1.c: Likewise.
29 * elf/filtmod2.c: Likewise.
30 * elf/reldepmod1.c: Likewise.
31 * elf/reldepmod2.c: Likewise.
32 * elf/reldepmod3.c: Likewise.
33 * elf/reldepmod4.c: Likewise.
34 * elf/unload2dep.c: Likewise.
35 * elf/unload2mod.c: Likewise.
36 * elf/ltglobmod1.c: Likewise.
37 * elf/pathoptobj.c: Likewise.
38 * elf/neededobj1.c: Likewise.
39 * elf/neededobj2.c: Likewise.
40 * elf/neededobj3.c: Likewise.
41 * elf/neededobj4.c: Likewise.
42 * elf/nextmod1.c: Likewise.
43 * elf/nextmod2.c: Likewise.
45 * locale/programs/ld-collate.c (collate_finish): Don't use labels
46 at end of compound statement.
47 * locale/programs/locale.c (show_info): Likewise.
48 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
50 2000-12-16 Jakub Jelinek <jakub@redhat.com>
52 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
53 with a pointer not returned by obstack_ functions.
55 2000-12-16 Ulrich Drepper <drepper@redhat.com>
57 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
59 (struct stat64): Likewise.
60 Reported by Michael Keezer <mkeezer@redhat.com>.
62 * timezone/asia: Update from tzdata2000h.
63 * timezone/australasia: Likewise.
64 * timezone/backward: Likewise.
65 * timezone/europe: Likewise.
66 * timezone/northamerica: Likewise.
67 * timezone/southamerica: Likewise.
68 * timezone/zone.tab: Likewise.
70 2000-12-14 Jakub Jelinek <jakub@redhat.com>
72 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
73 and dir.stream is NULL, only free dir.content.
74 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
75 * io/ftwtest-sh: Test with --early-exit.
77 2000-12-13 Jakub Jelinek <jakub@redhat.com>
79 * misc/efgcvt.c (FCVT_MAXDIG): Define.
80 (FCVT_BUFPTR): New variable.
81 (fcvt): If fcvt_r returns -1 on the static short buffer,
82 try to malloc a sufficiently large one and retry.
83 (free_mem): New function.
84 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
85 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
87 2000-12-15 Ulrich Drepper <drepper@redhat.com>
89 * misc/dirname.c (dirname): Fix search for second to last slash.
91 2000-12-13 Andreas Jaeger <aj@suse.de>
93 * misc/tst-dirname.c (main): Fix typo in test to really use
94 the examples from Unix98.
95 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
97 2000-12-09 H.J. Lu <hjl@gnu.org>
99 * sysdeps/ia64/fpu/s_fabs.S: New file.
100 * sysdeps/ia64/fpu/s_fabsf.S: New file.
101 * sysdeps/ia64/fpu/s_fabsl.S: New file.
103 2000-12-15 Andreas Jaeger <aj@suse.de>
105 * stdio-common/scanf9.c (main): Reformat and change to avoid
108 * stdio-common/tstdiomisc.c: Make local functions static.
109 * stdio-common/tst-printf.c: Likewise.
111 * elf/constload2.c: Add prototype declarations to shut up gcc.
112 * elf/dep1.c: Likewise.
113 * elf/dep2.c: Likewise.
114 * elf/dep3.c: Likewise.
115 * elf/dep4.c: Likewise.
116 * elf/ltglobmod2.c: Likewise.
118 * libio/fmemopen.c: Make local functions static.
120 * elf/Makefile (distribute): Added testobj.h.
122 * elf/testobj.h: New file.
124 * elf/testobj1.c: Include testobj.h and move prototype
125 declarations to testobj.h.
126 * elf/testobj2.c: Likewise.
127 * elf/testobj3.c: Likewise.
128 * elf/testobj4.c: Likewise.
129 * elf/testobj5.c: Likewise.
130 * elf/testobj6.c: Likewise.
131 * elf/testobj1_1.c: Likewise.
132 * elf/preloadtest.c: Likewise.
134 2000-12-15 Ben Collins <bcollins@debian.org>
136 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
137 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
139 2000-12-14 H.J. Lu <hjl@gnu.org>
141 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
142 field in a float is 8 bits, not 11 bits.
144 2000-12-13 Jakub Jelinek <jakub@redhat.com>
146 * math/test-misc.c (main): Adjust m for IEEE quad long double.
148 2000-12-13 Andreas Jaeger <aj@suse.de>
150 * manual/message.texi (Using gettextized software): Fix typo.
152 * manual/charset.texi (Converting a Character): Fix mbstouwcs
154 Patch by Martin Buchholz <martin@xemacs.org>.
156 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
157 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
159 2000-12-11 Andreas Jaeger <aj@suse.de>
161 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
162 kernel_sigset_t and use it.
163 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
165 2000-12-10 Richard Henderson <rth@redhat.com>
167 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
168 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
169 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
171 2000-12-10 Jakub Jelinek <jakub@redhat.com>
173 * sysdeps/alpha/htonl.S: Fix a typo.
175 2000-12-10 Jakub Jelinek <jakub@redhat.com>
177 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
179 2000-12-10 Andreas Jaeger <aj@suse.de>
181 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
182 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
183 Drepper <drepper@redhat.com>.
185 2000-12-09 Andreas Jaeger <aj@suse.de>
187 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
189 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
191 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
193 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
196 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
199 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
200 * nscd/connections.c (handle_request): Likewise.
201 * nscd/pwdcache.c (addpwbyname): Likewise.
202 * nscd/grpcache.c (addgrbyname): Likewise.
204 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
206 2000-12-09 Ulrich Drepper <drepper@redhat.com>
208 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
210 * Makeconfig (default_cflags): Make -O2 the default for stable
213 2000-12-08 H.J. Lu <hjl@gnu.org>
215 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
216 * sysdeps/ia64/fpu/s_isinf.S: This.
217 Add a .pred.rel.mutex note to avoid false report.
219 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
220 * sysdeps/ia64/fpu/s_isnan.S: This.
222 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
223 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
224 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
225 * sysdeps/ia64/fpu/s_isinff.S: New file.
226 * sysdeps/ia64/fpu/s_isinfl.S: New file.
227 * sysdeps/ia64/fpu/s_isnanf.S: New file.
228 * sysdeps/ia64/fpu/s_isnanl.S: New file.
229 * sysdeps/ia64/fpu/s_finite.S: New file.
230 * sysdeps/ia64/fpu/s_finitef.S: New file.
231 * sysdeps/ia64/fpu/s_finitel.S: New file.
232 * sysdeps/ia64/fpu/s_signbit.S: New file.
233 * sysdeps/ia64/fpu/s_signbitf.S: New file.
234 * sysdeps/ia64/fpu/s_signbitl.S: New file.
235 * sysdeps/ia64/fpu/s_copysign.S: New file.
236 * sysdeps/ia64/fpu/s_copysignf.S: New file.
237 * sysdeps/ia64/fpu/s_copysignl.S: New file.
239 2000-12-08 Ulrich Drepper <drepper@redhat.com>
241 * math/libm-test.inc (main): Fix typos in messages.
243 * string/stratcliff.c: Add test for rawmemchr.
245 2000-12-08 Jakub Jelinek <jakub@redhat.com>
247 * elf/dl-open.c (_dl_open): If objname points right after errstring,
248 allocate it together with errstring using alloca.
249 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
250 to "", because it might point to local stack.
252 2000-12-05 H.J. Lu <hjl@gnu.org>
254 * nss/Makefile (routines): Add getnssent and getnssent_r.
255 * nss/nsswitch.h (__nss_setent): New internal NSS function.
256 (__nss_endent): Likewise.
257 (__nss_getent_r): Likewise.
258 (__nss_getent): Likewise.
259 * nss/getnssent_r.c: New file.
260 * nss/getnssent.c: New file.
261 * nss/getXXent.c (H_ERRNO_VAR): Updated.
262 (GETFUNC_NAME): Updated to call __nss_getent ().
263 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
264 (STAYOPEN_TMPVAR): Updated.
265 (STAYOPEN_VAR): Updated.
266 (SETFUNC_NAME): Updated to call __nss_setent ().
267 (ENDFUNC_NAME): Updated to call __nss_endent ().
268 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
270 2000-12-08 Andreas Jaeger <aj@suse.de>
272 * nscd/dbg_log.h (dbg_log): Correct attribute.
274 2000-12-08 Jakub Jelinek <jakub@redhat.com>
276 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
277 cp + len. Compute where from dirname.
278 Reported by <jreiser@BitWagon.com>.
280 2000-12-08 Richard Henderson <rth@twiddle.net>
282 * sysdeps/alpha/_mcount.S: Fix typo.
283 * sysdeps/alpha/strncpy.S: Likewise.
285 * sysdeps/alpha/alphaev6/Implies: New file.
286 * sysdeps/alpha/alphaev67/Implies: New file.
287 * sysdeps/alpha/alphaev67/ffs.S: New file.
288 * sysdeps/alpha/alphaev67/ffsll.S: New file.
289 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
290 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
291 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
292 * sysdeps/alpha/rawmemchr.S: New file.
293 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
294 * sysdeps/alpha/strcpy.S: Likewise.
297 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
299 From rick.gorton@alpha-processor.com:
300 * sysdeps/alpha/alphaev6/memchr.S: New file.
301 * sysdeps/alpha/alphaev6/memcpy.S: New file.
302 * sysdeps/alpha/alphaev6/memset.S: New file.
303 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
304 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
305 * sysdeps/alpha/alphaev67/strcat.S: New file.
306 * sysdeps/alpha/alphaev67/strchr.S: New file.
307 * sysdeps/alpha/alphaev67/strlen.S: New file.
308 * sysdeps/alpha/alphaev67/strncat.S: New file.
309 * sysdeps/alpha/htonl.S: Use a shorter sequence.
311 2000-12-08 Jakub Jelinek <jakub@redhat.com>
313 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
314 Reported by <pspencer@fields.utoronto.ca>.
316 2000-12-07 Jes Sorensen <jes@linuxcare.com>
318 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
319 Pointed out by Hans Boehm.
321 2000-12-07 H.J. Lu <hjl@gnu.org>
323 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
325 2000-12-07 Andreas Jaeger <aj@suse.de>
327 * misc/error.c: Add format attributes for __error and __error_at_line.
329 * nscd/dbg_log.h: Add format attribute.
331 2000-12-08 Ulrich Drepper <drepper@redhat.com>
333 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
334 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
336 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
338 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
340 2000-12-06 Ulrich Drepper <drepper@redhat.com>
342 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
343 (sysdep_routines): Add uitrunc.
344 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
345 Patches by Michael Keezer <mkeezer@redhat.com>.
347 2000-12-06 Roland McGrath <roland@frob.com>
349 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
350 argument data, since it will be used to copy out too (for INOUT).
351 Reported by Marcus Brinkmann <marcus@gnu.org>.
353 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
354 (__ioctl): Use uintptr_t instead of unsigned long int.
356 2000-12-06 Jim Wilson <wilson@redhat.com>
358 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
360 2000-12-06 Ulrich Drepper <drepper@redhat.com>
362 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
363 x.5 rounding correctly.
365 2000-12-06 Mark Kettenis <kettenis@gnu.org>
367 * stdio-common/perror.c (perror): Conditionalize code dealing with
368 wide-oriented streams on USE_IN_LIBIO.
370 2000-12-06 Mark Kettenis <kettenis@gnu.org>
372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
373 as internal_function.
375 2000-12-05 Ulrich Drepper <drepper@redhat.com>
377 * sysdeps/alpha/elf/start.S (__data_start): Define.
379 2000-12-05 H.J. Lu <hjl@gnu.org>
381 * nss/getXXent_r.c (setup): Change the return type to int.
383 2000-12-05 Ulrich Drepper <drepper@redhat.com>
385 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
386 (sysdep_routines): Add restf and savef.
387 * sysdeps/unix/sysv/aix/restf.c: New file.
388 * sysdeps/unix/sysv/aix/savef.c: New file.
389 Patches by Michael Keezer <mkeezer@redhat.com>.
391 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
392 if O_DIRECTORY is not defined.
393 Patch by Michael Keezer <mkeezer@redhat.com>.
395 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
396 Patch by Michael Keezer <mkeezer@redhat.com>.
398 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
399 than 4 bytes in escape sequence.
400 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
402 2000-12-05 Andreas Jaeger <aj@suse.de>
404 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
407 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
409 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
411 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
412 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
414 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
416 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
417 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
419 * sysdeps/generic/dl-cache.c: Remove declaration of
420 _dl_sysdep_read_whole_file.
422 * elf/dl-load.c (_dl_map_object): Remove declaration of
423 _dl_load_cache_lookup.
425 * sysdeps/generic/ldsodefs.h: Add declarations of
426 _dl_load_cache_lookup, _dl_unload_cache,
427 _dl_sysdep_read_whole_file, _dl_sysdep_start and
428 _dl_sysdep_start_cleanup.
430 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
433 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
434 * sysdeps/generic/dl-environ.c: Likewise.
436 * stdio-common/printf_fp.c: Include <gmp.h> instead of
438 * math/atest-exp.c: Likewise.
439 * math/atest-exp2.c: Likewise.
440 * math/atest-sincos.c: Likewise.
441 * stdio-common/_itoa.c: Likewise.
442 * stdio-common/_itowa.c: Likewise.
444 * include/gmp.h: New file with internal prototypes.
446 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
448 * include/setjmp.h: ...here.
450 * locale/Makefile (routines): Remove codeset_name since it's not
453 * locale/codeset_name.c: Removed.
455 2000-12-05 Ulrich Drepper <drepper@redhat.com>
457 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
459 2000-12-05 Andreas Jaeger <aj@suse.de>
461 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
463 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
465 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
468 2000-12-05 Andreas Jaeger <aj@suse.de>
470 * nss/test-netdb.c: Mark local functions as static to avoid
472 (main): Use return to silence warning.
474 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
476 * stdio-common/test-popen.c: Mark local functions as static to
478 (main): Use return to silence warning.
480 * stdlib/testsort.c (compare): Mark as static to avoid warning.
482 * assert/test-assert.c: Mark local functions as static to avoid
484 * assert/test-assert-perr.c: Likewise.
486 * math/libm-test.inc (main): Use return to silence warnings.
488 2000-12-04 Ulrich Drepper <drepper@redhat.com>
490 * math/fenv.h: Fix typo in comment.
492 * math/test-misc.c (main): Add a few more over and underflow tests
495 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
497 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
498 * math/w_scalb.c: Don't use matherr except in SVID mode.
499 * math/w_scalbf.c: Likewise.
500 * math/w_scalbl.c: Likewise.
501 * math/test-misc.c: Add test for NaN and scalbl.
502 Reported by Fred J. Tydeman <tydeman@tybor.com>.
504 2000-12-04 Ulrich Drepper <drepper@redhat.com>
506 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
507 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
508 * include/libc-symbols.h (strong_alias): Define special version
509 for HAVE_ASM_GLOBAL_DOT_NAME.
510 (weak_alias): Likewise.
511 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
512 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
513 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
514 getutxline, pututxline, and utmpxname.
515 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
516 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
517 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
518 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
519 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
520 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
521 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
522 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
523 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
524 Patches by Michael Keezer <mkeezer@redhat.com>.
526 2000-12-04 H.J. Lu <hjl@gnu.org>
528 * configure.in: Change --with-oldest-abi=ABI to
529 --enable-oldest-abi=ABI.
531 2000-12-02 Bruno Haible <haible@clisp.cons.org>
533 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
534 fwprintf instead of fprintf.
536 2000-12-04 Ulrich Drepper <drepper@redhat.com>
538 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
539 DECIMAL_DIG definitions.
540 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
541 * sysdeps/generic/bits/mathdef.h: Likewise
542 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
543 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
544 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
545 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
546 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
547 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
549 2000-12-03 Ulrich Drepper <drepper@redhat.com>
551 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
553 * math/atest-exp.c: Mark local functions as static to avoid warnings.
554 * math/atest-exp2.c: Likewise.
555 * math/atest-sincos.c: Likewise.
557 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
558 Reported by Fred J. Tydeman <tydeman@tybor.com>.
560 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
561 the handling of denormalized numbers.
563 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
565 * sysdeps/i386/fpu/fpclassifyl.c: New file.
567 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
568 pseudo denormal representation of LDBL_MIN.
570 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
571 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
573 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
574 * iconvdata/jis0208.c: Likewise.
575 * iconvdata/jis0212.c: Likewise.
576 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
578 * math/test-misc.c (main): More tests for frexp and some for
579 fpclassify and isnormal.
581 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
583 Reported by Fred J. Tydeman <tydeman@tybor.com>.
585 * math/test-misc.c (main): Add tests for frexp.
586 Reported by Fred J. Tydeman <tydeman@tybor.com>.
587 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
589 2000-12-02 H.J. Lu <hjl@gnu.org>
591 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
594 2000-12-02 Ulrich Drepper <drepper@redhat.com>
596 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
598 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
600 * sysdeps/generic/glob.c: Adjust types of several variables to
603 2000-12-01 Ulrich Drepper <drepper@redhat.com>
605 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
607 2000-11-30 Roland McGrath <roland@frob.com>
609 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
610 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
611 allow multiple instances using the same function name in one file.
613 2000-12-01 Ulrich Drepper <drepper@redhat.com>
615 * configure.in: Correct test for pserver CVS access.
617 2000-11-28 H.J. Lu <hjl@gnu.org>
619 * libio/libio.h: Remove extra "#if ... #endif".
621 2000-11-29 H.J. Lu <hjl@gnu.org>
623 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
625 2000-12-01 H.J. Lu <hjl@gnu.org>
627 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
628 * nss/getXXent_r.c: Likewise.
629 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
631 2000-11-30 H.J. Lu <hjl@gnu.org>
633 * scripts/abi-versions.awk (oldest_abi): New variable.
634 Handle the oldest ABI supported.
636 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
637 for scripts/abi-versions.awk.
639 * configure.in: Add --with-oldest-abi=ABI.
640 * configure: Rebuild.
642 * config.make.in (oldest-abi): New.
644 * config.h.in (GLIBC_OLDEST_ABI): New.
646 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
648 2000-11-30 Jakub Jelinek <jakub@redhat.com>
650 * locale/setlocale.c (setname): Free for all categories, not just
652 (setlocale): Store a copy of string passed by user, not the string
655 2000-11-30 Roland McGrath <roland@frob.com>
657 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
658 rather than _hurd_fd_subinit, so it happens after it's safe to use
659 libc facilities like malloc.
661 2000-11-28 Andreas Jaeger <aj@suse.de>
663 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
664 declaration, adjust declaration of __syscall_getdents to match
667 2000-11-29 H.J. Lu <hjl@gnu.org>
669 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
671 2000-11-29 Andreas Jaeger <aj@suse.de>
673 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
675 2000-11-28 Ulrich Drepper <drepper@redhat.com>
677 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
678 * dlfcn/defaultmod2.c: Likewise.
679 * dlfcn/dlopen.c: Likewise.
680 * dlfcn/dlopenold.c: Likewise.
681 * dlfcn/failtestmod.c: Likewise.
682 * dlfcn/glreflib1.c: Likewise.
683 * dlfcn/glreflib2.c: Likewise.
684 * dlfcn/eval.c: Likewise. Add attributes.
686 * ctype/ctype-extn.c: Define isblank and not __isblank.
688 * time/strftime.c: Add const where necessary to avoid warnings.
689 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
691 2000-11-22 Paul Eggert <eggert@twinsun.com>
693 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
694 size of (size_t) -1; it's not portable.
696 2000-11-28 Ulrich Drepper <drepper@redhat.com>
698 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
700 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
702 2000-11-14 Jes Sorensen <jes@linuxcare.com>
704 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
706 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
707 _mcount is required by profiled binaries.
709 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
710 * sysdeps/ia64/machine-gmon.h: ...here.
712 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
714 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
715 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
717 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
719 * iconvdata/ibm922.c: New file.
720 * iconvdata/ibm922.h: New file.
721 * iconvdata/ibm1124.c: New file.
722 * iconvdata/ibm1124.h: New file.
723 * iconvdata/ibm1129.c: New file.
724 * iconvdata/ibm1129.h: New file.
725 * iconvdata/testdata/IBM922: New file.
726 * iconvdata/testdata/IBM922..UTF8: New file.
727 * iconvdata/testdata/IBM1124: New file.
728 * iconvdata/testdata/IBM1124..UTF8: New file.
729 * iconvdata/testdata/IBM1129: New file.
730 * iconvdata/testdata/IBM1129..UTF8: New file.
732 2000-11-28 Ulrich Drepper <drepper@redhat.com>
734 * catgets/gencat.c (normalize_line): Take extra parameter with escape
735 character. Change callers.
736 (open_conversion): Determine mapping of 0x5c as wchar_t value.
737 * catgets/Makefile: Add rules to build and run test-gencat.
738 * catgets/sample.SJIS: New file.
739 * catgets/test-gencat.c: New file.
740 * catgets/test-gencat.sh: New file.
741 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
743 2000-11-28 Andreas Jaeger <aj@suse.de>
745 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
748 2000-11-28 Ulrich Drepper <drepper@redhat.com>
750 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
752 2000-11-28 Andreas Jaeger <aj@suse.de>
754 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
756 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
759 2000-11-27 Ulrich Drepper <drepper@redhat.com>
761 * misc/getusershell.c: Make strings in okshells array const.
762 * misc/regexp.c: Add const to cast to avoid warnings.
763 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
764 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
766 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
768 * misc/error.c: Add prototypes for __error and __error_at_line.
769 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
770 statement to avoid warning.
771 * test-skeleton.c: Mark timeout_handler with noreturn.
772 * iconv/skeleton.c (get16u): Add const to cast.
774 * iconvdata/gb18030.c: Likewise.
775 * iconvdata/iso-2022-cn-ext.c: Likewise.
776 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
777 * iconvdata/big5.c: Likewise.
778 * iconvdata/big5hkscs.c: Likewise.
779 * iconvdata/iso_6937.c: Likewise.
780 * iconvdata/iso_6937-2.c: Likewise.
781 * iconvdata/t.61.c: Likewise.
782 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
783 * iconvdata/unicode.c: Likewise.
784 * iconvdata/utf-16.c: Likewise.
785 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
786 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
787 with little code shuffling.
789 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
790 the problems introduced when the user selects -O3.
792 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
793 * misc/sys/cdefs.h: Define __flexarr.
794 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
796 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
797 * iconv/skeleton.c: Likewise.
798 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
799 * iconv/loop.c (get16): Add const to cast.
802 2000-11-27 Andreas Jaeger <aj@suse.de>
804 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
806 * login/programs/utmpdump.c (print_entry): Likewise.
808 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
810 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
811 in a single asm as they may be used to access other stored
813 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
815 2000-11-27 Andreas Jaeger <aj@suse.de>
817 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
818 * rt/tst-aio64.c: Likewise.
820 2000-11-27 Ulrich Drepper <drepper@redhat.com>
822 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
824 (libc.cat): Likewise.
825 * catgets/gencat.c: Implement handling of message catalogs encoded
826 with stateful character sets.
827 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
829 2000-11-26 Ulrich Drepper <drepper@redhat.com>
831 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
833 * inet/getnameinfo.c: Adjust casts to avoid warnings.
834 * inet/rcmd.c: Likewise.
835 * inet/ruserpass.c: Likewise.
836 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
837 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
838 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
839 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
840 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
841 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
842 * include/aliases.h: Add prototypes for internal __getalias* functions.
843 * include/netdb.h: Add prototypes for __old_gethostent_r,
844 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
845 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
846 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
847 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
848 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
849 __old_getrpcbynumber_r, __old_getrpcent_r.
851 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
852 __getrpcent_r prototypes.
854 2000-11-25 Ulrich Drepper <drepper@redhat.com>
856 * string/strcoll.c: Add casts to avoid warnings.
857 * string/strnlen.c: Likewise.
858 * string/strxfrm.c: Likewise.
859 * sysdeps/generic/_strerror.c: Likewise.
860 * sysdeps/generic/memrchr.c: Likewise.
861 * sysdeps/generic/strcasestr.c: Likewise.
862 * sysdeps/generic/strstr.c: Likewise.
864 * locale/weight.h (findidx): Add const to cast to avoid warning.
866 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
867 * elf/loadtest.c: Likewise.
868 * elf/multiload.c: Likewise.
869 * elf/next.c: Likewise.
870 * elf/nodelete.c: Likewise.
871 * elf/noload.c: Likewise.
872 * elf/order.c: Likewise.
873 * elf/origtest.c: Likewise.
874 * elf/preloadtest.c: Likewise.
875 * elf/restest1.c: Likewise.
877 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
878 parameter of asm must be in %ecx.
880 * string/tester.c: Mark test functions as static to avoid warnings.
882 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
883 preserve value over different gconv-modules files.
885 2000-11-24 Ulrich Drepper <drepper@redhat.com>
887 * locale/findlocale.c: Add casts to avoid warnings.
888 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
889 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
891 * misc/tsearch.c (const_node): New type.
892 (trecurse): Correct casts to avoid warnings.
894 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
897 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
899 * test-skeleton.c: Mark local functions as static to avoid warnings.
901 2000-11-23 H.J. Lu <hjl@gnu.org>
903 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
904 support the background job.
907 2000-11-24 Ulrich Drepper <drepper@redhat.com>
909 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
910 has same names but lower cost.
912 2000-11-23 Jakub Jelinek <jakub@redhat.com>
914 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
915 which never occur during bootstrap.
916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
918 2000-11-23 Andreas Jaeger <aj@suse.de>
920 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
922 * nss/Versions: Remove _nss_files_getipnodebyname_r.
924 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
926 2000-11-18 Martin Buchholz <martin@xemacs.org>
928 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
931 2000-11-21 Alan Modra <alan@linuxcare.com.au>
933 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
935 * csu/abi-note.S: Correct comment for operating system number.
937 2000-11-22 Ulrich Drepper <drepper@redhat.com>
939 * Versions.def: Add GLIBC_2.2.1 for glibc.
941 2000-11-22 Andreas Schwab <schwab@suse.de>
943 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
944 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
946 2000-11-22 Ulrich Drepper <drepper@redhat.com>
948 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
949 absolute time for pthread_cond_timedwait call.
950 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
952 * rt/Makefile (tests): Add tst-aio6.
953 * rt/tst-aio6.c: New file.
955 2000-11-23 Andreas Jaeger <aj@suse.de>
957 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
959 2000-11-22 Andreas Jaeger <aj@suse.de>
961 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
963 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
965 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
967 2000-11-21 Andreas Schwab <schwab@suse.de>
969 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
970 * sysdeps/arm/setjmp.S: Likewise.
971 * sysdeps/arm/fpu/setjmp.S: Likewise.
972 * sysdeps/i386/setjmp.S: Likewise.
973 * sysdeps/i386/elf/setjmp.S: Likewise.
974 * sysdeps/s390/setjmp.S: Likewise.
975 * sysdeps/s390/elf/setjmp.S: Likewise.
976 * sysdeps/sh/sh3/setjmp.S: Likewise.
977 * sysdeps/sh/sh4/setjmp.S: Likewise.
978 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
979 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
980 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
981 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
983 2000-11-21 Andreas Jaeger <aj@suse.de>
985 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
986 NORETURN, fix parameter list.
988 * string/bug-strncat1.c (main): Fix typo.
989 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
991 2000-11-20 Ulrich Drepper <drepper@redhat.com>
993 * configure.in: Add --enable-all-warnings.
994 * config.make.in (all-warnings): New variable.
995 * Makeconfig (+gccwarn): Define with many more warnings if
998 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1000 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1001 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1002 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1003 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1004 * math/test-fpucw.c (main): Use %lx in format string, cast
1005 control words to long.
1006 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1007 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1008 large that it is unsigned warning.
1010 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1011 it to long on sparc64.
1013 2000-11-20 Andreas Jaeger <aj@suse.de>
1015 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1016 (receiv_print_stats): Likewise.
1018 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1020 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1022 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1024 * csu/gmon-start.c: Always have prototype for __gmon_start.
1025 * csu/version.c: Add prototypes for __libc_print_version and
1027 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1028 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1030 * iconv/gconv_builtin.h: Add ASCII module definitions.
1031 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1032 (add_module): Add cast to avoid warning. Rework construction of
1033 strings for new module.
1034 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1035 (derivation_compare): Likewise.
1036 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1037 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1038 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1039 (struct gconv_alias): Remove const from fromname and toname.
1040 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1042 (internal_ucs4_loop): Use correct const-ness.
1043 (ucs4_internal_loop): Likewise.
1044 (internal_ucs4le_loop): Likewise.
1045 (ucs4le_internal_loop_single): Likewise.
1046 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1047 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1048 assignments appropriately.
1049 (struct known_trans): Remove const from fname.
1050 (trans_compare): Make s1 and s2 const.
1051 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1053 * iconv/skeleton.c: Remove cast in calls of loop functions.
1054 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1055 * iconvdata/iso646.c: Remove US_ASCII support.
1056 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1057 * include/unistd.h: Add __libc_check_standard_fds prototype.
1058 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1059 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1061 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1062 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1063 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1065 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1066 __libc_init_first and _dl_start.
1067 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1068 (DCIGETTEXT): Make domaindata variable const.
1069 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1072 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1074 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1076 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1077 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1080 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1081 value defined in /usr/include/asm-mips/fcntl.h.
1083 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1085 * stdio-common/Makefile (tests): Add test-vfprintf.
1086 (test-vfprintf-ENV): New variable.
1087 * stdio-common/test-vfprintf.c: New file.
1089 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1091 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1092 (tst-mbrtowc-ENV): New variable.
1093 (tst-wcrtomb-ENV): New variable.
1094 * wcsmbs/tst-mbrtowc.c: New file.
1095 * wcsmbs/tst-wcrtomb.c: New file.
1097 2000-11-16 Andreas Jaeger <aj@suse.de>
1099 * manual/install.texi (Tools for Compilation): Update
1100 documentation for GCC 2.95.2.
1102 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1105 if IPv4 and IPv6 requests timed out.
1107 2000-11-18 Akim Demaille <akim@epita.fr>
1109 * malloc/obstack.h: Formatting changes.
1110 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1111 prevents type checking.
1112 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1113 cast the value to (void *): assigning a `foo *' to a `void *'
1115 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1117 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1119 * scripts/config.guess: Update from upstream maintainer.
1120 * scripts/config.sub: Likewise.
1122 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1124 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1125 * libio/freopen64.c (freopen64): Likewise.
1126 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1128 * libio/Makefile: Add rules to build and run test-freopen.
1129 * libio/test-freopen.c: New file.
1130 * libio/test-freopen.sh: New file.
1132 2000-11-15 H.J. Lu <hjl@gnu.org>
1134 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1135 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1136 (DL_DT_FINI_ADDRESS): Likewise.
1138 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1139 return type to ElfW(Addr).
1140 (_dl_function_address): New prototype.
1141 (DL_FUNCTION_ADDRESS): Defined.
1142 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1143 (DL_DT_FINI_ADDRESS): Likewise.
1145 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1147 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1148 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1150 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1151 (_dl_function_address): This.
1153 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1154 function pointer for DT_FINI.
1155 * elf/dl-close.c (_dl_close): Likewise.
1157 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1158 function pointer for DT_INIT.
1160 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1162 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1163 end of wexpbuf buffer.
1165 2000-11-16 Andreas Jaeger <aj@suse.de>
1167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1168 definition of F_GETLK, F_SETLK, F_SETLKW.
1170 2000-11-16 Andreas Jaeger <aj@suse.de>
1172 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1175 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1177 * dlfcn/default.c (main): Add test for dladdr of main returning
1178 argv[0] in dli_fname field.
1180 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1182 * Makeconfig (run-program-prefix): Move test-static test into the
1185 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1186 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1187 schedule instructions.
1188 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1189 schedule instructions, fix a bug in copying auxiliary data.
1191 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1193 * manual/startup.texi (Program Arguments): Fix type of main's envp
1195 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1197 * iconvdata/gconv-modules: Add CP950 alias.
1199 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1201 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1202 syscall-list.h goal.
1203 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1205 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1207 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1209 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1212 * intl/tst-gettext2.c: Set C locale if setting other locale
1213 failed. Use gettext() not _().
1215 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1216 successfully loaded a new locale.
1218 2000-11-13 Andreas Jaeger <aj@suse.de>
1220 * configure.in: Require gcc 2.95 or newer.
1222 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1224 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1225 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1227 2000-11-11 Jim Meyering <meyering@lucent.com>
1229 * string/strndup.c (strndup): Cast return value to `char *'.
1231 2000-11-15 Jim Meyering <meyering@ascend.com>
1233 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1234 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1235 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1236 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1237 Also #undef __memchr.
1238 Use `weak_alias' only if it's defined.
1240 2000-11-10 H.J. Lu <hjl@gnu.org>
1242 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1244 2000-11-15 Andreas Jaeger <aj@suse.de>
1246 * elf/chroot_canon.c: Include <stdint.h>.
1248 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1249 (print_entry): Likewise.
1250 (add_to_cache): Likewise.
1252 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1254 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1255 (path_hwcap): Likewise.
1256 (search_dir): Likewise.
1258 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1260 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1262 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1263 (_dl_platform_string): New.
1264 (_DL_HWCAP_PLATFORM): New.
1265 (_dl_string_platform): New.
1266 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1268 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1269 (_dl_string_platform): New.
1270 (_DL_HWCAP_PLATFORM): New.
1271 (_dl_platform_string): New.
1273 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1275 (_DL_HWCAP_COUNT): New.
1276 (_dl_string_platform): New.
1277 (_DL_HWCAP_PLATFORM): New.
1278 (_dl_platform_string): New.
1280 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1282 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1284 2000-11-14 Andreas Jaeger <aj@suse.de>
1286 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1288 2000-11-13 Roland McGrath <roland@frob.com>
1290 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1292 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1294 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1295 underrun and make sure the result is null terminated even if there
1296 is no trailing newline.
1298 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1300 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1302 2000-11-10 H.J. Lu <hjl@gnu.org>
1304 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1306 2000-11-10 Andreas Jaeger <aj@suse.de>
1308 * elf/ldconfig.c (create_links): Fix alloca calculation.
1309 Patch by Ben Collins <bcollins@debian.org>.
1311 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1313 * inet/getnameinfo.c (getnameinfo): Use correct destination
1314 parameter for if_indextoname.
1315 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1317 2000-11-09 H.J. Lu <hjl@gnu.org>
1319 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1320 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1321 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1324 * time/Versions (GLIBC_2.1): Move getitimer to...
1325 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1327 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1329 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1330 "make install", to work around a binary incompatibility between
1331 glibc 2.1 and glibc 2.2 gconv modules.
1333 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1335 * intl/locale.alias: Add thai.
1336 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1338 2000-11-07 Akim Demaille <akim@epita.fr>
1340 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1341 argument `data' for consistency with the prototypes.
1343 (obstack_copy, obstack_copy0): Rename the second argument as
1344 `address' for consistency. Qualify it `const'.
1345 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1346 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1347 `const' their input argument (`data' or `address').
1348 Adjust the corresponding macros to include `const' in casts.
1350 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1352 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1355 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1357 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1360 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1362 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1363 ai_protocol by internal table if service was not given.
1365 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1367 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1368 numerical port was specified with protocol without socktype.
1370 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1372 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1374 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1376 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1378 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1380 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1381 sin6_scope_id field.
1383 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1385 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1387 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1389 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1391 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1393 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1394 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1396 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1398 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1399 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1401 2000-11-09 H.J. Lu <hjl@gnu.org>
1403 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1406 See ChangeLog.11 for earlier changes.