1 2000-12-18 Ulrich Drepper <drepper@redhat.com>
3 * math/test-misc.c: Add more tests for nextafter.
4 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6 (ieee_long_double_shape_type): Make sign_exponent element signed.
8 * manual/message.texi: Add Estonian to plural overview list.
9 Correct rule for Slavic languages.
10 Patch by Stanislav Brabec <utx@penguin.cz>.
12 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
14 2000-12-18 Andreas Jaeger <aj@suse.de>
16 * test-skeleton.c: Use temp_name_list instead of temp_name_list to
17 avoid collision with name_list from inet/netgroup.h.
19 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
21 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
22 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
23 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
24 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
26 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
27 declaration to match prototype.
28 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
29 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
30 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
32 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
33 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
34 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
35 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
36 (_nss_nis_getservbyport_r): Likewise.
37 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
38 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
39 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
40 (_nss_nis_setnetent): Likewise
41 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42 (_nss_nis_endnetgrent): Likewise.
43 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
45 (_nss_nisplus_setnetgrent): Likewise.
46 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
47 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
48 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
49 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
51 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
53 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
55 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
57 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
58 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
59 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
60 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
61 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
62 (_nss_dns_getnetbyaddr_r): Likewise.
64 2000-12-17 Andreas Jaeger <aj@suse.de>
66 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
69 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
70 unused attribute to shut up gcc warnings.
72 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
73 * sysdeps/generic/k_tanl.c: Likewise.
74 * sysdeps/generic/k_cosl.c: Likewise.
75 * sysdeps/generic/e_j0l.c: Likewise.
76 * sysdeps/generic/e_j1l.c: Likewise.
77 * sysdeps/generic/e_jnl.c: Likewise.
78 * sysdeps/generic/e_lgammal_r.c: Likewise.
80 * elf/vismain.c: Move prototypes for functions in vismod*.c to
82 * elf/vismod.h: New file.
83 * elf/Makefile (distribute): Add vismod.h.
84 * elf/vismod1.c: Include vismod.h.
85 * elf/vismod2.c: Likewise.
86 * elf/vismod3.c: Likewise.
88 * elf/constload3.c: Add prototype declarations to shut up gcc.
89 * elf/failobj.c: Likewise.
90 * elf/nodelmod3.c: Likewise.
91 * elf/filtmod1.c: Likewise.
92 * elf/filtmod2.c: Likewise.
93 * elf/reldepmod1.c: Likewise.
94 * elf/reldepmod2.c: Likewise.
95 * elf/reldepmod3.c: Likewise.
96 * elf/reldepmod4.c: Likewise.
97 * elf/unload2dep.c: Likewise.
98 * elf/unload2mod.c: Likewise.
99 * elf/ltglobmod1.c: Likewise.
100 * elf/pathoptobj.c: Likewise.
101 * elf/neededobj1.c: Likewise.
102 * elf/neededobj2.c: Likewise.
103 * elf/neededobj3.c: Likewise.
104 * elf/neededobj4.c: Likewise.
105 * elf/nextmod1.c: Likewise.
106 * elf/nextmod2.c: Likewise.
108 * locale/programs/ld-collate.c (collate_finish): Don't use labels
109 at end of compound statement.
110 * locale/programs/locale.c (show_info): Likewise.
111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
113 2000-12-16 Jakub Jelinek <jakub@redhat.com>
115 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
116 with a pointer not returned by obstack_ functions.
118 2000-12-16 Ulrich Drepper <drepper@redhat.com>
120 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
122 (struct stat64): Likewise.
123 Reported by Michael Keezer <mkeezer@redhat.com>.
125 * timezone/asia: Update from tzdata2000h.
126 * timezone/australasia: Likewise.
127 * timezone/backward: Likewise.
128 * timezone/europe: Likewise.
129 * timezone/northamerica: Likewise.
130 * timezone/southamerica: Likewise.
131 * timezone/zone.tab: Likewise.
133 2000-12-14 Jakub Jelinek <jakub@redhat.com>
135 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
136 and dir.stream is NULL, only free dir.content.
137 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
138 * io/ftwtest-sh: Test with --early-exit.
140 2000-12-13 Jakub Jelinek <jakub@redhat.com>
142 * misc/efgcvt.c (FCVT_MAXDIG): Define.
143 (FCVT_BUFPTR): New variable.
144 (fcvt): If fcvt_r returns -1 on the static short buffer,
145 try to malloc a sufficiently large one and retry.
146 (free_mem): New function.
147 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
148 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
150 2000-12-15 Ulrich Drepper <drepper@redhat.com>
152 * misc/dirname.c (dirname): Fix search for second to last slash.
154 2000-12-13 Andreas Jaeger <aj@suse.de>
156 * misc/tst-dirname.c (main): Fix typo in test to really use
157 the examples from Unix98.
158 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
160 2000-12-09 H.J. Lu <hjl@gnu.org>
162 * sysdeps/ia64/fpu/s_fabs.S: New file.
163 * sysdeps/ia64/fpu/s_fabsf.S: New file.
164 * sysdeps/ia64/fpu/s_fabsl.S: New file.
166 2000-12-15 Andreas Jaeger <aj@suse.de>
168 * stdio-common/scanf9.c (main): Reformat and change to avoid
171 * stdio-common/tstdiomisc.c: Make local functions static.
172 * stdio-common/tst-printf.c: Likewise.
174 * elf/constload2.c: Add prototype declarations to shut up gcc.
175 * elf/dep1.c: Likewise.
176 * elf/dep2.c: Likewise.
177 * elf/dep3.c: Likewise.
178 * elf/dep4.c: Likewise.
179 * elf/ltglobmod2.c: Likewise.
181 * libio/fmemopen.c: Make local functions static.
183 * elf/Makefile (distribute): Added testobj.h.
185 * elf/testobj.h: New file.
187 * elf/testobj1.c: Include testobj.h and move prototype
188 declarations to testobj.h.
189 * elf/testobj2.c: Likewise.
190 * elf/testobj3.c: Likewise.
191 * elf/testobj4.c: Likewise.
192 * elf/testobj5.c: Likewise.
193 * elf/testobj6.c: Likewise.
194 * elf/testobj1_1.c: Likewise.
195 * elf/preloadtest.c: Likewise.
197 2000-12-15 Ben Collins <bcollins@debian.org>
199 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
200 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
202 2000-12-14 H.J. Lu <hjl@gnu.org>
204 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
205 field in a float is 8 bits, not 11 bits.
207 2000-12-13 Jakub Jelinek <jakub@redhat.com>
209 * math/test-misc.c (main): Adjust m for IEEE quad long double.
211 2000-12-13 Andreas Jaeger <aj@suse.de>
213 * manual/message.texi (Using gettextized software): Fix typo.
215 * manual/charset.texi (Converting a Character): Fix mbstouwcs
217 Patch by Martin Buchholz <martin@xemacs.org>.
219 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
220 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
222 2000-12-11 Andreas Jaeger <aj@suse.de>
224 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
225 kernel_sigset_t and use it.
226 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
228 2000-12-10 Richard Henderson <rth@redhat.com>
230 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
231 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
232 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
234 2000-12-10 Jakub Jelinek <jakub@redhat.com>
236 * sysdeps/alpha/htonl.S: Fix a typo.
238 2000-12-10 Jakub Jelinek <jakub@redhat.com>
240 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
242 2000-12-10 Andreas Jaeger <aj@suse.de>
244 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
245 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
246 Drepper <drepper@redhat.com>.
248 2000-12-09 Andreas Jaeger <aj@suse.de>
250 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
252 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
254 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
256 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
259 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
262 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
263 * nscd/connections.c (handle_request): Likewise.
264 * nscd/pwdcache.c (addpwbyname): Likewise.
265 * nscd/grpcache.c (addgrbyname): Likewise.
267 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
269 2000-12-09 Ulrich Drepper <drepper@redhat.com>
271 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
273 * Makeconfig (default_cflags): Make -O2 the default for stable
276 2000-12-08 H.J. Lu <hjl@gnu.org>
278 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
279 * sysdeps/ia64/fpu/s_isinf.S: This.
280 Add a .pred.rel.mutex note to avoid false report.
282 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
283 * sysdeps/ia64/fpu/s_isnan.S: This.
285 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
286 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
287 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
288 * sysdeps/ia64/fpu/s_isinff.S: New file.
289 * sysdeps/ia64/fpu/s_isinfl.S: New file.
290 * sysdeps/ia64/fpu/s_isnanf.S: New file.
291 * sysdeps/ia64/fpu/s_isnanl.S: New file.
292 * sysdeps/ia64/fpu/s_finite.S: New file.
293 * sysdeps/ia64/fpu/s_finitef.S: New file.
294 * sysdeps/ia64/fpu/s_finitel.S: New file.
295 * sysdeps/ia64/fpu/s_signbit.S: New file.
296 * sysdeps/ia64/fpu/s_signbitf.S: New file.
297 * sysdeps/ia64/fpu/s_signbitl.S: New file.
298 * sysdeps/ia64/fpu/s_copysign.S: New file.
299 * sysdeps/ia64/fpu/s_copysignf.S: New file.
300 * sysdeps/ia64/fpu/s_copysignl.S: New file.
302 2000-12-08 Ulrich Drepper <drepper@redhat.com>
304 * math/libm-test.inc (main): Fix typos in messages.
306 * string/stratcliff.c: Add test for rawmemchr.
308 2000-12-08 Jakub Jelinek <jakub@redhat.com>
310 * elf/dl-open.c (_dl_open): If objname points right after errstring,
311 allocate it together with errstring using alloca.
312 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
313 to "", because it might point to local stack.
315 2000-12-05 H.J. Lu <hjl@gnu.org>
317 * nss/Makefile (routines): Add getnssent and getnssent_r.
318 * nss/nsswitch.h (__nss_setent): New internal NSS function.
319 (__nss_endent): Likewise.
320 (__nss_getent_r): Likewise.
321 (__nss_getent): Likewise.
322 * nss/getnssent_r.c: New file.
323 * nss/getnssent.c: New file.
324 * nss/getXXent.c (H_ERRNO_VAR): Updated.
325 (GETFUNC_NAME): Updated to call __nss_getent ().
326 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
327 (STAYOPEN_TMPVAR): Updated.
328 (STAYOPEN_VAR): Updated.
329 (SETFUNC_NAME): Updated to call __nss_setent ().
330 (ENDFUNC_NAME): Updated to call __nss_endent ().
331 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
333 2000-12-08 Andreas Jaeger <aj@suse.de>
335 * nscd/dbg_log.h (dbg_log): Correct attribute.
337 2000-12-08 Jakub Jelinek <jakub@redhat.com>
339 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
340 cp + len. Compute where from dirname.
341 Reported by <jreiser@BitWagon.com>.
343 2000-12-08 Richard Henderson <rth@twiddle.net>
345 * sysdeps/alpha/_mcount.S: Fix typo.
346 * sysdeps/alpha/strncpy.S: Likewise.
348 * sysdeps/alpha/alphaev6/Implies: New file.
349 * sysdeps/alpha/alphaev67/Implies: New file.
350 * sysdeps/alpha/alphaev67/ffs.S: New file.
351 * sysdeps/alpha/alphaev67/ffsll.S: New file.
352 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
353 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
354 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
355 * sysdeps/alpha/rawmemchr.S: New file.
356 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
357 * sysdeps/alpha/strcpy.S: Likewise.
360 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
362 From rick.gorton@alpha-processor.com:
363 * sysdeps/alpha/alphaev6/memchr.S: New file.
364 * sysdeps/alpha/alphaev6/memcpy.S: New file.
365 * sysdeps/alpha/alphaev6/memset.S: New file.
366 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
367 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
368 * sysdeps/alpha/alphaev67/strcat.S: New file.
369 * sysdeps/alpha/alphaev67/strchr.S: New file.
370 * sysdeps/alpha/alphaev67/strlen.S: New file.
371 * sysdeps/alpha/alphaev67/strncat.S: New file.
372 * sysdeps/alpha/htonl.S: Use a shorter sequence.
374 2000-12-08 Jakub Jelinek <jakub@redhat.com>
376 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
377 Reported by <pspencer@fields.utoronto.ca>.
379 2000-12-07 Jes Sorensen <jes@linuxcare.com>
381 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
382 Pointed out by Hans Boehm.
384 2000-12-07 H.J. Lu <hjl@gnu.org>
386 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
388 2000-12-07 Andreas Jaeger <aj@suse.de>
390 * misc/error.c: Add format attributes for __error and __error_at_line.
392 * nscd/dbg_log.h: Add format attribute.
394 2000-12-08 Ulrich Drepper <drepper@redhat.com>
396 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
397 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
399 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
401 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
403 2000-12-06 Ulrich Drepper <drepper@redhat.com>
405 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
406 (sysdep_routines): Add uitrunc.
407 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
408 Patches by Michael Keezer <mkeezer@redhat.com>.
410 2000-12-06 Roland McGrath <roland@frob.com>
412 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
413 argument data, since it will be used to copy out too (for INOUT).
414 Reported by Marcus Brinkmann <marcus@gnu.org>.
416 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
417 (__ioctl): Use uintptr_t instead of unsigned long int.
419 2000-12-06 Jim Wilson <wilson@redhat.com>
421 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
423 2000-12-06 Ulrich Drepper <drepper@redhat.com>
425 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
426 x.5 rounding correctly.
428 2000-12-06 Mark Kettenis <kettenis@gnu.org>
430 * stdio-common/perror.c (perror): Conditionalize code dealing with
431 wide-oriented streams on USE_IN_LIBIO.
433 2000-12-06 Mark Kettenis <kettenis@gnu.org>
435 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
436 as internal_function.
438 2000-12-05 Ulrich Drepper <drepper@redhat.com>
440 * sysdeps/alpha/elf/start.S (__data_start): Define.
442 2000-12-05 H.J. Lu <hjl@gnu.org>
444 * nss/getXXent_r.c (setup): Change the return type to int.
446 2000-12-05 Ulrich Drepper <drepper@redhat.com>
448 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
449 (sysdep_routines): Add restf and savef.
450 * sysdeps/unix/sysv/aix/restf.c: New file.
451 * sysdeps/unix/sysv/aix/savef.c: New file.
452 Patches by Michael Keezer <mkeezer@redhat.com>.
454 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
455 if O_DIRECTORY is not defined.
456 Patch by Michael Keezer <mkeezer@redhat.com>.
458 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
459 Patch by Michael Keezer <mkeezer@redhat.com>.
461 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
462 than 4 bytes in escape sequence.
463 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
465 2000-12-05 Andreas Jaeger <aj@suse.de>
467 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
470 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
472 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
474 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
475 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
479 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
480 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
482 * sysdeps/generic/dl-cache.c: Remove declaration of
483 _dl_sysdep_read_whole_file.
485 * elf/dl-load.c (_dl_map_object): Remove declaration of
486 _dl_load_cache_lookup.
488 * sysdeps/generic/ldsodefs.h: Add declarations of
489 _dl_load_cache_lookup, _dl_unload_cache,
490 _dl_sysdep_read_whole_file, _dl_sysdep_start and
491 _dl_sysdep_start_cleanup.
493 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
496 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
497 * sysdeps/generic/dl-environ.c: Likewise.
499 * stdio-common/printf_fp.c: Include <gmp.h> instead of
501 * math/atest-exp.c: Likewise.
502 * math/atest-exp2.c: Likewise.
503 * math/atest-sincos.c: Likewise.
504 * stdio-common/_itoa.c: Likewise.
505 * stdio-common/_itowa.c: Likewise.
507 * include/gmp.h: New file with internal prototypes.
509 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
511 * include/setjmp.h: ...here.
513 * locale/Makefile (routines): Remove codeset_name since it's not
516 * locale/codeset_name.c: Removed.
518 2000-12-05 Ulrich Drepper <drepper@redhat.com>
520 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
522 2000-12-05 Andreas Jaeger <aj@suse.de>
524 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
526 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
528 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
531 2000-12-05 Andreas Jaeger <aj@suse.de>
533 * nss/test-netdb.c: Mark local functions as static to avoid
535 (main): Use return to silence warning.
537 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
539 * stdio-common/test-popen.c: Mark local functions as static to
541 (main): Use return to silence warning.
543 * stdlib/testsort.c (compare): Mark as static to avoid warning.
545 * assert/test-assert.c: Mark local functions as static to avoid
547 * assert/test-assert-perr.c: Likewise.
549 * math/libm-test.inc (main): Use return to silence warnings.
551 2000-12-04 Ulrich Drepper <drepper@redhat.com>
553 * math/fenv.h: Fix typo in comment.
555 * math/test-misc.c (main): Add a few more over and underflow tests
558 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
560 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
561 * math/w_scalb.c: Don't use matherr except in SVID mode.
562 * math/w_scalbf.c: Likewise.
563 * math/w_scalbl.c: Likewise.
564 * math/test-misc.c: Add test for NaN and scalbl.
565 Reported by Fred J. Tydeman <tydeman@tybor.com>.
567 2000-12-04 Ulrich Drepper <drepper@redhat.com>
569 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
570 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
571 * include/libc-symbols.h (strong_alias): Define special version
572 for HAVE_ASM_GLOBAL_DOT_NAME.
573 (weak_alias): Likewise.
574 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
575 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
576 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
577 getutxline, pututxline, and utmpxname.
578 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
579 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
580 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
581 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
582 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
583 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
584 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
585 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
586 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
587 Patches by Michael Keezer <mkeezer@redhat.com>.
589 2000-12-04 H.J. Lu <hjl@gnu.org>
591 * configure.in: Change --with-oldest-abi=ABI to
592 --enable-oldest-abi=ABI.
594 2000-12-02 Bruno Haible <haible@clisp.cons.org>
596 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
597 fwprintf instead of fprintf.
599 2000-12-04 Ulrich Drepper <drepper@redhat.com>
601 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
602 DECIMAL_DIG definitions.
603 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
604 * sysdeps/generic/bits/mathdef.h: Likewise
605 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
606 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
607 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
608 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
609 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
610 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
612 2000-12-03 Ulrich Drepper <drepper@redhat.com>
614 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
616 * math/atest-exp.c: Mark local functions as static to avoid warnings.
617 * math/atest-exp2.c: Likewise.
618 * math/atest-sincos.c: Likewise.
620 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
621 Reported by Fred J. Tydeman <tydeman@tybor.com>.
623 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
624 the handling of denormalized numbers.
626 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
628 * sysdeps/i386/fpu/fpclassifyl.c: New file.
630 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
631 pseudo denormal representation of LDBL_MIN.
633 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
634 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
636 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
637 * iconvdata/jis0208.c: Likewise.
638 * iconvdata/jis0212.c: Likewise.
639 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
641 * math/test-misc.c (main): More tests for frexp and some for
642 fpclassify and isnormal.
644 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
646 Reported by Fred J. Tydeman <tydeman@tybor.com>.
648 * math/test-misc.c (main): Add tests for frexp.
649 Reported by Fred J. Tydeman <tydeman@tybor.com>.
650 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
652 2000-12-02 H.J. Lu <hjl@gnu.org>
654 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
657 2000-12-02 Ulrich Drepper <drepper@redhat.com>
659 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
663 * sysdeps/generic/glob.c: Adjust types of several variables to
666 2000-12-01 Ulrich Drepper <drepper@redhat.com>
668 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
670 2000-11-30 Roland McGrath <roland@frob.com>
672 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
673 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
674 allow multiple instances using the same function name in one file.
676 2000-12-01 Ulrich Drepper <drepper@redhat.com>
678 * configure.in: Correct test for pserver CVS access.
680 2000-11-28 H.J. Lu <hjl@gnu.org>
682 * libio/libio.h: Remove extra "#if ... #endif".
684 2000-11-29 H.J. Lu <hjl@gnu.org>
686 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
688 2000-12-01 H.J. Lu <hjl@gnu.org>
690 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
691 * nss/getXXent_r.c: Likewise.
692 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
694 2000-11-30 H.J. Lu <hjl@gnu.org>
696 * scripts/abi-versions.awk (oldest_abi): New variable.
697 Handle the oldest ABI supported.
699 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
700 for scripts/abi-versions.awk.
702 * configure.in: Add --with-oldest-abi=ABI.
703 * configure: Rebuild.
705 * config.make.in (oldest-abi): New.
707 * config.h.in (GLIBC_OLDEST_ABI): New.
709 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
711 2000-11-30 Jakub Jelinek <jakub@redhat.com>
713 * locale/setlocale.c (setname): Free for all categories, not just
715 (setlocale): Store a copy of string passed by user, not the string
718 2000-11-30 Roland McGrath <roland@frob.com>
720 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
721 rather than _hurd_fd_subinit, so it happens after it's safe to use
722 libc facilities like malloc.
724 2000-11-28 Andreas Jaeger <aj@suse.de>
726 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
727 declaration, adjust declaration of __syscall_getdents to match
730 2000-11-29 H.J. Lu <hjl@gnu.org>
732 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
734 2000-11-29 Andreas Jaeger <aj@suse.de>
736 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
738 2000-11-28 Ulrich Drepper <drepper@redhat.com>
740 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
741 * dlfcn/defaultmod2.c: Likewise.
742 * dlfcn/dlopen.c: Likewise.
743 * dlfcn/dlopenold.c: Likewise.
744 * dlfcn/failtestmod.c: Likewise.
745 * dlfcn/glreflib1.c: Likewise.
746 * dlfcn/glreflib2.c: Likewise.
747 * dlfcn/eval.c: Likewise. Add attributes.
749 * ctype/ctype-extn.c: Define isblank and not __isblank.
751 * time/strftime.c: Add const where necessary to avoid warnings.
752 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
754 2000-11-22 Paul Eggert <eggert@twinsun.com>
756 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
757 size of (size_t) -1; it's not portable.
759 2000-11-28 Ulrich Drepper <drepper@redhat.com>
761 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
763 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
765 2000-11-14 Jes Sorensen <jes@linuxcare.com>
767 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
769 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
770 _mcount is required by profiled binaries.
772 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
773 * sysdeps/ia64/machine-gmon.h: ...here.
775 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
777 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
778 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
780 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
782 * iconvdata/ibm922.c: New file.
783 * iconvdata/ibm922.h: New file.
784 * iconvdata/ibm1124.c: New file.
785 * iconvdata/ibm1124.h: New file.
786 * iconvdata/ibm1129.c: New file.
787 * iconvdata/ibm1129.h: New file.
788 * iconvdata/testdata/IBM922: New file.
789 * iconvdata/testdata/IBM922..UTF8: New file.
790 * iconvdata/testdata/IBM1124: New file.
791 * iconvdata/testdata/IBM1124..UTF8: New file.
792 * iconvdata/testdata/IBM1129: New file.
793 * iconvdata/testdata/IBM1129..UTF8: New file.
795 2000-11-28 Ulrich Drepper <drepper@redhat.com>
797 * catgets/gencat.c (normalize_line): Take extra parameter with escape
798 character. Change callers.
799 (open_conversion): Determine mapping of 0x5c as wchar_t value.
800 * catgets/Makefile: Add rules to build and run test-gencat.
801 * catgets/sample.SJIS: New file.
802 * catgets/test-gencat.c: New file.
803 * catgets/test-gencat.sh: New file.
804 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
806 2000-11-28 Andreas Jaeger <aj@suse.de>
808 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
811 2000-11-28 Ulrich Drepper <drepper@redhat.com>
813 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
815 2000-11-28 Andreas Jaeger <aj@suse.de>
817 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
819 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
822 2000-11-27 Ulrich Drepper <drepper@redhat.com>
824 * misc/getusershell.c: Make strings in okshells array const.
825 * misc/regexp.c: Add const to cast to avoid warnings.
826 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
827 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
829 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
831 * misc/error.c: Add prototypes for __error and __error_at_line.
832 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
833 statement to avoid warning.
834 * test-skeleton.c: Mark timeout_handler with noreturn.
835 * iconv/skeleton.c (get16u): Add const to cast.
837 * iconvdata/gb18030.c: Likewise.
838 * iconvdata/iso-2022-cn-ext.c: Likewise.
839 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
840 * iconvdata/big5.c: Likewise.
841 * iconvdata/big5hkscs.c: Likewise.
842 * iconvdata/iso_6937.c: Likewise.
843 * iconvdata/iso_6937-2.c: Likewise.
844 * iconvdata/t.61.c: Likewise.
845 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
846 * iconvdata/unicode.c: Likewise.
847 * iconvdata/utf-16.c: Likewise.
848 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
849 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
850 with little code shuffling.
852 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
853 the problems introduced when the user selects -O3.
855 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
856 * misc/sys/cdefs.h: Define __flexarr.
857 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
859 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
860 * iconv/skeleton.c: Likewise.
861 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
862 * iconv/loop.c (get16): Add const to cast.
865 2000-11-27 Andreas Jaeger <aj@suse.de>
867 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
869 * login/programs/utmpdump.c (print_entry): Likewise.
871 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
873 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
874 in a single asm as they may be used to access other stored
876 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
878 2000-11-27 Andreas Jaeger <aj@suse.de>
880 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
881 * rt/tst-aio64.c: Likewise.
883 2000-11-27 Ulrich Drepper <drepper@redhat.com>
885 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
887 (libc.cat): Likewise.
888 * catgets/gencat.c: Implement handling of message catalogs encoded
889 with stateful character sets.
890 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
892 2000-11-26 Ulrich Drepper <drepper@redhat.com>
894 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
896 * inet/getnameinfo.c: Adjust casts to avoid warnings.
897 * inet/rcmd.c: Likewise.
898 * inet/ruserpass.c: Likewise.
899 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
900 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
902 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
903 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
904 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
905 * include/aliases.h: Add prototypes for internal __getalias* functions.
906 * include/netdb.h: Add prototypes for __old_gethostent_r,
907 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
908 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
909 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
910 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
911 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
912 __old_getrpcbynumber_r, __old_getrpcent_r.
914 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
915 __getrpcent_r prototypes.
917 2000-11-25 Ulrich Drepper <drepper@redhat.com>
919 * string/strcoll.c: Add casts to avoid warnings.
920 * string/strnlen.c: Likewise.
921 * string/strxfrm.c: Likewise.
922 * sysdeps/generic/_strerror.c: Likewise.
923 * sysdeps/generic/memrchr.c: Likewise.
924 * sysdeps/generic/strcasestr.c: Likewise.
925 * sysdeps/generic/strstr.c: Likewise.
927 * locale/weight.h (findidx): Add const to cast to avoid warning.
929 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
930 * elf/loadtest.c: Likewise.
931 * elf/multiload.c: Likewise.
932 * elf/next.c: Likewise.
933 * elf/nodelete.c: Likewise.
934 * elf/noload.c: Likewise.
935 * elf/order.c: Likewise.
936 * elf/origtest.c: Likewise.
937 * elf/preloadtest.c: Likewise.
938 * elf/restest1.c: Likewise.
940 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
941 parameter of asm must be in %ecx.
943 * string/tester.c: Mark test functions as static to avoid warnings.
945 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
946 preserve value over different gconv-modules files.
948 2000-11-24 Ulrich Drepper <drepper@redhat.com>
950 * locale/findlocale.c: Add casts to avoid warnings.
951 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
952 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
954 * misc/tsearch.c (const_node): New type.
955 (trecurse): Correct casts to avoid warnings.
957 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
960 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
962 * test-skeleton.c: Mark local functions as static to avoid warnings.
964 2000-11-23 H.J. Lu <hjl@gnu.org>
966 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
967 support the background job.
970 2000-11-24 Ulrich Drepper <drepper@redhat.com>
972 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
973 has same names but lower cost.
975 2000-11-23 Jakub Jelinek <jakub@redhat.com>
977 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
978 which never occur during bootstrap.
979 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
981 2000-11-23 Andreas Jaeger <aj@suse.de>
983 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
985 * nss/Versions: Remove _nss_files_getipnodebyname_r.
987 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
989 2000-11-18 Martin Buchholz <martin@xemacs.org>
991 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
994 2000-11-21 Alan Modra <alan@linuxcare.com.au>
996 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
998 * csu/abi-note.S: Correct comment for operating system number.
1000 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1002 * Versions.def: Add GLIBC_2.2.1 for glibc.
1004 2000-11-22 Andreas Schwab <schwab@suse.de>
1006 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1007 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1009 2000-11-22 Ulrich Drepper <drepper@redhat.com>
1011 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1012 absolute time for pthread_cond_timedwait call.
1013 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1015 * rt/Makefile (tests): Add tst-aio6.
1016 * rt/tst-aio6.c: New file.
1018 2000-11-23 Andreas Jaeger <aj@suse.de>
1020 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1022 2000-11-22 Andreas Jaeger <aj@suse.de>
1024 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1026 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1028 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1030 2000-11-21 Andreas Schwab <schwab@suse.de>
1032 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1033 * sysdeps/arm/setjmp.S: Likewise.
1034 * sysdeps/arm/fpu/setjmp.S: Likewise.
1035 * sysdeps/i386/setjmp.S: Likewise.
1036 * sysdeps/i386/elf/setjmp.S: Likewise.
1037 * sysdeps/s390/setjmp.S: Likewise.
1038 * sysdeps/s390/elf/setjmp.S: Likewise.
1039 * sysdeps/sh/sh3/setjmp.S: Likewise.
1040 * sysdeps/sh/sh4/setjmp.S: Likewise.
1041 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1042 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1044 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1046 2000-11-21 Andreas Jaeger <aj@suse.de>
1048 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1049 NORETURN, fix parameter list.
1051 * string/bug-strncat1.c (main): Fix typo.
1052 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1054 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1056 * configure.in: Add --enable-all-warnings.
1057 * config.make.in (all-warnings): New variable.
1058 * Makeconfig (+gccwarn): Define with many more warnings if
1059 all-warnings is yes.
1061 2000-11-20 Jakub Jelinek <jakub@redhat.com>
1063 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1064 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1065 * malloc/tst-valloc.c (main): Cast valloc return value to long.
1066 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1067 * math/test-fpucw.c (main): Use %lx in format string, cast
1068 control words to long.
1069 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1070 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1071 large that it is unsigned warning.
1073 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1074 it to long on sparc64.
1076 2000-11-20 Andreas Jaeger <aj@suse.de>
1078 * nscd/nscd.h (termination_handler): Add noreturn attribute.
1079 (receiv_print_stats): Likewise.
1081 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1083 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1085 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1087 * csu/gmon-start.c: Always have prototype for __gmon_start.
1088 * csu/version.c: Add prototypes for __libc_print_version and
1090 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1091 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1093 * iconv/gconv_builtin.h: Add ASCII module definitions.
1094 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1095 (add_module): Add cast to avoid warning. Rework construction of
1096 strings for new module.
1097 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1098 (derivation_compare): Likewise.
1099 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1100 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1101 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1102 (struct gconv_alias): Remove const from fromname and toname.
1103 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1105 (internal_ucs4_loop): Use correct const-ness.
1106 (ucs4_internal_loop): Likewise.
1107 (internal_ucs4le_loop): Likewise.
1108 (ucs4le_internal_loop_single): Likewise.
1109 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1110 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1111 assignments appropriately.
1112 (struct known_trans): Remove const from fname.
1113 (trans_compare): Make s1 and s2 const.
1114 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1116 * iconv/skeleton.c: Remove cast in calls of loop functions.
1117 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1118 * iconvdata/iso646.c: Remove US_ASCII support.
1119 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1120 * include/unistd.h: Add __libc_check_standard_fds prototype.
1121 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1122 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1124 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1125 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1126 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1128 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1129 __libc_init_first and _dl_start.
1130 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1131 (DCIGETTEXT): Make domaindata variable const.
1132 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1135 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1137 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1139 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1140 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1143 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1144 value defined in /usr/include/asm-mips/fcntl.h.
1146 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1148 * stdio-common/Makefile (tests): Add test-vfprintf.
1149 (test-vfprintf-ENV): New variable.
1150 * stdio-common/test-vfprintf.c: New file.
1152 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1154 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1155 (tst-mbrtowc-ENV): New variable.
1156 (tst-wcrtomb-ENV): New variable.
1157 * wcsmbs/tst-mbrtowc.c: New file.
1158 * wcsmbs/tst-wcrtomb.c: New file.
1160 2000-11-16 Andreas Jaeger <aj@suse.de>
1162 * manual/install.texi (Tools for Compilation): Update
1163 documentation for GCC 2.95.2.
1165 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1168 if IPv4 and IPv6 requests timed out.
1170 2000-11-18 Akim Demaille <akim@epita.fr>
1172 * malloc/obstack.h: Formatting changes.
1173 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1174 prevents type checking.
1175 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1176 cast the value to (void *): assigning a `foo *' to a `void *'
1178 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1180 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1182 * scripts/config.guess: Update from upstream maintainer.
1183 * scripts/config.sub: Likewise.
1185 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1187 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1188 * libio/freopen64.c (freopen64): Likewise.
1189 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1191 * libio/Makefile: Add rules to build and run test-freopen.
1192 * libio/test-freopen.c: New file.
1193 * libio/test-freopen.sh: New file.
1195 2000-11-15 H.J. Lu <hjl@gnu.org>
1197 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1198 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1199 (DL_DT_FINI_ADDRESS): Likewise.
1201 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1202 return type to ElfW(Addr).
1203 (_dl_function_address): New prototype.
1204 (DL_FUNCTION_ADDRESS): Defined.
1205 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1206 (DL_DT_FINI_ADDRESS): Likewise.
1208 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1210 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1211 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1213 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1214 (_dl_function_address): This.
1216 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1217 function pointer for DT_FINI.
1218 * elf/dl-close.c (_dl_close): Likewise.
1220 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1221 function pointer for DT_INIT.
1223 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1225 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1226 end of wexpbuf buffer.
1228 2000-11-16 Andreas Jaeger <aj@suse.de>
1230 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1231 definition of F_GETLK, F_SETLK, F_SETLKW.
1233 2000-11-16 Andreas Jaeger <aj@suse.de>
1235 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1238 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1240 * dlfcn/default.c (main): Add test for dladdr of main returning
1241 argv[0] in dli_fname field.
1243 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1245 * Makeconfig (run-program-prefix): Move test-static test into the
1248 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1249 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1250 schedule instructions.
1251 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1252 schedule instructions, fix a bug in copying auxiliary data.
1254 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1256 * manual/startup.texi (Program Arguments): Fix type of main's envp
1258 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1260 * iconvdata/gconv-modules: Add CP950 alias.
1262 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1264 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1265 syscall-list.h goal.
1266 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1268 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1270 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1272 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1275 * intl/tst-gettext2.c: Set C locale if setting other locale
1276 failed. Use gettext() not _().
1278 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1279 successfully loaded a new locale.
1281 2000-11-13 Andreas Jaeger <aj@suse.de>
1283 * configure.in: Require gcc 2.95 or newer.
1285 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1287 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1288 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1290 2000-11-11 Jim Meyering <meyering@lucent.com>
1292 * string/strndup.c (strndup): Cast return value to `char *'.
1294 2000-11-15 Jim Meyering <meyering@ascend.com>
1296 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1297 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1298 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1299 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1300 Also #undef __memchr.
1301 Use `weak_alias' only if it's defined.
1303 2000-11-10 H.J. Lu <hjl@gnu.org>
1305 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1307 2000-11-15 Andreas Jaeger <aj@suse.de>
1309 * elf/chroot_canon.c: Include <stdint.h>.
1311 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1312 (print_entry): Likewise.
1313 (add_to_cache): Likewise.
1315 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1317 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1318 (path_hwcap): Likewise.
1319 (search_dir): Likewise.
1321 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1323 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1325 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1326 (_dl_platform_string): New.
1327 (_DL_HWCAP_PLATFORM): New.
1328 (_dl_string_platform): New.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1331 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1332 (_dl_string_platform): New.
1333 (_DL_HWCAP_PLATFORM): New.
1334 (_dl_platform_string): New.
1336 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1338 (_DL_HWCAP_COUNT): New.
1339 (_dl_string_platform): New.
1340 (_DL_HWCAP_PLATFORM): New.
1341 (_dl_platform_string): New.
1343 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1345 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1347 2000-11-14 Andreas Jaeger <aj@suse.de>
1349 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1351 2000-11-13 Roland McGrath <roland@frob.com>
1353 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1355 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1357 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1358 underrun and make sure the result is null terminated even if there
1359 is no trailing newline.
1361 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1363 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1365 2000-11-10 H.J. Lu <hjl@gnu.org>
1367 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1369 2000-11-10 Andreas Jaeger <aj@suse.de>
1371 * elf/ldconfig.c (create_links): Fix alloca calculation.
1372 Patch by Ben Collins <bcollins@debian.org>.
1374 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1376 * inet/getnameinfo.c (getnameinfo): Use correct destination
1377 parameter for if_indextoname.
1378 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1380 2000-11-09 H.J. Lu <hjl@gnu.org>
1382 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1383 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1384 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1387 * time/Versions (GLIBC_2.1): Move getitimer to...
1388 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1390 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1392 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1393 "make install", to work around a binary incompatibility between
1394 glibc 2.1 and glibc 2.2 gconv modules.
1396 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1398 * intl/locale.alias: Add thai.
1399 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1401 2000-11-07 Akim Demaille <akim@epita.fr>
1403 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1404 argument `data' for consistency with the prototypes.
1406 (obstack_copy, obstack_copy0): Rename the second argument as
1407 `address' for consistency. Qualify it `const'.
1408 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1409 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1410 `const' their input argument (`data' or `address').
1411 Adjust the corresponding macros to include `const' in casts.
1413 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1415 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1418 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1420 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1423 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1425 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1426 ai_protocol by internal table if service was not given.
1428 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1430 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1431 numerical port was specified with protocol without socktype.
1433 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1435 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1437 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1439 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1441 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1443 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1444 sin6_scope_id field.
1446 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1448 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1450 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1452 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1454 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1456 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1457 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1459 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1461 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1462 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1464 2000-11-09 H.J. Lu <hjl@gnu.org>
1466 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1469 See ChangeLog.11 for earlier changes.