1 2000-12-21 Andreas Jaeger <aj@suse.de>
3 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4 * inet/ether_hton.c: Likewise
5 * inet/ether_ntoh.c: Likewise.
7 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8 declaration to match prototype.
10 * include/netinet/ether.h (struct etherent): Declare here so that
11 all implementations use the same struct.
13 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
15 (struct ether): Removed.
16 Use struct etherent instead of ether everywhere.
18 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
20 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
22 * sunrpc/publickey.c: Include auth_des.h for prototypes.
24 2000-12-20 Ulrich Drepper <drepper@redhat.com>
26 * math/test-misc.c: Add more tests for nextafter functions.
28 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
29 normal correctly. Correct test for sign.
30 Based on a patch by HJ Lu.
32 2000-12-19 Ulrich Drepper <drepper@redhat.com>
34 * Makeconfig (preprocess-version): Add -traditional to gcc call.
37 2000-12-19 Andreas Jaeger <aj@suse.de>
39 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
41 * nis/nis_intern.h: Add prototype for __do_niscall3.
43 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
46 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
48 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
50 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
52 2000-12-18 Ulrich Drepper <drepper@redhat.com>
54 * math/test-misc.c: Add more tests for nextafter.
55 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
56 * sysdeps/ieee754/ldbl-96/math_ldbl.h
57 (ieee_long_double_shape_type): Make sign_exponent element signed.
59 * manual/message.texi: Add Estonian to plural overview list.
60 Correct rule for Slavic languages.
61 Patch by Stanislav Brabec <utx@penguin.cz>.
63 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
65 2000-12-18 Andreas Jaeger <aj@suse.de>
67 * test-skeleton.c: Use temp_name_list instead of name_list to
68 avoid collision with name_list from inet/netgroup.h.
70 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
72 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
73 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
74 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
75 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
77 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
78 declaration to match prototype.
79 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
80 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
81 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
83 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
84 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
85 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
86 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
87 (_nss_nis_getservbyport_r): Likewise.
88 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
89 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
90 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
91 (_nss_nis_setnetent): Likewise
92 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
93 (_nss_nis_endnetgrent): Likewise.
94 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
96 (_nss_nisplus_setnetgrent): Likewise.
97 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
98 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
99 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
100 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
102 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
104 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
106 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
108 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
109 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
110 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
112 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
113 (_nss_dns_getnetbyaddr_r): Likewise.
115 2000-12-17 Andreas Jaeger <aj@suse.de>
117 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
120 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
121 unused attribute to shut up gcc warnings.
123 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
124 * sysdeps/generic/k_tanl.c: Likewise.
125 * sysdeps/generic/k_cosl.c: Likewise.
126 * sysdeps/generic/e_j0l.c: Likewise.
127 * sysdeps/generic/e_j1l.c: Likewise.
128 * sysdeps/generic/e_jnl.c: Likewise.
129 * sysdeps/generic/e_lgammal_r.c: Likewise.
131 * elf/vismain.c: Move prototypes for functions in vismod*.c to
133 * elf/vismod.h: New file.
134 * elf/Makefile (distribute): Add vismod.h.
135 * elf/vismod1.c: Include vismod.h.
136 * elf/vismod2.c: Likewise.
137 * elf/vismod3.c: Likewise.
139 * elf/constload3.c: Add prototype declarations to shut up gcc.
140 * elf/failobj.c: Likewise.
141 * elf/nodelmod3.c: Likewise.
142 * elf/filtmod1.c: Likewise.
143 * elf/filtmod2.c: Likewise.
144 * elf/reldepmod1.c: Likewise.
145 * elf/reldepmod2.c: Likewise.
146 * elf/reldepmod3.c: Likewise.
147 * elf/reldepmod4.c: Likewise.
148 * elf/unload2dep.c: Likewise.
149 * elf/unload2mod.c: Likewise.
150 * elf/ltglobmod1.c: Likewise.
151 * elf/pathoptobj.c: Likewise.
152 * elf/neededobj1.c: Likewise.
153 * elf/neededobj2.c: Likewise.
154 * elf/neededobj3.c: Likewise.
155 * elf/neededobj4.c: Likewise.
156 * elf/nextmod1.c: Likewise.
157 * elf/nextmod2.c: Likewise.
159 * locale/programs/ld-collate.c (collate_finish): Don't use labels
160 at end of compound statement.
161 * locale/programs/locale.c (show_info): Likewise.
162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
164 2000-12-16 Jakub Jelinek <jakub@redhat.com>
166 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
167 with a pointer not returned by obstack_ functions.
169 2000-12-16 Ulrich Drepper <drepper@redhat.com>
171 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
173 (struct stat64): Likewise.
174 Reported by Michael Keezer <mkeezer@redhat.com>.
176 * timezone/asia: Update from tzdata2000h.
177 * timezone/australasia: Likewise.
178 * timezone/backward: Likewise.
179 * timezone/europe: Likewise.
180 * timezone/northamerica: Likewise.
181 * timezone/southamerica: Likewise.
182 * timezone/zone.tab: Likewise.
184 2000-12-14 Jakub Jelinek <jakub@redhat.com>
186 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
187 and dir.stream is NULL, only free dir.content.
188 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
189 * io/ftwtest-sh: Test with --early-exit.
191 2000-12-13 Jakub Jelinek <jakub@redhat.com>
193 * misc/efgcvt.c (FCVT_MAXDIG): Define.
194 (FCVT_BUFPTR): New variable.
195 (fcvt): If fcvt_r returns -1 on the static short buffer,
196 try to malloc a sufficiently large one and retry.
197 (free_mem): New function.
198 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
199 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
201 2000-12-15 Ulrich Drepper <drepper@redhat.com>
203 * misc/dirname.c (dirname): Fix search for second to last slash.
205 2000-12-13 Andreas Jaeger <aj@suse.de>
207 * misc/tst-dirname.c (main): Fix typo in test to really use
208 the examples from Unix98.
209 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
211 2000-12-09 H.J. Lu <hjl@gnu.org>
213 * sysdeps/ia64/fpu/s_fabs.S: New file.
214 * sysdeps/ia64/fpu/s_fabsf.S: New file.
215 * sysdeps/ia64/fpu/s_fabsl.S: New file.
217 2000-12-15 Andreas Jaeger <aj@suse.de>
219 * stdio-common/scanf9.c (main): Reformat and change to avoid
222 * stdio-common/tstdiomisc.c: Make local functions static.
223 * stdio-common/tst-printf.c: Likewise.
225 * elf/constload2.c: Add prototype declarations to shut up gcc.
226 * elf/dep1.c: Likewise.
227 * elf/dep2.c: Likewise.
228 * elf/dep3.c: Likewise.
229 * elf/dep4.c: Likewise.
230 * elf/ltglobmod2.c: Likewise.
232 * libio/fmemopen.c: Make local functions static.
234 * elf/Makefile (distribute): Added testobj.h.
236 * elf/testobj.h: New file.
238 * elf/testobj1.c: Include testobj.h and move prototype
239 declarations to testobj.h.
240 * elf/testobj2.c: Likewise.
241 * elf/testobj3.c: Likewise.
242 * elf/testobj4.c: Likewise.
243 * elf/testobj5.c: Likewise.
244 * elf/testobj6.c: Likewise.
245 * elf/testobj1_1.c: Likewise.
246 * elf/preloadtest.c: Likewise.
248 2000-12-15 Ben Collins <bcollins@debian.org>
250 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
251 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
253 2000-12-14 H.J. Lu <hjl@gnu.org>
255 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
256 field in a float is 8 bits, not 11 bits.
258 2000-12-13 Jakub Jelinek <jakub@redhat.com>
260 * math/test-misc.c (main): Adjust m for IEEE quad long double.
262 2000-12-13 Andreas Jaeger <aj@suse.de>
264 * manual/message.texi (Using gettextized software): Fix typo.
266 * manual/charset.texi (Converting a Character): Fix mbstouwcs
268 Patch by Martin Buchholz <martin@xemacs.org>.
270 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
271 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
273 2000-12-11 Andreas Jaeger <aj@suse.de>
275 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
276 kernel_sigset_t and use it.
277 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
279 2000-12-10 Richard Henderson <rth@redhat.com>
281 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
282 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
283 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
285 2000-12-10 Jakub Jelinek <jakub@redhat.com>
287 * sysdeps/alpha/htonl.S: Fix a typo.
289 2000-12-10 Jakub Jelinek <jakub@redhat.com>
291 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
293 2000-12-10 Andreas Jaeger <aj@suse.de>
295 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
296 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
297 Drepper <drepper@redhat.com>.
299 2000-12-09 Andreas Jaeger <aj@suse.de>
301 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
303 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
305 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
307 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
310 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
313 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
314 * nscd/connections.c (handle_request): Likewise.
315 * nscd/pwdcache.c (addpwbyname): Likewise.
316 * nscd/grpcache.c (addgrbyname): Likewise.
318 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
320 2000-12-09 Ulrich Drepper <drepper@redhat.com>
322 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
324 * Makeconfig (default_cflags): Make -O2 the default for stable
327 2000-12-08 H.J. Lu <hjl@gnu.org>
329 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
330 * sysdeps/ia64/fpu/s_isinf.S: This.
331 Add a .pred.rel.mutex note to avoid false report.
333 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
334 * sysdeps/ia64/fpu/s_isnan.S: This.
336 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
337 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
338 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
339 * sysdeps/ia64/fpu/s_isinff.S: New file.
340 * sysdeps/ia64/fpu/s_isinfl.S: New file.
341 * sysdeps/ia64/fpu/s_isnanf.S: New file.
342 * sysdeps/ia64/fpu/s_isnanl.S: New file.
343 * sysdeps/ia64/fpu/s_finite.S: New file.
344 * sysdeps/ia64/fpu/s_finitef.S: New file.
345 * sysdeps/ia64/fpu/s_finitel.S: New file.
346 * sysdeps/ia64/fpu/s_signbit.S: New file.
347 * sysdeps/ia64/fpu/s_signbitf.S: New file.
348 * sysdeps/ia64/fpu/s_signbitl.S: New file.
349 * sysdeps/ia64/fpu/s_copysign.S: New file.
350 * sysdeps/ia64/fpu/s_copysignf.S: New file.
351 * sysdeps/ia64/fpu/s_copysignl.S: New file.
353 2000-12-08 Ulrich Drepper <drepper@redhat.com>
355 * math/libm-test.inc (main): Fix typos in messages.
357 * string/stratcliff.c: Add test for rawmemchr.
359 2000-12-08 Jakub Jelinek <jakub@redhat.com>
361 * elf/dl-open.c (_dl_open): If objname points right after errstring,
362 allocate it together with errstring using alloca.
363 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
364 to "", because it might point to local stack.
366 2000-12-05 H.J. Lu <hjl@gnu.org>
368 * nss/Makefile (routines): Add getnssent and getnssent_r.
369 * nss/nsswitch.h (__nss_setent): New internal NSS function.
370 (__nss_endent): Likewise.
371 (__nss_getent_r): Likewise.
372 (__nss_getent): Likewise.
373 * nss/getnssent_r.c: New file.
374 * nss/getnssent.c: New file.
375 * nss/getXXent.c (H_ERRNO_VAR): Updated.
376 (GETFUNC_NAME): Updated to call __nss_getent ().
377 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
378 (STAYOPEN_TMPVAR): Updated.
379 (STAYOPEN_VAR): Updated.
380 (SETFUNC_NAME): Updated to call __nss_setent ().
381 (ENDFUNC_NAME): Updated to call __nss_endent ().
382 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
384 2000-12-08 Andreas Jaeger <aj@suse.de>
386 * nscd/dbg_log.h (dbg_log): Correct attribute.
388 2000-12-08 Jakub Jelinek <jakub@redhat.com>
390 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
391 cp + len. Compute where from dirname.
392 Reported by <jreiser@BitWagon.com>.
394 2000-12-08 Richard Henderson <rth@twiddle.net>
396 * sysdeps/alpha/_mcount.S: Fix typo.
397 * sysdeps/alpha/strncpy.S: Likewise.
399 * sysdeps/alpha/alphaev6/Implies: New file.
400 * sysdeps/alpha/alphaev67/Implies: New file.
401 * sysdeps/alpha/alphaev67/ffs.S: New file.
402 * sysdeps/alpha/alphaev67/ffsll.S: New file.
403 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
404 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
405 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
406 * sysdeps/alpha/rawmemchr.S: New file.
407 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
408 * sysdeps/alpha/strcpy.S: Likewise.
411 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
413 From rick.gorton@alpha-processor.com:
414 * sysdeps/alpha/alphaev6/memchr.S: New file.
415 * sysdeps/alpha/alphaev6/memcpy.S: New file.
416 * sysdeps/alpha/alphaev6/memset.S: New file.
417 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
418 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
419 * sysdeps/alpha/alphaev67/strcat.S: New file.
420 * sysdeps/alpha/alphaev67/strchr.S: New file.
421 * sysdeps/alpha/alphaev67/strlen.S: New file.
422 * sysdeps/alpha/alphaev67/strncat.S: New file.
423 * sysdeps/alpha/htonl.S: Use a shorter sequence.
425 2000-12-08 Jakub Jelinek <jakub@redhat.com>
427 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
428 Reported by <pspencer@fields.utoronto.ca>.
430 2000-12-07 Jes Sorensen <jes@linuxcare.com>
432 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
433 Pointed out by Hans Boehm.
435 2000-12-07 H.J. Lu <hjl@gnu.org>
437 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
439 2000-12-07 Andreas Jaeger <aj@suse.de>
441 * misc/error.c: Add format attributes for __error and __error_at_line.
443 * nscd/dbg_log.h: Add format attribute.
445 2000-12-08 Ulrich Drepper <drepper@redhat.com>
447 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
448 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
450 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
452 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
454 2000-12-06 Ulrich Drepper <drepper@redhat.com>
456 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
457 (sysdep_routines): Add uitrunc.
458 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
459 Patches by Michael Keezer <mkeezer@redhat.com>.
461 2000-12-06 Roland McGrath <roland@frob.com>
463 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
464 argument data, since it will be used to copy out too (for INOUT).
465 Reported by Marcus Brinkmann <marcus@gnu.org>.
467 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
468 (__ioctl): Use uintptr_t instead of unsigned long int.
470 2000-12-06 Jim Wilson <wilson@redhat.com>
472 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
474 2000-12-06 Ulrich Drepper <drepper@redhat.com>
476 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
477 x.5 rounding correctly.
479 2000-12-06 Mark Kettenis <kettenis@gnu.org>
481 * stdio-common/perror.c (perror): Conditionalize code dealing with
482 wide-oriented streams on USE_IN_LIBIO.
484 2000-12-06 Mark Kettenis <kettenis@gnu.org>
486 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
487 as internal_function.
489 2000-12-05 Ulrich Drepper <drepper@redhat.com>
491 * sysdeps/alpha/elf/start.S (__data_start): Define.
493 2000-12-05 H.J. Lu <hjl@gnu.org>
495 * nss/getXXent_r.c (setup): Change the return type to int.
497 2000-12-05 Ulrich Drepper <drepper@redhat.com>
499 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
500 (sysdep_routines): Add restf and savef.
501 * sysdeps/unix/sysv/aix/restf.c: New file.
502 * sysdeps/unix/sysv/aix/savef.c: New file.
503 Patches by Michael Keezer <mkeezer@redhat.com>.
505 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
506 if O_DIRECTORY is not defined.
507 Patch by Michael Keezer <mkeezer@redhat.com>.
509 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
510 Patch by Michael Keezer <mkeezer@redhat.com>.
512 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
513 than 4 bytes in escape sequence.
514 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
516 2000-12-05 Andreas Jaeger <aj@suse.de>
518 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
521 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
523 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
525 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
526 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
528 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
530 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
531 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
533 * sysdeps/generic/dl-cache.c: Remove declaration of
534 _dl_sysdep_read_whole_file.
536 * elf/dl-load.c (_dl_map_object): Remove declaration of
537 _dl_load_cache_lookup.
539 * sysdeps/generic/ldsodefs.h: Add declarations of
540 _dl_load_cache_lookup, _dl_unload_cache,
541 _dl_sysdep_read_whole_file, _dl_sysdep_start and
542 _dl_sysdep_start_cleanup.
544 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
547 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
548 * sysdeps/generic/dl-environ.c: Likewise.
550 * stdio-common/printf_fp.c: Include <gmp.h> instead of
552 * math/atest-exp.c: Likewise.
553 * math/atest-exp2.c: Likewise.
554 * math/atest-sincos.c: Likewise.
555 * stdio-common/_itoa.c: Likewise.
556 * stdio-common/_itowa.c: Likewise.
558 * include/gmp.h: New file with internal prototypes.
560 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
562 * include/setjmp.h: ...here.
564 * locale/Makefile (routines): Remove codeset_name since it's not
567 * locale/codeset_name.c: Removed.
569 2000-12-05 Ulrich Drepper <drepper@redhat.com>
571 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
573 2000-12-05 Andreas Jaeger <aj@suse.de>
575 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
577 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
579 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
582 2000-12-05 Andreas Jaeger <aj@suse.de>
584 * nss/test-netdb.c: Mark local functions as static to avoid
586 (main): Use return to silence warning.
588 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
590 * stdio-common/test-popen.c: Mark local functions as static to
592 (main): Use return to silence warning.
594 * stdlib/testsort.c (compare): Mark as static to avoid warning.
596 * assert/test-assert.c: Mark local functions as static to avoid
598 * assert/test-assert-perr.c: Likewise.
600 * math/libm-test.inc (main): Use return to silence warnings.
602 2000-12-04 Ulrich Drepper <drepper@redhat.com>
604 * math/fenv.h: Fix typo in comment.
606 * math/test-misc.c (main): Add a few more over and underflow tests
609 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
610 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
611 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
612 * math/w_scalb.c: Don't use matherr except in SVID mode.
613 * math/w_scalbf.c: Likewise.
614 * math/w_scalbl.c: Likewise.
615 * math/test-misc.c: Add test for NaN and scalbl.
616 Reported by Fred J. Tydeman <tydeman@tybor.com>.
618 2000-12-04 Ulrich Drepper <drepper@redhat.com>
620 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
621 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
622 * include/libc-symbols.h (strong_alias): Define special version
623 for HAVE_ASM_GLOBAL_DOT_NAME.
624 (weak_alias): Likewise.
625 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
626 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
627 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
628 getutxline, pututxline, and utmpxname.
629 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
630 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
631 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
632 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
633 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
634 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
635 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
636 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
637 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
638 Patches by Michael Keezer <mkeezer@redhat.com>.
640 2000-12-04 H.J. Lu <hjl@gnu.org>
642 * configure.in: Change --with-oldest-abi=ABI to
643 --enable-oldest-abi=ABI.
645 2000-12-02 Bruno Haible <haible@clisp.cons.org>
647 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
648 fwprintf instead of fprintf.
650 2000-12-04 Ulrich Drepper <drepper@redhat.com>
652 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
653 DECIMAL_DIG definitions.
654 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
655 * sysdeps/generic/bits/mathdef.h: Likewise
656 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
657 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
658 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
659 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
660 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
661 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
663 2000-12-03 Ulrich Drepper <drepper@redhat.com>
665 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
667 * math/atest-exp.c: Mark local functions as static to avoid warnings.
668 * math/atest-exp2.c: Likewise.
669 * math/atest-sincos.c: Likewise.
671 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
672 Reported by Fred J. Tydeman <tydeman@tybor.com>.
674 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
675 the handling of denormalized numbers.
677 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
679 * sysdeps/i386/fpu/fpclassifyl.c: New file.
681 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
682 pseudo denormal representation of LDBL_MIN.
684 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
685 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
687 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
688 * iconvdata/jis0208.c: Likewise.
689 * iconvdata/jis0212.c: Likewise.
690 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
692 * math/test-misc.c (main): More tests for frexp and some for
693 fpclassify and isnormal.
695 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
697 Reported by Fred J. Tydeman <tydeman@tybor.com>.
699 * math/test-misc.c (main): Add tests for frexp.
700 Reported by Fred J. Tydeman <tydeman@tybor.com>.
701 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
703 2000-12-02 H.J. Lu <hjl@gnu.org>
705 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
708 2000-12-02 Ulrich Drepper <drepper@redhat.com>
710 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
711 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
712 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
714 * sysdeps/generic/glob.c: Adjust types of several variables to
717 2000-12-01 Ulrich Drepper <drepper@redhat.com>
719 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
721 2000-11-30 Roland McGrath <roland@frob.com>
723 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
724 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
725 allow multiple instances using the same function name in one file.
727 2000-12-01 Ulrich Drepper <drepper@redhat.com>
729 * configure.in: Correct test for pserver CVS access.
731 2000-11-28 H.J. Lu <hjl@gnu.org>
733 * libio/libio.h: Remove extra "#if ... #endif".
735 2000-11-29 H.J. Lu <hjl@gnu.org>
737 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
739 2000-12-01 H.J. Lu <hjl@gnu.org>
741 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
742 * nss/getXXent_r.c: Likewise.
743 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
745 2000-11-30 H.J. Lu <hjl@gnu.org>
747 * scripts/abi-versions.awk (oldest_abi): New variable.
748 Handle the oldest ABI supported.
750 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
751 for scripts/abi-versions.awk.
753 * configure.in: Add --with-oldest-abi=ABI.
754 * configure: Rebuild.
756 * config.make.in (oldest-abi): New.
758 * config.h.in (GLIBC_OLDEST_ABI): New.
760 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
762 2000-11-30 Jakub Jelinek <jakub@redhat.com>
764 * locale/setlocale.c (setname): Free for all categories, not just
766 (setlocale): Store a copy of string passed by user, not the string
769 2000-11-30 Roland McGrath <roland@frob.com>
771 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
772 rather than _hurd_fd_subinit, so it happens after it's safe to use
773 libc facilities like malloc.
775 2000-11-28 Andreas Jaeger <aj@suse.de>
777 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
778 declaration, adjust declaration of __syscall_getdents to match
781 2000-11-29 H.J. Lu <hjl@gnu.org>
783 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
785 2000-11-29 Andreas Jaeger <aj@suse.de>
787 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
789 2000-11-28 Ulrich Drepper <drepper@redhat.com>
791 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
792 * dlfcn/defaultmod2.c: Likewise.
793 * dlfcn/dlopen.c: Likewise.
794 * dlfcn/dlopenold.c: Likewise.
795 * dlfcn/failtestmod.c: Likewise.
796 * dlfcn/glreflib1.c: Likewise.
797 * dlfcn/glreflib2.c: Likewise.
798 * dlfcn/eval.c: Likewise. Add attributes.
800 * ctype/ctype-extn.c: Define isblank and not __isblank.
802 * time/strftime.c: Add const where necessary to avoid warnings.
803 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
805 2000-11-22 Paul Eggert <eggert@twinsun.com>
807 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
808 size of (size_t) -1; it's not portable.
810 2000-11-28 Ulrich Drepper <drepper@redhat.com>
812 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
814 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
816 2000-11-14 Jes Sorensen <jes@linuxcare.com>
818 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
820 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
821 _mcount is required by profiled binaries.
823 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
824 * sysdeps/ia64/machine-gmon.h: ...here.
826 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
828 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
829 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
831 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
833 * iconvdata/ibm922.c: New file.
834 * iconvdata/ibm922.h: New file.
835 * iconvdata/ibm1124.c: New file.
836 * iconvdata/ibm1124.h: New file.
837 * iconvdata/ibm1129.c: New file.
838 * iconvdata/ibm1129.h: New file.
839 * iconvdata/testdata/IBM922: New file.
840 * iconvdata/testdata/IBM922..UTF8: New file.
841 * iconvdata/testdata/IBM1124: New file.
842 * iconvdata/testdata/IBM1124..UTF8: New file.
843 * iconvdata/testdata/IBM1129: New file.
844 * iconvdata/testdata/IBM1129..UTF8: New file.
846 2000-11-28 Ulrich Drepper <drepper@redhat.com>
848 * catgets/gencat.c (normalize_line): Take extra parameter with escape
849 character. Change callers.
850 (open_conversion): Determine mapping of 0x5c as wchar_t value.
851 * catgets/Makefile: Add rules to build and run test-gencat.
852 * catgets/sample.SJIS: New file.
853 * catgets/test-gencat.c: New file.
854 * catgets/test-gencat.sh: New file.
855 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
857 2000-11-28 Andreas Jaeger <aj@suse.de>
859 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
862 2000-11-28 Ulrich Drepper <drepper@redhat.com>
864 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
866 2000-11-28 Andreas Jaeger <aj@suse.de>
868 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
870 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
873 2000-11-27 Ulrich Drepper <drepper@redhat.com>
875 * misc/getusershell.c: Make strings in okshells array const.
876 * misc/regexp.c: Add const to cast to avoid warnings.
877 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
878 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
880 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
882 * misc/error.c: Add prototypes for __error and __error_at_line.
883 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
884 statement to avoid warning.
885 * test-skeleton.c: Mark timeout_handler with noreturn.
886 * iconv/skeleton.c (get16u): Add const to cast.
888 * iconvdata/gb18030.c: Likewise.
889 * iconvdata/iso-2022-cn-ext.c: Likewise.
890 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
891 * iconvdata/big5.c: Likewise.
892 * iconvdata/big5hkscs.c: Likewise.
893 * iconvdata/iso_6937.c: Likewise.
894 * iconvdata/iso_6937-2.c: Likewise.
895 * iconvdata/t.61.c: Likewise.
896 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
897 * iconvdata/unicode.c: Likewise.
898 * iconvdata/utf-16.c: Likewise.
899 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
900 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
901 with little code shuffling.
903 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
904 the problems introduced when the user selects -O3.
906 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
907 * misc/sys/cdefs.h: Define __flexarr.
908 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
910 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
911 * iconv/skeleton.c: Likewise.
912 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
913 * iconv/loop.c (get16): Add const to cast.
916 2000-11-27 Andreas Jaeger <aj@suse.de>
918 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
920 * login/programs/utmpdump.c (print_entry): Likewise.
922 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
924 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
925 in a single asm as they may be used to access other stored
927 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
929 2000-11-27 Andreas Jaeger <aj@suse.de>
931 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
932 * rt/tst-aio64.c: Likewise.
934 2000-11-27 Ulrich Drepper <drepper@redhat.com>
936 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
938 (libc.cat): Likewise.
939 * catgets/gencat.c: Implement handling of message catalogs encoded
940 with stateful character sets.
941 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
943 2000-11-26 Ulrich Drepper <drepper@redhat.com>
945 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
947 * inet/getnameinfo.c: Adjust casts to avoid warnings.
948 * inet/rcmd.c: Likewise.
949 * inet/ruserpass.c: Likewise.
950 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
951 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
952 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
953 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
954 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
955 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
956 * include/aliases.h: Add prototypes for internal __getalias* functions.
957 * include/netdb.h: Add prototypes for __old_gethostent_r,
958 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
959 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
960 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
961 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
962 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
963 __old_getrpcbynumber_r, __old_getrpcent_r.
965 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
966 __getrpcent_r prototypes.
968 2000-11-25 Ulrich Drepper <drepper@redhat.com>
970 * string/strcoll.c: Add casts to avoid warnings.
971 * string/strnlen.c: Likewise.
972 * string/strxfrm.c: Likewise.
973 * sysdeps/generic/_strerror.c: Likewise.
974 * sysdeps/generic/memrchr.c: Likewise.
975 * sysdeps/generic/strcasestr.c: Likewise.
976 * sysdeps/generic/strstr.c: Likewise.
978 * locale/weight.h (findidx): Add const to cast to avoid warning.
980 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
981 * elf/loadtest.c: Likewise.
982 * elf/multiload.c: Likewise.
983 * elf/next.c: Likewise.
984 * elf/nodelete.c: Likewise.
985 * elf/noload.c: Likewise.
986 * elf/order.c: Likewise.
987 * elf/origtest.c: Likewise.
988 * elf/preloadtest.c: Likewise.
989 * elf/restest1.c: Likewise.
991 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
992 parameter of asm must be in %ecx.
994 * string/tester.c: Mark test functions as static to avoid warnings.
996 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
997 preserve value over different gconv-modules files.
999 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1001 * locale/findlocale.c: Add casts to avoid warnings.
1002 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1003 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1005 * misc/tsearch.c (const_node): New type.
1006 (trecurse): Correct casts to avoid warnings.
1007 (__twalk): Likewise.
1008 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1011 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1013 * test-skeleton.c: Mark local functions as static to avoid warnings.
1015 2000-11-23 H.J. Lu <hjl@gnu.org>
1017 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1018 support the background job.
1021 2000-11-24 Ulrich Drepper <drepper@redhat.com>
1023 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1024 has same names but lower cost.
1026 2000-11-23 Jakub Jelinek <jakub@redhat.com>
1028 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1029 which never occur during bootstrap.
1030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1032 2000-11-23 Andreas Jaeger <aj@suse.de>
1034 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1036 * nss/Versions: Remove _nss_files_getipnodebyname_r.
1038 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1040 2000-11-18 Martin Buchholz <martin@xemacs.org>
1042 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1045 2000-11-21 Alan Modra <alan@linuxcare.com.au>
1047 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1049 * csu/abi-note.S: Correct comment for operating system number.
1051 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1053 * Versions.def: Add GLIBC_2.2.1 for glibc.
1055 2000-11-22 Andreas Schwab <schwab@suse.de>
1057 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1058 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1060 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1062 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1063 absolute time for pthread_cond_timedwait call.
1064 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1066 * rt/Makefile (tests): Add tst-aio6.
1067 * rt/tst-aio6.c: New file.
1069 2000-11-23 Andreas Jaeger <aj@suse.de>
1071 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1073 2000-11-22 Andreas Jaeger <aj@suse.de>
1075 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1077 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1079 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1081 2000-11-21 Andreas Schwab <schwab@suse.de>
1083 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1084 * sysdeps/arm/setjmp.S: Likewise.
1085 * sysdeps/arm/fpu/setjmp.S: Likewise.
1086 * sysdeps/i386/setjmp.S: Likewise.
1087 * sysdeps/i386/elf/setjmp.S: Likewise.
1088 * sysdeps/s390/setjmp.S: Likewise.
1089 * sysdeps/s390/elf/setjmp.S: Likewise.
1090 * sysdeps/sh/sh3/setjmp.S: Likewise.
1091 * sysdeps/sh/sh4/setjmp.S: Likewise.
1092 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1093 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1095 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1097 2000-11-21 Andreas Jaeger <aj@suse.de>
1099 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1100 NORETURN, fix parameter list.
1102 * string/bug-strncat1.c (main): Fix typo.
1103 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1105 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1107 * configure.in: Add --enable-all-warnings.
1108 * config.make.in (all-warnings): New variable.
1109 * Makeconfig (+gccwarn): Define with many more warnings if
1110 all-warnings is yes.
1112 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1114 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1115 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1116 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1117 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1118 * math/test-fpucw.c (main): Use %lx in format string, cast
1119 control words to long.
1120 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1121 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1122 large that it is unsigned warning.
1124 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1125 it to long on sparc64.
1127 2000-11-20 Andreas Jaeger <aj@suse.de>
1129 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1130 (receiv_print_stats): Likewise.
1132 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1134 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1136 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1138 * csu/gmon-start.c: Always have prototype for __gmon_start.
1139 * csu/version.c: Add prototypes for __libc_print_version and
1141 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1142 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1144 * iconv/gconv_builtin.h: Add ASCII module definitions.
1145 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1146 (add_module): Add cast to avoid warning. Rework construction of
1147 strings for new module.
1148 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1149 (derivation_compare): Likewise.
1150 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1151 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1152 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1153 (struct gconv_alias): Remove const from fromname and toname.
1154 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1156 (internal_ucs4_loop): Use correct const-ness.
1157 (ucs4_internal_loop): Likewise.
1158 (internal_ucs4le_loop): Likewise.
1159 (ucs4le_internal_loop_single): Likewise.
1160 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1161 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1162 assignments appropriately.
1163 (struct known_trans): Remove const from fname.
1164 (trans_compare): Make s1 and s2 const.
1165 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1167 * iconv/skeleton.c: Remove cast in calls of loop functions.
1168 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1169 * iconvdata/iso646.c: Remove US_ASCII support.
1170 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1171 * include/unistd.h: Add __libc_check_standard_fds prototype.
1172 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1173 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1175 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1176 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1177 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1179 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1180 __libc_init_first and _dl_start.
1181 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1182 (DCIGETTEXT): Make domaindata variable const.
1183 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1186 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1188 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1190 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1191 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1194 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1195 value defined in /usr/include/asm-mips/fcntl.h.
1197 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1199 * stdio-common/Makefile (tests): Add test-vfprintf.
1200 (test-vfprintf-ENV): New variable.
1201 * stdio-common/test-vfprintf.c: New file.
1203 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1205 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1206 (tst-mbrtowc-ENV): New variable.
1207 (tst-wcrtomb-ENV): New variable.
1208 * wcsmbs/tst-mbrtowc.c: New file.
1209 * wcsmbs/tst-wcrtomb.c: New file.
1211 2000-11-16 Andreas Jaeger <aj@suse.de>
1213 * manual/install.texi (Tools for Compilation): Update
1214 documentation for GCC 2.95.2.
1216 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1219 if IPv4 and IPv6 requests timed out.
1221 2000-11-18 Akim Demaille <akim@epita.fr>
1223 * malloc/obstack.h: Formatting changes.
1224 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1225 prevents type checking.
1226 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1227 cast the value to (void *): assigning a `foo *' to a `void *'
1229 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1231 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1233 * scripts/config.guess: Update from upstream maintainer.
1234 * scripts/config.sub: Likewise.
1236 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1238 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1239 * libio/freopen64.c (freopen64): Likewise.
1240 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1242 * libio/Makefile: Add rules to build and run test-freopen.
1243 * libio/test-freopen.c: New file.
1244 * libio/test-freopen.sh: New file.
1246 2000-11-15 H.J. Lu <hjl@gnu.org>
1248 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1249 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1250 (DL_DT_FINI_ADDRESS): Likewise.
1252 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1253 return type to ElfW(Addr).
1254 (_dl_function_address): New prototype.
1255 (DL_FUNCTION_ADDRESS): Defined.
1256 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1257 (DL_DT_FINI_ADDRESS): Likewise.
1259 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1261 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1262 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1264 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1265 (_dl_function_address): This.
1267 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1268 function pointer for DT_FINI.
1269 * elf/dl-close.c (_dl_close): Likewise.
1271 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1272 function pointer for DT_INIT.
1274 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1276 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1277 end of wexpbuf buffer.
1279 2000-11-16 Andreas Jaeger <aj@suse.de>
1281 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1282 definition of F_GETLK, F_SETLK, F_SETLKW.
1284 2000-11-16 Andreas Jaeger <aj@suse.de>
1286 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1289 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1291 * dlfcn/default.c (main): Add test for dladdr of main returning
1292 argv[0] in dli_fname field.
1294 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1296 * Makeconfig (run-program-prefix): Move test-static test into the
1299 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1301 schedule instructions.
1302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1303 schedule instructions, fix a bug in copying auxiliary data.
1305 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1307 * manual/startup.texi (Program Arguments): Fix type of main's envp
1309 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1311 * iconvdata/gconv-modules: Add CP950 alias.
1313 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1315 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1316 syscall-list.h goal.
1317 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1319 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1321 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1323 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1326 * intl/tst-gettext2.c: Set C locale if setting other locale
1327 failed. Use gettext() not _().
1329 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1330 successfully loaded a new locale.
1332 2000-11-13 Andreas Jaeger <aj@suse.de>
1334 * configure.in: Require gcc 2.95 or newer.
1336 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1338 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1339 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1341 2000-11-11 Jim Meyering <meyering@lucent.com>
1343 * string/strndup.c (strndup): Cast return value to `char *'.
1345 2000-11-15 Jim Meyering <meyering@ascend.com>
1347 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1348 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1349 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1350 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1351 Also #undef __memchr.
1352 Use `weak_alias' only if it's defined.
1354 2000-11-10 H.J. Lu <hjl@gnu.org>
1356 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1358 2000-11-15 Andreas Jaeger <aj@suse.de>
1360 * elf/chroot_canon.c: Include <stdint.h>.
1362 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1363 (print_entry): Likewise.
1364 (add_to_cache): Likewise.
1366 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1368 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1369 (path_hwcap): Likewise.
1370 (search_dir): Likewise.
1372 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1374 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1377 (_dl_platform_string): New.
1378 (_DL_HWCAP_PLATFORM): New.
1379 (_dl_string_platform): New.
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1382 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1383 (_dl_string_platform): New.
1384 (_DL_HWCAP_PLATFORM): New.
1385 (_dl_platform_string): New.
1387 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1389 (_DL_HWCAP_COUNT): New.
1390 (_dl_string_platform): New.
1391 (_DL_HWCAP_PLATFORM): New.
1392 (_dl_platform_string): New.
1394 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1396 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1398 2000-11-14 Andreas Jaeger <aj@suse.de>
1400 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1402 2000-11-13 Roland McGrath <roland@frob.com>
1404 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1406 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1408 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1409 underrun and make sure the result is null terminated even if there
1410 is no trailing newline.
1412 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1414 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1416 2000-11-10 H.J. Lu <hjl@gnu.org>
1418 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1420 2000-11-10 Andreas Jaeger <aj@suse.de>
1422 * elf/ldconfig.c (create_links): Fix alloca calculation.
1423 Patch by Ben Collins <bcollins@debian.org>.
1425 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1427 * inet/getnameinfo.c (getnameinfo): Use correct destination
1428 parameter for if_indextoname.
1429 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1431 2000-11-09 H.J. Lu <hjl@gnu.org>
1433 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1434 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1435 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1438 * time/Versions (GLIBC_2.1): Move getitimer to...
1439 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1441 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1443 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1444 "make install", to work around a binary incompatibility between
1445 glibc 2.1 and glibc 2.2 gconv modules.
1447 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1449 * intl/locale.alias: Add thai.
1450 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1452 2000-11-07 Akim Demaille <akim@epita.fr>
1454 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1455 argument `data' for consistency with the prototypes.
1457 (obstack_copy, obstack_copy0): Rename the second argument as
1458 `address' for consistency. Qualify it `const'.
1459 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1460 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1461 `const' their input argument (`data' or `address').
1462 Adjust the corresponding macros to include `const' in casts.
1464 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1466 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1469 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1471 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1474 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1476 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1477 ai_protocol by internal table if service was not given.
1479 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1481 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1482 numerical port was specified with protocol without socktype.
1484 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1486 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1488 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1490 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1492 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1494 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1495 sin6_scope_id field.
1497 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1499 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1501 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1503 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1505 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1507 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1508 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1510 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1512 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1513 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1515 2000-11-09 H.J. Lu <hjl@gnu.org>
1517 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1520 See ChangeLog.11 for earlier changes.