1 2000-12-27 Andreas Jaeger <aj@suse.de>
3 * include/sys/wait.h: Add some prototypes.
4 * Rules (dummy.c): Create also prototype to shut up GCC.
6 2000-12-27 Andreas Jaeger <aj@suse.de>
8 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
9 it's not needed at the moment.
10 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
11 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
13 2000-12-26 Andreas Jaeger <aj@suse.de>
15 * libio/getc_u.c: Include stdio.h via system path to get internal
17 * libio/getwc_u.c: Likewise.
19 * stdlib/strfmon.c: Fix prototype of __printf_fp.
21 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
22 __printf_fp prototypes to ...
23 * include/printf.h: ...here.
25 * include/stdio.h: Add some internal prototypes to shut up GCC.
26 * include/stdlib.h: Likewise.
28 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
31 * include/signal.h: Add prototypes for internal sigpause
34 2000-12-26 Ulrich Drepper <drepper@redhat.com>
36 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
37 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
39 * string/Makefile (tests): Add tst-bswap.
40 * string/tst-bswap.c: New file.
42 2000-12-11 Bruno Haible <haible@clisp.cons.org>
44 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
46 2000-12-26 Ulrich Drepper <drepper@redhat.com>
48 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
49 Patch by Ed Connell <Ed.Connell@sas.com>.
51 2000-12-24 Ulrich Drepper <drepper@redhat.com>
53 * locale/iso-639.def: Correct one entry. Add two missing entries.
55 * locale/iso-4217.def: Change entry for Eritrea.
56 Reported by Daniel Yacob <yacob@geez.org>.
58 2000-12-23 Ben Collins <bcollins@debian.org>
60 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
63 * manual/stdio.texi (Dynamic Output): Document the return value of
64 asprintf. Also make the asprintf/snprintf examples a little
65 better (check for some error returns).
67 2000-12-22 Andreas Jaeger <aj@suse.de>
69 * include/stdio.h: Add __ftrylockfile prototype.
71 2000-12-21 H.J. Lu <hjl@gnu.org>
73 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
74 Make sign_exponent element signed.
76 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
79 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
81 2000-12-21 Andreas Jaeger <aj@suse.de>
83 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
84 * inet/ether_hton.c: Likewise
85 * inet/ether_ntoh.c: Likewise.
87 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
88 declaration to match prototype.
90 * include/netinet/ether.h (struct etherent): Declare here so that
91 all implementations use the same struct.
93 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
95 (struct ether): Removed.
96 Use struct etherent instead of ether everywhere.
98 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
100 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
102 * sunrpc/publickey.c: Include auth_des.h for prototypes.
104 2000-12-20 Ulrich Drepper <drepper@redhat.com>
106 * math/test-misc.c: Add more tests for nextafter functions.
108 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
109 normal correctly. Correct test for sign.
110 Based on a patch by HJ Lu.
112 2000-12-19 Ulrich Drepper <drepper@redhat.com>
114 * Makeconfig (preprocess-version): Add -traditional to gcc call.
117 2000-12-19 Andreas Jaeger <aj@suse.de>
119 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
121 * nis/nis_intern.h: Add prototype for __do_niscall3.
123 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
126 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
128 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
130 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
132 2000-12-18 Ulrich Drepper <drepper@redhat.com>
134 * math/test-misc.c: Add more tests for nextafter.
135 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
136 * sysdeps/ieee754/ldbl-96/math_ldbl.h
137 (ieee_long_double_shape_type): Make sign_exponent element signed.
139 * manual/message.texi: Add Estonian to plural overview list.
140 Correct rule for Slavic languages.
141 Patch by Stanislav Brabec <utx@penguin.cz>.
143 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
145 2000-12-18 Andreas Jaeger <aj@suse.de>
147 * test-skeleton.c: Use temp_name_list instead of name_list to
148 avoid collision with name_list from inet/netgroup.h.
150 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
152 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
153 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
154 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
155 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
157 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
158 declaration to match prototype.
159 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
160 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
161 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
163 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
164 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
165 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
166 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
167 (_nss_nis_getservbyport_r): Likewise.
168 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
169 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
170 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
171 (_nss_nis_setnetent): Likewise
172 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
173 (_nss_nis_endnetgrent): Likewise.
174 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
176 (_nss_nisplus_setnetgrent): Likewise.
177 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
178 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
179 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
180 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
182 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
184 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
186 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
188 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
189 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
190 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
192 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
193 (_nss_dns_getnetbyaddr_r): Likewise.
195 2000-12-17 Andreas Jaeger <aj@suse.de>
197 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
200 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
201 unused attribute to shut up gcc warnings.
203 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
204 * sysdeps/generic/k_tanl.c: Likewise.
205 * sysdeps/generic/k_cosl.c: Likewise.
206 * sysdeps/generic/e_j0l.c: Likewise.
207 * sysdeps/generic/e_j1l.c: Likewise.
208 * sysdeps/generic/e_jnl.c: Likewise.
209 * sysdeps/generic/e_lgammal_r.c: Likewise.
211 * elf/vismain.c: Move prototypes for functions in vismod*.c to
213 * elf/vismod.h: New file.
214 * elf/Makefile (distribute): Add vismod.h.
215 * elf/vismod1.c: Include vismod.h.
216 * elf/vismod2.c: Likewise.
217 * elf/vismod3.c: Likewise.
219 * elf/constload3.c: Add prototype declarations to shut up gcc.
220 * elf/failobj.c: Likewise.
221 * elf/nodelmod3.c: Likewise.
222 * elf/filtmod1.c: Likewise.
223 * elf/filtmod2.c: Likewise.
224 * elf/reldepmod1.c: Likewise.
225 * elf/reldepmod2.c: Likewise.
226 * elf/reldepmod3.c: Likewise.
227 * elf/reldepmod4.c: Likewise.
228 * elf/unload2dep.c: Likewise.
229 * elf/unload2mod.c: Likewise.
230 * elf/ltglobmod1.c: Likewise.
231 * elf/pathoptobj.c: Likewise.
232 * elf/neededobj1.c: Likewise.
233 * elf/neededobj2.c: Likewise.
234 * elf/neededobj3.c: Likewise.
235 * elf/neededobj4.c: Likewise.
236 * elf/nextmod1.c: Likewise.
237 * elf/nextmod2.c: Likewise.
239 * locale/programs/ld-collate.c (collate_finish): Don't use labels
240 at end of compound statement.
241 * locale/programs/locale.c (show_info): Likewise.
242 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
244 2000-12-16 Jakub Jelinek <jakub@redhat.com>
246 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
247 with a pointer not returned by obstack_ functions.
249 2000-12-16 Ulrich Drepper <drepper@redhat.com>
251 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
253 (struct stat64): Likewise.
254 Reported by Michael Keezer <mkeezer@redhat.com>.
256 * timezone/asia: Update from tzdata2000h.
257 * timezone/australasia: Likewise.
258 * timezone/backward: Likewise.
259 * timezone/europe: Likewise.
260 * timezone/northamerica: Likewise.
261 * timezone/southamerica: Likewise.
262 * timezone/zone.tab: Likewise.
264 2000-12-14 Jakub Jelinek <jakub@redhat.com>
266 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
267 and dir.stream is NULL, only free dir.content.
268 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
269 * io/ftwtest-sh: Test with --early-exit.
271 2000-12-13 Jakub Jelinek <jakub@redhat.com>
273 * misc/efgcvt.c (FCVT_MAXDIG): Define.
274 (FCVT_BUFPTR): New variable.
275 (fcvt): If fcvt_r returns -1 on the static short buffer,
276 try to malloc a sufficiently large one and retry.
277 (free_mem): New function.
278 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
279 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
281 2000-12-15 Ulrich Drepper <drepper@redhat.com>
283 * misc/dirname.c (dirname): Fix search for second to last slash.
285 2000-12-13 Andreas Jaeger <aj@suse.de>
287 * misc/tst-dirname.c (main): Fix typo in test to really use
288 the examples from Unix98.
289 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
291 2000-12-09 H.J. Lu <hjl@gnu.org>
293 * sysdeps/ia64/fpu/s_fabs.S: New file.
294 * sysdeps/ia64/fpu/s_fabsf.S: New file.
295 * sysdeps/ia64/fpu/s_fabsl.S: New file.
297 2000-12-15 Andreas Jaeger <aj@suse.de>
299 * stdio-common/scanf9.c (main): Reformat and change to avoid
302 * stdio-common/tstdiomisc.c: Make local functions static.
303 * stdio-common/tst-printf.c: Likewise.
305 * elf/constload2.c: Add prototype declarations to shut up gcc.
306 * elf/dep1.c: Likewise.
307 * elf/dep2.c: Likewise.
308 * elf/dep3.c: Likewise.
309 * elf/dep4.c: Likewise.
310 * elf/ltglobmod2.c: Likewise.
312 * libio/fmemopen.c: Make local functions static.
314 * elf/Makefile (distribute): Added testobj.h.
316 * elf/testobj.h: New file.
318 * elf/testobj1.c: Include testobj.h and move prototype
319 declarations to testobj.h.
320 * elf/testobj2.c: Likewise.
321 * elf/testobj3.c: Likewise.
322 * elf/testobj4.c: Likewise.
323 * elf/testobj5.c: Likewise.
324 * elf/testobj6.c: Likewise.
325 * elf/testobj1_1.c: Likewise.
326 * elf/preloadtest.c: Likewise.
328 2000-12-15 Ben Collins <bcollins@debian.org>
330 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
331 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
333 2000-12-14 H.J. Lu <hjl@gnu.org>
335 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
336 field in a float is 8 bits, not 11 bits.
338 2000-12-13 Jakub Jelinek <jakub@redhat.com>
340 * math/test-misc.c (main): Adjust m for IEEE quad long double.
342 2000-12-13 Andreas Jaeger <aj@suse.de>
344 * manual/message.texi (Using gettextized software): Fix typo.
346 * manual/charset.texi (Converting a Character): Fix mbstouwcs
348 Patch by Martin Buchholz <martin@xemacs.org>.
350 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
351 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
353 2000-12-11 Andreas Jaeger <aj@suse.de>
355 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
356 kernel_sigset_t and use it.
357 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
359 2000-12-10 Richard Henderson <rth@redhat.com>
361 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
362 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
363 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
365 2000-12-10 Jakub Jelinek <jakub@redhat.com>
367 * sysdeps/alpha/htonl.S: Fix a typo.
369 2000-12-10 Jakub Jelinek <jakub@redhat.com>
371 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
373 2000-12-10 Andreas Jaeger <aj@suse.de>
375 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
376 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
377 Drepper <drepper@redhat.com>.
379 2000-12-09 Andreas Jaeger <aj@suse.de>
381 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
383 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
385 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
387 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
390 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
393 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
394 * nscd/connections.c (handle_request): Likewise.
395 * nscd/pwdcache.c (addpwbyname): Likewise.
396 * nscd/grpcache.c (addgrbyname): Likewise.
398 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
400 2000-12-09 Ulrich Drepper <drepper@redhat.com>
402 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
404 * Makeconfig (default_cflags): Make -O2 the default for stable
407 2000-12-08 H.J. Lu <hjl@gnu.org>
409 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
410 * sysdeps/ia64/fpu/s_isinf.S: This.
411 Add a .pred.rel.mutex note to avoid false report.
413 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
414 * sysdeps/ia64/fpu/s_isnan.S: This.
416 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
417 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
418 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
419 * sysdeps/ia64/fpu/s_isinff.S: New file.
420 * sysdeps/ia64/fpu/s_isinfl.S: New file.
421 * sysdeps/ia64/fpu/s_isnanf.S: New file.
422 * sysdeps/ia64/fpu/s_isnanl.S: New file.
423 * sysdeps/ia64/fpu/s_finite.S: New file.
424 * sysdeps/ia64/fpu/s_finitef.S: New file.
425 * sysdeps/ia64/fpu/s_finitel.S: New file.
426 * sysdeps/ia64/fpu/s_signbit.S: New file.
427 * sysdeps/ia64/fpu/s_signbitf.S: New file.
428 * sysdeps/ia64/fpu/s_signbitl.S: New file.
429 * sysdeps/ia64/fpu/s_copysign.S: New file.
430 * sysdeps/ia64/fpu/s_copysignf.S: New file.
431 * sysdeps/ia64/fpu/s_copysignl.S: New file.
433 2000-12-08 Ulrich Drepper <drepper@redhat.com>
435 * math/libm-test.inc (main): Fix typos in messages.
437 * string/stratcliff.c: Add test for rawmemchr.
439 2000-12-08 Jakub Jelinek <jakub@redhat.com>
441 * elf/dl-open.c (_dl_open): If objname points right after errstring,
442 allocate it together with errstring using alloca.
443 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
444 to "", because it might point to local stack.
446 2000-12-05 H.J. Lu <hjl@gnu.org>
448 * nss/Makefile (routines): Add getnssent and getnssent_r.
449 * nss/nsswitch.h (__nss_setent): New internal NSS function.
450 (__nss_endent): Likewise.
451 (__nss_getent_r): Likewise.
452 (__nss_getent): Likewise.
453 * nss/getnssent_r.c: New file.
454 * nss/getnssent.c: New file.
455 * nss/getXXent.c (H_ERRNO_VAR): Updated.
456 (GETFUNC_NAME): Updated to call __nss_getent ().
457 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
458 (STAYOPEN_TMPVAR): Updated.
459 (STAYOPEN_VAR): Updated.
460 (SETFUNC_NAME): Updated to call __nss_setent ().
461 (ENDFUNC_NAME): Updated to call __nss_endent ().
462 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
464 2000-12-08 Andreas Jaeger <aj@suse.de>
466 * nscd/dbg_log.h (dbg_log): Correct attribute.
468 2000-12-08 Jakub Jelinek <jakub@redhat.com>
470 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
471 cp + len. Compute where from dirname.
472 Reported by <jreiser@BitWagon.com>.
474 2000-12-08 Richard Henderson <rth@twiddle.net>
476 * sysdeps/alpha/_mcount.S: Fix typo.
477 * sysdeps/alpha/strncpy.S: Likewise.
479 * sysdeps/alpha/alphaev6/Implies: New file.
480 * sysdeps/alpha/alphaev67/Implies: New file.
481 * sysdeps/alpha/alphaev67/ffs.S: New file.
482 * sysdeps/alpha/alphaev67/ffsll.S: New file.
483 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
484 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
485 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
486 * sysdeps/alpha/rawmemchr.S: New file.
487 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
488 * sysdeps/alpha/strcpy.S: Likewise.
491 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
493 From rick.gorton@alpha-processor.com:
494 * sysdeps/alpha/alphaev6/memchr.S: New file.
495 * sysdeps/alpha/alphaev6/memcpy.S: New file.
496 * sysdeps/alpha/alphaev6/memset.S: New file.
497 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
498 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
499 * sysdeps/alpha/alphaev67/strcat.S: New file.
500 * sysdeps/alpha/alphaev67/strchr.S: New file.
501 * sysdeps/alpha/alphaev67/strlen.S: New file.
502 * sysdeps/alpha/alphaev67/strncat.S: New file.
503 * sysdeps/alpha/htonl.S: Use a shorter sequence.
505 2000-12-08 Jakub Jelinek <jakub@redhat.com>
507 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
508 Reported by <pspencer@fields.utoronto.ca>.
510 2000-12-07 Jes Sorensen <jes@linuxcare.com>
512 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
513 Pointed out by Hans Boehm.
515 2000-12-07 H.J. Lu <hjl@gnu.org>
517 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
519 2000-12-07 Andreas Jaeger <aj@suse.de>
521 * misc/error.c: Add format attributes for __error and __error_at_line.
523 * nscd/dbg_log.h: Add format attribute.
525 2000-12-08 Ulrich Drepper <drepper@redhat.com>
527 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
528 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
530 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
532 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
534 2000-12-06 Ulrich Drepper <drepper@redhat.com>
536 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
537 (sysdep_routines): Add uitrunc.
538 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
539 Patches by Michael Keezer <mkeezer@redhat.com>.
541 2000-12-06 Roland McGrath <roland@frob.com>
543 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
544 argument data, since it will be used to copy out too (for INOUT).
545 Reported by Marcus Brinkmann <marcus@gnu.org>.
547 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
548 (__ioctl): Use uintptr_t instead of unsigned long int.
550 2000-12-06 Jim Wilson <wilson@redhat.com>
552 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
554 2000-12-06 Ulrich Drepper <drepper@redhat.com>
556 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
557 x.5 rounding correctly.
559 2000-12-06 Mark Kettenis <kettenis@gnu.org>
561 * stdio-common/perror.c (perror): Conditionalize code dealing with
562 wide-oriented streams on USE_IN_LIBIO.
564 2000-12-06 Mark Kettenis <kettenis@gnu.org>
566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
567 as internal_function.
569 2000-12-05 Ulrich Drepper <drepper@redhat.com>
571 * sysdeps/alpha/elf/start.S (__data_start): Define.
573 2000-12-05 H.J. Lu <hjl@gnu.org>
575 * nss/getXXent_r.c (setup): Change the return type to int.
577 2000-12-05 Ulrich Drepper <drepper@redhat.com>
579 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
580 (sysdep_routines): Add restf and savef.
581 * sysdeps/unix/sysv/aix/restf.c: New file.
582 * sysdeps/unix/sysv/aix/savef.c: New file.
583 Patches by Michael Keezer <mkeezer@redhat.com>.
585 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
586 if O_DIRECTORY is not defined.
587 Patch by Michael Keezer <mkeezer@redhat.com>.
589 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
590 Patch by Michael Keezer <mkeezer@redhat.com>.
592 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
593 than 4 bytes in escape sequence.
594 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
596 2000-12-05 Andreas Jaeger <aj@suse.de>
598 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
601 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
603 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
605 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
606 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
608 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
610 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
611 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
613 * sysdeps/generic/dl-cache.c: Remove declaration of
614 _dl_sysdep_read_whole_file.
616 * elf/dl-load.c (_dl_map_object): Remove declaration of
617 _dl_load_cache_lookup.
619 * sysdeps/generic/ldsodefs.h: Add declarations of
620 _dl_load_cache_lookup, _dl_unload_cache,
621 _dl_sysdep_read_whole_file, _dl_sysdep_start and
622 _dl_sysdep_start_cleanup.
624 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
627 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
628 * sysdeps/generic/dl-environ.c: Likewise.
630 * stdio-common/printf_fp.c: Include <gmp.h> instead of
632 * math/atest-exp.c: Likewise.
633 * math/atest-exp2.c: Likewise.
634 * math/atest-sincos.c: Likewise.
635 * stdio-common/_itoa.c: Likewise.
636 * stdio-common/_itowa.c: Likewise.
638 * include/gmp.h: New file with internal prototypes.
640 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
642 * include/setjmp.h: ...here.
644 * locale/Makefile (routines): Remove codeset_name since it's not
647 * locale/codeset_name.c: Removed.
649 2000-12-05 Ulrich Drepper <drepper@redhat.com>
651 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
653 2000-12-05 Andreas Jaeger <aj@suse.de>
655 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
657 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
659 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
662 2000-12-05 Andreas Jaeger <aj@suse.de>
664 * nss/test-netdb.c: Mark local functions as static to avoid
666 (main): Use return to silence warning.
668 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
670 * stdio-common/test-popen.c: Mark local functions as static to
672 (main): Use return to silence warning.
674 * stdlib/testsort.c (compare): Mark as static to avoid warning.
676 * assert/test-assert.c: Mark local functions as static to avoid
678 * assert/test-assert-perr.c: Likewise.
680 * math/libm-test.inc (main): Use return to silence warnings.
682 2000-12-04 Ulrich Drepper <drepper@redhat.com>
684 * math/fenv.h: Fix typo in comment.
686 * math/test-misc.c (main): Add a few more over and underflow tests
689 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
692 * math/w_scalb.c: Don't use matherr except in SVID mode.
693 * math/w_scalbf.c: Likewise.
694 * math/w_scalbl.c: Likewise.
695 * math/test-misc.c: Add test for NaN and scalbl.
696 Reported by Fred J. Tydeman <tydeman@tybor.com>.
698 2000-12-04 Ulrich Drepper <drepper@redhat.com>
700 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
701 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
702 * include/libc-symbols.h (strong_alias): Define special version
703 for HAVE_ASM_GLOBAL_DOT_NAME.
704 (weak_alias): Likewise.
705 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
706 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
707 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
708 getutxline, pututxline, and utmpxname.
709 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
710 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
711 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
712 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
713 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
714 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
715 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
716 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
717 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
718 Patches by Michael Keezer <mkeezer@redhat.com>.
720 2000-12-04 H.J. Lu <hjl@gnu.org>
722 * configure.in: Change --with-oldest-abi=ABI to
723 --enable-oldest-abi=ABI.
725 2000-12-02 Bruno Haible <haible@clisp.cons.org>
727 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
728 fwprintf instead of fprintf.
730 2000-12-04 Ulrich Drepper <drepper@redhat.com>
732 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
733 DECIMAL_DIG definitions.
734 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
735 * sysdeps/generic/bits/mathdef.h: Likewise
736 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
737 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
738 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
739 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
740 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
741 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
743 2000-12-03 Ulrich Drepper <drepper@redhat.com>
745 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
747 * math/atest-exp.c: Mark local functions as static to avoid warnings.
748 * math/atest-exp2.c: Likewise.
749 * math/atest-sincos.c: Likewise.
751 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
752 Reported by Fred J. Tydeman <tydeman@tybor.com>.
754 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
755 the handling of denormalized numbers.
757 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
759 * sysdeps/i386/fpu/fpclassifyl.c: New file.
761 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
762 pseudo denormal representation of LDBL_MIN.
764 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
765 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
767 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
768 * iconvdata/jis0208.c: Likewise.
769 * iconvdata/jis0212.c: Likewise.
770 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
772 * math/test-misc.c (main): More tests for frexp and some for
773 fpclassify and isnormal.
775 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
777 Reported by Fred J. Tydeman <tydeman@tybor.com>.
779 * math/test-misc.c (main): Add tests for frexp.
780 Reported by Fred J. Tydeman <tydeman@tybor.com>.
781 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
783 2000-12-02 H.J. Lu <hjl@gnu.org>
785 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
788 2000-12-02 Ulrich Drepper <drepper@redhat.com>
790 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
791 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
794 * sysdeps/generic/glob.c: Adjust types of several variables to
797 2000-12-01 Ulrich Drepper <drepper@redhat.com>
799 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
801 2000-11-30 Roland McGrath <roland@frob.com>
803 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
804 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
805 allow multiple instances using the same function name in one file.
807 2000-12-01 Ulrich Drepper <drepper@redhat.com>
809 * configure.in: Correct test for pserver CVS access.
811 2000-11-28 H.J. Lu <hjl@gnu.org>
813 * libio/libio.h: Remove extra "#if ... #endif".
815 2000-11-29 H.J. Lu <hjl@gnu.org>
817 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
819 2000-12-01 H.J. Lu <hjl@gnu.org>
821 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
822 * nss/getXXent_r.c: Likewise.
823 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
825 2000-11-30 H.J. Lu <hjl@gnu.org>
827 * scripts/abi-versions.awk (oldest_abi): New variable.
828 Handle the oldest ABI supported.
830 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
831 for scripts/abi-versions.awk.
833 * configure.in: Add --with-oldest-abi=ABI.
834 * configure: Rebuild.
836 * config.make.in (oldest-abi): New.
838 * config.h.in (GLIBC_OLDEST_ABI): New.
840 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
842 2000-11-30 Jakub Jelinek <jakub@redhat.com>
844 * locale/setlocale.c (setname): Free for all categories, not just
846 (setlocale): Store a copy of string passed by user, not the string
849 2000-11-30 Roland McGrath <roland@frob.com>
851 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
852 rather than _hurd_fd_subinit, so it happens after it's safe to use
853 libc facilities like malloc.
855 2000-11-28 Andreas Jaeger <aj@suse.de>
857 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
858 declaration, adjust declaration of __syscall_getdents to match
861 2000-11-29 H.J. Lu <hjl@gnu.org>
863 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
865 2000-11-29 Andreas Jaeger <aj@suse.de>
867 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
869 2000-11-28 Ulrich Drepper <drepper@redhat.com>
871 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
872 * dlfcn/defaultmod2.c: Likewise.
873 * dlfcn/dlopen.c: Likewise.
874 * dlfcn/dlopenold.c: Likewise.
875 * dlfcn/failtestmod.c: Likewise.
876 * dlfcn/glreflib1.c: Likewise.
877 * dlfcn/glreflib2.c: Likewise.
878 * dlfcn/eval.c: Likewise. Add attributes.
880 * ctype/ctype-extn.c: Define isblank and not __isblank.
882 * time/strftime.c: Add const where necessary to avoid warnings.
883 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
885 2000-11-22 Paul Eggert <eggert@twinsun.com>
887 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
888 size of (size_t) -1; it's not portable.
890 2000-11-28 Ulrich Drepper <drepper@redhat.com>
892 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
894 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
896 2000-11-14 Jes Sorensen <jes@linuxcare.com>
898 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
900 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
901 _mcount is required by profiled binaries.
903 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
904 * sysdeps/ia64/machine-gmon.h: ...here.
906 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
908 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
909 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
911 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
913 * iconvdata/ibm922.c: New file.
914 * iconvdata/ibm922.h: New file.
915 * iconvdata/ibm1124.c: New file.
916 * iconvdata/ibm1124.h: New file.
917 * iconvdata/ibm1129.c: New file.
918 * iconvdata/ibm1129.h: New file.
919 * iconvdata/testdata/IBM922: New file.
920 * iconvdata/testdata/IBM922..UTF8: New file.
921 * iconvdata/testdata/IBM1124: New file.
922 * iconvdata/testdata/IBM1124..UTF8: New file.
923 * iconvdata/testdata/IBM1129: New file.
924 * iconvdata/testdata/IBM1129..UTF8: New file.
926 2000-11-28 Ulrich Drepper <drepper@redhat.com>
928 * catgets/gencat.c (normalize_line): Take extra parameter with escape
929 character. Change callers.
930 (open_conversion): Determine mapping of 0x5c as wchar_t value.
931 * catgets/Makefile: Add rules to build and run test-gencat.
932 * catgets/sample.SJIS: New file.
933 * catgets/test-gencat.c: New file.
934 * catgets/test-gencat.sh: New file.
935 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
937 2000-11-28 Andreas Jaeger <aj@suse.de>
939 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
942 2000-11-28 Ulrich Drepper <drepper@redhat.com>
944 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
946 2000-11-28 Andreas Jaeger <aj@suse.de>
948 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
950 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
953 2000-11-27 Ulrich Drepper <drepper@redhat.com>
955 * misc/getusershell.c: Make strings in okshells array const.
956 * misc/regexp.c: Add const to cast to avoid warnings.
957 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
958 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
960 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
962 * misc/error.c: Add prototypes for __error and __error_at_line.
963 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
964 statement to avoid warning.
965 * test-skeleton.c: Mark timeout_handler with noreturn.
966 * iconv/skeleton.c (get16u): Add const to cast.
968 * iconvdata/gb18030.c: Likewise.
969 * iconvdata/iso-2022-cn-ext.c: Likewise.
970 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
971 * iconvdata/big5.c: Likewise.
972 * iconvdata/big5hkscs.c: Likewise.
973 * iconvdata/iso_6937.c: Likewise.
974 * iconvdata/iso_6937-2.c: Likewise.
975 * iconvdata/t.61.c: Likewise.
976 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
977 * iconvdata/unicode.c: Likewise.
978 * iconvdata/utf-16.c: Likewise.
979 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
980 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
981 with little code shuffling.
983 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
984 the problems introduced when the user selects -O3.
986 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
987 * misc/sys/cdefs.h: Define __flexarr.
988 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
990 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
991 * iconv/skeleton.c: Likewise.
992 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
993 * iconv/loop.c (get16): Add const to cast.
996 2000-11-27 Andreas Jaeger <aj@suse.de>
998 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1000 * login/programs/utmpdump.c (print_entry): Likewise.
1002 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1004 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1005 in a single asm as they may be used to access other stored
1007 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1009 2000-11-27 Andreas Jaeger <aj@suse.de>
1011 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1012 * rt/tst-aio64.c: Likewise.
1014 2000-11-27 Ulrich Drepper <drepper@redhat.com>
1016 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1018 (libc.cat): Likewise.
1019 * catgets/gencat.c: Implement handling of message catalogs encoded
1020 with stateful character sets.
1021 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1023 2000-11-26 Ulrich Drepper <drepper@redhat.com>
1025 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1027 * inet/getnameinfo.c: Adjust casts to avoid warnings.
1028 * inet/rcmd.c: Likewise.
1029 * inet/ruserpass.c: Likewise.
1030 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1031 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1032 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1033 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1034 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1035 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1036 * include/aliases.h: Add prototypes for internal __getalias* functions.
1037 * include/netdb.h: Add prototypes for __old_gethostent_r,
1038 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1039 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1040 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1041 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1042 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1043 __old_getrpcbynumber_r, __old_getrpcent_r.
1045 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1046 __getrpcent_r prototypes.
1048 2000-11-25 Ulrich Drepper <drepper@redhat.com>
1050 * string/strcoll.c: Add casts to avoid warnings.
1051 * string/strnlen.c: Likewise.
1052 * string/strxfrm.c: Likewise.
1053 * sysdeps/generic/_strerror.c: Likewise.
1054 * sysdeps/generic/memrchr.c: Likewise.
1055 * sysdeps/generic/strcasestr.c: Likewise.
1056 * sysdeps/generic/strstr.c: Likewise.
1058 * locale/weight.h (findidx): Add const to cast to avoid warning.
1060 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1061 * elf/loadtest.c: Likewise.
1062 * elf/multiload.c: Likewise.
1063 * elf/next.c: Likewise.
1064 * elf/nodelete.c: Likewise.
1065 * elf/noload.c: Likewise.
1066 * elf/order.c: Likewise.
1067 * elf/origtest.c: Likewise.
1068 * elf/preloadtest.c: Likewise.
1069 * elf/restest1.c: Likewise.
1071 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1072 parameter of asm must be in %ecx.
1074 * string/tester.c: Mark test functions as static to avoid warnings.
1076 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1077 preserve value over different gconv-modules files.
1079 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1081 * locale/findlocale.c: Add casts to avoid warnings.
1082 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1083 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1085 * misc/tsearch.c (const_node): New type.
1086 (trecurse): Correct casts to avoid warnings.
1087 (__twalk): Likewise.
1088 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1091 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1093 * test-skeleton.c: Mark local functions as static to avoid warnings.
1095 2000-11-23 H.J. Lu <hjl@gnu.org>
1097 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1098 support the background job.
1101 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1103 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1104 has same names but lower cost.
1106 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1108 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1109 which never occur during bootstrap.
1110 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1112 2000-11-23 Andreas Jaeger <aj@suse.de>
1114 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1116 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1118 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1120 2000-11-18 Martin Buchholz <martin@xemacs.org>
1122 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1125 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1127 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1129 * csu/abi-note.S: Correct comment for operating system number.
1131 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1133 * Versions.def: Add GLIBC_2.2.1 for glibc.
1135 2000-11-22 Andreas Schwab <schwab@suse.de>
1137 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1138 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1140 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1142 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1143 absolute time for pthread_cond_timedwait call.
1144 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1146 * rt/Makefile (tests): Add tst-aio6.
1147 * rt/tst-aio6.c: New file.
1149 2000-11-23 Andreas Jaeger <aj@suse.de>
1151 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1153 2000-11-22 Andreas Jaeger <aj@suse.de>
1155 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1157 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1159 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1161 2000-11-21 Andreas Schwab <schwab@suse.de>
1163 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1164 * sysdeps/arm/setjmp.S: Likewise.
1165 * sysdeps/arm/fpu/setjmp.S: Likewise.
1166 * sysdeps/i386/setjmp.S: Likewise.
1167 * sysdeps/i386/elf/setjmp.S: Likewise.
1168 * sysdeps/s390/setjmp.S: Likewise.
1169 * sysdeps/s390/elf/setjmp.S: Likewise.
1170 * sysdeps/sh/sh3/setjmp.S: Likewise.
1171 * sysdeps/sh/sh4/setjmp.S: Likewise.
1172 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1173 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1175 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1177 2000-11-21 Andreas Jaeger <aj@suse.de>
1179 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1180 NORETURN, fix parameter list.
1182 * string/bug-strncat1.c (main): Fix typo.
1183 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1185 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1187 * configure.in: Add --enable-all-warnings.
1188 * config.make.in (all-warnings): New variable.
1189 * Makeconfig (+gccwarn): Define with many more warnings if
1190 all-warnings is yes.
1192 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1194 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1195 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1196 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1197 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1198 * math/test-fpucw.c (main): Use %lx in format string, cast
1199 control words to long.
1200 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1201 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1202 large that it is unsigned warning.
1204 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1205 it to long on sparc64.
1207 2000-11-20 Andreas Jaeger <aj@suse.de>
1209 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1210 (receiv_print_stats): Likewise.
1212 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1214 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1216 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1218 * csu/gmon-start.c: Always have prototype for __gmon_start.
1219 * csu/version.c: Add prototypes for __libc_print_version and
1221 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1222 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1224 * iconv/gconv_builtin.h: Add ASCII module definitions.
1225 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1226 (add_module): Add cast to avoid warning. Rework construction of
1227 strings for new module.
1228 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1229 (derivation_compare): Likewise.
1230 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1231 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1232 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1233 (struct gconv_alias): Remove const from fromname and toname.
1234 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1236 (internal_ucs4_loop): Use correct const-ness.
1237 (ucs4_internal_loop): Likewise.
1238 (internal_ucs4le_loop): Likewise.
1239 (ucs4le_internal_loop_single): Likewise.
1240 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1241 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1242 assignments appropriately.
1243 (struct known_trans): Remove const from fname.
1244 (trans_compare): Make s1 and s2 const.
1245 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1247 * iconv/skeleton.c: Remove cast in calls of loop functions.
1248 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1249 * iconvdata/iso646.c: Remove US_ASCII support.
1250 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1251 * include/unistd.h: Add __libc_check_standard_fds prototype.
1252 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1253 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1255 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1256 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1257 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1259 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1260 __libc_init_first and _dl_start.
1261 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1262 (DCIGETTEXT): Make domaindata variable const.
1263 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1266 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1268 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1270 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1271 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1274 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1275 value defined in /usr/include/asm-mips/fcntl.h.
1277 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1279 * stdio-common/Makefile (tests): Add test-vfprintf.
1280 (test-vfprintf-ENV): New variable.
1281 * stdio-common/test-vfprintf.c: New file.
1283 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1285 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1286 (tst-mbrtowc-ENV): New variable.
1287 (tst-wcrtomb-ENV): New variable.
1288 * wcsmbs/tst-mbrtowc.c: New file.
1289 * wcsmbs/tst-wcrtomb.c: New file.
1291 2000-11-16 Andreas Jaeger <aj@suse.de>
1293 * manual/install.texi (Tools for Compilation): Update
1294 documentation for GCC 2.95.2.
1296 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1299 if IPv4 and IPv6 requests timed out.
1301 2000-11-18 Akim Demaille <akim@epita.fr>
1303 * malloc/obstack.h: Formatting changes.
1304 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1305 prevents type checking.
1306 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1307 cast the value to (void *): assigning a `foo *' to a `void *'
1309 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1311 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1313 * scripts/config.guess: Update from upstream maintainer.
1314 * scripts/config.sub: Likewise.
1316 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1318 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1319 * libio/freopen64.c (freopen64): Likewise.
1320 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1322 * libio/Makefile: Add rules to build and run test-freopen.
1323 * libio/test-freopen.c: New file.
1324 * libio/test-freopen.sh: New file.
1326 2000-11-15 H.J. Lu <hjl@gnu.org>
1328 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1329 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1330 (DL_DT_FINI_ADDRESS): Likewise.
1332 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1333 return type to ElfW(Addr).
1334 (_dl_function_address): New prototype.
1335 (DL_FUNCTION_ADDRESS): Defined.
1336 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1337 (DL_DT_FINI_ADDRESS): Likewise.
1339 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1341 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1342 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1344 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1345 (_dl_function_address): This.
1347 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1348 function pointer for DT_FINI.
1349 * elf/dl-close.c (_dl_close): Likewise.
1351 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1352 function pointer for DT_INIT.
1354 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1356 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1357 end of wexpbuf buffer.
1359 2000-11-16 Andreas Jaeger <aj@suse.de>
1361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1362 definition of F_GETLK, F_SETLK, F_SETLKW.
1364 2000-11-16 Andreas Jaeger <aj@suse.de>
1366 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1369 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1371 * dlfcn/default.c (main): Add test for dladdr of main returning
1372 argv[0] in dli_fname field.
1374 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1376 * Makeconfig (run-program-prefix): Move test-static test into the
1379 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1380 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1381 schedule instructions.
1382 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1383 schedule instructions, fix a bug in copying auxiliary data.
1385 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1387 * manual/startup.texi (Program Arguments): Fix type of main's envp
1389 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1391 * iconvdata/gconv-modules: Add CP950 alias.
1393 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1395 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1396 syscall-list.h goal.
1397 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1399 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1401 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1403 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1406 * intl/tst-gettext2.c: Set C locale if setting other locale
1407 failed. Use gettext() not _().
1409 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1410 successfully loaded a new locale.
1412 2000-11-13 Andreas Jaeger <aj@suse.de>
1414 * configure.in: Require gcc 2.95 or newer.
1416 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1418 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1419 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1421 2000-11-11 Jim Meyering <meyering@lucent.com>
1423 * string/strndup.c (strndup): Cast return value to `char *'.
1425 2000-11-15 Jim Meyering <meyering@ascend.com>
1427 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1428 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1429 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1430 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1431 Also #undef __memchr.
1432 Use `weak_alias' only if it's defined.
1434 2000-11-10 H.J. Lu <hjl@gnu.org>
1436 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1438 2000-11-15 Andreas Jaeger <aj@suse.de>
1440 * elf/chroot_canon.c: Include <stdint.h>.
1442 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1443 (print_entry): Likewise.
1444 (add_to_cache): Likewise.
1446 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1448 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1449 (path_hwcap): Likewise.
1450 (search_dir): Likewise.
1452 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1454 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1456 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1457 (_dl_platform_string): New.
1458 (_DL_HWCAP_PLATFORM): New.
1459 (_dl_string_platform): New.
1460 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1462 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1463 (_dl_string_platform): New.
1464 (_DL_HWCAP_PLATFORM): New.
1465 (_dl_platform_string): New.
1467 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1469 (_DL_HWCAP_COUNT): New.
1470 (_dl_string_platform): New.
1471 (_DL_HWCAP_PLATFORM): New.
1472 (_dl_platform_string): New.
1474 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1476 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1478 2000-11-14 Andreas Jaeger <aj@suse.de>
1480 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1482 2000-11-13 Roland McGrath <roland@frob.com>
1484 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1486 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1488 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1489 underrun and make sure the result is null terminated even if there
1490 is no trailing newline.
1492 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1494 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1496 2000-11-10 H.J. Lu <hjl@gnu.org>
1498 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1500 2000-11-10 Andreas Jaeger <aj@suse.de>
1502 * elf/ldconfig.c (create_links): Fix alloca calculation.
1503 Patch by Ben Collins <bcollins@debian.org>.
1505 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1507 * inet/getnameinfo.c (getnameinfo): Use correct destination
1508 parameter for if_indextoname.
1509 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1511 2000-11-09 H.J. Lu <hjl@gnu.org>
1513 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1514 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1515 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1518 * time/Versions (GLIBC_2.1): Move getitimer to...
1519 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1521 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1523 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1524 "make install", to work around a binary incompatibility between
1525 glibc 2.1 and glibc 2.2 gconv modules.
1527 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1529 * intl/locale.alias: Add thai.
1530 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1532 2000-11-07 Akim Demaille <akim@epita.fr>
1534 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1535 argument `data' for consistency with the prototypes.
1537 (obstack_copy, obstack_copy0): Rename the second argument as
1538 `address' for consistency. Qualify it `const'.
1539 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1540 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1541 `const' their input argument (`data' or `address').
1542 Adjust the corresponding macros to include `const' in casts.
1544 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1546 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1549 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1551 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1554 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1556 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1557 ai_protocol by internal table if service was not given.
1559 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1561 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1562 numerical port was specified with protocol without socktype.
1564 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1566 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1568 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1570 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1572 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1574 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1575 sin6_scope_id field.
1577 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1579 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1581 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1583 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1585 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1587 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1588 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1590 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1592 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1593 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1595 2000-11-09 H.J. Lu <hjl@gnu.org>
1597 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1600 See ChangeLog.11 for earlier changes.