1 2001-01-23 Andreas Jaeger <aj@suse.de>
3 * manual/install.texi (Tools for Compilation): Change required
6 2001-01-22 Andreas Jaeger <aj@suse.de>
8 * configure.in: Add test for new enough binutils version, move
9 compiler/binutils test up.
11 * Versions.def: Add version GLIBC_2.2.2.
13 2001-01-21 Ulrich Drepper <drepper@redhat.com>
15 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
17 * iconvdata/testdata/IBM932: New file.
18 * iconvdata/testdata/IBM932..UTF8: New file.
19 * iconvdata/testdata/IBM943: New file.
20 * iconvdata/testdata/IBM943..UTF8: New file.
21 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
23 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
27 2001-01-21 Ulrich Drepper <drepper@redhat.com>
29 * malloc/malloc.c: Remove a few unnecessary initializers of global
32 2000-12-09 H.J. Lu <hjl@gnu.org>
34 * nss/Makefile (routines): Add digits_dots.
35 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
36 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
38 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
40 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
41 (TYPE_VAR_P): Likewise.
42 (FLAGS_VAR): Likewise.
44 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
45 instead of including digits_dots.c.
46 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
47 (TYPE_VAR_P): Likewise.
48 (FLAGS_VAR): Likewise.
50 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
51 instead of including digits_dots.c.
53 2001-01-21 Ulrich Drepper <drepper@redhat.com>
55 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
57 2001-01-21 Andreas Jaeger <aj@suse.de>
59 * elf/constload2.c: Add prototype for init.
61 2001-01-21 Ulrich Drepper <drepper@redhat.com>
63 * stdlib/stdlib.h (drand48_data): Make available only for
64 __USE_MISC. Rename elements to protect namespace. Change type
65 and position of a and init element.
66 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
67 differently. Adjust for drand48_data change. Don't compute a here,
68 it comes from drand48_data.
69 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
70 differently. Adjust for drand48_data change. Compute a here.
71 * stdlib/srand48_r.c: Likewise.
72 * stdlib/drand48.c: Adjust for drand48_data change.
73 * stdlib/lrand48.c: Likewise.
74 * stdlib/mrand48.c: Likewise.
75 * stdlib/seek48.c: Likewise.
76 * stdlib/drand48_r.c: Likewise.
77 * stdlib/lrand48_r.c: Likewise.
78 * stdlib/mrand48_r.c: Likewise.
79 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
81 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
82 * stdlib/jrand48_r.c: Likewise.
84 * po/sv.po: Update from translation team.
86 2001-01-21 Andreas Jaeger <aj@suse.de>
88 * stdio-common/vfprintf.c (vfprintf): Add casts.
90 2001-01-20 Ulrich Drepper <drepper@redhat.com>
92 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
94 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
96 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
97 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
98 * iconvdata/ibm932.c: New file.
99 * iconvdata/ibm932.h: New file.
100 * iconvdata/ibm943.c: New file.
101 * iconvdata/ibm943.h: New file.
102 Patches by Masahide Washizawa <washi@jp.ibm.com>.
104 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
105 preventing optimization from being done. Set the correct type bit
106 in seen. Don't define and use _dl_base_addr unless
107 NEED_DL_BASE_ADDR is defined.
109 * io/ftw.c (ftw_dir): Add slash after directory name if there
110 wasn't any. Reported by loris <loris@iol.it>.
111 * io/Makefile (tests): Add bug-ftw2.
112 * io/bug-ftw2.c: New file.
114 2001-01-19 Ulrich Drepper <drepper@redhat.com>
116 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
117 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
118 * stdlib/tst-rand48.c: New file.
119 * stdlib/Makefile (tests): Add tst-rand48.
121 * locale/newlocale.c (__newlocale): Fix test for setting all
124 2001-01-19 Mark Kettenis <kettenis@gnu.org>
126 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
127 but change looking up the initial directory port in a similar way
128 as done by _hurd_change_directory_port_from_name.
129 * hurd/fchroot.c (fchroot): Likewise.
131 2001-01-18 Ulrich Drepper <drepper@redhat.com>
133 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
134 defined don't look whether the AT_*ID values were set.
135 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
136 (_dl_show_auxv): Rewrite to avoid switch statement.
137 * sysdeps/unix/sysv/linux/kernel-features.h: Define
138 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
139 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
140 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
142 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
143 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
144 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
146 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
148 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
149 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
151 * dlfcn/eval.c (__strtol_internal): Define here.
152 (eval): Use __strtol_internal instead of strtol.
154 * elf/elf.h: Add a few more EF_MIPS_* constants.
156 2001-01-17 Ulrich Drepper <drepper@redhat.com>
158 * manual/Makefile (chapters): Add debug.
159 * manual/debug.texi: New file.
160 * manual/examples/execinfo.c: New file.
161 Patch by suckfish@ihug.co.nz.
163 2001-01-17 Andreas Schwab <schwab@suse.de>
165 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
168 2001-01-17 Andreas Jaeger <aj@suse.de>
170 * nscd/connections.c (nscd_run): Use proper format specifier.
172 2001-01-16 Ulrich Drepper <drepper@redhat.com>
174 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
175 x86_platforms data into new file after prepending _dl_. Change
177 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
178 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
179 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
182 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
184 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
185 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
186 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
188 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
189 * sysdeps/i386/bsd-setjmp.S: Real implementation.
190 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
191 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
194 2001-01-16 Andreas Jaeger <aj@suse.de>
196 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
197 misapplied last patch.
199 2001-01-15 Ulrich Drepper <drepper@redhat.com>
201 * stdlib/random.c (__initstate): Clean up a cast.
202 (__setstate): Likewise.
204 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
205 syscall handling. The generic Linux version should work.
207 2001-01-15 Andreas Jaeger <aj@suse.de>
209 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
211 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
213 2001-01-14 Jakub Jelinek <jakub@redhat.com>
215 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
216 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
218 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
219 If number is 0, list all.
220 (services_keys): Likewise. Lookup aliases as well.
221 (databases): New table.
222 (build_doc): Prepare argp doc text with list of supported databases.
223 (main): Change to table driven processing.
225 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
227 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
230 2001-01-03 Jakub Jelinek <jakub@redhat.com>
232 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
233 encode value which does not fit in the 32bit type.
235 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
237 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
238 Change type of CTX to (struct sigcontext *).
239 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
240 (GET_FRAME): Likewise.
241 (GET_STACK): Likewise.
242 (SIGCONTEXT): Likewise. Add 2nd arg _code.
243 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
245 2001-01-13 Ulrich Drepper <drepper@redhat.com>
247 * manual/texinfo.tex: Update from upstream version.
249 2001-01-13 Jakub Jelinek <jakub@redhat.com>
251 * inet/ether_ntoh.c (lookup_function): Change arguments to match
252 _nss_*_getntohost_r prototype.
253 (ether_ntohost): Pass errno pointer to NSS function.
255 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
258 (MAP_LOCKED): New definition.
259 (MAP_NORESERVE): New definition.
261 2001-01-12 Ulrich Drepper <drepper@redhat.com>
263 * assert/assert.h: Use static_cast instead of C-style cast for C++.
264 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
266 2001-01-12 Ben Collins <bcollins@debian.org>
268 * sysdeps/generic/segfault.c (install_handler): Use access, not
271 2001-01-12 Andreas Jaeger <aj@suse.de>
273 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
274 * posix/wordexp.c (do_parse_glob): Likewise.
275 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
276 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
277 * elf/dl-open.c (_dl_open): Likewise.
278 * elf/dl-close.c (_dl_close): Likewise.
279 * elf/dl-load.c (_dl_map_object): Likewise.
280 * iconv/iconv_prog.c (process_fd): Likewise.
281 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
283 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
284 of a zero-length array.
286 2001-01-11 Jakub Jelinek <jakub@redhat.com>
288 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
289 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
290 * stdlib/cxa_on_exit.c: Remove.
291 * stdlib/Makefile: Revert last patch.
292 * stdlib/Versions: Likewise.
293 * include/stdlib.h: Likewise.
294 * stdlib/exit.h: Revert last patch.
295 (struct exit_function): Add second argument to cxa fn.
296 * stdlib/exit.c: Revert last patch.
297 (exit): Add hidden second argument.
299 2001-01-11 H.J. Lu <hjl@gnu.org>
301 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
302 * elf/dl-open.c (_dl_open): Here.
303 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
305 (_dl_static_init): Initialize the variables every time when possible.
306 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
309 2001-01-11 Ulrich Drepper <drepper@redhat.com>
311 * stdlib/Makefile (routines): Add cxa_on_exit.
312 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
313 * stdlib/cxa_on_exit.c: New file.
314 * include/stdlib.h: Add prototype for __cxa_on_exit.
315 * stdlib/exit.c: Handle ef_cxa2.
316 * stdlib/exit.h (enum): Add ef_cxa2.
317 (struct exit_function): Add cxa2.
319 * Versions.def [ld]: Add GLIBC_2.2.1.
321 2001-01-10 H.J. Lu <hjl@gnu.org>
323 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
324 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
326 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
327 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
328 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
329 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
330 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
332 2001-01-11 Ulrich Drepper <drepper@redhat.com>
334 * libio/stdio.h: Remove definition of off_t.
336 2001-01-11 Andreas Jaeger <aj@suse.de>
338 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
341 2001-01-10 Ulrich Drepper <drepper@redhat.com>
343 * sunrpc/Makefile (distribute): Add errqueue.h.
345 2001-01-10 H.J. Lu <hjl@gnu.org>
347 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
348 r9, r10 and r11 for language specific registers.
350 2001-01-10 Jakub Jelinek <jakub@redhat.com>
352 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
354 (clntudp_call): Handle MSG_ERRQUEUE.
355 * sysdeps/generic/errqueue.h: New file.
356 * sysdeps/unix/sysv/linux/errqueue.h: New file.
358 2001-01-10 H.J. Lu <hjl@gnu.org>
360 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
362 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
364 * CONFORMANCE: Update.
366 2001-01-09 Ulrich Drepper <drepper@redhat.com>
368 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
369 Minimal cleanups. Add assert to ensure memory handling is correct.
371 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
372 Reported by Ben Collins <bcollins@debian.org>.
374 * time/strftime.c (my_strftime): Mark previous GNU extensions
375 which are now in C99 as such.
377 2001-01-08 Ulrich Drepper <drepper@redhat.com>
379 * elf/rtld.c (process_envvars): Place output files for profiling
380 in SUID binaries in /var/profile.
382 * elf/dl-load.c (_dl_map_object): Don't look in cache for
383 preloading in SUID binaries.
385 * elf/dl-profile.c (_dl_start_profile): Open the output file with
386 O_NOFOLLOW if possible.
388 * include/stdlib.h: Add __posix_openpt declaration.
389 * stdlib/stdlib.h: Add posix_openpt declaration.
390 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
391 * sysdeps/generic/getpt.c: Define posix_openpt.
392 * sysdeps/unix/bsd/getpt.c: Likewise.
393 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
395 * time/Makefile (tests): Add tst-mktime.
396 * time/tst-mktime.c: New file.
398 * posix/tst-dir.c (main): One more mkdir() test.
400 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
401 Remove getpagesize syscall. We assume that the pagesize is always
402 determined from the auxiliary vector.
404 * intl/dcigettext.c: Fix a few warnings.
405 Patch by Bruno Haible <haible@ilog.fr>.
407 2001-01-08 Andreas Jaeger <aj@suse.de>
409 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
410 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
412 2001-01-08 Ulrich Drepper <drepper@redhat.com>
414 * sysdeps/generic/segfault.c (install_handler): Check output file
417 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
418 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
420 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
422 * malloc/memusage.c (me): Use access() to determine whether we
423 should write the output file or not.
425 * libio/bits/stdio.h (printf): Define macro to map printf call to
426 fprintf which gcc can optimize.
427 * stdio-common/printf.c: Undefine printf.
429 2001-01-07 Ulrich Drepper <drepper@redhat.com>
431 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
432 patch. We must use unsigned int for l member of union.
434 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
435 _dl_aux_init for shared libraries.
437 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
438 * sysdeps/gnu/glob64.c: ...here. New file.
440 2001-01-07 Ben Collins <bcollins@debian.org>
442 * manual/examples/longopt.c: Make the "struct option" a little
443 more like it should be, adding usage of required_argument,
444 noargument and such, and also setting the options string right.
446 * manual/sysinfo.texi (Load Average): New section, documents
449 2001-01-06 Ulrich Drepper <drepper@redhat.com>
451 * version.h (VERSION): Bump to 2.2.1.
453 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
454 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
455 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
456 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
457 * Makefile (distribute): Add include/libc-internal.h.
458 * libio/Makefile (distribute): Avoid overwriting.
460 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
461 buffer and table handling.
463 2001-01-05 H.J. Lu <hjl@gnu.org>
465 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
466 vector checking to ...
467 (_dl_aux_init): Here. New function. Defined only if
468 HAVE_AUX_VECTOR is defined.
470 * sysdeps/generic/libc-start.c (__libc_start_main): Call
471 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
473 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
476 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
477 (HAVE_AUX_VECTOR): Defined.
478 (_dl_aux_init): Declared.
480 2001-01-05 Ben Collins <bcollins@debian.org>
482 * manual/string.texi (Finding Tokens in a String): Document XPG
483 basename() and dirname(), as well as GNU basename().
485 2001-01-05 Jakub Jelinek <jakub@redhat.com>
487 * Makeconfig (preprocess-version): Replace -traditional with
488 -x assembler-with-cpp.
490 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
492 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
493 for GCC 2.97 or later.
495 2001-01-05 Ben Collins <bcollins@debian.org>
497 * manual/stdio.texi (getline): Clarify the return value in the
498 case of EOF being reached before a newline.
500 2001-01-04 Jakub Jelinek <jakub@redhat.com>
502 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
504 (pmap_set, pmap_unset): Check __get_myaddress return value.
506 2001-01-05 Mark Kettenis <kettenis@gnu.org>
508 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
509 (struct ether_addr): Declare ether_addr_octet member as
510 `u_int8_t'. Add __attribute__ ((__packed__)).
512 2001-01-06 Mark Kettenis <kettenis@gnu.org>
514 * sysdeps/mach/hurd/readdir64.c: New file.
515 * sysdeps/mach/hurd/readdir64_r.c: New file.
517 2001-01-07 Mark Kettenis <kettenis@gnu.org>
519 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
520 `struct statfs' and `struct statvfs' being identical.
521 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
523 2001-01-06 Mark Kettenis <kettenis@gnu.org>
525 * sysdeps/mach/hurd/fstatfs64.c: New file.
526 * sysdeps/mach/hurd/fstatvfs64.c: New file.
527 * sysdeps/mach/hurd/statfs64.c: New file.
528 * sysdeps/mach/hurd/statvfs64.c: New file.
529 * sysdeps/mach/hurd/statfsconv.c: New file.
530 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
532 2001-01-06 Ulrich Drepper <drepper@redhat.com>
534 * iconv/skeleton.c: Reset outbuf for next round of the loop.
535 Reported by Owen Taylor <otaylor@redhat.com>.
536 * iconv/Makefile (tests): Add tst-iconv3.
537 * iconv/tst-iconv3.c: New file.
539 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
540 * iconvdata/ibm933.c: Likewise.
541 * iconvdata/ibm935.c: Likewise.
542 * iconvdata/ibm937.c: Likewise.
543 * iconvdata/ibm939.c: Likewise.
544 * iconvdata/ibm930.h: Adjust single byte table for optimization.
545 * iconvdata/ibm933.h: Likewise.
546 * iconvdata/ibm935.h: Likewise.
547 * iconvdata/ibm939.h: Likewise.
549 * iconvdata/testdata/IBM930: Add misssing SI.
550 * iconvdata/testdata/IBM933: Likewise.
551 * iconvdata/testdata/IBM935: Likewise.
552 * iconvdata/testdata/IBM937: Likewise.
553 * iconvdata/testdata/IBM939: Likewise.
555 2001-01-06 Andreas Jaeger <aj@suse.de>
557 * configure.in: Check for old add-ons that shouldn't be used with
558 current glibc anymore.
560 2001-01-06 Mark Kettenis <kettenis@gnu.org>
562 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
563 instead of -1 on failure. Don't forget to copy file name into
564 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
567 2001-01-06 Mark Kettenis <kettenis@gnu.org>
569 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
570 copy st_atime member.
572 2001-01-05 Ulrich Drepper <drepper@redhat.com>
574 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
575 for searches from the root directory.
576 Reported by loris <loris@iol.it> [PR libc/1991].
577 * io/Makefile (tests): Add bug-ftw1.
578 * io/bug-ftw1.c: New file.
580 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
581 if it is not available. Instead use it only if it is available.
582 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
584 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
585 overflowing output buffer.
586 (internal_ucs4_loop_unaligned): Likewise.
587 (ucs4_internal_loop): Likewise.
588 (ucs4_internal_loop_unaligned): Likewise.
589 (internal_ucs4le_loop): Likewise.
590 (internal_ucs4le_loop_unaligned): Likewise.
591 (ucs4le_internal_loop): Likewise.
592 (ucs4le_internal_loop_unaligned): Likewise.
593 Reported by Owen Taylor <otaylor@redhat.com>.
594 * iconv/Makefile (tests): Add tst-iconv2.
595 * iconv/tst-iconv2.c: New file.
597 2001-01-04 H.J. Lu <hjl@gnu.org>
599 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
600 (_dl_clktck): Declared.
601 (non_dynamic_init): Take 3 arguments.
602 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
604 2001-01-01 Bruno Haible <haible@clisp.cons.org>
606 Finish implementation of plural form handling.
607 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
608 'domainname'. Remove 'plindex' field. Add 'domain' and
609 'translation_length' fields.
610 (transcmp): Don't compare 'plindex' fields.
611 (plural_lookup): New function.
612 (DCIGETTEXT): Change cache handing in the plural case. Don't call
613 plural_eval before the translation and its catalog file have been
614 found. Remove plindex from cache key. Add 'translation_length' and
615 'domain' to cache result.
616 (_nl_find_msg): Remove index argument, return length of translation
617 to the caller instead. Weaken comparison of string lengths, to account
618 for plural entries. Call iconv() on the entire result string, not
619 only on the portion needed so far.
620 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
622 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
624 2001-01-04 Ulrich Drepper <drepper@redhat.com>
626 * intl/plural.y (yylex): Minimal improvement in number scanner.
628 2000-07-31 Bruno Haible <haible@clisp.cons.org>
630 * intl/plural.y: Include config.h. Needed to define 'inline' away for
631 C compilers that don't support it.
632 (yylex): Don't use gcc specific case range syntax.
633 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
636 2000-10-12 Bruno Haible <haible@clisp.cons.org>
638 * intl/finddomain.c: Remove unneeded includes.
640 2000-10-12 Bruno Haible <haible@clisp.cons.org>
642 * intl/localealias.c (memcpy): Return first argument, just like the
643 real memcpy function does.
644 * intl/bindtextdom.c (memcpy): Likewise.
645 * intl/finddomain.c (memcpy): Likewise.
646 * intl/l10nflist.c (memcpy): Likewise.
647 * intl/textdomain.c (memcpy): Likewise.
648 From Paul Eggert <eggert@twinsun.com>.
650 2001-01-03 Jakub Jelinek <jakub@redhat.com>
652 * resolv/resolv.h (struct __res_state): Add nsinit field.
653 * resolv/res_send.c (res_nsend): Use it instead of nscount.
654 * resolv/res_init.c (__res_vinit): Initialize it.
655 (res_nclose): Clear it instead of nscount.
657 2001-01-04 Ulrich Drepper <drepper@redhat.com>
659 * malloc/mtrace.pl: Fix matching of addresses.
660 Patch by Aharon Robbins <arnold@skeeve.com>.
662 * Versions.def (ld): Add GLIBC_2.2.
664 * catgets/gencat.c: Copyright 2001.
665 * csu/version.c: Likewise.
666 * debug/catchsegv.sh: Likewise.
667 * debug/xtrace.sh: Likewise.
668 * elf/ldconfig.c: Likewise.
669 * elf/sprof.c: Likewise.
670 * iconv/iconv_prog.c: Likewise.
671 * locale/locale.c: Likewise.
672 * locale/localedef.c: Likewise.
673 * malloc/memusage.sh: Likewise.
674 * malloc/mtrace.pl: Likewise.
675 * nscd/nscd.c: Likewise.
676 * posix/getconf.c: Likewise.
678 2001-01-04 Mark Kettenis <kettenis@gnu.org>
680 * include/stdio.h: Only provide __getwc_unlocked prototype if
681 USE_IN_LIBIO is defined.
683 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
685 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
688 2001-01-03 Andreas Schwab <schwab@suse.de>
690 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
691 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
693 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
694 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
696 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
697 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
700 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
702 * sysdeps/generic/strtol_l.c: Likewise.
703 * sysdeps/generic/strtoul_l.c: Likewise.
704 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
706 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
707 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
708 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
709 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
711 2001-01-04 Andreas Jaeger <aj@suse.de>
713 * nss/nsswitch.c: Include files for missing prototypes, remove
714 buggy declaration of prototypes.
716 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
718 * resolv/Versions: Fix bracing.
719 * sysdeps/powerpc/soft-fp/Versions: Likewise.
720 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
722 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
724 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
726 2001-01-02 Ulrich Drepper <drepper@redhat.com>
728 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
729 Suggested by Minko Markov <mmarkov@home.com>.
731 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
733 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
734 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
736 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
738 2001-01-02 Ben Collins <bcollins@debian.org>
740 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
741 if TZ is not set and TZDEFAULT is not present.
743 2001-01-01 Ben Collins <bcollins@debian.org>
745 * string/strings.h: Make sure we declare our functions even if
746 string.h is already included, based on whether or not __USE_BSD is
749 2001-01-02 Ulrich Drepper <drepper@redhat.com>
751 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
752 other dlopen() and dlsym().
753 Based on a patch by Ben Collins <bcollins@debian.org>.
755 2001-01-02 Andreas Jaeger <aj@suse.de>
757 * dlfcn/errmsg1.c (main): Call dlerror initially.
758 Reported by Ben Collins <bcollins@debian.org>.
760 2001-01-02 Ulrich Drepper <drepper@redhat.com>
762 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
763 value is ignored if the selected locale is the C locale.
764 * intl/tst-gettext.c: Set locale for above change.
765 * intl/tst-translit.c: Likewise.
767 2001-01-02 Andreas Jaeger <aj@suse.de>
769 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
770 (_IO_switch_to_wget_mode): Likewise.
771 (_IO_sputbackwc): Likewise.
772 (_IO_sungetwc): Use wint_t for result.
774 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
776 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
779 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
780 to (int) to avoid warnings.
781 * stdio-common/printf_fp.c (putc): Likewise.
782 * stdio-common/printf_size.c (putc): Likewise.
784 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
787 2001-01-01 Andreas Jaeger <aj@suse.de>
789 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
791 2000-12-31 Andreas Jaeger <aj@suse.de>
793 * include/libc-internal.h: Add prototype for __libc_freeres.
795 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
796 for prototypes, remove redundant prototypes.
797 * gmon/gmon.c: Likewise.
798 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
799 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
800 * malloc/mtrace.c: Likewise.
802 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
804 * elf/soinit.c: Likewise.
805 * sysdeps/generic/prof-freq.c: Likewise.
806 * sysdeps/mach/hurd/profil.c: Likewise.
807 * debug/noophooks.c: Likewise.
808 * debug/pcprofile.c: Likewise.
809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
810 * sysdeps/generic/get_clockfreq.c: Likewise.
811 * malloc/set-freeres.c: Likewise.
813 * locale/localeinfo.h: Add internal prototypes.
815 * elf/rtld.c (dl_main): Fix prototype.
817 * iconvdata/tst-table-to.c (main): Use return instead of exit to
820 * nis/rpcsvc/yp_prot.h: Remove __P.
821 * nis/rpcsvc/ypupd.h: Likewise.
822 * nis/rpcsvc/yp.h: Likewise.
824 * sunrpc/rpc_main.c: Add noreturn attributes.
825 * sunrpc/rpc_scan.h: Likewise.
827 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
829 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
831 * sunrpc/proto.h: Add noreturn attributes to error and crash.
833 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
835 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
837 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
839 * include/rpc/rpc_msg.h: Add prototypes for some functions.
840 * include/rpc/auth.h: Likewise.
841 * include/rpc/auth_des.h: Likewise.
842 * include/rpc/clnt.h: Likewise.
843 * include/rpc/rpc.h: Likewise.
844 * include/rpc/svc.h: Likewise.
845 * include/rpc/svc_auth.h: Likewise.
847 * include/rpc/des_crypt.h: New file.
849 * malloc/memusagestat.c (main): Use return instead of exit to
851 * io/pwd.c (main): Likewise.
852 * iconvdata/tst-table-from.c (main): Likewise.
853 * ctype/test_ctype.c (main): Likewise.
854 * setjmp/tst-setjmp.c (main): Likewise.
855 * signal/tst-signal.c (main): Likewise.
856 * stdlib/tst-strtol.c (main): Likewise.
857 * stdlib/tst-strtod.c (main): Likewise.
858 * stdlib/tst-strtoll.c (main): Likewise.
859 * stdlib/tst-xpg-basename.c (main): Likewise.
860 * dirent/tst-seekdir.c (main): Likewise.
861 * grp/testgrp.c (main): Likewise.
862 * inet/test_ifindex.c (main): Likewise.
863 * io/test-utime.c (main): Likewise.
864 * posix/test-vfork.c (main): Likewise.
865 * posix/testfnm.c (main): Likewise.
866 * stdio-common/temptest.c (main): Likewise.
867 * stdio-common/test_rdwr.c (main): Likewise.
868 * stdio-common/tst-fileno.c (main): Likewise.
869 * stdio-common/tst-sscanf.c (main): Likewise.
870 * stdio-common/tstscanf.c (main): Likewise.
871 * string/bug-strncat1.c (main): Likewise.
872 * string/bug-strpbrk1.c (main): Likewise.
873 * string/bug-strspn1.c (main): Likewise.
874 * string/test-ffs.c (main): Likewise.
875 * string/tst-inlcall.c (main): Likewise.
876 * string/tst-svc.c (main): Likewise.
877 * timezone/test-tz.c (main): Likewise.
878 * wctype/test_wcfuncs.c (main): Likewise.
879 * wctype/test_wctype.c (main): Likewise.
881 * stdlib/tst-random.c: Add attribute noreturn to fail.
883 2000-12-28 Wolfram Gloger <wg@malloc.de>
885 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
886 destination overlap. Assume dest is always below source if
889 2000-12-30 Ulrich Drepper <drepper@redhat.com>
891 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
892 object was not yet initialized.
894 2000-12-28 H.J. Lu <hjl@gnu.org>
896 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
897 is always consistent even if its dependency is failed.
899 * elf/dl-open.c (_dl_open): Increment the open count before
900 calling _dl_close () in case of failure.
902 * elf/neededtest4.c: New file.
903 * elf/neededobj5.c: New file.
904 * elf/neededobj6.c: New file.
906 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
907 (tests): Add neededtest4.
908 (modules-names): Add neededobj5 and neededobj6.
909 ($(objpfx)neededobj6.so): New target.
910 ($(objpfx)neededtest4): New target.
911 ($(objpfx)neededtest4.out): New target.
913 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
915 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
916 * stdlib/monetary.h: Add strfmon format attributes.
918 2000-12-28 Roland McGrath <roland@frob.com>
920 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
921 __mempcpy does it for us.
923 2000-12-28 Andreas Jaeger <aj@suse.de>
925 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
927 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
930 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
933 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
936 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
937 __chown_is_lchown and __real_chown.
939 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
942 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
943 up GCC's warning about "deprecated use of label at end of compound
945 * sunrpc/rpc_cout.c (emit_inline): Likewise.
947 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
949 Remove struct bb and __bb_head since those are declared by
952 2000-12-22 Ben Collins <bcollins@debian.org>
954 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
956 * manual/argp.texi: Document argp_domain as part of struct argp.
958 2000-12-28 Andreas Jaeger <aj@suse.de>
960 * catgets/Makefile (generated): Add sample.SJIS.cat.
962 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
964 * elf/dl-minimal.c: Add prototypes.
966 * include/locale.h: Add internal prototypes.
967 * include/sys/gmon.h: Likewise.
969 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
971 2000-12-27 Ben Collins <bcollins@debian.org>
973 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
974 when reallocating the error strings.
975 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
977 2000-12-27 Ulrich Drepper <drepper@redhat.com>
979 * dlfcn/Makefile (tests): Add errmsg1.
980 (modules-names): Add errmsg1mod.
981 Add rules to run errmsg1.
982 * dlfcn/errmsg1.c: New file.
983 * dlfcn/errmsg1mod.c: New file.
985 * dlfcn/dlerror.c (dlerror): Always create output string which
986 includes object file name.
988 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
989 if we would go through it only once.
990 Patch by Rick Gorton <rick.gorton@api-networks.com>.
992 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
993 Patch by Richard Henderson <rth@redhat.com>.
995 2000-12-27 Jakub Jelinek <jakub@redhat.com>
997 * malloc/malloc.c (memmove): Add prototypes.
998 (MALLOC_MEMMOVE): Define.
999 (chunk_realloc): Use it instead of MALLOC_COPY if source and
1000 destination might overlap.
1002 2000-12-27 Andreas Jaeger <aj@suse.de>
1004 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1006 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1007 * locale/programs/locale.c (show_locale_vars): Likewise.
1008 (show_info): Likewise.
1009 * locale/programs/ld-collate.c (collate_output): Likewise.
1010 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1011 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1012 * stdlib/rpmatch.c (rpmatch): Likewise.
1014 * setjmp/tst-setjmp.c: Make local functions static.
1015 * setjmp/jmpbug.c: Likewise.
1016 * signal/tst-signal.c: Likewise.
1017 * stdio-common/tfformat.c: Likewise.
1018 * string/tst-svc.c: Likewise.
1019 * time/clocktest.c: Likewise.
1020 * time/tst-getdate.c: Likewise.
1021 * dirent/list.c: Likewise.
1022 * dirent/opendir-tst1.c: Likewise.
1023 * posix/runtests.c: Likewise.
1024 * posix/tst-getaddrinfo.c: Likewise.
1025 * posix/tst-chmod.c: Likewise.
1026 * posix/wordexp-test.c: Likewise.
1027 * misc/tst-efgcvt.c: Likewise.
1028 * timezone/tst-timezone.c: Likewise.
1029 * rt/tst-clock.c: Likewise.
1030 * rt/tst-shm.c: Likewise.
1031 * rt/tst-aio2.c: Likewise.
1032 * rt/tst-aio3.c: Likewise.
1033 * rt/tst-aio4.c: Likewise.
1034 * rt/tst-aio5.c: Likewise.
1036 * dlfcn/failtest.c: Add prototype for foo.
1038 * dlfcn/glrefmain.c: Add prototype for do_test.
1040 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1042 * string/test-ffs.c (main): Add prototype for nested function.
1044 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1046 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1048 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1049 setetherent prototype.
1050 Add internal interfaces.
1052 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1053 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1055 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1057 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1059 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1060 prototypes, remove struct etherent since it's declared in ether.h.
1061 Fix ntohost declaration.
1063 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1065 * include/getopt.h: Add internal interfaces.
1066 * include/termios.h: Likewise.
1067 * include/resolv.h: Likewise.
1068 * include/netdb.h: Likewise.
1069 * include/grp.h: Likewise.
1070 * include/pwd.h: Likewise.
1071 * include/shadow.h: Likewise.
1072 * include/rpc/netdb.h: Likewise.
1073 * include/setjmp.h: Likewise.
1075 * include/stdio.h: Add prototypes for compatibility functions.
1076 * include/grp.h: Likewise.
1077 * include/pwd.h: Likewise.
1078 * include/shadow.h: Likewise.
1080 * include/fenv.h: Define internal interfaces.
1082 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1084 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1085 argument case separately.
1086 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1088 2000-12-27 Andreas Jaeger <aj@suse.de>
1090 * include/sys/wait.h: Add some prototypes.
1091 * Rules (dummy.c): Create also prototype to shut up GCC.
1093 2000-12-27 Andreas Jaeger <aj@suse.de>
1095 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1096 it's not needed at the moment.
1097 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1098 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1100 2000-12-26 Andreas Jaeger <aj@suse.de>
1102 * libio/getc_u.c: Include stdio.h via system path to get internal
1104 * libio/getwc_u.c: Likewise.
1106 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1108 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1109 __printf_fp prototypes to ...
1110 * include/printf.h: ...here.
1112 * include/stdio.h: Add some internal prototypes to shut up GCC.
1113 * include/stdlib.h: Likewise.
1115 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1118 * include/signal.h: Add prototypes for internal sigpause
1121 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1123 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1124 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1126 * string/Makefile (tests): Add tst-bswap.
1127 * string/tst-bswap.c: New file.
1129 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1131 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1133 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1135 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1136 Patch by Ed Connell <Ed.Connell@sas.com>.
1138 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1140 * locale/iso-639.def: Correct one entry. Add two missing entries.
1142 * locale/iso-4217.def: Change entry for Eritrea.
1143 Reported by Daniel Yacob <yacob@geez.org>.
1145 2000-12-23 Ben Collins <bcollins@debian.org>
1147 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1150 * manual/stdio.texi (Dynamic Output): Document the return value of
1151 asprintf. Also make the asprintf/snprintf examples a little
1152 better (check for some error returns).
1154 2000-12-22 Andreas Jaeger <aj@suse.de>
1156 * include/stdio.h: Add __ftrylockfile prototype.
1158 2000-12-21 H.J. Lu <hjl@gnu.org>
1160 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1161 Make sign_exponent element signed.
1163 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1166 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1168 2000-12-21 Andreas Jaeger <aj@suse.de>
1170 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1171 * inet/ether_hton.c: Likewise
1172 * inet/ether_ntoh.c: Likewise.
1174 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1175 declaration to match prototype.
1177 * include/netinet/ether.h (struct etherent): Declare here so that
1178 all implementations use the same struct.
1180 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1182 (struct ether): Removed.
1183 Use struct etherent instead of ether everywhere.
1185 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1187 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1189 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1191 2000-12-20 Ulrich Drepper <drepper@redhat.com>
1193 * math/test-misc.c: Add more tests for nextafter functions.
1195 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1196 normal correctly. Correct test for sign.
1197 Based on a patch by HJ Lu.
1199 2000-12-19 Ulrich Drepper <drepper@redhat.com>
1201 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1204 2000-12-19 Andreas Jaeger <aj@suse.de>
1206 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1208 * nis/nis_intern.h: Add prototype for __do_niscall3.
1210 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1213 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1215 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1217 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1219 2000-12-18 Ulrich Drepper <drepper@redhat.com>
1221 * math/test-misc.c: Add more tests for nextafter.
1222 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1223 * sysdeps/ieee754/ldbl-96/math_ldbl.h
1224 (ieee_long_double_shape_type): Make sign_exponent element signed.
1226 * manual/message.texi: Add Estonian to plural overview list.
1227 Correct rule for Slavic languages.
1228 Patch by Stanislav Brabec <utx@penguin.cz>.
1230 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1232 2000-12-18 Andreas Jaeger <aj@suse.de>
1234 * test-skeleton.c: Use temp_name_list instead of name_list to
1235 avoid collision with name_list from inet/netgroup.h.
1237 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1239 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1240 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1241 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1242 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1244 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1245 declaration to match prototype.
1246 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1247 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1248 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1250 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1251 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1252 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1253 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1254 (_nss_nis_getservbyport_r): Likewise.
1255 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1256 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1257 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1258 (_nss_nis_setnetent): Likewise
1259 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1260 (_nss_nis_endnetgrent): Likewise.
1261 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1263 (_nss_nisplus_setnetgrent): Likewise.
1264 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1265 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1266 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1267 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1269 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1271 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1273 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1275 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1276 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1277 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1278 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1279 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1280 (_nss_dns_getnetbyaddr_r): Likewise.
1282 2000-12-17 Andreas Jaeger <aj@suse.de>
1284 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1287 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1288 unused attribute to shut up gcc warnings.
1290 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1291 * sysdeps/generic/k_tanl.c: Likewise.
1292 * sysdeps/generic/k_cosl.c: Likewise.
1293 * sysdeps/generic/e_j0l.c: Likewise.
1294 * sysdeps/generic/e_j1l.c: Likewise.
1295 * sysdeps/generic/e_jnl.c: Likewise.
1296 * sysdeps/generic/e_lgammal_r.c: Likewise.
1298 * elf/vismain.c: Move prototypes for functions in vismod*.c to
1300 * elf/vismod.h: New file.
1301 * elf/Makefile (distribute): Add vismod.h.
1302 * elf/vismod1.c: Include vismod.h.
1303 * elf/vismod2.c: Likewise.
1304 * elf/vismod3.c: Likewise.
1306 * elf/constload3.c: Add prototype declarations to shut up gcc.
1307 * elf/failobj.c: Likewise.
1308 * elf/nodelmod3.c: Likewise.
1309 * elf/filtmod1.c: Likewise.
1310 * elf/filtmod2.c: Likewise.
1311 * elf/reldepmod1.c: Likewise.
1312 * elf/reldepmod2.c: Likewise.
1313 * elf/reldepmod3.c: Likewise.
1314 * elf/reldepmod4.c: Likewise.
1315 * elf/unload2dep.c: Likewise.
1316 * elf/unload2mod.c: Likewise.
1317 * elf/ltglobmod1.c: Likewise.
1318 * elf/pathoptobj.c: Likewise.
1319 * elf/neededobj1.c: Likewise.
1320 * elf/neededobj2.c: Likewise.
1321 * elf/neededobj3.c: Likewise.
1322 * elf/neededobj4.c: Likewise.
1323 * elf/nextmod1.c: Likewise.
1324 * elf/nextmod2.c: Likewise.
1326 * locale/programs/ld-collate.c (collate_finish): Don't use labels
1327 at end of compound statement.
1328 * locale/programs/locale.c (show_info): Likewise.
1329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1331 2000-12-16 Jakub Jelinek <jakub@redhat.com>
1333 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1334 with a pointer not returned by obstack_ functions.
1336 2000-12-16 Ulrich Drepper <drepper@redhat.com>
1338 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1340 (struct stat64): Likewise.
1341 Reported by Michael Keezer <mkeezer@redhat.com>.
1343 * timezone/asia: Update from tzdata2000h.
1344 * timezone/australasia: Likewise.
1345 * timezone/backward: Likewise.
1346 * timezone/europe: Likewise.
1347 * timezone/northamerica: Likewise.
1348 * timezone/southamerica: Likewise.
1349 * timezone/zone.tab: Likewise.
1351 2000-12-14 Jakub Jelinek <jakub@redhat.com>
1353 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1354 and dir.stream is NULL, only free dir.content.
1355 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1356 * io/ftwtest-sh: Test with --early-exit.
1358 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1360 * misc/efgcvt.c (FCVT_MAXDIG): Define.
1361 (FCVT_BUFPTR): New variable.
1362 (fcvt): If fcvt_r returns -1 on the static short buffer,
1363 try to malloc a sufficiently large one and retry.
1364 (free_mem): New function.
1365 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1366 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1368 2000-12-15 Ulrich Drepper <drepper@redhat.com>
1370 * misc/dirname.c (dirname): Fix search for second to last slash.
1372 2000-12-13 Andreas Jaeger <aj@suse.de>
1374 * misc/tst-dirname.c (main): Fix typo in test to really use
1375 the examples from Unix98.
1376 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1378 2000-12-09 H.J. Lu <hjl@gnu.org>
1380 * sysdeps/ia64/fpu/s_fabs.S: New file.
1381 * sysdeps/ia64/fpu/s_fabsf.S: New file.
1382 * sysdeps/ia64/fpu/s_fabsl.S: New file.
1384 2000-12-15 Andreas Jaeger <aj@suse.de>
1386 * stdio-common/scanf9.c (main): Reformat and change to avoid
1389 * stdio-common/tstdiomisc.c: Make local functions static.
1390 * stdio-common/tst-printf.c: Likewise.
1392 * elf/constload2.c: Add prototype declarations to shut up gcc.
1393 * elf/dep1.c: Likewise.
1394 * elf/dep2.c: Likewise.
1395 * elf/dep3.c: Likewise.
1396 * elf/dep4.c: Likewise.
1397 * elf/ltglobmod2.c: Likewise.
1399 * libio/fmemopen.c: Make local functions static.
1401 * elf/Makefile (distribute): Added testobj.h.
1403 * elf/testobj.h: New file.
1405 * elf/testobj1.c: Include testobj.h and move prototype
1406 declarations to testobj.h.
1407 * elf/testobj2.c: Likewise.
1408 * elf/testobj3.c: Likewise.
1409 * elf/testobj4.c: Likewise.
1410 * elf/testobj5.c: Likewise.
1411 * elf/testobj6.c: Likewise.
1412 * elf/testobj1_1.c: Likewise.
1413 * elf/preloadtest.c: Likewise.
1415 2000-12-15 Ben Collins <bcollins@debian.org>
1417 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1418 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1420 2000-12-14 H.J. Lu <hjl@gnu.org>
1422 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1423 field in a float is 8 bits, not 11 bits.
1425 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1427 * math/test-misc.c (main): Adjust m for IEEE quad long double.
1429 2000-12-13 Andreas Jaeger <aj@suse.de>
1431 * manual/message.texi (Using gettextized software): Fix typo.
1433 * manual/charset.texi (Converting a Character): Fix mbstouwcs
1435 Patch by Martin Buchholz <martin@xemacs.org>.
1437 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1438 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1440 2000-12-11 Andreas Jaeger <aj@suse.de>
1442 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1443 kernel_sigset_t and use it.
1444 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1446 2000-12-10 Richard Henderson <rth@redhat.com>
1448 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1449 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1450 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1452 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1454 * sysdeps/alpha/htonl.S: Fix a typo.
1456 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1458 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1460 2000-12-10 Andreas Jaeger <aj@suse.de>
1462 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1463 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1464 Drepper <drepper@redhat.com>.
1466 2000-12-09 Andreas Jaeger <aj@suse.de>
1468 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1470 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1472 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1474 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1477 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1480 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1481 * nscd/connections.c (handle_request): Likewise.
1482 * nscd/pwdcache.c (addpwbyname): Likewise.
1483 * nscd/grpcache.c (addgrbyname): Likewise.
1485 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1487 2000-12-09 Ulrich Drepper <drepper@redhat.com>
1489 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1491 * Makeconfig (default_cflags): Make -O2 the default for stable
1494 2000-12-08 H.J. Lu <hjl@gnu.org>
1496 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1497 * sysdeps/ia64/fpu/s_isinf.S: This.
1498 Add a .pred.rel.mutex note to avoid false report.
1500 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1501 * sysdeps/ia64/fpu/s_isnan.S: This.
1503 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1504 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1505 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1506 * sysdeps/ia64/fpu/s_isinff.S: New file.
1507 * sysdeps/ia64/fpu/s_isinfl.S: New file.
1508 * sysdeps/ia64/fpu/s_isnanf.S: New file.
1509 * sysdeps/ia64/fpu/s_isnanl.S: New file.
1510 * sysdeps/ia64/fpu/s_finite.S: New file.
1511 * sysdeps/ia64/fpu/s_finitef.S: New file.
1512 * sysdeps/ia64/fpu/s_finitel.S: New file.
1513 * sysdeps/ia64/fpu/s_signbit.S: New file.
1514 * sysdeps/ia64/fpu/s_signbitf.S: New file.
1515 * sysdeps/ia64/fpu/s_signbitl.S: New file.
1516 * sysdeps/ia64/fpu/s_copysign.S: New file.
1517 * sysdeps/ia64/fpu/s_copysignf.S: New file.
1518 * sysdeps/ia64/fpu/s_copysignl.S: New file.
1520 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1522 * math/libm-test.inc (main): Fix typos in messages.
1524 * string/stratcliff.c: Add test for rawmemchr.
1526 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1528 * elf/dl-open.c (_dl_open): If objname points right after errstring,
1529 allocate it together with errstring using alloca.
1530 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1531 to "", because it might point to local stack.
1533 2000-12-05 H.J. Lu <hjl@gnu.org>
1535 * nss/Makefile (routines): Add getnssent and getnssent_r.
1536 * nss/nsswitch.h (__nss_setent): New internal NSS function.
1537 (__nss_endent): Likewise.
1538 (__nss_getent_r): Likewise.
1539 (__nss_getent): Likewise.
1540 * nss/getnssent_r.c: New file.
1541 * nss/getnssent.c: New file.
1542 * nss/getXXent.c (H_ERRNO_VAR): Updated.
1543 (GETFUNC_NAME): Updated to call __nss_getent ().
1544 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1545 (STAYOPEN_TMPVAR): Updated.
1546 (STAYOPEN_VAR): Updated.
1547 (SETFUNC_NAME): Updated to call __nss_setent ().
1548 (ENDFUNC_NAME): Updated to call __nss_endent ().
1549 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1551 2000-12-08 Andreas Jaeger <aj@suse.de>
1553 * nscd/dbg_log.h (dbg_log): Correct attribute.
1555 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1557 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1558 cp + len. Compute where from dirname.
1559 Reported by <jreiser@BitWagon.com>.
1561 2000-12-08 Richard Henderson <rth@twiddle.net>
1563 * sysdeps/alpha/_mcount.S: Fix typo.
1564 * sysdeps/alpha/strncpy.S: Likewise.
1566 * sysdeps/alpha/alphaev6/Implies: New file.
1567 * sysdeps/alpha/alphaev67/Implies: New file.
1568 * sysdeps/alpha/alphaev67/ffs.S: New file.
1569 * sysdeps/alpha/alphaev67/ffsll.S: New file.
1570 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1571 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1572 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1573 * sysdeps/alpha/rawmemchr.S: New file.
1574 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1575 * sysdeps/alpha/strcpy.S: Likewise.
1578 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1580 From rick.gorton@alpha-processor.com:
1581 * sysdeps/alpha/alphaev6/memchr.S: New file.
1582 * sysdeps/alpha/alphaev6/memcpy.S: New file.
1583 * sysdeps/alpha/alphaev6/memset.S: New file.
1584 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1585 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1586 * sysdeps/alpha/alphaev67/strcat.S: New file.
1587 * sysdeps/alpha/alphaev67/strchr.S: New file.
1588 * sysdeps/alpha/alphaev67/strlen.S: New file.
1589 * sysdeps/alpha/alphaev67/strncat.S: New file.
1590 * sysdeps/alpha/htonl.S: Use a shorter sequence.
1592 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1594 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1595 Reported by <pspencer@fields.utoronto.ca>.
1597 2000-12-07 Jes Sorensen <jes@linuxcare.com>
1599 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1600 Pointed out by Hans Boehm.
1602 2000-12-07 H.J. Lu <hjl@gnu.org>
1604 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1606 2000-12-07 Andreas Jaeger <aj@suse.de>
1608 * misc/error.c: Add format attributes for __error and __error_at_line.
1610 * nscd/dbg_log.h: Add format attribute.
1612 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1614 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1615 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1617 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
1619 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1621 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1623 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1624 (sysdep_routines): Add uitrunc.
1625 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1626 Patches by Michael Keezer <mkeezer@redhat.com>.
1628 2000-12-06 Roland McGrath <roland@frob.com>
1630 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1631 argument data, since it will be used to copy out too (for INOUT).
1632 Reported by Marcus Brinkmann <marcus@gnu.org>.
1634 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1635 (__ioctl): Use uintptr_t instead of unsigned long int.
1637 2000-12-06 Jim Wilson <wilson@redhat.com>
1639 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1641 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1643 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1644 x.5 rounding correctly.
1646 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1648 * stdio-common/perror.c (perror): Conditionalize code dealing with
1649 wide-oriented streams on USE_IN_LIBIO.
1651 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1653 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1654 as internal_function.
1656 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1658 * sysdeps/alpha/elf/start.S (__data_start): Define.
1660 2000-12-05 H.J. Lu <hjl@gnu.org>
1662 * nss/getXXent_r.c (setup): Change the return type to int.
1664 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1666 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1667 (sysdep_routines): Add restf and savef.
1668 * sysdeps/unix/sysv/aix/restf.c: New file.
1669 * sysdeps/unix/sysv/aix/savef.c: New file.
1670 Patches by Michael Keezer <mkeezer@redhat.com>.
1672 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1673 if O_DIRECTORY is not defined.
1674 Patch by Michael Keezer <mkeezer@redhat.com>.
1676 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1677 Patch by Michael Keezer <mkeezer@redhat.com>.
1679 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1680 than 4 bytes in escape sequence.
1681 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1683 2000-12-05 Andreas Jaeger <aj@suse.de>
1685 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1688 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1690 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1692 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1693 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1695 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1697 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1698 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1700 * sysdeps/generic/dl-cache.c: Remove declaration of
1701 _dl_sysdep_read_whole_file.
1703 * elf/dl-load.c (_dl_map_object): Remove declaration of
1704 _dl_load_cache_lookup.
1706 * sysdeps/generic/ldsodefs.h: Add declarations of
1707 _dl_load_cache_lookup, _dl_unload_cache,
1708 _dl_sysdep_read_whole_file, _dl_sysdep_start and
1709 _dl_sysdep_start_cleanup.
1711 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1714 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1715 * sysdeps/generic/dl-environ.c: Likewise.
1717 * stdio-common/printf_fp.c: Include <gmp.h> instead of
1719 * math/atest-exp.c: Likewise.
1720 * math/atest-exp2.c: Likewise.
1721 * math/atest-sincos.c: Likewise.
1722 * stdio-common/_itoa.c: Likewise.
1723 * stdio-common/_itowa.c: Likewise.
1725 * include/gmp.h: New file with internal prototypes.
1727 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1729 * include/setjmp.h: ...here.
1731 * locale/Makefile (routines): Remove codeset_name since it's not
1734 * locale/codeset_name.c: Removed.
1736 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1738 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1740 2000-12-05 Andreas Jaeger <aj@suse.de>
1742 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1744 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1746 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1749 2000-12-05 Andreas Jaeger <aj@suse.de>
1751 * nss/test-netdb.c: Mark local functions as static to avoid
1753 (main): Use return to silence warning.
1755 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1757 * stdio-common/test-popen.c: Mark local functions as static to
1759 (main): Use return to silence warning.
1761 * stdlib/testsort.c (compare): Mark as static to avoid warning.
1763 * assert/test-assert.c: Mark local functions as static to avoid
1765 * assert/test-assert-perr.c: Likewise.
1767 * math/libm-test.inc (main): Use return to silence warnings.
1769 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1771 * math/fenv.h: Fix typo in comment.
1773 * math/test-misc.c (main): Add a few more over and underflow tests
1776 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1778 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1779 * math/w_scalb.c: Don't use matherr except in SVID mode.
1780 * math/w_scalbf.c: Likewise.
1781 * math/w_scalbl.c: Likewise.
1782 * math/test-misc.c: Add test for NaN and scalbl.
1783 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1785 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1787 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1788 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1789 * include/libc-symbols.h (strong_alias): Define special version
1790 for HAVE_ASM_GLOBAL_DOT_NAME.
1791 (weak_alias): Likewise.
1792 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1793 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1794 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1795 getutxline, pututxline, and utmpxname.
1796 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1797 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1798 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1799 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1800 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1801 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1802 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1803 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
1804 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1805 Patches by Michael Keezer <mkeezer@redhat.com>.
1807 2000-12-04 H.J. Lu <hjl@gnu.org>
1809 * configure.in: Change --with-oldest-abi=ABI to
1810 --enable-oldest-abi=ABI.
1812 2000-12-02 Bruno Haible <haible@clisp.cons.org>
1814 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1815 fwprintf instead of fprintf.
1817 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1819 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1820 DECIMAL_DIG definitions.
1821 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1822 * sysdeps/generic/bits/mathdef.h: Likewise
1823 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1824 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1825 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1826 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1827 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1828 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1830 2000-12-03 Ulrich Drepper <drepper@redhat.com>
1832 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1834 * math/atest-exp.c: Mark local functions as static to avoid warnings.
1835 * math/atest-exp2.c: Likewise.
1836 * math/atest-sincos.c: Likewise.
1838 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1839 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1841 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1842 the handling of denormalized numbers.
1844 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1846 * sysdeps/i386/fpu/fpclassifyl.c: New file.
1848 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1849 pseudo denormal representation of LDBL_MIN.
1851 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1852 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1854 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1855 * iconvdata/jis0208.c: Likewise.
1856 * iconvdata/jis0212.c: Likewise.
1857 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1859 * math/test-misc.c (main): More tests for frexp and some for
1860 fpclassify and isnormal.
1862 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1864 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1866 * math/test-misc.c (main): Add tests for frexp.
1867 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1868 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1870 2000-12-02 H.J. Lu <hjl@gnu.org>
1872 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1875 2000-12-02 Ulrich Drepper <drepper@redhat.com>
1877 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1878 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1881 * sysdeps/generic/glob.c: Adjust types of several variables to
1884 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1886 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1888 2000-11-30 Roland McGrath <roland@frob.com>
1890 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1891 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1892 allow multiple instances using the same function name in one file.
1894 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1896 * configure.in: Correct test for pserver CVS access.
1898 2000-11-28 H.J. Lu <hjl@gnu.org>
1900 * libio/libio.h: Remove extra "#if ... #endif".
1902 2000-11-29 H.J. Lu <hjl@gnu.org>
1904 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1906 2000-12-01 H.J. Lu <hjl@gnu.org>
1908 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1909 * nss/getXXent_r.c: Likewise.
1910 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1912 2000-11-30 H.J. Lu <hjl@gnu.org>
1914 * scripts/abi-versions.awk (oldest_abi): New variable.
1915 Handle the oldest ABI supported.
1917 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1918 for scripts/abi-versions.awk.
1920 * configure.in: Add --with-oldest-abi=ABI.
1921 * configure: Rebuild.
1923 * config.make.in (oldest-abi): New.
1925 * config.h.in (GLIBC_OLDEST_ABI): New.
1927 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1929 2000-11-30 Jakub Jelinek <jakub@redhat.com>
1931 * locale/setlocale.c (setname): Free for all categories, not just
1933 (setlocale): Store a copy of string passed by user, not the string
1936 2000-11-30 Roland McGrath <roland@frob.com>
1938 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1939 rather than _hurd_fd_subinit, so it happens after it's safe to use
1940 libc facilities like malloc.
1942 2000-11-28 Andreas Jaeger <aj@suse.de>
1944 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1945 declaration, adjust declaration of __syscall_getdents to match
1948 2000-11-29 H.J. Lu <hjl@gnu.org>
1950 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1952 2000-11-29 Andreas Jaeger <aj@suse.de>
1954 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1956 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1958 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1959 * dlfcn/defaultmod2.c: Likewise.
1960 * dlfcn/dlopen.c: Likewise.
1961 * dlfcn/dlopenold.c: Likewise.
1962 * dlfcn/failtestmod.c: Likewise.
1963 * dlfcn/glreflib1.c: Likewise.
1964 * dlfcn/glreflib2.c: Likewise.
1965 * dlfcn/eval.c: Likewise. Add attributes.
1967 * ctype/ctype-extn.c: Define isblank and not __isblank.
1969 * time/strftime.c: Add const where necessary to avoid warnings.
1970 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1972 2000-11-22 Paul Eggert <eggert@twinsun.com>
1974 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1975 size of (size_t) -1; it's not portable.
1977 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1979 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1981 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1983 2000-11-14 Jes Sorensen <jes@linuxcare.com>
1985 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1987 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1988 _mcount is required by profiled binaries.
1990 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1991 * sysdeps/ia64/machine-gmon.h: ...here.
1993 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
1995 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1996 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1998 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2000 * iconvdata/ibm922.c: New file.
2001 * iconvdata/ibm922.h: New file.
2002 * iconvdata/ibm1124.c: New file.
2003 * iconvdata/ibm1124.h: New file.
2004 * iconvdata/ibm1129.c: New file.
2005 * iconvdata/ibm1129.h: New file.
2006 * iconvdata/testdata/IBM922: New file.
2007 * iconvdata/testdata/IBM922..UTF8: New file.
2008 * iconvdata/testdata/IBM1124: New file.
2009 * iconvdata/testdata/IBM1124..UTF8: New file.
2010 * iconvdata/testdata/IBM1129: New file.
2011 * iconvdata/testdata/IBM1129..UTF8: New file.
2013 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2015 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2016 character. Change callers.
2017 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2018 * catgets/Makefile: Add rules to build and run test-gencat.
2019 * catgets/sample.SJIS: New file.
2020 * catgets/test-gencat.c: New file.
2021 * catgets/test-gencat.sh: New file.
2022 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2024 2000-11-28 Andreas Jaeger <aj@suse.de>
2026 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2029 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2031 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2033 2000-11-28 Andreas Jaeger <aj@suse.de>
2035 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2037 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2040 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2042 * misc/getusershell.c: Make strings in okshells array const.
2043 * misc/regexp.c: Add const to cast to avoid warnings.
2044 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2045 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2049 * misc/error.c: Add prototypes for __error and __error_at_line.
2050 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2051 statement to avoid warning.
2052 * test-skeleton.c: Mark timeout_handler with noreturn.
2053 * iconv/skeleton.c (get16u): Add const to cast.
2055 * iconvdata/gb18030.c: Likewise.
2056 * iconvdata/iso-2022-cn-ext.c: Likewise.
2057 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2058 * iconvdata/big5.c: Likewise.
2059 * iconvdata/big5hkscs.c: Likewise.
2060 * iconvdata/iso_6937.c: Likewise.
2061 * iconvdata/iso_6937-2.c: Likewise.
2062 * iconvdata/t.61.c: Likewise.
2063 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2064 * iconvdata/unicode.c: Likewise.
2065 * iconvdata/utf-16.c: Likewise.
2066 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2067 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2068 with little code shuffling.
2070 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2071 the problems introduced when the user selects -O3.
2073 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2074 * misc/sys/cdefs.h: Define __flexarr.
2075 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2077 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2078 * iconv/skeleton.c: Likewise.
2079 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2080 * iconv/loop.c (get16): Add const to cast.
2083 2000-11-27 Andreas Jaeger <aj@suse.de>
2085 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2087 * login/programs/utmpdump.c (print_entry): Likewise.
2089 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2091 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2092 in a single asm as they may be used to access other stored
2094 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2096 2000-11-27 Andreas Jaeger <aj@suse.de>
2098 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2099 * rt/tst-aio64.c: Likewise.
2101 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2103 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2105 (libc.cat): Likewise.
2106 * catgets/gencat.c: Implement handling of message catalogs encoded
2107 with stateful character sets.
2108 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2110 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2112 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2114 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2115 * inet/rcmd.c: Likewise.
2116 * inet/ruserpass.c: Likewise.
2117 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2118 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2119 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2120 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2121 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2122 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2123 * include/aliases.h: Add prototypes for internal __getalias* functions.
2124 * include/netdb.h: Add prototypes for __old_gethostent_r,
2125 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2126 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2127 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2128 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2129 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2130 __old_getrpcbynumber_r, __old_getrpcent_r.
2132 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2133 __getrpcent_r prototypes.
2135 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2137 * string/strcoll.c: Add casts to avoid warnings.
2138 * string/strnlen.c: Likewise.
2139 * string/strxfrm.c: Likewise.
2140 * sysdeps/generic/_strerror.c: Likewise.
2141 * sysdeps/generic/memrchr.c: Likewise.
2142 * sysdeps/generic/strcasestr.c: Likewise.
2143 * sysdeps/generic/strstr.c: Likewise.
2145 * locale/weight.h (findidx): Add const to cast to avoid warning.
2147 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2148 * elf/loadtest.c: Likewise.
2149 * elf/multiload.c: Likewise.
2150 * elf/next.c: Likewise.
2151 * elf/nodelete.c: Likewise.
2152 * elf/noload.c: Likewise.
2153 * elf/order.c: Likewise.
2154 * elf/origtest.c: Likewise.
2155 * elf/preloadtest.c: Likewise.
2156 * elf/restest1.c: Likewise.
2158 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2159 parameter of asm must be in %ecx.
2161 * string/tester.c: Mark test functions as static to avoid warnings.
2163 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2164 preserve value over different gconv-modules files.
2166 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2168 * locale/findlocale.c: Add casts to avoid warnings.
2169 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2170 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2172 * misc/tsearch.c (const_node): New type.
2173 (trecurse): Correct casts to avoid warnings.
2174 (__twalk): Likewise.
2175 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2178 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2180 * test-skeleton.c: Mark local functions as static to avoid warnings.
2182 2000-11-23 H.J. Lu <hjl@gnu.org>
2184 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2185 support the background job.
2188 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2190 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2191 has same names but lower cost.
2193 2000-11-23 Jakub Jelinek <jakub@redhat.com>
2195 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2196 which never occur during bootstrap.
2197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2199 2000-11-23 Andreas Jaeger <aj@suse.de>
2201 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2203 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2205 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2207 2000-11-18 Martin Buchholz <martin@xemacs.org>
2209 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2212 2000-11-21 Alan Modra <alan@linuxcare.com.au>
2214 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2216 * csu/abi-note.S: Correct comment for operating system number.
2218 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2220 * Versions.def: Add GLIBC_2.2.1 for glibc.
2222 2000-11-22 Andreas Schwab <schwab@suse.de>
2224 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2225 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2227 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2229 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2230 absolute time for pthread_cond_timedwait call.
2231 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2233 * rt/Makefile (tests): Add tst-aio6.
2234 * rt/tst-aio6.c: New file.
2236 2000-11-23 Andreas Jaeger <aj@suse.de>
2238 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2240 2000-11-22 Andreas Jaeger <aj@suse.de>
2242 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2244 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2246 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2248 2000-11-21 Andreas Schwab <schwab@suse.de>
2250 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2251 * sysdeps/arm/setjmp.S: Likewise.
2252 * sysdeps/arm/fpu/setjmp.S: Likewise.
2253 * sysdeps/i386/setjmp.S: Likewise.
2254 * sysdeps/i386/elf/setjmp.S: Likewise.
2255 * sysdeps/s390/setjmp.S: Likewise.
2256 * sysdeps/s390/elf/setjmp.S: Likewise.
2257 * sysdeps/sh/sh3/setjmp.S: Likewise.
2258 * sysdeps/sh/sh4/setjmp.S: Likewise.
2259 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2260 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2261 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2264 2000-11-21 Andreas Jaeger <aj@suse.de>
2266 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2267 NORETURN, fix parameter list.
2269 * string/bug-strncat1.c (main): Fix typo.
2270 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2272 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2274 * configure.in: Add --enable-all-warnings.
2275 * config.make.in (all-warnings): New variable.
2276 * Makeconfig (+gccwarn): Define with many more warnings if
2277 all-warnings is yes.
2279 2000-11-20 Jakub Jelinek <jakub@redhat.com>
2281 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2282 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2283 * malloc/tst-valloc.c (main): Cast valloc return value to long.
2284 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2285 * math/test-fpucw.c (main): Use %lx in format string, cast
2286 control words to long.
2287 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2288 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2289 large that it is unsigned warning.
2291 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2292 it to long on sparc64.
2294 2000-11-20 Andreas Jaeger <aj@suse.de>
2296 * nscd/nscd.h (termination_handler): Add noreturn attribute.
2297 (receiv_print_stats): Likewise.
2299 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2301 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2303 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2305 * csu/gmon-start.c: Always have prototype for __gmon_start.
2306 * csu/version.c: Add prototypes for __libc_print_version and
2308 * iconv/gconv.c: Include gconv_int.h and gconv.h.
2309 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2311 * iconv/gconv_builtin.h: Add ASCII module definitions.
2312 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2313 (add_module): Add cast to avoid warning. Rework construction of
2314 strings for new module.
2315 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2316 (derivation_compare): Likewise.
2317 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2318 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2319 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2320 (struct gconv_alias): Remove const from fromname and toname.
2321 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2323 (internal_ucs4_loop): Use correct const-ness.
2324 (ucs4_internal_loop): Likewise.
2325 (internal_ucs4le_loop): Likewise.
2326 (ucs4le_internal_loop_single): Likewise.
2327 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2328 to_idx, to_tbl, winbuf, winbufend const. Change casts in
2329 assignments appropriately.
2330 (struct known_trans): Remove const from fname.
2331 (trans_compare): Make s1 and s2 const.
2332 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
2334 * iconv/skeleton.c: Remove cast in calls of loop functions.
2335 * iconvdata/gconv-modules: Remove US-ASCII definitions.
2336 * iconvdata/iso646.c: Remove US_ASCII support.
2337 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2338 * include/unistd.h: Add __libc_check_standard_fds prototype.
2339 * string/bits/string2.h (__mempcpy_args): Add const to casts.
2340 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2342 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2343 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2344 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2346 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2347 __libc_init_first and _dl_start.
2348 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2349 (DCIGETTEXT): Make domaindata variable const.
2350 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2353 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
2355 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2357 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2358 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
2361 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2362 value defined in /usr/include/asm-mips/fcntl.h.
2364 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2366 * stdio-common/Makefile (tests): Add test-vfprintf.
2367 (test-vfprintf-ENV): New variable.
2368 * stdio-common/test-vfprintf.c: New file.
2370 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2372 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2373 (tst-mbrtowc-ENV): New variable.
2374 (tst-wcrtomb-ENV): New variable.
2375 * wcsmbs/tst-mbrtowc.c: New file.
2376 * wcsmbs/tst-wcrtomb.c: New file.
2378 2000-11-16 Andreas Jaeger <aj@suse.de>
2380 * manual/install.texi (Tools for Compilation): Update
2381 documentation for GCC 2.95.2.
2383 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2386 if IPv4 and IPv6 requests timed out.
2388 2000-11-18 Akim Demaille <akim@epita.fr>
2390 * malloc/obstack.h: Formatting changes.
2391 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2392 prevents type checking.
2393 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2394 cast the value to (void *): assigning a `foo *' to a `void *'
2396 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2398 2000-11-17 Ulrich Drepper <drepper@redhat.com>
2400 * scripts/config.guess: Update from upstream maintainer.
2401 * scripts/config.sub: Likewise.
2403 2000-11-16 Ulrich Drepper <drepper@redhat.com>
2405 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2406 * libio/freopen64.c (freopen64): Likewise.
2407 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2409 * libio/Makefile: Add rules to build and run test-freopen.
2410 * libio/test-freopen.c: New file.
2411 * libio/test-freopen.sh: New file.
2413 2000-11-15 H.J. Lu <hjl@gnu.org>
2415 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2416 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2417 (DL_DT_FINI_ADDRESS): Likewise.
2419 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2420 return type to ElfW(Addr).
2421 (_dl_function_address): New prototype.
2422 (DL_FUNCTION_ADDRESS): Defined.
2423 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2424 (DL_DT_FINI_ADDRESS): Likewise.
2426 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2428 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2429 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2431 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2432 (_dl_function_address): This.
2434 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2435 function pointer for DT_FINI.
2436 * elf/dl-close.c (_dl_close): Likewise.
2438 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2439 function pointer for DT_INIT.
2441 2000-11-16 Jakub Jelinek <jakub@redhat.com>
2443 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2444 end of wexpbuf buffer.
2446 2000-11-16 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2449 definition of F_GETLK, F_SETLK, F_SETLKW.
2451 2000-11-16 Andreas Jaeger <aj@suse.de>
2453 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2456 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2458 * dlfcn/default.c (main): Add test for dladdr of main returning
2459 argv[0] in dli_fname field.
2461 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2463 * Makeconfig (run-program-prefix): Move test-static test into the
2466 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2467 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2468 schedule instructions.
2469 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2470 schedule instructions, fix a bug in copying auxiliary data.
2472 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2474 * manual/startup.texi (Program Arguments): Fix type of main's envp
2476 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2478 * iconvdata/gconv-modules: Add CP950 alias.
2480 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2482 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2483 syscall-list.h goal.
2484 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2486 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2488 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2490 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
2493 * intl/tst-gettext2.c: Set C locale if setting other locale
2494 failed. Use gettext() not _().
2496 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2497 successfully loaded a new locale.
2499 2000-11-13 Andreas Jaeger <aj@suse.de>
2501 * configure.in: Require gcc 2.95 or newer.
2503 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2505 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2506 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2508 2000-11-11 Jim Meyering <meyering@lucent.com>
2510 * string/strndup.c (strndup): Cast return value to `char *'.
2512 2000-11-15 Jim Meyering <meyering@ascend.com>
2514 * sysdeps/generic/memchr.c: Remove some useless parentheses.
2515 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2516 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2517 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2518 Also #undef __memchr.
2519 Use `weak_alias' only if it's defined.
2521 2000-11-10 H.J. Lu <hjl@gnu.org>
2523 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2525 2000-11-15 Andreas Jaeger <aj@suse.de>
2527 * elf/chroot_canon.c: Include <stdint.h>.
2529 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2530 (print_entry): Likewise.
2531 (add_to_cache): Likewise.
2533 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2535 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2536 (path_hwcap): Likewise.
2537 (search_dir): Likewise.
2539 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2541 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2543 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2544 (_dl_platform_string): New.
2545 (_DL_HWCAP_PLATFORM): New.
2546 (_dl_string_platform): New.
2547 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2549 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2550 (_dl_string_platform): New.
2551 (_DL_HWCAP_PLATFORM): New.
2552 (_dl_platform_string): New.
2554 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2556 (_DL_HWCAP_COUNT): New.
2557 (_dl_string_platform): New.
2558 (_DL_HWCAP_PLATFORM): New.
2559 (_dl_platform_string): New.
2561 2000-11-14 Ulrich Drepper <drepper@redhat.com>
2563 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2565 2000-11-14 Andreas Jaeger <aj@suse.de>
2567 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2569 2000-11-13 Roland McGrath <roland@frob.com>
2571 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2573 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
2575 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2576 underrun and make sure the result is null terminated even if there
2577 is no trailing newline.
2579 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2581 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2583 2000-11-10 H.J. Lu <hjl@gnu.org>
2585 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2587 2000-11-10 Andreas Jaeger <aj@suse.de>
2589 * elf/ldconfig.c (create_links): Fix alloca calculation.
2590 Patch by Ben Collins <bcollins@debian.org>.
2592 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2594 * inet/getnameinfo.c (getnameinfo): Use correct destination
2595 parameter for if_indextoname.
2596 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2598 2000-11-09 H.J. Lu <hjl@gnu.org>
2600 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2601 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2602 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2605 * time/Versions (GLIBC_2.1): Move getitimer to...
2606 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2608 2000-11-03 Bruno Haible <haible@clisp.cons.org>
2610 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2611 "make install", to work around a binary incompatibility between
2612 glibc 2.1 and glibc 2.2 gconv modules.
2614 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2616 * intl/locale.alias: Add thai.
2617 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2619 2000-11-07 Akim Demaille <akim@epita.fr>
2621 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2622 argument `data' for consistency with the prototypes.
2624 (obstack_copy, obstack_copy0): Rename the second argument as
2625 `address' for consistency. Qualify it `const'.
2626 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2627 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2628 `const' their input argument (`data' or `address').
2629 Adjust the corresponding macros to include `const' in casts.
2631 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2633 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2636 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2638 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2641 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2643 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2644 ai_protocol by internal table if service was not given.
2646 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2648 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2649 numerical port was specified with protocol without socktype.
2651 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2653 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2655 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2657 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2659 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2661 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2662 sin6_scope_id field.
2664 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2666 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2668 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2670 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2672 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2674 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2675 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2677 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
2679 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2680 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2682 2000-11-09 H.J. Lu <hjl@gnu.org>
2684 * io/Versions (GLIBC_2.1.1): Remove lockf64.
2687 See ChangeLog.11 for earlier changes.