1 2000-12-26 Andreas Jaeger <aj@suse.de>
3 * libio/getc_u.c: Include stdio.h via system path to get internal
5 * libio/getwc_u.c: Likewise.
7 * stdlib/strfmon.c: Fix prototype of __printf_fp.
9 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
10 __printf_fp prototypes to ...
11 * include/printf.h: ...here.
13 * include/stdio.h: Add some internal prototypes to shut up GCC.
14 * include/stdlib.h: Likewise.
16 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
19 * include/signal.h: Add prototypes for internal sigpause
22 2000-12-26 Ulrich Drepper <drepper@redhat.com>
24 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
25 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
27 * string/Makefile (tests): Add tst-bswap.
28 * string/tst-bswap.c: New file.
30 2000-12-11 Bruno Haible <haible@clisp.cons.org>
32 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
34 2000-12-26 Ulrich Drepper <drepper@redhat.com>
36 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
37 Patch by Ed Connell <Ed.Connell@sas.com>.
39 2000-12-24 Ulrich Drepper <drepper@redhat.com>
41 * locale/iso-639.def: Correct one entry. Add two missing entries.
43 * locale/iso-4217.def: Change entry for Eritrea.
44 Reported by Daniel Yacob <yacob@geez.org>.
46 2000-12-23 Ben Collins <bcollins@debian.org>
48 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
51 * manual/stdio.texi (Dynamic Output): Document the return value of
52 asprintf. Also make the asprintf/snprintf examples a little
53 better (check for some error returns).
55 2000-12-22 Andreas Jaeger <aj@suse.de>
57 * include/stdio.h: Add __ftrylockfile prototype.
59 2000-12-21 H.J. Lu <hjl@gnu.org>
61 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
62 Make sign_exponent element signed.
64 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
67 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
69 2000-12-21 Andreas Jaeger <aj@suse.de>
71 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
72 * inet/ether_hton.c: Likewise
73 * inet/ether_ntoh.c: Likewise.
75 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
76 declaration to match prototype.
78 * include/netinet/ether.h (struct etherent): Declare here so that
79 all implementations use the same struct.
81 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
83 (struct ether): Removed.
84 Use struct etherent instead of ether everywhere.
86 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
88 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
90 * sunrpc/publickey.c: Include auth_des.h for prototypes.
92 2000-12-20 Ulrich Drepper <drepper@redhat.com>
94 * math/test-misc.c: Add more tests for nextafter functions.
96 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
97 normal correctly. Correct test for sign.
98 Based on a patch by HJ Lu.
100 2000-12-19 Ulrich Drepper <drepper@redhat.com>
102 * Makeconfig (preprocess-version): Add -traditional to gcc call.
105 2000-12-19 Andreas Jaeger <aj@suse.de>
107 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
109 * nis/nis_intern.h: Add prototype for __do_niscall3.
111 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
114 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
116 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
118 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
120 2000-12-18 Ulrich Drepper <drepper@redhat.com>
122 * math/test-misc.c: Add more tests for nextafter.
123 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
124 * sysdeps/ieee754/ldbl-96/math_ldbl.h
125 (ieee_long_double_shape_type): Make sign_exponent element signed.
127 * manual/message.texi: Add Estonian to plural overview list.
128 Correct rule for Slavic languages.
129 Patch by Stanislav Brabec <utx@penguin.cz>.
131 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
133 2000-12-18 Andreas Jaeger <aj@suse.de>
135 * test-skeleton.c: Use temp_name_list instead of name_list to
136 avoid collision with name_list from inet/netgroup.h.
138 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
140 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
141 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
142 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
143 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
145 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
146 declaration to match prototype.
147 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
148 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
149 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
151 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
152 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
153 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
154 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
155 (_nss_nis_getservbyport_r): Likewise.
156 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
157 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
158 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
159 (_nss_nis_setnetent): Likewise
160 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
161 (_nss_nis_endnetgrent): Likewise.
162 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
164 (_nss_nisplus_setnetgrent): Likewise.
165 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
166 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
167 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
168 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
170 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
172 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
174 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
176 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
177 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
178 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
179 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
180 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
181 (_nss_dns_getnetbyaddr_r): Likewise.
183 2000-12-17 Andreas Jaeger <aj@suse.de>
185 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
188 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
189 unused attribute to shut up gcc warnings.
191 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
192 * sysdeps/generic/k_tanl.c: Likewise.
193 * sysdeps/generic/k_cosl.c: Likewise.
194 * sysdeps/generic/e_j0l.c: Likewise.
195 * sysdeps/generic/e_j1l.c: Likewise.
196 * sysdeps/generic/e_jnl.c: Likewise.
197 * sysdeps/generic/e_lgammal_r.c: Likewise.
199 * elf/vismain.c: Move prototypes for functions in vismod*.c to
201 * elf/vismod.h: New file.
202 * elf/Makefile (distribute): Add vismod.h.
203 * elf/vismod1.c: Include vismod.h.
204 * elf/vismod2.c: Likewise.
205 * elf/vismod3.c: Likewise.
207 * elf/constload3.c: Add prototype declarations to shut up gcc.
208 * elf/failobj.c: Likewise.
209 * elf/nodelmod3.c: Likewise.
210 * elf/filtmod1.c: Likewise.
211 * elf/filtmod2.c: Likewise.
212 * elf/reldepmod1.c: Likewise.
213 * elf/reldepmod2.c: Likewise.
214 * elf/reldepmod3.c: Likewise.
215 * elf/reldepmod4.c: Likewise.
216 * elf/unload2dep.c: Likewise.
217 * elf/unload2mod.c: Likewise.
218 * elf/ltglobmod1.c: Likewise.
219 * elf/pathoptobj.c: Likewise.
220 * elf/neededobj1.c: Likewise.
221 * elf/neededobj2.c: Likewise.
222 * elf/neededobj3.c: Likewise.
223 * elf/neededobj4.c: Likewise.
224 * elf/nextmod1.c: Likewise.
225 * elf/nextmod2.c: Likewise.
227 * locale/programs/ld-collate.c (collate_finish): Don't use labels
228 at end of compound statement.
229 * locale/programs/locale.c (show_info): Likewise.
230 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
232 2000-12-16 Jakub Jelinek <jakub@redhat.com>
234 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
235 with a pointer not returned by obstack_ functions.
237 2000-12-16 Ulrich Drepper <drepper@redhat.com>
239 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
241 (struct stat64): Likewise.
242 Reported by Michael Keezer <mkeezer@redhat.com>.
244 * timezone/asia: Update from tzdata2000h.
245 * timezone/australasia: Likewise.
246 * timezone/backward: Likewise.
247 * timezone/europe: Likewise.
248 * timezone/northamerica: Likewise.
249 * timezone/southamerica: Likewise.
250 * timezone/zone.tab: Likewise.
252 2000-12-14 Jakub Jelinek <jakub@redhat.com>
254 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
255 and dir.stream is NULL, only free dir.content.
256 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
257 * io/ftwtest-sh: Test with --early-exit.
259 2000-12-13 Jakub Jelinek <jakub@redhat.com>
261 * misc/efgcvt.c (FCVT_MAXDIG): Define.
262 (FCVT_BUFPTR): New variable.
263 (fcvt): If fcvt_r returns -1 on the static short buffer,
264 try to malloc a sufficiently large one and retry.
265 (free_mem): New function.
266 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
267 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
269 2000-12-15 Ulrich Drepper <drepper@redhat.com>
271 * misc/dirname.c (dirname): Fix search for second to last slash.
273 2000-12-13 Andreas Jaeger <aj@suse.de>
275 * misc/tst-dirname.c (main): Fix typo in test to really use
276 the examples from Unix98.
277 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
279 2000-12-09 H.J. Lu <hjl@gnu.org>
281 * sysdeps/ia64/fpu/s_fabs.S: New file.
282 * sysdeps/ia64/fpu/s_fabsf.S: New file.
283 * sysdeps/ia64/fpu/s_fabsl.S: New file.
285 2000-12-15 Andreas Jaeger <aj@suse.de>
287 * stdio-common/scanf9.c (main): Reformat and change to avoid
290 * stdio-common/tstdiomisc.c: Make local functions static.
291 * stdio-common/tst-printf.c: Likewise.
293 * elf/constload2.c: Add prototype declarations to shut up gcc.
294 * elf/dep1.c: Likewise.
295 * elf/dep2.c: Likewise.
296 * elf/dep3.c: Likewise.
297 * elf/dep4.c: Likewise.
298 * elf/ltglobmod2.c: Likewise.
300 * libio/fmemopen.c: Make local functions static.
302 * elf/Makefile (distribute): Added testobj.h.
304 * elf/testobj.h: New file.
306 * elf/testobj1.c: Include testobj.h and move prototype
307 declarations to testobj.h.
308 * elf/testobj2.c: Likewise.
309 * elf/testobj3.c: Likewise.
310 * elf/testobj4.c: Likewise.
311 * elf/testobj5.c: Likewise.
312 * elf/testobj6.c: Likewise.
313 * elf/testobj1_1.c: Likewise.
314 * elf/preloadtest.c: Likewise.
316 2000-12-15 Ben Collins <bcollins@debian.org>
318 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
319 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
321 2000-12-14 H.J. Lu <hjl@gnu.org>
323 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
324 field in a float is 8 bits, not 11 bits.
326 2000-12-13 Jakub Jelinek <jakub@redhat.com>
328 * math/test-misc.c (main): Adjust m for IEEE quad long double.
330 2000-12-13 Andreas Jaeger <aj@suse.de>
332 * manual/message.texi (Using gettextized software): Fix typo.
334 * manual/charset.texi (Converting a Character): Fix mbstouwcs
336 Patch by Martin Buchholz <martin@xemacs.org>.
338 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
339 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
341 2000-12-11 Andreas Jaeger <aj@suse.de>
343 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
344 kernel_sigset_t and use it.
345 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
347 2000-12-10 Richard Henderson <rth@redhat.com>
349 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
350 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
351 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
353 2000-12-10 Jakub Jelinek <jakub@redhat.com>
355 * sysdeps/alpha/htonl.S: Fix a typo.
357 2000-12-10 Jakub Jelinek <jakub@redhat.com>
359 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
361 2000-12-10 Andreas Jaeger <aj@suse.de>
363 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
364 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
365 Drepper <drepper@redhat.com>.
367 2000-12-09 Andreas Jaeger <aj@suse.de>
369 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
371 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
373 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
375 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
378 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
381 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
382 * nscd/connections.c (handle_request): Likewise.
383 * nscd/pwdcache.c (addpwbyname): Likewise.
384 * nscd/grpcache.c (addgrbyname): Likewise.
386 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
388 2000-12-09 Ulrich Drepper <drepper@redhat.com>
390 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
392 * Makeconfig (default_cflags): Make -O2 the default for stable
395 2000-12-08 H.J. Lu <hjl@gnu.org>
397 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
398 * sysdeps/ia64/fpu/s_isinf.S: This.
399 Add a .pred.rel.mutex note to avoid false report.
401 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
402 * sysdeps/ia64/fpu/s_isnan.S: This.
404 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
405 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
406 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
407 * sysdeps/ia64/fpu/s_isinff.S: New file.
408 * sysdeps/ia64/fpu/s_isinfl.S: New file.
409 * sysdeps/ia64/fpu/s_isnanf.S: New file.
410 * sysdeps/ia64/fpu/s_isnanl.S: New file.
411 * sysdeps/ia64/fpu/s_finite.S: New file.
412 * sysdeps/ia64/fpu/s_finitef.S: New file.
413 * sysdeps/ia64/fpu/s_finitel.S: New file.
414 * sysdeps/ia64/fpu/s_signbit.S: New file.
415 * sysdeps/ia64/fpu/s_signbitf.S: New file.
416 * sysdeps/ia64/fpu/s_signbitl.S: New file.
417 * sysdeps/ia64/fpu/s_copysign.S: New file.
418 * sysdeps/ia64/fpu/s_copysignf.S: New file.
419 * sysdeps/ia64/fpu/s_copysignl.S: New file.
421 2000-12-08 Ulrich Drepper <drepper@redhat.com>
423 * math/libm-test.inc (main): Fix typos in messages.
425 * string/stratcliff.c: Add test for rawmemchr.
427 2000-12-08 Jakub Jelinek <jakub@redhat.com>
429 * elf/dl-open.c (_dl_open): If objname points right after errstring,
430 allocate it together with errstring using alloca.
431 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
432 to "", because it might point to local stack.
434 2000-12-05 H.J. Lu <hjl@gnu.org>
436 * nss/Makefile (routines): Add getnssent and getnssent_r.
437 * nss/nsswitch.h (__nss_setent): New internal NSS function.
438 (__nss_endent): Likewise.
439 (__nss_getent_r): Likewise.
440 (__nss_getent): Likewise.
441 * nss/getnssent_r.c: New file.
442 * nss/getnssent.c: New file.
443 * nss/getXXent.c (H_ERRNO_VAR): Updated.
444 (GETFUNC_NAME): Updated to call __nss_getent ().
445 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
446 (STAYOPEN_TMPVAR): Updated.
447 (STAYOPEN_VAR): Updated.
448 (SETFUNC_NAME): Updated to call __nss_setent ().
449 (ENDFUNC_NAME): Updated to call __nss_endent ().
450 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
452 2000-12-08 Andreas Jaeger <aj@suse.de>
454 * nscd/dbg_log.h (dbg_log): Correct attribute.
456 2000-12-08 Jakub Jelinek <jakub@redhat.com>
458 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
459 cp + len. Compute where from dirname.
460 Reported by <jreiser@BitWagon.com>.
462 2000-12-08 Richard Henderson <rth@twiddle.net>
464 * sysdeps/alpha/_mcount.S: Fix typo.
465 * sysdeps/alpha/strncpy.S: Likewise.
467 * sysdeps/alpha/alphaev6/Implies: New file.
468 * sysdeps/alpha/alphaev67/Implies: New file.
469 * sysdeps/alpha/alphaev67/ffs.S: New file.
470 * sysdeps/alpha/alphaev67/ffsll.S: New file.
471 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
472 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
473 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
474 * sysdeps/alpha/rawmemchr.S: New file.
475 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
476 * sysdeps/alpha/strcpy.S: Likewise.
479 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
481 From rick.gorton@alpha-processor.com:
482 * sysdeps/alpha/alphaev6/memchr.S: New file.
483 * sysdeps/alpha/alphaev6/memcpy.S: New file.
484 * sysdeps/alpha/alphaev6/memset.S: New file.
485 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
486 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
487 * sysdeps/alpha/alphaev67/strcat.S: New file.
488 * sysdeps/alpha/alphaev67/strchr.S: New file.
489 * sysdeps/alpha/alphaev67/strlen.S: New file.
490 * sysdeps/alpha/alphaev67/strncat.S: New file.
491 * sysdeps/alpha/htonl.S: Use a shorter sequence.
493 2000-12-08 Jakub Jelinek <jakub@redhat.com>
495 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
496 Reported by <pspencer@fields.utoronto.ca>.
498 2000-12-07 Jes Sorensen <jes@linuxcare.com>
500 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
501 Pointed out by Hans Boehm.
503 2000-12-07 H.J. Lu <hjl@gnu.org>
505 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
507 2000-12-07 Andreas Jaeger <aj@suse.de>
509 * misc/error.c: Add format attributes for __error and __error_at_line.
511 * nscd/dbg_log.h: Add format attribute.
513 2000-12-08 Ulrich Drepper <drepper@redhat.com>
515 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
516 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
518 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
520 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
522 2000-12-06 Ulrich Drepper <drepper@redhat.com>
524 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
525 (sysdep_routines): Add uitrunc.
526 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
527 Patches by Michael Keezer <mkeezer@redhat.com>.
529 2000-12-06 Roland McGrath <roland@frob.com>
531 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
532 argument data, since it will be used to copy out too (for INOUT).
533 Reported by Marcus Brinkmann <marcus@gnu.org>.
535 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
536 (__ioctl): Use uintptr_t instead of unsigned long int.
538 2000-12-06 Jim Wilson <wilson@redhat.com>
540 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
542 2000-12-06 Ulrich Drepper <drepper@redhat.com>
544 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
545 x.5 rounding correctly.
547 2000-12-06 Mark Kettenis <kettenis@gnu.org>
549 * stdio-common/perror.c (perror): Conditionalize code dealing with
550 wide-oriented streams on USE_IN_LIBIO.
552 2000-12-06 Mark Kettenis <kettenis@gnu.org>
554 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
555 as internal_function.
557 2000-12-05 Ulrich Drepper <drepper@redhat.com>
559 * sysdeps/alpha/elf/start.S (__data_start): Define.
561 2000-12-05 H.J. Lu <hjl@gnu.org>
563 * nss/getXXent_r.c (setup): Change the return type to int.
565 2000-12-05 Ulrich Drepper <drepper@redhat.com>
567 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
568 (sysdep_routines): Add restf and savef.
569 * sysdeps/unix/sysv/aix/restf.c: New file.
570 * sysdeps/unix/sysv/aix/savef.c: New file.
571 Patches by Michael Keezer <mkeezer@redhat.com>.
573 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
574 if O_DIRECTORY is not defined.
575 Patch by Michael Keezer <mkeezer@redhat.com>.
577 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
578 Patch by Michael Keezer <mkeezer@redhat.com>.
580 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
581 than 4 bytes in escape sequence.
582 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
584 2000-12-05 Andreas Jaeger <aj@suse.de>
586 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
589 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
591 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
593 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
594 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
596 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
598 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
599 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
601 * sysdeps/generic/dl-cache.c: Remove declaration of
602 _dl_sysdep_read_whole_file.
604 * elf/dl-load.c (_dl_map_object): Remove declaration of
605 _dl_load_cache_lookup.
607 * sysdeps/generic/ldsodefs.h: Add declarations of
608 _dl_load_cache_lookup, _dl_unload_cache,
609 _dl_sysdep_read_whole_file, _dl_sysdep_start and
610 _dl_sysdep_start_cleanup.
612 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
615 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
616 * sysdeps/generic/dl-environ.c: Likewise.
618 * stdio-common/printf_fp.c: Include <gmp.h> instead of
620 * math/atest-exp.c: Likewise.
621 * math/atest-exp2.c: Likewise.
622 * math/atest-sincos.c: Likewise.
623 * stdio-common/_itoa.c: Likewise.
624 * stdio-common/_itowa.c: Likewise.
626 * include/gmp.h: New file with internal prototypes.
628 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
630 * include/setjmp.h: ...here.
632 * locale/Makefile (routines): Remove codeset_name since it's not
635 * locale/codeset_name.c: Removed.
637 2000-12-05 Ulrich Drepper <drepper@redhat.com>
639 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
641 2000-12-05 Andreas Jaeger <aj@suse.de>
643 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
645 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
647 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
650 2000-12-05 Andreas Jaeger <aj@suse.de>
652 * nss/test-netdb.c: Mark local functions as static to avoid
654 (main): Use return to silence warning.
656 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
658 * stdio-common/test-popen.c: Mark local functions as static to
660 (main): Use return to silence warning.
662 * stdlib/testsort.c (compare): Mark as static to avoid warning.
664 * assert/test-assert.c: Mark local functions as static to avoid
666 * assert/test-assert-perr.c: Likewise.
668 * math/libm-test.inc (main): Use return to silence warnings.
670 2000-12-04 Ulrich Drepper <drepper@redhat.com>
672 * math/fenv.h: Fix typo in comment.
674 * math/test-misc.c (main): Add a few more over and underflow tests
677 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
678 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
679 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
680 * math/w_scalb.c: Don't use matherr except in SVID mode.
681 * math/w_scalbf.c: Likewise.
682 * math/w_scalbl.c: Likewise.
683 * math/test-misc.c: Add test for NaN and scalbl.
684 Reported by Fred J. Tydeman <tydeman@tybor.com>.
686 2000-12-04 Ulrich Drepper <drepper@redhat.com>
688 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
689 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
690 * include/libc-symbols.h (strong_alias): Define special version
691 for HAVE_ASM_GLOBAL_DOT_NAME.
692 (weak_alias): Likewise.
693 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
694 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
695 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
696 getutxline, pututxline, and utmpxname.
697 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
698 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
699 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
700 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
701 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
702 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
703 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
704 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
705 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
706 Patches by Michael Keezer <mkeezer@redhat.com>.
708 2000-12-04 H.J. Lu <hjl@gnu.org>
710 * configure.in: Change --with-oldest-abi=ABI to
711 --enable-oldest-abi=ABI.
713 2000-12-02 Bruno Haible <haible@clisp.cons.org>
715 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
716 fwprintf instead of fprintf.
718 2000-12-04 Ulrich Drepper <drepper@redhat.com>
720 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
721 DECIMAL_DIG definitions.
722 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
723 * sysdeps/generic/bits/mathdef.h: Likewise
724 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
725 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
726 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
727 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
728 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
729 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
731 2000-12-03 Ulrich Drepper <drepper@redhat.com>
733 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
735 * math/atest-exp.c: Mark local functions as static to avoid warnings.
736 * math/atest-exp2.c: Likewise.
737 * math/atest-sincos.c: Likewise.
739 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
740 Reported by Fred J. Tydeman <tydeman@tybor.com>.
742 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
743 the handling of denormalized numbers.
745 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
747 * sysdeps/i386/fpu/fpclassifyl.c: New file.
749 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
750 pseudo denormal representation of LDBL_MIN.
752 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
753 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
755 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
756 * iconvdata/jis0208.c: Likewise.
757 * iconvdata/jis0212.c: Likewise.
758 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
760 * math/test-misc.c (main): More tests for frexp and some for
761 fpclassify and isnormal.
763 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
765 Reported by Fred J. Tydeman <tydeman@tybor.com>.
767 * math/test-misc.c (main): Add tests for frexp.
768 Reported by Fred J. Tydeman <tydeman@tybor.com>.
769 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
771 2000-12-02 H.J. Lu <hjl@gnu.org>
773 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
776 2000-12-02 Ulrich Drepper <drepper@redhat.com>
778 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
780 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
782 * sysdeps/generic/glob.c: Adjust types of several variables to
785 2000-12-01 Ulrich Drepper <drepper@redhat.com>
787 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
789 2000-11-30 Roland McGrath <roland@frob.com>
791 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
792 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
793 allow multiple instances using the same function name in one file.
795 2000-12-01 Ulrich Drepper <drepper@redhat.com>
797 * configure.in: Correct test for pserver CVS access.
799 2000-11-28 H.J. Lu <hjl@gnu.org>
801 * libio/libio.h: Remove extra "#if ... #endif".
803 2000-11-29 H.J. Lu <hjl@gnu.org>
805 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
807 2000-12-01 H.J. Lu <hjl@gnu.org>
809 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
810 * nss/getXXent_r.c: Likewise.
811 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
813 2000-11-30 H.J. Lu <hjl@gnu.org>
815 * scripts/abi-versions.awk (oldest_abi): New variable.
816 Handle the oldest ABI supported.
818 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
819 for scripts/abi-versions.awk.
821 * configure.in: Add --with-oldest-abi=ABI.
822 * configure: Rebuild.
824 * config.make.in (oldest-abi): New.
826 * config.h.in (GLIBC_OLDEST_ABI): New.
828 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
830 2000-11-30 Jakub Jelinek <jakub@redhat.com>
832 * locale/setlocale.c (setname): Free for all categories, not just
834 (setlocale): Store a copy of string passed by user, not the string
837 2000-11-30 Roland McGrath <roland@frob.com>
839 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
840 rather than _hurd_fd_subinit, so it happens after it's safe to use
841 libc facilities like malloc.
843 2000-11-28 Andreas Jaeger <aj@suse.de>
845 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
846 declaration, adjust declaration of __syscall_getdents to match
849 2000-11-29 H.J. Lu <hjl@gnu.org>
851 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
853 2000-11-29 Andreas Jaeger <aj@suse.de>
855 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
857 2000-11-28 Ulrich Drepper <drepper@redhat.com>
859 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
860 * dlfcn/defaultmod2.c: Likewise.
861 * dlfcn/dlopen.c: Likewise.
862 * dlfcn/dlopenold.c: Likewise.
863 * dlfcn/failtestmod.c: Likewise.
864 * dlfcn/glreflib1.c: Likewise.
865 * dlfcn/glreflib2.c: Likewise.
866 * dlfcn/eval.c: Likewise. Add attributes.
868 * ctype/ctype-extn.c: Define isblank and not __isblank.
870 * time/strftime.c: Add const where necessary to avoid warnings.
871 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
873 2000-11-22 Paul Eggert <eggert@twinsun.com>
875 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
876 size of (size_t) -1; it's not portable.
878 2000-11-28 Ulrich Drepper <drepper@redhat.com>
880 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
882 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
884 2000-11-14 Jes Sorensen <jes@linuxcare.com>
886 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
888 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
889 _mcount is required by profiled binaries.
891 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
892 * sysdeps/ia64/machine-gmon.h: ...here.
894 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
896 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
897 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
899 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
901 * iconvdata/ibm922.c: New file.
902 * iconvdata/ibm922.h: New file.
903 * iconvdata/ibm1124.c: New file.
904 * iconvdata/ibm1124.h: New file.
905 * iconvdata/ibm1129.c: New file.
906 * iconvdata/ibm1129.h: New file.
907 * iconvdata/testdata/IBM922: New file.
908 * iconvdata/testdata/IBM922..UTF8: New file.
909 * iconvdata/testdata/IBM1124: New file.
910 * iconvdata/testdata/IBM1124..UTF8: New file.
911 * iconvdata/testdata/IBM1129: New file.
912 * iconvdata/testdata/IBM1129..UTF8: New file.
914 2000-11-28 Ulrich Drepper <drepper@redhat.com>
916 * catgets/gencat.c (normalize_line): Take extra parameter with escape
917 character. Change callers.
918 (open_conversion): Determine mapping of 0x5c as wchar_t value.
919 * catgets/Makefile: Add rules to build and run test-gencat.
920 * catgets/sample.SJIS: New file.
921 * catgets/test-gencat.c: New file.
922 * catgets/test-gencat.sh: New file.
923 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
925 2000-11-28 Andreas Jaeger <aj@suse.de>
927 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
930 2000-11-28 Ulrich Drepper <drepper@redhat.com>
932 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
934 2000-11-28 Andreas Jaeger <aj@suse.de>
936 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
938 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
941 2000-11-27 Ulrich Drepper <drepper@redhat.com>
943 * misc/getusershell.c: Make strings in okshells array const.
944 * misc/regexp.c: Add const to cast to avoid warnings.
945 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
946 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
948 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
950 * misc/error.c: Add prototypes for __error and __error_at_line.
951 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
952 statement to avoid warning.
953 * test-skeleton.c: Mark timeout_handler with noreturn.
954 * iconv/skeleton.c (get16u): Add const to cast.
956 * iconvdata/gb18030.c: Likewise.
957 * iconvdata/iso-2022-cn-ext.c: Likewise.
958 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
959 * iconvdata/big5.c: Likewise.
960 * iconvdata/big5hkscs.c: Likewise.
961 * iconvdata/iso_6937.c: Likewise.
962 * iconvdata/iso_6937-2.c: Likewise.
963 * iconvdata/t.61.c: Likewise.
964 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
965 * iconvdata/unicode.c: Likewise.
966 * iconvdata/utf-16.c: Likewise.
967 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
968 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
969 with little code shuffling.
971 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
972 the problems introduced when the user selects -O3.
974 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
975 * misc/sys/cdefs.h: Define __flexarr.
976 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
978 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
979 * iconv/skeleton.c: Likewise.
980 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
981 * iconv/loop.c (get16): Add const to cast.
984 2000-11-27 Andreas Jaeger <aj@suse.de>
986 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
988 * login/programs/utmpdump.c (print_entry): Likewise.
990 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
992 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
993 in a single asm as they may be used to access other stored
995 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
997 2000-11-27 Andreas Jaeger <aj@suse.de>
999 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1000 * rt/tst-aio64.c: Likewise.
1002 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1004 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1006 (libc.cat): Likewise.
1007 * catgets/gencat.c: Implement handling of message catalogs encoded
1008 with stateful character sets.
1009 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1011 2000-11-26 Ulrich Drepper <drepper@redhat.com>
1013 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1015 * inet/getnameinfo.c: Adjust casts to avoid warnings.
1016 * inet/rcmd.c: Likewise.
1017 * inet/ruserpass.c: Likewise.
1018 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1019 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1020 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1021 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1022 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1023 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1024 * include/aliases.h: Add prototypes for internal __getalias* functions.
1025 * include/netdb.h: Add prototypes for __old_gethostent_r,
1026 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1027 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1028 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1029 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1030 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1031 __old_getrpcbynumber_r, __old_getrpcent_r.
1033 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1034 __getrpcent_r prototypes.
1036 2000-11-25 Ulrich Drepper <drepper@redhat.com>
1038 * string/strcoll.c: Add casts to avoid warnings.
1039 * string/strnlen.c: Likewise.
1040 * string/strxfrm.c: Likewise.
1041 * sysdeps/generic/_strerror.c: Likewise.
1042 * sysdeps/generic/memrchr.c: Likewise.
1043 * sysdeps/generic/strcasestr.c: Likewise.
1044 * sysdeps/generic/strstr.c: Likewise.
1046 * locale/weight.h (findidx): Add const to cast to avoid warning.
1048 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1049 * elf/loadtest.c: Likewise.
1050 * elf/multiload.c: Likewise.
1051 * elf/next.c: Likewise.
1052 * elf/nodelete.c: Likewise.
1053 * elf/noload.c: Likewise.
1054 * elf/order.c: Likewise.
1055 * elf/origtest.c: Likewise.
1056 * elf/preloadtest.c: Likewise.
1057 * elf/restest1.c: Likewise.
1059 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1060 parameter of asm must be in %ecx.
1062 * string/tester.c: Mark test functions as static to avoid warnings.
1064 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1065 preserve value over different gconv-modules files.
1067 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1069 * locale/findlocale.c: Add casts to avoid warnings.
1070 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1071 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1073 * misc/tsearch.c (const_node): New type.
1074 (trecurse): Correct casts to avoid warnings.
1075 (__twalk): Likewise.
1076 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1079 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1081 * test-skeleton.c: Mark local functions as static to avoid warnings.
1083 2000-11-23 H.J. Lu <hjl@gnu.org>
1085 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1086 support the background job.
1089 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1091 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1092 has same names but lower cost.
1094 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1096 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1097 which never occur during bootstrap.
1098 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1100 2000-11-23 Andreas Jaeger <aj@suse.de>
1102 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1104 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1106 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1108 2000-11-18 Martin Buchholz <martin@xemacs.org>
1110 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1113 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1115 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1117 * csu/abi-note.S: Correct comment for operating system number.
1119 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1121 * Versions.def: Add GLIBC_2.2.1 for glibc.
1123 2000-11-22 Andreas Schwab <schwab@suse.de>
1125 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1126 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1128 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1130 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1131 absolute time for pthread_cond_timedwait call.
1132 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1134 * rt/Makefile (tests): Add tst-aio6.
1135 * rt/tst-aio6.c: New file.
1137 2000-11-23 Andreas Jaeger <aj@suse.de>
1139 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1141 2000-11-22 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1145 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1147 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1149 2000-11-21 Andreas Schwab <schwab@suse.de>
1151 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1152 * sysdeps/arm/setjmp.S: Likewise.
1153 * sysdeps/arm/fpu/setjmp.S: Likewise.
1154 * sysdeps/i386/setjmp.S: Likewise.
1155 * sysdeps/i386/elf/setjmp.S: Likewise.
1156 * sysdeps/s390/setjmp.S: Likewise.
1157 * sysdeps/s390/elf/setjmp.S: Likewise.
1158 * sysdeps/sh/sh3/setjmp.S: Likewise.
1159 * sysdeps/sh/sh4/setjmp.S: Likewise.
1160 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1161 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1162 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1163 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1165 2000-11-21 Andreas Jaeger <aj@suse.de>
1167 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1168 NORETURN, fix parameter list.
1170 * string/bug-strncat1.c (main): Fix typo.
1171 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1173 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1175 * configure.in: Add --enable-all-warnings.
1176 * config.make.in (all-warnings): New variable.
1177 * Makeconfig (+gccwarn): Define with many more warnings if
1178 all-warnings is yes.
1180 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1182 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1183 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1184 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1185 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1186 * math/test-fpucw.c (main): Use %lx in format string, cast
1187 control words to long.
1188 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1189 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1190 large that it is unsigned warning.
1192 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1193 it to long on sparc64.
1195 2000-11-20 Andreas Jaeger <aj@suse.de>
1197 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1198 (receiv_print_stats): Likewise.
1200 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1202 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1204 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1206 * csu/gmon-start.c: Always have prototype for __gmon_start.
1207 * csu/version.c: Add prototypes for __libc_print_version and
1209 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1210 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1212 * iconv/gconv_builtin.h: Add ASCII module definitions.
1213 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1214 (add_module): Add cast to avoid warning. Rework construction of
1215 strings for new module.
1216 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1217 (derivation_compare): Likewise.
1218 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1219 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1220 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1221 (struct gconv_alias): Remove const from fromname and toname.
1222 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1224 (internal_ucs4_loop): Use correct const-ness.
1225 (ucs4_internal_loop): Likewise.
1226 (internal_ucs4le_loop): Likewise.
1227 (ucs4le_internal_loop_single): Likewise.
1228 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1229 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1230 assignments appropriately.
1231 (struct known_trans): Remove const from fname.
1232 (trans_compare): Make s1 and s2 const.
1233 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1235 * iconv/skeleton.c: Remove cast in calls of loop functions.
1236 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1237 * iconvdata/iso646.c: Remove US_ASCII support.
1238 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1239 * include/unistd.h: Add __libc_check_standard_fds prototype.
1240 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1241 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1243 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1244 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1245 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1247 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1248 __libc_init_first and _dl_start.
1249 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1250 (DCIGETTEXT): Make domaindata variable const.
1251 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1254 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1256 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1258 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1259 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1262 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1263 value defined in /usr/include/asm-mips/fcntl.h.
1265 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1267 * stdio-common/Makefile (tests): Add test-vfprintf.
1268 (test-vfprintf-ENV): New variable.
1269 * stdio-common/test-vfprintf.c: New file.
1271 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1273 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1274 (tst-mbrtowc-ENV): New variable.
1275 (tst-wcrtomb-ENV): New variable.
1276 * wcsmbs/tst-mbrtowc.c: New file.
1277 * wcsmbs/tst-wcrtomb.c: New file.
1279 2000-11-16 Andreas Jaeger <aj@suse.de>
1281 * manual/install.texi (Tools for Compilation): Update
1282 documentation for GCC 2.95.2.
1284 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1287 if IPv4 and IPv6 requests timed out.
1289 2000-11-18 Akim Demaille <akim@epita.fr>
1291 * malloc/obstack.h: Formatting changes.
1292 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1293 prevents type checking.
1294 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1295 cast the value to (void *): assigning a `foo *' to a `void *'
1297 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1299 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1301 * scripts/config.guess: Update from upstream maintainer.
1302 * scripts/config.sub: Likewise.
1304 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1306 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1307 * libio/freopen64.c (freopen64): Likewise.
1308 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1310 * libio/Makefile: Add rules to build and run test-freopen.
1311 * libio/test-freopen.c: New file.
1312 * libio/test-freopen.sh: New file.
1314 2000-11-15 H.J. Lu <hjl@gnu.org>
1316 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1317 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1318 (DL_DT_FINI_ADDRESS): Likewise.
1320 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1321 return type to ElfW(Addr).
1322 (_dl_function_address): New prototype.
1323 (DL_FUNCTION_ADDRESS): Defined.
1324 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1325 (DL_DT_FINI_ADDRESS): Likewise.
1327 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1329 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1330 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1332 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1333 (_dl_function_address): This.
1335 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1336 function pointer for DT_FINI.
1337 * elf/dl-close.c (_dl_close): Likewise.
1339 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1340 function pointer for DT_INIT.
1342 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1344 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1345 end of wexpbuf buffer.
1347 2000-11-16 Andreas Jaeger <aj@suse.de>
1349 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1350 definition of F_GETLK, F_SETLK, F_SETLKW.
1352 2000-11-16 Andreas Jaeger <aj@suse.de>
1354 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1357 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1359 * dlfcn/default.c (main): Add test for dladdr of main returning
1360 argv[0] in dli_fname field.
1362 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1364 * Makeconfig (run-program-prefix): Move test-static test into the
1367 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1368 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1369 schedule instructions.
1370 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1371 schedule instructions, fix a bug in copying auxiliary data.
1373 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1375 * manual/startup.texi (Program Arguments): Fix type of main's envp
1377 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1379 * iconvdata/gconv-modules: Add CP950 alias.
1381 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1383 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1384 syscall-list.h goal.
1385 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1387 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1389 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1391 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1394 * intl/tst-gettext2.c: Set C locale if setting other locale
1395 failed. Use gettext() not _().
1397 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1398 successfully loaded a new locale.
1400 2000-11-13 Andreas Jaeger <aj@suse.de>
1402 * configure.in: Require gcc 2.95 or newer.
1404 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1406 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1407 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1409 2000-11-11 Jim Meyering <meyering@lucent.com>
1411 * string/strndup.c (strndup): Cast return value to `char *'.
1413 2000-11-15 Jim Meyering <meyering@ascend.com>
1415 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1416 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1417 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1418 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1419 Also #undef __memchr.
1420 Use `weak_alias' only if it's defined.
1422 2000-11-10 H.J. Lu <hjl@gnu.org>
1424 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1426 2000-11-15 Andreas Jaeger <aj@suse.de>
1428 * elf/chroot_canon.c: Include <stdint.h>.
1430 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1431 (print_entry): Likewise.
1432 (add_to_cache): Likewise.
1434 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1436 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1437 (path_hwcap): Likewise.
1438 (search_dir): Likewise.
1440 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1442 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1444 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1445 (_dl_platform_string): New.
1446 (_DL_HWCAP_PLATFORM): New.
1447 (_dl_string_platform): New.
1448 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1450 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1451 (_dl_string_platform): New.
1452 (_DL_HWCAP_PLATFORM): New.
1453 (_dl_platform_string): New.
1455 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1457 (_DL_HWCAP_COUNT): New.
1458 (_dl_string_platform): New.
1459 (_DL_HWCAP_PLATFORM): New.
1460 (_dl_platform_string): New.
1462 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1464 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1466 2000-11-14 Andreas Jaeger <aj@suse.de>
1468 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1470 2000-11-13 Roland McGrath <roland@frob.com>
1472 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1474 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1476 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1477 underrun and make sure the result is null terminated even if there
1478 is no trailing newline.
1480 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1482 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1484 2000-11-10 H.J. Lu <hjl@gnu.org>
1486 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1488 2000-11-10 Andreas Jaeger <aj@suse.de>
1490 * elf/ldconfig.c (create_links): Fix alloca calculation.
1491 Patch by Ben Collins <bcollins@debian.org>.
1493 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1495 * inet/getnameinfo.c (getnameinfo): Use correct destination
1496 parameter for if_indextoname.
1497 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1499 2000-11-09 H.J. Lu <hjl@gnu.org>
1501 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1502 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1503 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1506 * time/Versions (GLIBC_2.1): Move getitimer to...
1507 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1509 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1511 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1512 "make install", to work around a binary incompatibility between
1513 glibc 2.1 and glibc 2.2 gconv modules.
1515 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1517 * intl/locale.alias: Add thai.
1518 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1520 2000-11-07 Akim Demaille <akim@epita.fr>
1522 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1523 argument `data' for consistency with the prototypes.
1525 (obstack_copy, obstack_copy0): Rename the second argument as
1526 `address' for consistency. Qualify it `const'.
1527 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1528 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1529 `const' their input argument (`data' or `address').
1530 Adjust the corresponding macros to include `const' in casts.
1532 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1534 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1537 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1539 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1542 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1544 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1545 ai_protocol by internal table if service was not given.
1547 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1549 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1550 numerical port was specified with protocol without socktype.
1552 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1554 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1556 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1558 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1560 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1562 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1563 sin6_scope_id field.
1565 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1567 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1569 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1571 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1573 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1575 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1576 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1578 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1580 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1581 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1583 2000-11-09 H.J. Lu <hjl@gnu.org>
1585 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1588 See ChangeLog.11 for earlier changes.