1 2000-12-22 Andreas Jaeger <aj@suse.de>
3 * include/stdio.h: Add __ftrylockfile prototype.
5 2000-12-21 H.J. Lu <hjl@gnu.org>
7 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8 Make sign_exponent element signed.
10 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
13 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
15 2000-12-21 Andreas Jaeger <aj@suse.de>
17 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
18 * inet/ether_hton.c: Likewise
19 * inet/ether_ntoh.c: Likewise.
21 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
22 declaration to match prototype.
24 * include/netinet/ether.h (struct etherent): Declare here so that
25 all implementations use the same struct.
27 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
29 (struct ether): Removed.
30 Use struct etherent instead of ether everywhere.
32 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
34 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
36 * sunrpc/publickey.c: Include auth_des.h for prototypes.
38 2000-12-20 Ulrich Drepper <drepper@redhat.com>
40 * math/test-misc.c: Add more tests for nextafter functions.
42 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
43 normal correctly. Correct test for sign.
44 Based on a patch by HJ Lu.
46 2000-12-19 Ulrich Drepper <drepper@redhat.com>
48 * Makeconfig (preprocess-version): Add -traditional to gcc call.
51 2000-12-19 Andreas Jaeger <aj@suse.de>
53 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
55 * nis/nis_intern.h: Add prototype for __do_niscall3.
57 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
60 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
62 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
64 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
66 2000-12-18 Ulrich Drepper <drepper@redhat.com>
68 * math/test-misc.c: Add more tests for nextafter.
69 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
70 * sysdeps/ieee754/ldbl-96/math_ldbl.h
71 (ieee_long_double_shape_type): Make sign_exponent element signed.
73 * manual/message.texi: Add Estonian to plural overview list.
74 Correct rule for Slavic languages.
75 Patch by Stanislav Brabec <utx@penguin.cz>.
77 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
79 2000-12-18 Andreas Jaeger <aj@suse.de>
81 * test-skeleton.c: Use temp_name_list instead of name_list to
82 avoid collision with name_list from inet/netgroup.h.
84 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
86 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
87 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
88 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
89 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
91 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
92 declaration to match prototype.
93 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
94 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
95 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
97 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
98 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
99 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
100 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
101 (_nss_nis_getservbyport_r): Likewise.
102 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
103 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
104 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
105 (_nss_nis_setnetent): Likewise
106 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
107 (_nss_nis_endnetgrent): Likewise.
108 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
110 (_nss_nisplus_setnetgrent): Likewise.
111 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
112 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
113 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
114 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
116 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
118 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
120 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
122 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
123 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
124 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
126 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
127 (_nss_dns_getnetbyaddr_r): Likewise.
129 2000-12-17 Andreas Jaeger <aj@suse.de>
131 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
134 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
135 unused attribute to shut up gcc warnings.
137 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
138 * sysdeps/generic/k_tanl.c: Likewise.
139 * sysdeps/generic/k_cosl.c: Likewise.
140 * sysdeps/generic/e_j0l.c: Likewise.
141 * sysdeps/generic/e_j1l.c: Likewise.
142 * sysdeps/generic/e_jnl.c: Likewise.
143 * sysdeps/generic/e_lgammal_r.c: Likewise.
145 * elf/vismain.c: Move prototypes for functions in vismod*.c to
147 * elf/vismod.h: New file.
148 * elf/Makefile (distribute): Add vismod.h.
149 * elf/vismod1.c: Include vismod.h.
150 * elf/vismod2.c: Likewise.
151 * elf/vismod3.c: Likewise.
153 * elf/constload3.c: Add prototype declarations to shut up gcc.
154 * elf/failobj.c: Likewise.
155 * elf/nodelmod3.c: Likewise.
156 * elf/filtmod1.c: Likewise.
157 * elf/filtmod2.c: Likewise.
158 * elf/reldepmod1.c: Likewise.
159 * elf/reldepmod2.c: Likewise.
160 * elf/reldepmod3.c: Likewise.
161 * elf/reldepmod4.c: Likewise.
162 * elf/unload2dep.c: Likewise.
163 * elf/unload2mod.c: Likewise.
164 * elf/ltglobmod1.c: Likewise.
165 * elf/pathoptobj.c: Likewise.
166 * elf/neededobj1.c: Likewise.
167 * elf/neededobj2.c: Likewise.
168 * elf/neededobj3.c: Likewise.
169 * elf/neededobj4.c: Likewise.
170 * elf/nextmod1.c: Likewise.
171 * elf/nextmod2.c: Likewise.
173 * locale/programs/ld-collate.c (collate_finish): Don't use labels
174 at end of compound statement.
175 * locale/programs/locale.c (show_info): Likewise.
176 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
178 2000-12-16 Jakub Jelinek <jakub@redhat.com>
180 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
181 with a pointer not returned by obstack_ functions.
183 2000-12-16 Ulrich Drepper <drepper@redhat.com>
185 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
187 (struct stat64): Likewise.
188 Reported by Michael Keezer <mkeezer@redhat.com>.
190 * timezone/asia: Update from tzdata2000h.
191 * timezone/australasia: Likewise.
192 * timezone/backward: Likewise.
193 * timezone/europe: Likewise.
194 * timezone/northamerica: Likewise.
195 * timezone/southamerica: Likewise.
196 * timezone/zone.tab: Likewise.
198 2000-12-14 Jakub Jelinek <jakub@redhat.com>
200 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
201 and dir.stream is NULL, only free dir.content.
202 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
203 * io/ftwtest-sh: Test with --early-exit.
205 2000-12-13 Jakub Jelinek <jakub@redhat.com>
207 * misc/efgcvt.c (FCVT_MAXDIG): Define.
208 (FCVT_BUFPTR): New variable.
209 (fcvt): If fcvt_r returns -1 on the static short buffer,
210 try to malloc a sufficiently large one and retry.
211 (free_mem): New function.
212 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
213 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
215 2000-12-15 Ulrich Drepper <drepper@redhat.com>
217 * misc/dirname.c (dirname): Fix search for second to last slash.
219 2000-12-13 Andreas Jaeger <aj@suse.de>
221 * misc/tst-dirname.c (main): Fix typo in test to really use
222 the examples from Unix98.
223 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
225 2000-12-09 H.J. Lu <hjl@gnu.org>
227 * sysdeps/ia64/fpu/s_fabs.S: New file.
228 * sysdeps/ia64/fpu/s_fabsf.S: New file.
229 * sysdeps/ia64/fpu/s_fabsl.S: New file.
231 2000-12-15 Andreas Jaeger <aj@suse.de>
233 * stdio-common/scanf9.c (main): Reformat and change to avoid
236 * stdio-common/tstdiomisc.c: Make local functions static.
237 * stdio-common/tst-printf.c: Likewise.
239 * elf/constload2.c: Add prototype declarations to shut up gcc.
240 * elf/dep1.c: Likewise.
241 * elf/dep2.c: Likewise.
242 * elf/dep3.c: Likewise.
243 * elf/dep4.c: Likewise.
244 * elf/ltglobmod2.c: Likewise.
246 * libio/fmemopen.c: Make local functions static.
248 * elf/Makefile (distribute): Added testobj.h.
250 * elf/testobj.h: New file.
252 * elf/testobj1.c: Include testobj.h and move prototype
253 declarations to testobj.h.
254 * elf/testobj2.c: Likewise.
255 * elf/testobj3.c: Likewise.
256 * elf/testobj4.c: Likewise.
257 * elf/testobj5.c: Likewise.
258 * elf/testobj6.c: Likewise.
259 * elf/testobj1_1.c: Likewise.
260 * elf/preloadtest.c: Likewise.
262 2000-12-15 Ben Collins <bcollins@debian.org>
264 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
265 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
267 2000-12-14 H.J. Lu <hjl@gnu.org>
269 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
270 field in a float is 8 bits, not 11 bits.
272 2000-12-13 Jakub Jelinek <jakub@redhat.com>
274 * math/test-misc.c (main): Adjust m for IEEE quad long double.
276 2000-12-13 Andreas Jaeger <aj@suse.de>
278 * manual/message.texi (Using gettextized software): Fix typo.
280 * manual/charset.texi (Converting a Character): Fix mbstouwcs
282 Patch by Martin Buchholz <martin@xemacs.org>.
284 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
285 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
287 2000-12-11 Andreas Jaeger <aj@suse.de>
289 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
290 kernel_sigset_t and use it.
291 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
293 2000-12-10 Richard Henderson <rth@redhat.com>
295 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
296 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
297 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
299 2000-12-10 Jakub Jelinek <jakub@redhat.com>
301 * sysdeps/alpha/htonl.S: Fix a typo.
303 2000-12-10 Jakub Jelinek <jakub@redhat.com>
305 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
307 2000-12-10 Andreas Jaeger <aj@suse.de>
309 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
310 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
311 Drepper <drepper@redhat.com>.
313 2000-12-09 Andreas Jaeger <aj@suse.de>
315 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
317 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
319 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
321 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
324 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
327 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
328 * nscd/connections.c (handle_request): Likewise.
329 * nscd/pwdcache.c (addpwbyname): Likewise.
330 * nscd/grpcache.c (addgrbyname): Likewise.
332 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
334 2000-12-09 Ulrich Drepper <drepper@redhat.com>
336 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
338 * Makeconfig (default_cflags): Make -O2 the default for stable
341 2000-12-08 H.J. Lu <hjl@gnu.org>
343 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
344 * sysdeps/ia64/fpu/s_isinf.S: This.
345 Add a .pred.rel.mutex note to avoid false report.
347 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
348 * sysdeps/ia64/fpu/s_isnan.S: This.
350 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
351 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
352 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
353 * sysdeps/ia64/fpu/s_isinff.S: New file.
354 * sysdeps/ia64/fpu/s_isinfl.S: New file.
355 * sysdeps/ia64/fpu/s_isnanf.S: New file.
356 * sysdeps/ia64/fpu/s_isnanl.S: New file.
357 * sysdeps/ia64/fpu/s_finite.S: New file.
358 * sysdeps/ia64/fpu/s_finitef.S: New file.
359 * sysdeps/ia64/fpu/s_finitel.S: New file.
360 * sysdeps/ia64/fpu/s_signbit.S: New file.
361 * sysdeps/ia64/fpu/s_signbitf.S: New file.
362 * sysdeps/ia64/fpu/s_signbitl.S: New file.
363 * sysdeps/ia64/fpu/s_copysign.S: New file.
364 * sysdeps/ia64/fpu/s_copysignf.S: New file.
365 * sysdeps/ia64/fpu/s_copysignl.S: New file.
367 2000-12-08 Ulrich Drepper <drepper@redhat.com>
369 * math/libm-test.inc (main): Fix typos in messages.
371 * string/stratcliff.c: Add test for rawmemchr.
373 2000-12-08 Jakub Jelinek <jakub@redhat.com>
375 * elf/dl-open.c (_dl_open): If objname points right after errstring,
376 allocate it together with errstring using alloca.
377 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
378 to "", because it might point to local stack.
380 2000-12-05 H.J. Lu <hjl@gnu.org>
382 * nss/Makefile (routines): Add getnssent and getnssent_r.
383 * nss/nsswitch.h (__nss_setent): New internal NSS function.
384 (__nss_endent): Likewise.
385 (__nss_getent_r): Likewise.
386 (__nss_getent): Likewise.
387 * nss/getnssent_r.c: New file.
388 * nss/getnssent.c: New file.
389 * nss/getXXent.c (H_ERRNO_VAR): Updated.
390 (GETFUNC_NAME): Updated to call __nss_getent ().
391 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
392 (STAYOPEN_TMPVAR): Updated.
393 (STAYOPEN_VAR): Updated.
394 (SETFUNC_NAME): Updated to call __nss_setent ().
395 (ENDFUNC_NAME): Updated to call __nss_endent ().
396 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
398 2000-12-08 Andreas Jaeger <aj@suse.de>
400 * nscd/dbg_log.h (dbg_log): Correct attribute.
402 2000-12-08 Jakub Jelinek <jakub@redhat.com>
404 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
405 cp + len. Compute where from dirname.
406 Reported by <jreiser@BitWagon.com>.
408 2000-12-08 Richard Henderson <rth@twiddle.net>
410 * sysdeps/alpha/_mcount.S: Fix typo.
411 * sysdeps/alpha/strncpy.S: Likewise.
413 * sysdeps/alpha/alphaev6/Implies: New file.
414 * sysdeps/alpha/alphaev67/Implies: New file.
415 * sysdeps/alpha/alphaev67/ffs.S: New file.
416 * sysdeps/alpha/alphaev67/ffsll.S: New file.
417 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
418 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
419 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
420 * sysdeps/alpha/rawmemchr.S: New file.
421 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
422 * sysdeps/alpha/strcpy.S: Likewise.
425 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
427 From rick.gorton@alpha-processor.com:
428 * sysdeps/alpha/alphaev6/memchr.S: New file.
429 * sysdeps/alpha/alphaev6/memcpy.S: New file.
430 * sysdeps/alpha/alphaev6/memset.S: New file.
431 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
432 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
433 * sysdeps/alpha/alphaev67/strcat.S: New file.
434 * sysdeps/alpha/alphaev67/strchr.S: New file.
435 * sysdeps/alpha/alphaev67/strlen.S: New file.
436 * sysdeps/alpha/alphaev67/strncat.S: New file.
437 * sysdeps/alpha/htonl.S: Use a shorter sequence.
439 2000-12-08 Jakub Jelinek <jakub@redhat.com>
441 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
442 Reported by <pspencer@fields.utoronto.ca>.
444 2000-12-07 Jes Sorensen <jes@linuxcare.com>
446 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
447 Pointed out by Hans Boehm.
449 2000-12-07 H.J. Lu <hjl@gnu.org>
451 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
453 2000-12-07 Andreas Jaeger <aj@suse.de>
455 * misc/error.c: Add format attributes for __error and __error_at_line.
457 * nscd/dbg_log.h: Add format attribute.
459 2000-12-08 Ulrich Drepper <drepper@redhat.com>
461 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
462 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
464 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
466 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
468 2000-12-06 Ulrich Drepper <drepper@redhat.com>
470 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
471 (sysdep_routines): Add uitrunc.
472 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
473 Patches by Michael Keezer <mkeezer@redhat.com>.
475 2000-12-06 Roland McGrath <roland@frob.com>
477 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
478 argument data, since it will be used to copy out too (for INOUT).
479 Reported by Marcus Brinkmann <marcus@gnu.org>.
481 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
482 (__ioctl): Use uintptr_t instead of unsigned long int.
484 2000-12-06 Jim Wilson <wilson@redhat.com>
486 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
488 2000-12-06 Ulrich Drepper <drepper@redhat.com>
490 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
491 x.5 rounding correctly.
493 2000-12-06 Mark Kettenis <kettenis@gnu.org>
495 * stdio-common/perror.c (perror): Conditionalize code dealing with
496 wide-oriented streams on USE_IN_LIBIO.
498 2000-12-06 Mark Kettenis <kettenis@gnu.org>
500 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
501 as internal_function.
503 2000-12-05 Ulrich Drepper <drepper@redhat.com>
505 * sysdeps/alpha/elf/start.S (__data_start): Define.
507 2000-12-05 H.J. Lu <hjl@gnu.org>
509 * nss/getXXent_r.c (setup): Change the return type to int.
511 2000-12-05 Ulrich Drepper <drepper@redhat.com>
513 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
514 (sysdep_routines): Add restf and savef.
515 * sysdeps/unix/sysv/aix/restf.c: New file.
516 * sysdeps/unix/sysv/aix/savef.c: New file.
517 Patches by Michael Keezer <mkeezer@redhat.com>.
519 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
520 if O_DIRECTORY is not defined.
521 Patch by Michael Keezer <mkeezer@redhat.com>.
523 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
524 Patch by Michael Keezer <mkeezer@redhat.com>.
526 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
527 than 4 bytes in escape sequence.
528 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
530 2000-12-05 Andreas Jaeger <aj@suse.de>
532 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
535 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
537 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
539 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
540 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
542 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
544 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
545 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
547 * sysdeps/generic/dl-cache.c: Remove declaration of
548 _dl_sysdep_read_whole_file.
550 * elf/dl-load.c (_dl_map_object): Remove declaration of
551 _dl_load_cache_lookup.
553 * sysdeps/generic/ldsodefs.h: Add declarations of
554 _dl_load_cache_lookup, _dl_unload_cache,
555 _dl_sysdep_read_whole_file, _dl_sysdep_start and
556 _dl_sysdep_start_cleanup.
558 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
561 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
562 * sysdeps/generic/dl-environ.c: Likewise.
564 * stdio-common/printf_fp.c: Include <gmp.h> instead of
566 * math/atest-exp.c: Likewise.
567 * math/atest-exp2.c: Likewise.
568 * math/atest-sincos.c: Likewise.
569 * stdio-common/_itoa.c: Likewise.
570 * stdio-common/_itowa.c: Likewise.
572 * include/gmp.h: New file with internal prototypes.
574 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
576 * include/setjmp.h: ...here.
578 * locale/Makefile (routines): Remove codeset_name since it's not
581 * locale/codeset_name.c: Removed.
583 2000-12-05 Ulrich Drepper <drepper@redhat.com>
585 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
587 2000-12-05 Andreas Jaeger <aj@suse.de>
589 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
591 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
593 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
596 2000-12-05 Andreas Jaeger <aj@suse.de>
598 * nss/test-netdb.c: Mark local functions as static to avoid
600 (main): Use return to silence warning.
602 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
604 * stdio-common/test-popen.c: Mark local functions as static to
606 (main): Use return to silence warning.
608 * stdlib/testsort.c (compare): Mark as static to avoid warning.
610 * assert/test-assert.c: Mark local functions as static to avoid
612 * assert/test-assert-perr.c: Likewise.
614 * math/libm-test.inc (main): Use return to silence warnings.
616 2000-12-04 Ulrich Drepper <drepper@redhat.com>
618 * math/fenv.h: Fix typo in comment.
620 * math/test-misc.c (main): Add a few more over and underflow tests
623 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
624 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
626 * math/w_scalb.c: Don't use matherr except in SVID mode.
627 * math/w_scalbf.c: Likewise.
628 * math/w_scalbl.c: Likewise.
629 * math/test-misc.c: Add test for NaN and scalbl.
630 Reported by Fred J. Tydeman <tydeman@tybor.com>.
632 2000-12-04 Ulrich Drepper <drepper@redhat.com>
634 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
635 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
636 * include/libc-symbols.h (strong_alias): Define special version
637 for HAVE_ASM_GLOBAL_DOT_NAME.
638 (weak_alias): Likewise.
639 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
640 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
641 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
642 getutxline, pututxline, and utmpxname.
643 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
644 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
645 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
646 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
647 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
648 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
649 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
650 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
651 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
652 Patches by Michael Keezer <mkeezer@redhat.com>.
654 2000-12-04 H.J. Lu <hjl@gnu.org>
656 * configure.in: Change --with-oldest-abi=ABI to
657 --enable-oldest-abi=ABI.
659 2000-12-02 Bruno Haible <haible@clisp.cons.org>
661 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
662 fwprintf instead of fprintf.
664 2000-12-04 Ulrich Drepper <drepper@redhat.com>
666 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
667 DECIMAL_DIG definitions.
668 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
669 * sysdeps/generic/bits/mathdef.h: Likewise
670 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
671 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
672 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
673 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
674 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
675 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
677 2000-12-03 Ulrich Drepper <drepper@redhat.com>
679 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
681 * math/atest-exp.c: Mark local functions as static to avoid warnings.
682 * math/atest-exp2.c: Likewise.
683 * math/atest-sincos.c: Likewise.
685 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
686 Reported by Fred J. Tydeman <tydeman@tybor.com>.
688 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
689 the handling of denormalized numbers.
691 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
693 * sysdeps/i386/fpu/fpclassifyl.c: New file.
695 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
696 pseudo denormal representation of LDBL_MIN.
698 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
699 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
701 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
702 * iconvdata/jis0208.c: Likewise.
703 * iconvdata/jis0212.c: Likewise.
704 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
706 * math/test-misc.c (main): More tests for frexp and some for
707 fpclassify and isnormal.
709 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
711 Reported by Fred J. Tydeman <tydeman@tybor.com>.
713 * math/test-misc.c (main): Add tests for frexp.
714 Reported by Fred J. Tydeman <tydeman@tybor.com>.
715 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
717 2000-12-02 H.J. Lu <hjl@gnu.org>
719 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
722 2000-12-02 Ulrich Drepper <drepper@redhat.com>
724 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
726 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
728 * sysdeps/generic/glob.c: Adjust types of several variables to
731 2000-12-01 Ulrich Drepper <drepper@redhat.com>
733 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
735 2000-11-30 Roland McGrath <roland@frob.com>
737 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
738 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
739 allow multiple instances using the same function name in one file.
741 2000-12-01 Ulrich Drepper <drepper@redhat.com>
743 * configure.in: Correct test for pserver CVS access.
745 2000-11-28 H.J. Lu <hjl@gnu.org>
747 * libio/libio.h: Remove extra "#if ... #endif".
749 2000-11-29 H.J. Lu <hjl@gnu.org>
751 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
753 2000-12-01 H.J. Lu <hjl@gnu.org>
755 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
756 * nss/getXXent_r.c: Likewise.
757 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
759 2000-11-30 H.J. Lu <hjl@gnu.org>
761 * scripts/abi-versions.awk (oldest_abi): New variable.
762 Handle the oldest ABI supported.
764 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
765 for scripts/abi-versions.awk.
767 * configure.in: Add --with-oldest-abi=ABI.
768 * configure: Rebuild.
770 * config.make.in (oldest-abi): New.
772 * config.h.in (GLIBC_OLDEST_ABI): New.
774 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
776 2000-11-30 Jakub Jelinek <jakub@redhat.com>
778 * locale/setlocale.c (setname): Free for all categories, not just
780 (setlocale): Store a copy of string passed by user, not the string
783 2000-11-30 Roland McGrath <roland@frob.com>
785 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
786 rather than _hurd_fd_subinit, so it happens after it's safe to use
787 libc facilities like malloc.
789 2000-11-28 Andreas Jaeger <aj@suse.de>
791 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
792 declaration, adjust declaration of __syscall_getdents to match
795 2000-11-29 H.J. Lu <hjl@gnu.org>
797 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
799 2000-11-29 Andreas Jaeger <aj@suse.de>
801 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
803 2000-11-28 Ulrich Drepper <drepper@redhat.com>
805 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
806 * dlfcn/defaultmod2.c: Likewise.
807 * dlfcn/dlopen.c: Likewise.
808 * dlfcn/dlopenold.c: Likewise.
809 * dlfcn/failtestmod.c: Likewise.
810 * dlfcn/glreflib1.c: Likewise.
811 * dlfcn/glreflib2.c: Likewise.
812 * dlfcn/eval.c: Likewise. Add attributes.
814 * ctype/ctype-extn.c: Define isblank and not __isblank.
816 * time/strftime.c: Add const where necessary to avoid warnings.
817 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
819 2000-11-22 Paul Eggert <eggert@twinsun.com>
821 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
822 size of (size_t) -1; it's not portable.
824 2000-11-28 Ulrich Drepper <drepper@redhat.com>
826 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
828 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
830 2000-11-14 Jes Sorensen <jes@linuxcare.com>
832 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
834 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
835 _mcount is required by profiled binaries.
837 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
838 * sysdeps/ia64/machine-gmon.h: ...here.
840 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
842 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
843 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
845 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
847 * iconvdata/ibm922.c: New file.
848 * iconvdata/ibm922.h: New file.
849 * iconvdata/ibm1124.c: New file.
850 * iconvdata/ibm1124.h: New file.
851 * iconvdata/ibm1129.c: New file.
852 * iconvdata/ibm1129.h: New file.
853 * iconvdata/testdata/IBM922: New file.
854 * iconvdata/testdata/IBM922..UTF8: New file.
855 * iconvdata/testdata/IBM1124: New file.
856 * iconvdata/testdata/IBM1124..UTF8: New file.
857 * iconvdata/testdata/IBM1129: New file.
858 * iconvdata/testdata/IBM1129..UTF8: New file.
860 2000-11-28 Ulrich Drepper <drepper@redhat.com>
862 * catgets/gencat.c (normalize_line): Take extra parameter with escape
863 character. Change callers.
864 (open_conversion): Determine mapping of 0x5c as wchar_t value.
865 * catgets/Makefile: Add rules to build and run test-gencat.
866 * catgets/sample.SJIS: New file.
867 * catgets/test-gencat.c: New file.
868 * catgets/test-gencat.sh: New file.
869 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
871 2000-11-28 Andreas Jaeger <aj@suse.de>
873 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
876 2000-11-28 Ulrich Drepper <drepper@redhat.com>
878 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
880 2000-11-28 Andreas Jaeger <aj@suse.de>
882 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
884 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
887 2000-11-27 Ulrich Drepper <drepper@redhat.com>
889 * misc/getusershell.c: Make strings in okshells array const.
890 * misc/regexp.c: Add const to cast to avoid warnings.
891 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
892 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
896 * misc/error.c: Add prototypes for __error and __error_at_line.
897 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
898 statement to avoid warning.
899 * test-skeleton.c: Mark timeout_handler with noreturn.
900 * iconv/skeleton.c (get16u): Add const to cast.
902 * iconvdata/gb18030.c: Likewise.
903 * iconvdata/iso-2022-cn-ext.c: Likewise.
904 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
905 * iconvdata/big5.c: Likewise.
906 * iconvdata/big5hkscs.c: Likewise.
907 * iconvdata/iso_6937.c: Likewise.
908 * iconvdata/iso_6937-2.c: Likewise.
909 * iconvdata/t.61.c: Likewise.
910 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
911 * iconvdata/unicode.c: Likewise.
912 * iconvdata/utf-16.c: Likewise.
913 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
914 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
915 with little code shuffling.
917 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
918 the problems introduced when the user selects -O3.
920 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
921 * misc/sys/cdefs.h: Define __flexarr.
922 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
924 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
925 * iconv/skeleton.c: Likewise.
926 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
927 * iconv/loop.c (get16): Add const to cast.
930 2000-11-27 Andreas Jaeger <aj@suse.de>
932 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
934 * login/programs/utmpdump.c (print_entry): Likewise.
936 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
938 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
939 in a single asm as they may be used to access other stored
941 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
943 2000-11-27 Andreas Jaeger <aj@suse.de>
945 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
946 * rt/tst-aio64.c: Likewise.
948 2000-11-27 Ulrich Drepper <drepper@redhat.com>
950 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
952 (libc.cat): Likewise.
953 * catgets/gencat.c: Implement handling of message catalogs encoded
954 with stateful character sets.
955 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
957 2000-11-26 Ulrich Drepper <drepper@redhat.com>
959 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
961 * inet/getnameinfo.c: Adjust casts to avoid warnings.
962 * inet/rcmd.c: Likewise.
963 * inet/ruserpass.c: Likewise.
964 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
965 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
966 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
967 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
968 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
969 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
970 * include/aliases.h: Add prototypes for internal __getalias* functions.
971 * include/netdb.h: Add prototypes for __old_gethostent_r,
972 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
973 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
974 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
975 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
976 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
977 __old_getrpcbynumber_r, __old_getrpcent_r.
979 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
980 __getrpcent_r prototypes.
982 2000-11-25 Ulrich Drepper <drepper@redhat.com>
984 * string/strcoll.c: Add casts to avoid warnings.
985 * string/strnlen.c: Likewise.
986 * string/strxfrm.c: Likewise.
987 * sysdeps/generic/_strerror.c: Likewise.
988 * sysdeps/generic/memrchr.c: Likewise.
989 * sysdeps/generic/strcasestr.c: Likewise.
990 * sysdeps/generic/strstr.c: Likewise.
992 * locale/weight.h (findidx): Add const to cast to avoid warning.
994 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
995 * elf/loadtest.c: Likewise.
996 * elf/multiload.c: Likewise.
997 * elf/next.c: Likewise.
998 * elf/nodelete.c: Likewise.
999 * elf/noload.c: Likewise.
1000 * elf/order.c: Likewise.
1001 * elf/origtest.c: Likewise.
1002 * elf/preloadtest.c: Likewise.
1003 * elf/restest1.c: Likewise.
1005 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1006 parameter of asm must be in %ecx.
1008 * string/tester.c: Mark test functions as static to avoid warnings.
1010 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1011 preserve value over different gconv-modules files.
1013 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1015 * locale/findlocale.c: Add casts to avoid warnings.
1016 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1017 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1019 * misc/tsearch.c (const_node): New type.
1020 (trecurse): Correct casts to avoid warnings.
1021 (__twalk): Likewise.
1022 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1025 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1027 * test-skeleton.c: Mark local functions as static to avoid warnings.
1029 2000-11-23 H.J. Lu <hjl@gnu.org>
1031 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1032 support the background job.
1035 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1037 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1038 has same names but lower cost.
1040 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1042 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1043 which never occur during bootstrap.
1044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1046 2000-11-23 Andreas Jaeger <aj@suse.de>
1048 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1050 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1052 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1054 2000-11-18 Martin Buchholz <martin@xemacs.org>
1056 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1059 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1061 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1063 * csu/abi-note.S: Correct comment for operating system number.
1065 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1067 * Versions.def: Add GLIBC_2.2.1 for glibc.
1069 2000-11-22 Andreas Schwab <schwab@suse.de>
1071 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1072 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1074 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1076 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1077 absolute time for pthread_cond_timedwait call.
1078 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1080 * rt/Makefile (tests): Add tst-aio6.
1081 * rt/tst-aio6.c: New file.
1083 2000-11-23 Andreas Jaeger <aj@suse.de>
1085 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1087 2000-11-22 Andreas Jaeger <aj@suse.de>
1089 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1091 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1093 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1095 2000-11-21 Andreas Schwab <schwab@suse.de>
1097 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1098 * sysdeps/arm/setjmp.S: Likewise.
1099 * sysdeps/arm/fpu/setjmp.S: Likewise.
1100 * sysdeps/i386/setjmp.S: Likewise.
1101 * sysdeps/i386/elf/setjmp.S: Likewise.
1102 * sysdeps/s390/setjmp.S: Likewise.
1103 * sysdeps/s390/elf/setjmp.S: Likewise.
1104 * sysdeps/sh/sh3/setjmp.S: Likewise.
1105 * sysdeps/sh/sh4/setjmp.S: Likewise.
1106 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1107 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1109 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1111 2000-11-21 Andreas Jaeger <aj@suse.de>
1113 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1114 NORETURN, fix parameter list.
1116 * string/bug-strncat1.c (main): Fix typo.
1117 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1119 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1121 * configure.in: Add --enable-all-warnings.
1122 * config.make.in (all-warnings): New variable.
1123 * Makeconfig (+gccwarn): Define with many more warnings if
1124 all-warnings is yes.
1126 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1128 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1129 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1130 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1131 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1132 * math/test-fpucw.c (main): Use %lx in format string, cast
1133 control words to long.
1134 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1135 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1136 large that it is unsigned warning.
1138 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1139 it to long on sparc64.
1141 2000-11-20 Andreas Jaeger <aj@suse.de>
1143 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1144 (receiv_print_stats): Likewise.
1146 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1148 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1150 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1152 * csu/gmon-start.c: Always have prototype for __gmon_start.
1153 * csu/version.c: Add prototypes for __libc_print_version and
1155 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1156 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1158 * iconv/gconv_builtin.h: Add ASCII module definitions.
1159 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1160 (add_module): Add cast to avoid warning. Rework construction of
1161 strings for new module.
1162 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1163 (derivation_compare): Likewise.
1164 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1165 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1166 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1167 (struct gconv_alias): Remove const from fromname and toname.
1168 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1170 (internal_ucs4_loop): Use correct const-ness.
1171 (ucs4_internal_loop): Likewise.
1172 (internal_ucs4le_loop): Likewise.
1173 (ucs4le_internal_loop_single): Likewise.
1174 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1175 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1176 assignments appropriately.
1177 (struct known_trans): Remove const from fname.
1178 (trans_compare): Make s1 and s2 const.
1179 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1181 * iconv/skeleton.c: Remove cast in calls of loop functions.
1182 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1183 * iconvdata/iso646.c: Remove US_ASCII support.
1184 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1185 * include/unistd.h: Add __libc_check_standard_fds prototype.
1186 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1187 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1189 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1190 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1191 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1193 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1194 __libc_init_first and _dl_start.
1195 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1196 (DCIGETTEXT): Make domaindata variable const.
1197 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1200 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1202 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1204 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1205 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1208 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1209 value defined in /usr/include/asm-mips/fcntl.h.
1211 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1213 * stdio-common/Makefile (tests): Add test-vfprintf.
1214 (test-vfprintf-ENV): New variable.
1215 * stdio-common/test-vfprintf.c: New file.
1217 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1219 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1220 (tst-mbrtowc-ENV): New variable.
1221 (tst-wcrtomb-ENV): New variable.
1222 * wcsmbs/tst-mbrtowc.c: New file.
1223 * wcsmbs/tst-wcrtomb.c: New file.
1225 2000-11-16 Andreas Jaeger <aj@suse.de>
1227 * manual/install.texi (Tools for Compilation): Update
1228 documentation for GCC 2.95.2.
1230 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1233 if IPv4 and IPv6 requests timed out.
1235 2000-11-18 Akim Demaille <akim@epita.fr>
1237 * malloc/obstack.h: Formatting changes.
1238 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1239 prevents type checking.
1240 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1241 cast the value to (void *): assigning a `foo *' to a `void *'
1243 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1245 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1247 * scripts/config.guess: Update from upstream maintainer.
1248 * scripts/config.sub: Likewise.
1250 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1252 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1253 * libio/freopen64.c (freopen64): Likewise.
1254 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1256 * libio/Makefile: Add rules to build and run test-freopen.
1257 * libio/test-freopen.c: New file.
1258 * libio/test-freopen.sh: New file.
1260 2000-11-15 H.J. Lu <hjl@gnu.org>
1262 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1263 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1264 (DL_DT_FINI_ADDRESS): Likewise.
1266 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1267 return type to ElfW(Addr).
1268 (_dl_function_address): New prototype.
1269 (DL_FUNCTION_ADDRESS): Defined.
1270 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1271 (DL_DT_FINI_ADDRESS): Likewise.
1273 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1275 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1276 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1278 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1279 (_dl_function_address): This.
1281 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1282 function pointer for DT_FINI.
1283 * elf/dl-close.c (_dl_close): Likewise.
1285 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1286 function pointer for DT_INIT.
1288 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1290 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1291 end of wexpbuf buffer.
1293 2000-11-16 Andreas Jaeger <aj@suse.de>
1295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1296 definition of F_GETLK, F_SETLK, F_SETLKW.
1298 2000-11-16 Andreas Jaeger <aj@suse.de>
1300 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1303 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1305 * dlfcn/default.c (main): Add test for dladdr of main returning
1306 argv[0] in dli_fname field.
1308 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1310 * Makeconfig (run-program-prefix): Move test-static test into the
1313 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1314 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1315 schedule instructions.
1316 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1317 schedule instructions, fix a bug in copying auxiliary data.
1319 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1321 * manual/startup.texi (Program Arguments): Fix type of main's envp
1323 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1325 * iconvdata/gconv-modules: Add CP950 alias.
1327 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1329 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1330 syscall-list.h goal.
1331 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1333 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1335 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1337 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1340 * intl/tst-gettext2.c: Set C locale if setting other locale
1341 failed. Use gettext() not _().
1343 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1344 successfully loaded a new locale.
1346 2000-11-13 Andreas Jaeger <aj@suse.de>
1348 * configure.in: Require gcc 2.95 or newer.
1350 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1352 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1353 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1355 2000-11-11 Jim Meyering <meyering@lucent.com>
1357 * string/strndup.c (strndup): Cast return value to `char *'.
1359 2000-11-15 Jim Meyering <meyering@ascend.com>
1361 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1362 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1363 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1364 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1365 Also #undef __memchr.
1366 Use `weak_alias' only if it's defined.
1368 2000-11-10 H.J. Lu <hjl@gnu.org>
1370 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1372 2000-11-15 Andreas Jaeger <aj@suse.de>
1374 * elf/chroot_canon.c: Include <stdint.h>.
1376 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1377 (print_entry): Likewise.
1378 (add_to_cache): Likewise.
1380 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1382 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1383 (path_hwcap): Likewise.
1384 (search_dir): Likewise.
1386 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1388 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1390 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1391 (_dl_platform_string): New.
1392 (_DL_HWCAP_PLATFORM): New.
1393 (_dl_string_platform): New.
1394 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1396 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1397 (_dl_string_platform): New.
1398 (_DL_HWCAP_PLATFORM): New.
1399 (_dl_platform_string): New.
1401 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1403 (_DL_HWCAP_COUNT): New.
1404 (_dl_string_platform): New.
1405 (_DL_HWCAP_PLATFORM): New.
1406 (_dl_platform_string): New.
1408 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1410 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1412 2000-11-14 Andreas Jaeger <aj@suse.de>
1414 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1416 2000-11-13 Roland McGrath <roland@frob.com>
1418 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1420 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1422 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1423 underrun and make sure the result is null terminated even if there
1424 is no trailing newline.
1426 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1428 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1430 2000-11-10 H.J. Lu <hjl@gnu.org>
1432 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1434 2000-11-10 Andreas Jaeger <aj@suse.de>
1436 * elf/ldconfig.c (create_links): Fix alloca calculation.
1437 Patch by Ben Collins <bcollins@debian.org>.
1439 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1441 * inet/getnameinfo.c (getnameinfo): Use correct destination
1442 parameter for if_indextoname.
1443 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1445 2000-11-09 H.J. Lu <hjl@gnu.org>
1447 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1448 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1449 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1452 * time/Versions (GLIBC_2.1): Move getitimer to...
1453 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1455 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1457 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1458 "make install", to work around a binary incompatibility between
1459 glibc 2.1 and glibc 2.2 gconv modules.
1461 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1463 * intl/locale.alias: Add thai.
1464 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1466 2000-11-07 Akim Demaille <akim@epita.fr>
1468 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1469 argument `data' for consistency with the prototypes.
1471 (obstack_copy, obstack_copy0): Rename the second argument as
1472 `address' for consistency. Qualify it `const'.
1473 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1474 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1475 `const' their input argument (`data' or `address').
1476 Adjust the corresponding macros to include `const' in casts.
1478 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1480 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1483 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1485 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1488 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1490 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1491 ai_protocol by internal table if service was not given.
1493 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1495 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1496 numerical port was specified with protocol without socktype.
1498 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1500 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1502 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1504 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1506 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1508 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1509 sin6_scope_id field.
1511 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1513 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1515 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1517 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1519 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1521 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1522 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1524 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1526 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1527 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1529 2000-11-09 H.J. Lu <hjl@gnu.org>
1531 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1534 See ChangeLog.11 for earlier changes.