1 2001-01-22 Andreas Jaeger <aj@suse.de>
3 * configure.in: Add test for new enough binutils version, move
4 compiler/binutils test up.
6 * Versions.def: Add version GLIBC_2.2.2.
8 2001-01-21 Ulrich Drepper <drepper@redhat.com>
10 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
12 * iconvdata/testdata/IBM932: New file.
13 * iconvdata/testdata/IBM932..UTF8: New file.
14 * iconvdata/testdata/IBM943: New file.
15 * iconvdata/testdata/IBM943..UTF8: New file.
16 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
18 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
22 2001-01-21 Ulrich Drepper <drepper@redhat.com>
24 * malloc/malloc.c: Remove a few unnecessary initializers of global
27 2000-12-09 H.J. Lu <hjl@gnu.org>
29 * nss/Makefile (routines): Add digits_dots.
30 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
31 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
33 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
35 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
36 (TYPE_VAR_P): Likewise.
37 (FLAGS_VAR): Likewise.
39 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
40 instead of including digits_dots.c.
41 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
42 (TYPE_VAR_P): Likewise.
43 (FLAGS_VAR): Likewise.
45 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
46 instead of including digits_dots.c.
48 2001-01-21 Ulrich Drepper <drepper@redhat.com>
50 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
52 2001-01-21 Andreas Jaeger <aj@suse.de>
54 * elf/constload2.c: Add prototype for init.
56 2001-01-21 Ulrich Drepper <drepper@redhat.com>
58 * stdlib/stdlib.h (drand48_data): Make available only for
59 __USE_MISC. Rename elements to protect namespace. Change type
60 and position of a and init element.
61 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
62 differently. Adjust for drand48_data change. Don't compute a here,
63 it comes from drand48_data.
64 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
65 differently. Adjust for drand48_data change. Compute a here.
66 * stdlib/srand48_r.c: Likewise.
67 * stdlib/drand48.c: Adjust for drand48_data change.
68 * stdlib/lrand48.c: Likewise.
69 * stdlib/mrand48.c: Likewise.
70 * stdlib/seek48.c: Likewise.
71 * stdlib/drand48_r.c: Likewise.
72 * stdlib/lrand48_r.c: Likewise.
73 * stdlib/mrand48_r.c: Likewise.
74 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
76 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
77 * stdlib/jrand48_r.c: Likewise.
79 * po/sv.po: Update from translation team.
81 2001-01-21 Andreas Jaeger <aj@suse.de>
83 * stdio-common/vfprintf.c (vfprintf): Add casts.
85 2001-01-20 Ulrich Drepper <drepper@redhat.com>
87 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
89 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
91 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
92 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
93 * iconvdata/ibm932.c: New file.
94 * iconvdata/ibm932.h: New file.
95 * iconvdata/ibm943.c: New file.
96 * iconvdata/ibm943.h: New file.
97 Patches by Masahide Washizawa <washi@jp.ibm.com>.
99 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
100 preventing optimization from being done. Set the correct type bit
101 in seen. Don't define and use _dl_base_addr unless
102 NEED_DL_BASE_ADDR is defined.
104 * io/ftw.c (ftw_dir): Add slash after directory name if there
105 wasn't any. Reported by loris <loris@iol.it>.
106 * io/Makefile (tests): Add bug-ftw2.
107 * io/bug-ftw2.c: New file.
109 2001-01-19 Ulrich Drepper <drepper@redhat.com>
111 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
112 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
113 * stdlib/tst-rand48.c: New file.
114 * stdlib/Makefile (tests): Add tst-rand48.
116 * locale/newlocale.c (__newlocale): Fix test for setting all
119 2001-01-19 Mark Kettenis <kettenis@gnu.org>
121 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
122 but change looking up the initial directory port in a similar way
123 as done by _hurd_change_directory_port_from_name.
124 * hurd/fchroot.c (fchroot): Likewise.
126 2001-01-18 Ulrich Drepper <drepper@redhat.com>
128 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
129 defined don't look whether the AT_*ID values were set.
130 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
131 (_dl_show_auxv): Rewrite to avoid switch statement.
132 * sysdeps/unix/sysv/linux/kernel-features.h: Define
133 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
134 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
135 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
137 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
138 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
139 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
141 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
143 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
144 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
146 * dlfcn/eval.c (__strtol_internal): Define here.
147 (eval): Use __strtol_internal instead of strtol.
149 * elf/elf.h: Add a few more EF_MIPS_* constants.
151 2001-01-17 Ulrich Drepper <drepper@redhat.com>
153 * manual/Makefile (chapters): Add debug.
154 * manual/debug.texi: New file.
155 * manual/examples/execinfo.c: New file.
156 Patch by suckfish@ihug.co.nz.
158 2001-01-17 Andreas Schwab <schwab@suse.de>
160 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
163 2001-01-17 Andreas Jaeger <aj@suse.de>
165 * nscd/connections.c (nscd_run): Use proper format specifier.
167 2001-01-16 Ulrich Drepper <drepper@redhat.com>
169 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
170 x86_platforms data into new file after prepending _dl_. Change
172 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
173 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
174 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
177 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
179 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
180 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
181 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
183 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
184 * sysdeps/i386/bsd-setjmp.S: Real implementation.
185 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
186 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
189 2001-01-16 Andreas Jaeger <aj@suse.de>
191 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
192 misapplied last patch.
194 2001-01-15 Ulrich Drepper <drepper@redhat.com>
196 * stdlib/random.c (__initstate): Clean up a cast.
197 (__setstate): Likewise.
199 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
200 syscall handling. The generic Linux version should work.
202 2001-01-15 Andreas Jaeger <aj@suse.de>
204 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
206 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
208 2001-01-14 Jakub Jelinek <jakub@redhat.com>
210 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
211 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
213 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
214 If number is 0, list all.
215 (services_keys): Likewise. Lookup aliases as well.
216 (databases): New table.
217 (build_doc): Prepare argp doc text with list of supported databases.
218 (main): Change to table driven processing.
220 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
222 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
225 2001-01-03 Jakub Jelinek <jakub@redhat.com>
227 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
228 encode value which does not fit in the 32bit type.
230 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
232 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
233 Change type of CTX to (struct sigcontext *).
234 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
235 (GET_FRAME): Likewise.
236 (GET_STACK): Likewise.
237 (SIGCONTEXT): Likewise. Add 2nd arg _code.
238 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
240 2001-01-13 Ulrich Drepper <drepper@redhat.com>
242 * manual/texinfo.tex: Update from upstream version.
244 2001-01-13 Jakub Jelinek <jakub@redhat.com>
246 * inet/ether_ntoh.c (lookup_function): Change arguments to match
247 _nss_*_getntohost_r prototype.
248 (ether_ntohost): Pass errno pointer to NSS function.
250 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
253 (MAP_LOCKED): New definition.
254 (MAP_NORESERVE): New definition.
256 2001-01-12 Ulrich Drepper <drepper@redhat.com>
258 * assert/assert.h: Use static_cast instead of C-style cast for C++.
259 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
261 2001-01-12 Ben Collins <bcollins@debian.org>
263 * sysdeps/generic/segfault.c (install_handler): Use access, not
266 2001-01-12 Andreas Jaeger <aj@suse.de>
268 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
269 * posix/wordexp.c (do_parse_glob): Likewise.
270 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
271 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
272 * elf/dl-open.c (_dl_open): Likewise.
273 * elf/dl-close.c (_dl_close): Likewise.
274 * elf/dl-load.c (_dl_map_object): Likewise.
275 * iconv/iconv_prog.c (process_fd): Likewise.
276 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
278 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
279 of a zero-length array.
281 2001-01-11 Jakub Jelinek <jakub@redhat.com>
283 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
284 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
285 * stdlib/cxa_on_exit.c: Remove.
286 * stdlib/Makefile: Revert last patch.
287 * stdlib/Versions: Likewise.
288 * include/stdlib.h: Likewise.
289 * stdlib/exit.h: Revert last patch.
290 (struct exit_function): Add second argument to cxa fn.
291 * stdlib/exit.c: Revert last patch.
292 (exit): Add hidden second argument.
294 2001-01-11 H.J. Lu <hjl@gnu.org>
296 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
297 * elf/dl-open.c (_dl_open): Here.
298 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
300 (_dl_static_init): Initialize the variables every time when possible.
301 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
304 2001-01-11 Ulrich Drepper <drepper@redhat.com>
306 * stdlib/Makefile (routines): Add cxa_on_exit.
307 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
308 * stdlib/cxa_on_exit.c: New file.
309 * include/stdlib.h: Add prototype for __cxa_on_exit.
310 * stdlib/exit.c: Handle ef_cxa2.
311 * stdlib/exit.h (enum): Add ef_cxa2.
312 (struct exit_function): Add cxa2.
314 * Versions.def [ld]: Add GLIBC_2.2.1.
316 2001-01-10 H.J. Lu <hjl@gnu.org>
318 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
319 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
321 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
322 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
323 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
324 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
325 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
327 2001-01-11 Ulrich Drepper <drepper@redhat.com>
329 * libio/stdio.h: Remove definition of off_t.
331 2001-01-11 Andreas Jaeger <aj@suse.de>
333 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
336 2001-01-10 Ulrich Drepper <drepper@redhat.com>
338 * sunrpc/Makefile (distribute): Add errqueue.h.
340 2001-01-10 H.J. Lu <hjl@gnu.org>
342 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
343 r9, r10 and r11 for language specific registers.
345 2001-01-10 Jakub Jelinek <jakub@redhat.com>
347 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
349 (clntudp_call): Handle MSG_ERRQUEUE.
350 * sysdeps/generic/errqueue.h: New file.
351 * sysdeps/unix/sysv/linux/errqueue.h: New file.
353 2001-01-10 H.J. Lu <hjl@gnu.org>
355 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
357 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
359 * CONFORMANCE: Update.
361 2001-01-09 Ulrich Drepper <drepper@redhat.com>
363 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
364 Minimal cleanups. Add assert to ensure memory handling is correct.
366 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
367 Reported by Ben Collins <bcollins@debian.org>.
369 * time/strftime.c (my_strftime): Mark previous GNU extensions
370 which are now in C99 as such.
372 2001-01-08 Ulrich Drepper <drepper@redhat.com>
374 * elf/rtld.c (process_envvars): Place output files for profiling
375 in SUID binaries in /var/profile.
377 * elf/dl-load.c (_dl_map_object): Don't look in cache for
378 preloading in SUID binaries.
380 * elf/dl-profile.c (_dl_start_profile): Open the output file with
381 O_NOFOLLOW if possible.
383 * include/stdlib.h: Add __posix_openpt declaration.
384 * stdlib/stdlib.h: Add posix_openpt declaration.
385 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
386 * sysdeps/generic/getpt.c: Define posix_openpt.
387 * sysdeps/unix/bsd/getpt.c: Likewise.
388 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
390 * time/Makefile (tests): Add tst-mktime.
391 * time/tst-mktime.c: New file.
393 * posix/tst-dir.c (main): One more mkdir() test.
395 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
396 Remove getpagesize syscall. We assume that the pagesize is always
397 determined from the auxiliary vector.
399 * intl/dcigettext.c: Fix a few warnings.
400 Patch by Bruno Haible <haible@ilog.fr>.
402 2001-01-08 Andreas Jaeger <aj@suse.de>
404 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
405 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
407 2001-01-08 Ulrich Drepper <drepper@redhat.com>
409 * sysdeps/generic/segfault.c (install_handler): Check output file
412 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
413 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
415 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
417 * malloc/memusage.c (me): Use access() to determine whether we
418 should write the output file or not.
420 * libio/bits/stdio.h (printf): Define macro to map printf call to
421 fprintf which gcc can optimize.
422 * stdio-common/printf.c: Undefine printf.
424 2001-01-07 Ulrich Drepper <drepper@redhat.com>
426 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
427 patch. We must use unsigned int for l member of union.
429 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
430 _dl_aux_init for shared libraries.
432 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
433 * sysdeps/gnu/glob64.c: ...here. New file.
435 2001-01-07 Ben Collins <bcollins@debian.org>
437 * manual/examples/longopt.c: Make the "struct option" a little
438 more like it should be, adding usage of required_argument,
439 noargument and such, and also setting the options string right.
441 * manual/sysinfo.texi (Load Average): New section, documents
444 2001-01-06 Ulrich Drepper <drepper@redhat.com>
446 * version.h (VERSION): Bump to 2.2.1.
448 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
449 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
450 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
451 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
452 * Makefile (distribute): Add include/libc-internal.h.
453 * libio/Makefile (distribute): Avoid overwriting.
455 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
456 buffer and table handling.
458 2001-01-05 H.J. Lu <hjl@gnu.org>
460 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
461 vector checking to ...
462 (_dl_aux_init): Here. New function. Defined only if
463 HAVE_AUX_VECTOR is defined.
465 * sysdeps/generic/libc-start.c (__libc_start_main): Call
466 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
468 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
471 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
472 (HAVE_AUX_VECTOR): Defined.
473 (_dl_aux_init): Declared.
475 2001-01-05 Ben Collins <bcollins@debian.org>
477 * manual/string.texi (Finding Tokens in a String): Document XPG
478 basename() and dirname(), as well as GNU basename().
480 2001-01-05 Jakub Jelinek <jakub@redhat.com>
482 * Makeconfig (preprocess-version): Replace -traditional with
483 -x assembler-with-cpp.
485 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
487 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
488 for GCC 2.97 or later.
490 2001-01-05 Ben Collins <bcollins@debian.org>
492 * manual/stdio.texi (getline): Clarify the return value in the
493 case of EOF being reached before a newline.
495 2001-01-04 Jakub Jelinek <jakub@redhat.com>
497 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
499 (pmap_set, pmap_unset): Check __get_myaddress return value.
501 2001-01-05 Mark Kettenis <kettenis@gnu.org>
503 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
504 (struct ether_addr): Declare ether_addr_octet member as
505 `u_int8_t'. Add __attribute__ ((__packed__)).
507 2001-01-06 Mark Kettenis <kettenis@gnu.org>
509 * sysdeps/mach/hurd/readdir64.c: New file.
510 * sysdeps/mach/hurd/readdir64_r.c: New file.
512 2001-01-07 Mark Kettenis <kettenis@gnu.org>
514 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
515 `struct statfs' and `struct statvfs' being identical.
516 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
518 2001-01-06 Mark Kettenis <kettenis@gnu.org>
520 * sysdeps/mach/hurd/fstatfs64.c: New file.
521 * sysdeps/mach/hurd/fstatvfs64.c: New file.
522 * sysdeps/mach/hurd/statfs64.c: New file.
523 * sysdeps/mach/hurd/statvfs64.c: New file.
524 * sysdeps/mach/hurd/statfsconv.c: New file.
525 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
527 2001-01-06 Ulrich Drepper <drepper@redhat.com>
529 * iconv/skeleton.c: Reset outbuf for next round of the loop.
530 Reported by Owen Taylor <otaylor@redhat.com>.
531 * iconv/Makefile (tests): Add tst-iconv3.
532 * iconv/tst-iconv3.c: New file.
534 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
535 * iconvdata/ibm933.c: Likewise.
536 * iconvdata/ibm935.c: Likewise.
537 * iconvdata/ibm937.c: Likewise.
538 * iconvdata/ibm939.c: Likewise.
539 * iconvdata/ibm930.h: Adjust single byte table for optimization.
540 * iconvdata/ibm933.h: Likewise.
541 * iconvdata/ibm935.h: Likewise.
542 * iconvdata/ibm939.h: Likewise.
544 * iconvdata/testdata/IBM930: Add misssing SI.
545 * iconvdata/testdata/IBM933: Likewise.
546 * iconvdata/testdata/IBM935: Likewise.
547 * iconvdata/testdata/IBM937: Likewise.
548 * iconvdata/testdata/IBM939: Likewise.
550 2001-01-06 Andreas Jaeger <aj@suse.de>
552 * configure.in: Check for old add-ons that shouldn't be used with
553 current glibc anymore.
555 2001-01-06 Mark Kettenis <kettenis@gnu.org>
557 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
558 instead of -1 on failure. Don't forget to copy file name into
559 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
562 2001-01-06 Mark Kettenis <kettenis@gnu.org>
564 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
565 copy st_atime member.
567 2001-01-05 Ulrich Drepper <drepper@redhat.com>
569 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
570 for searches from the root directory.
571 Reported by loris <loris@iol.it> [PR libc/1991].
572 * io/Makefile (tests): Add bug-ftw1.
573 * io/bug-ftw1.c: New file.
575 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
576 if it is not available. Instead use it only if it is available.
577 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
579 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
580 overflowing output buffer.
581 (internal_ucs4_loop_unaligned): Likewise.
582 (ucs4_internal_loop): Likewise.
583 (ucs4_internal_loop_unaligned): Likewise.
584 (internal_ucs4le_loop): Likewise.
585 (internal_ucs4le_loop_unaligned): Likewise.
586 (ucs4le_internal_loop): Likewise.
587 (ucs4le_internal_loop_unaligned): Likewise.
588 Reported by Owen Taylor <otaylor@redhat.com>.
589 * iconv/Makefile (tests): Add tst-iconv2.
590 * iconv/tst-iconv2.c: New file.
592 2001-01-04 H.J. Lu <hjl@gnu.org>
594 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
595 (_dl_clktck): Declared.
596 (non_dynamic_init): Take 3 arguments.
597 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
599 2001-01-01 Bruno Haible <haible@clisp.cons.org>
601 Finish implementation of plural form handling.
602 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
603 'domainname'. Remove 'plindex' field. Add 'domain' and
604 'translation_length' fields.
605 (transcmp): Don't compare 'plindex' fields.
606 (plural_lookup): New function.
607 (DCIGETTEXT): Change cache handing in the plural case. Don't call
608 plural_eval before the translation and its catalog file have been
609 found. Remove plindex from cache key. Add 'translation_length' and
610 'domain' to cache result.
611 (_nl_find_msg): Remove index argument, return length of translation
612 to the caller instead. Weaken comparison of string lengths, to account
613 for plural entries. Call iconv() on the entire result string, not
614 only on the portion needed so far.
615 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
617 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
619 2001-01-04 Ulrich Drepper <drepper@redhat.com>
621 * intl/plural.y (yylex): Minimal improvement in number scanner.
623 2000-07-31 Bruno Haible <haible@clisp.cons.org>
625 * intl/plural.y: Include config.h. Needed to define 'inline' away for
626 C compilers that don't support it.
627 (yylex): Don't use gcc specific case range syntax.
628 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
631 2000-10-12 Bruno Haible <haible@clisp.cons.org>
633 * intl/finddomain.c: Remove unneeded includes.
635 2000-10-12 Bruno Haible <haible@clisp.cons.org>
637 * intl/localealias.c (memcpy): Return first argument, just like the
638 real memcpy function does.
639 * intl/bindtextdom.c (memcpy): Likewise.
640 * intl/finddomain.c (memcpy): Likewise.
641 * intl/l10nflist.c (memcpy): Likewise.
642 * intl/textdomain.c (memcpy): Likewise.
643 From Paul Eggert <eggert@twinsun.com>.
645 2001-01-03 Jakub Jelinek <jakub@redhat.com>
647 * resolv/resolv.h (struct __res_state): Add nsinit field.
648 * resolv/res_send.c (res_nsend): Use it instead of nscount.
649 * resolv/res_init.c (__res_vinit): Initialize it.
650 (res_nclose): Clear it instead of nscount.
652 2001-01-04 Ulrich Drepper <drepper@redhat.com>
654 * malloc/mtrace.pl: Fix matching of addresses.
655 Patch by Aharon Robbins <arnold@skeeve.com>.
657 * Versions.def (ld): Add GLIBC_2.2.
659 * catgets/gencat.c: Copyright 2001.
660 * csu/version.c: Likewise.
661 * debug/catchsegv.sh: Likewise.
662 * debug/xtrace.sh: Likewise.
663 * elf/ldconfig.c: Likewise.
664 * elf/sprof.c: Likewise.
665 * iconv/iconv_prog.c: Likewise.
666 * locale/locale.c: Likewise.
667 * locale/localedef.c: Likewise.
668 * malloc/memusage.sh: Likewise.
669 * malloc/mtrace.pl: Likewise.
670 * nscd/nscd.c: Likewise.
671 * posix/getconf.c: Likewise.
673 2001-01-04 Mark Kettenis <kettenis@gnu.org>
675 * include/stdio.h: Only provide __getwc_unlocked prototype if
676 USE_IN_LIBIO is defined.
678 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
680 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
683 2001-01-03 Andreas Schwab <schwab@suse.de>
685 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
686 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
688 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
689 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
691 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
692 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
695 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
697 * sysdeps/generic/strtol_l.c: Likewise.
698 * sysdeps/generic/strtoul_l.c: Likewise.
699 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
701 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
702 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
703 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
704 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
706 2001-01-04 Andreas Jaeger <aj@suse.de>
708 * nss/nsswitch.c: Include files for missing prototypes, remove
709 buggy declaration of prototypes.
711 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
713 * resolv/Versions: Fix bracing.
714 * sysdeps/powerpc/soft-fp/Versions: Likewise.
715 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
717 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
719 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
721 2001-01-02 Ulrich Drepper <drepper@redhat.com>
723 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
724 Suggested by Minko Markov <mmarkov@home.com>.
726 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
728 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
729 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
731 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
733 2001-01-02 Ben Collins <bcollins@debian.org>
735 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
736 if TZ is not set and TZDEFAULT is not present.
738 2001-01-01 Ben Collins <bcollins@debian.org>
740 * string/strings.h: Make sure we declare our functions even if
741 string.h is already included, based on whether or not __USE_BSD is
744 2001-01-02 Ulrich Drepper <drepper@redhat.com>
746 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
747 other dlopen() and dlsym().
748 Based on a patch by Ben Collins <bcollins@debian.org>.
750 2001-01-02 Andreas Jaeger <aj@suse.de>
752 * dlfcn/errmsg1.c (main): Call dlerror initially.
753 Reported by Ben Collins <bcollins@debian.org>.
755 2001-01-02 Ulrich Drepper <drepper@redhat.com>
757 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
758 value is ignored if the selected locale is the C locale.
759 * intl/tst-gettext.c: Set locale for above change.
760 * intl/tst-translit.c: Likewise.
762 2001-01-02 Andreas Jaeger <aj@suse.de>
764 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
765 (_IO_switch_to_wget_mode): Likewise.
766 (_IO_sputbackwc): Likewise.
767 (_IO_sungetwc): Use wint_t for result.
769 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
771 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
774 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
775 to (int) to avoid warnings.
776 * stdio-common/printf_fp.c (putc): Likewise.
777 * stdio-common/printf_size.c (putc): Likewise.
779 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
782 2001-01-01 Andreas Jaeger <aj@suse.de>
784 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
786 2000-12-31 Andreas Jaeger <aj@suse.de>
788 * include/libc-internal.h: Add prototype for __libc_freeres.
790 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
791 for prototypes, remove redundant prototypes.
792 * gmon/gmon.c: Likewise.
793 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
794 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
795 * malloc/mtrace.c: Likewise.
797 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
799 * elf/soinit.c: Likewise.
800 * sysdeps/generic/prof-freq.c: Likewise.
801 * sysdeps/mach/hurd/profil.c: Likewise.
802 * debug/noophooks.c: Likewise.
803 * debug/pcprofile.c: Likewise.
804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
805 * sysdeps/generic/get_clockfreq.c: Likewise.
806 * malloc/set-freeres.c: Likewise.
808 * locale/localeinfo.h: Add internal prototypes.
810 * elf/rtld.c (dl_main): Fix prototype.
812 * iconvdata/tst-table-to.c (main): Use return instead of exit to
815 * nis/rpcsvc/yp_prot.h: Remove __P.
816 * nis/rpcsvc/ypupd.h: Likewise.
817 * nis/rpcsvc/yp.h: Likewise.
819 * sunrpc/rpc_main.c: Add noreturn attributes.
820 * sunrpc/rpc_scan.h: Likewise.
822 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
824 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
826 * sunrpc/proto.h: Add noreturn attributes to error and crash.
828 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
830 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
832 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
834 * include/rpc/rpc_msg.h: Add prototypes for some functions.
835 * include/rpc/auth.h: Likewise.
836 * include/rpc/auth_des.h: Likewise.
837 * include/rpc/clnt.h: Likewise.
838 * include/rpc/rpc.h: Likewise.
839 * include/rpc/svc.h: Likewise.
840 * include/rpc/svc_auth.h: Likewise.
842 * include/rpc/des_crypt.h: New file.
844 * malloc/memusagestat.c (main): Use return instead of exit to
846 * io/pwd.c (main): Likewise.
847 * iconvdata/tst-table-from.c (main): Likewise.
848 * ctype/test_ctype.c (main): Likewise.
849 * setjmp/tst-setjmp.c (main): Likewise.
850 * signal/tst-signal.c (main): Likewise.
851 * stdlib/tst-strtol.c (main): Likewise.
852 * stdlib/tst-strtod.c (main): Likewise.
853 * stdlib/tst-strtoll.c (main): Likewise.
854 * stdlib/tst-xpg-basename.c (main): Likewise.
855 * dirent/tst-seekdir.c (main): Likewise.
856 * grp/testgrp.c (main): Likewise.
857 * inet/test_ifindex.c (main): Likewise.
858 * io/test-utime.c (main): Likewise.
859 * posix/test-vfork.c (main): Likewise.
860 * posix/testfnm.c (main): Likewise.
861 * stdio-common/temptest.c (main): Likewise.
862 * stdio-common/test_rdwr.c (main): Likewise.
863 * stdio-common/tst-fileno.c (main): Likewise.
864 * stdio-common/tst-sscanf.c (main): Likewise.
865 * stdio-common/tstscanf.c (main): Likewise.
866 * string/bug-strncat1.c (main): Likewise.
867 * string/bug-strpbrk1.c (main): Likewise.
868 * string/bug-strspn1.c (main): Likewise.
869 * string/test-ffs.c (main): Likewise.
870 * string/tst-inlcall.c (main): Likewise.
871 * string/tst-svc.c (main): Likewise.
872 * timezone/test-tz.c (main): Likewise.
873 * wctype/test_wcfuncs.c (main): Likewise.
874 * wctype/test_wctype.c (main): Likewise.
876 * stdlib/tst-random.c: Add attribute noreturn to fail.
878 2000-12-28 Wolfram Gloger <wg@malloc.de>
880 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
881 destination overlap. Assume dest is always below source if
884 2000-12-30 Ulrich Drepper <drepper@redhat.com>
886 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
887 object was not yet initialized.
889 2000-12-28 H.J. Lu <hjl@gnu.org>
891 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
892 is always consistent even if its dependency is failed.
894 * elf/dl-open.c (_dl_open): Increment the open count before
895 calling _dl_close () in case of failure.
897 * elf/neededtest4.c: New file.
898 * elf/neededobj5.c: New file.
899 * elf/neededobj6.c: New file.
901 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
902 (tests): Add neededtest4.
903 (modules-names): Add neededobj5 and neededobj6.
904 ($(objpfx)neededobj6.so): New target.
905 ($(objpfx)neededtest4): New target.
906 ($(objpfx)neededtest4.out): New target.
908 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
910 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
911 * stdlib/monetary.h: Add strfmon format attributes.
913 2000-12-28 Roland McGrath <roland@frob.com>
915 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
916 __mempcpy does it for us.
918 2000-12-28 Andreas Jaeger <aj@suse.de>
920 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
922 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
925 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
928 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
931 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
932 __chown_is_lchown and __real_chown.
934 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
937 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
938 up GCC's warning about "deprecated use of label at end of compound
940 * sunrpc/rpc_cout.c (emit_inline): Likewise.
942 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
944 Remove struct bb and __bb_head since those are declared by
947 2000-12-22 Ben Collins <bcollins@debian.org>
949 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
951 * manual/argp.texi: Document argp_domain as part of struct argp.
953 2000-12-28 Andreas Jaeger <aj@suse.de>
955 * catgets/Makefile (generated): Add sample.SJIS.cat.
957 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
959 * elf/dl-minimal.c: Add prototypes.
961 * include/locale.h: Add internal prototypes.
962 * include/sys/gmon.h: Likewise.
964 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
966 2000-12-27 Ben Collins <bcollins@debian.org>
968 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
969 when reallocating the error strings.
970 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
972 2000-12-27 Ulrich Drepper <drepper@redhat.com>
974 * dlfcn/Makefile (tests): Add errmsg1.
975 (modules-names): Add errmsg1mod.
976 Add rules to run errmsg1.
977 * dlfcn/errmsg1.c: New file.
978 * dlfcn/errmsg1mod.c: New file.
980 * dlfcn/dlerror.c (dlerror): Always create output string which
981 includes object file name.
983 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
984 if we would go through it only once.
985 Patch by Rick Gorton <rick.gorton@api-networks.com>.
987 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
988 Patch by Richard Henderson <rth@redhat.com>.
990 2000-12-27 Jakub Jelinek <jakub@redhat.com>
992 * malloc/malloc.c (memmove): Add prototypes.
993 (MALLOC_MEMMOVE): Define.
994 (chunk_realloc): Use it instead of MALLOC_COPY if source and
995 destination might overlap.
997 2000-12-27 Andreas Jaeger <aj@suse.de>
999 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1001 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1002 * locale/programs/locale.c (show_locale_vars): Likewise.
1003 (show_info): Likewise.
1004 * locale/programs/ld-collate.c (collate_output): Likewise.
1005 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1006 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1007 * stdlib/rpmatch.c (rpmatch): Likewise.
1009 * setjmp/tst-setjmp.c: Make local functions static.
1010 * setjmp/jmpbug.c: Likewise.
1011 * signal/tst-signal.c: Likewise.
1012 * stdio-common/tfformat.c: Likewise.
1013 * string/tst-svc.c: Likewise.
1014 * time/clocktest.c: Likewise.
1015 * time/tst-getdate.c: Likewise.
1016 * dirent/list.c: Likewise.
1017 * dirent/opendir-tst1.c: Likewise.
1018 * posix/runtests.c: Likewise.
1019 * posix/tst-getaddrinfo.c: Likewise.
1020 * posix/tst-chmod.c: Likewise.
1021 * posix/wordexp-test.c: Likewise.
1022 * misc/tst-efgcvt.c: Likewise.
1023 * timezone/tst-timezone.c: Likewise.
1024 * rt/tst-clock.c: Likewise.
1025 * rt/tst-shm.c: Likewise.
1026 * rt/tst-aio2.c: Likewise.
1027 * rt/tst-aio3.c: Likewise.
1028 * rt/tst-aio4.c: Likewise.
1029 * rt/tst-aio5.c: Likewise.
1031 * dlfcn/failtest.c: Add prototype for foo.
1033 * dlfcn/glrefmain.c: Add prototype for do_test.
1035 * dlfcn/tst-dladdr.c: Add prototype for do_test.
1037 * string/test-ffs.c (main): Add prototype for nested function.
1039 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1041 * nss/XXX-lookup.c: Add prototype to shut up GCC.
1043 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1044 setetherent prototype.
1045 Add internal interfaces.
1047 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1048 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1050 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1052 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1054 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1055 prototypes, remove struct etherent since it's declared in ether.h.
1056 Fix ntohost declaration.
1058 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1060 * include/getopt.h: Add internal interfaces.
1061 * include/termios.h: Likewise.
1062 * include/resolv.h: Likewise.
1063 * include/netdb.h: Likewise.
1064 * include/grp.h: Likewise.
1065 * include/pwd.h: Likewise.
1066 * include/shadow.h: Likewise.
1067 * include/rpc/netdb.h: Likewise.
1068 * include/setjmp.h: Likewise.
1070 * include/stdio.h: Add prototypes for compatibility functions.
1071 * include/grp.h: Likewise.
1072 * include/pwd.h: Likewise.
1073 * include/shadow.h: Likewise.
1075 * include/fenv.h: Define internal interfaces.
1077 2000-12-27 Ulrich Drepper <drepper@redhat.com>
1079 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1080 argument case separately.
1081 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1083 2000-12-27 Andreas Jaeger <aj@suse.de>
1085 * include/sys/wait.h: Add some prototypes.
1086 * Rules (dummy.c): Create also prototype to shut up GCC.
1088 2000-12-27 Andreas Jaeger <aj@suse.de>
1090 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1091 it's not needed at the moment.
1092 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1093 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1095 2000-12-26 Andreas Jaeger <aj@suse.de>
1097 * libio/getc_u.c: Include stdio.h via system path to get internal
1099 * libio/getwc_u.c: Likewise.
1101 * stdlib/strfmon.c: Fix prototype of __printf_fp.
1103 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1104 __printf_fp prototypes to ...
1105 * include/printf.h: ...here.
1107 * include/stdio.h: Add some internal prototypes to shut up GCC.
1108 * include/stdlib.h: Likewise.
1110 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1113 * include/signal.h: Add prototypes for internal sigpause
1116 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1118 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1119 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
1121 * string/Makefile (tests): Add tst-bswap.
1122 * string/tst-bswap.c: New file.
1124 2000-12-11 Bruno Haible <haible@clisp.cons.org>
1126 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1128 2000-12-26 Ulrich Drepper <drepper@redhat.com>
1130 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1131 Patch by Ed Connell <Ed.Connell@sas.com>.
1133 2000-12-24 Ulrich Drepper <drepper@redhat.com>
1135 * locale/iso-639.def: Correct one entry. Add two missing entries.
1137 * locale/iso-4217.def: Change entry for Eritrea.
1138 Reported by Daniel Yacob <yacob@geez.org>.
1140 2000-12-23 Ben Collins <bcollins@debian.org>
1142 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1145 * manual/stdio.texi (Dynamic Output): Document the return value of
1146 asprintf. Also make the asprintf/snprintf examples a little
1147 better (check for some error returns).
1149 2000-12-22 Andreas Jaeger <aj@suse.de>
1151 * include/stdio.h: Add __ftrylockfile prototype.
1153 2000-12-21 H.J. Lu <hjl@gnu.org>
1155 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1156 Make sign_exponent element signed.
1158 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1161 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1163 2000-12-21 Andreas Jaeger <aj@suse.de>
1165 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1166 * inet/ether_hton.c: Likewise
1167 * inet/ether_ntoh.c: Likewise.
1169 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1170 declaration to match prototype.
1172 * include/netinet/ether.h (struct etherent): Declare here so that
1173 all implementations use the same struct.
1175 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1177 (struct ether): Removed.
1178 Use struct etherent instead of ether everywhere.
1180 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1182 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1184 * sunrpc/publickey.c: Include auth_des.h for prototypes.
1186 2000-12-20 Ulrich Drepper <drepper@redhat.com>
1188 * math/test-misc.c: Add more tests for nextafter functions.
1190 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1191 normal correctly. Correct test for sign.
1192 Based on a patch by HJ Lu.
1194 2000-12-19 Ulrich Drepper <drepper@redhat.com>
1196 * Makeconfig (preprocess-version): Add -traditional to gcc call.
1199 2000-12-19 Andreas Jaeger <aj@suse.de>
1201 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1203 * nis/nis_intern.h: Add prototype for __do_niscall3.
1205 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1208 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1210 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1212 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1214 2000-12-18 Ulrich Drepper <drepper@redhat.com>
1216 * math/test-misc.c: Add more tests for nextafter.
1217 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1218 * sysdeps/ieee754/ldbl-96/math_ldbl.h
1219 (ieee_long_double_shape_type): Make sign_exponent element signed.
1221 * manual/message.texi: Add Estonian to plural overview list.
1222 Correct rule for Slavic languages.
1223 Patch by Stanislav Brabec <utx@penguin.cz>.
1225 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1227 2000-12-18 Andreas Jaeger <aj@suse.de>
1229 * test-skeleton.c: Use temp_name_list instead of name_list to
1230 avoid collision with name_list from inet/netgroup.h.
1232 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1234 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1235 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1236 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1237 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1239 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1240 declaration to match prototype.
1241 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1242 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1243 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1245 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1246 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1247 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1248 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1249 (_nss_nis_getservbyport_r): Likewise.
1250 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1251 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1252 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1253 (_nss_nis_setnetent): Likewise
1254 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1255 (_nss_nis_endnetgrent): Likewise.
1256 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1258 (_nss_nisplus_setnetgrent): Likewise.
1259 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1260 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1261 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1262 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1264 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1266 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1268 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1270 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1271 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1272 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1273 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1274 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1275 (_nss_dns_getnetbyaddr_r): Likewise.
1277 2000-12-17 Andreas Jaeger <aj@suse.de>
1279 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1282 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1283 unused attribute to shut up gcc warnings.
1285 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1286 * sysdeps/generic/k_tanl.c: Likewise.
1287 * sysdeps/generic/k_cosl.c: Likewise.
1288 * sysdeps/generic/e_j0l.c: Likewise.
1289 * sysdeps/generic/e_j1l.c: Likewise.
1290 * sysdeps/generic/e_jnl.c: Likewise.
1291 * sysdeps/generic/e_lgammal_r.c: Likewise.
1293 * elf/vismain.c: Move prototypes for functions in vismod*.c to
1295 * elf/vismod.h: New file.
1296 * elf/Makefile (distribute): Add vismod.h.
1297 * elf/vismod1.c: Include vismod.h.
1298 * elf/vismod2.c: Likewise.
1299 * elf/vismod3.c: Likewise.
1301 * elf/constload3.c: Add prototype declarations to shut up gcc.
1302 * elf/failobj.c: Likewise.
1303 * elf/nodelmod3.c: Likewise.
1304 * elf/filtmod1.c: Likewise.
1305 * elf/filtmod2.c: Likewise.
1306 * elf/reldepmod1.c: Likewise.
1307 * elf/reldepmod2.c: Likewise.
1308 * elf/reldepmod3.c: Likewise.
1309 * elf/reldepmod4.c: Likewise.
1310 * elf/unload2dep.c: Likewise.
1311 * elf/unload2mod.c: Likewise.
1312 * elf/ltglobmod1.c: Likewise.
1313 * elf/pathoptobj.c: Likewise.
1314 * elf/neededobj1.c: Likewise.
1315 * elf/neededobj2.c: Likewise.
1316 * elf/neededobj3.c: Likewise.
1317 * elf/neededobj4.c: Likewise.
1318 * elf/nextmod1.c: Likewise.
1319 * elf/nextmod2.c: Likewise.
1321 * locale/programs/ld-collate.c (collate_finish): Don't use labels
1322 at end of compound statement.
1323 * locale/programs/locale.c (show_info): Likewise.
1324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1326 2000-12-16 Jakub Jelinek <jakub@redhat.com>
1328 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1329 with a pointer not returned by obstack_ functions.
1331 2000-12-16 Ulrich Drepper <drepper@redhat.com>
1333 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1335 (struct stat64): Likewise.
1336 Reported by Michael Keezer <mkeezer@redhat.com>.
1338 * timezone/asia: Update from tzdata2000h.
1339 * timezone/australasia: Likewise.
1340 * timezone/backward: Likewise.
1341 * timezone/europe: Likewise.
1342 * timezone/northamerica: Likewise.
1343 * timezone/southamerica: Likewise.
1344 * timezone/zone.tab: Likewise.
1346 2000-12-14 Jakub Jelinek <jakub@redhat.com>
1348 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1349 and dir.stream is NULL, only free dir.content.
1350 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1351 * io/ftwtest-sh: Test with --early-exit.
1353 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1355 * misc/efgcvt.c (FCVT_MAXDIG): Define.
1356 (FCVT_BUFPTR): New variable.
1357 (fcvt): If fcvt_r returns -1 on the static short buffer,
1358 try to malloc a sufficiently large one and retry.
1359 (free_mem): New function.
1360 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1361 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1363 2000-12-15 Ulrich Drepper <drepper@redhat.com>
1365 * misc/dirname.c (dirname): Fix search for second to last slash.
1367 2000-12-13 Andreas Jaeger <aj@suse.de>
1369 * misc/tst-dirname.c (main): Fix typo in test to really use
1370 the examples from Unix98.
1371 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1373 2000-12-09 H.J. Lu <hjl@gnu.org>
1375 * sysdeps/ia64/fpu/s_fabs.S: New file.
1376 * sysdeps/ia64/fpu/s_fabsf.S: New file.
1377 * sysdeps/ia64/fpu/s_fabsl.S: New file.
1379 2000-12-15 Andreas Jaeger <aj@suse.de>
1381 * stdio-common/scanf9.c (main): Reformat and change to avoid
1384 * stdio-common/tstdiomisc.c: Make local functions static.
1385 * stdio-common/tst-printf.c: Likewise.
1387 * elf/constload2.c: Add prototype declarations to shut up gcc.
1388 * elf/dep1.c: Likewise.
1389 * elf/dep2.c: Likewise.
1390 * elf/dep3.c: Likewise.
1391 * elf/dep4.c: Likewise.
1392 * elf/ltglobmod2.c: Likewise.
1394 * libio/fmemopen.c: Make local functions static.
1396 * elf/Makefile (distribute): Added testobj.h.
1398 * elf/testobj.h: New file.
1400 * elf/testobj1.c: Include testobj.h and move prototype
1401 declarations to testobj.h.
1402 * elf/testobj2.c: Likewise.
1403 * elf/testobj3.c: Likewise.
1404 * elf/testobj4.c: Likewise.
1405 * elf/testobj5.c: Likewise.
1406 * elf/testobj6.c: Likewise.
1407 * elf/testobj1_1.c: Likewise.
1408 * elf/preloadtest.c: Likewise.
1410 2000-12-15 Ben Collins <bcollins@debian.org>
1412 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1413 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1415 2000-12-14 H.J. Lu <hjl@gnu.org>
1417 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1418 field in a float is 8 bits, not 11 bits.
1420 2000-12-13 Jakub Jelinek <jakub@redhat.com>
1422 * math/test-misc.c (main): Adjust m for IEEE quad long double.
1424 2000-12-13 Andreas Jaeger <aj@suse.de>
1426 * manual/message.texi (Using gettextized software): Fix typo.
1428 * manual/charset.texi (Converting a Character): Fix mbstouwcs
1430 Patch by Martin Buchholz <martin@xemacs.org>.
1432 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1433 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1435 2000-12-11 Andreas Jaeger <aj@suse.de>
1437 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1438 kernel_sigset_t and use it.
1439 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1441 2000-12-10 Richard Henderson <rth@redhat.com>
1443 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1444 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1445 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1447 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1449 * sysdeps/alpha/htonl.S: Fix a typo.
1451 2000-12-10 Jakub Jelinek <jakub@redhat.com>
1453 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1455 2000-12-10 Andreas Jaeger <aj@suse.de>
1457 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1458 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1459 Drepper <drepper@redhat.com>.
1461 2000-12-09 Andreas Jaeger <aj@suse.de>
1463 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1465 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1467 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1469 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1472 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1475 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1476 * nscd/connections.c (handle_request): Likewise.
1477 * nscd/pwdcache.c (addpwbyname): Likewise.
1478 * nscd/grpcache.c (addgrbyname): Likewise.
1480 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1482 2000-12-09 Ulrich Drepper <drepper@redhat.com>
1484 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1486 * Makeconfig (default_cflags): Make -O2 the default for stable
1489 2000-12-08 H.J. Lu <hjl@gnu.org>
1491 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1492 * sysdeps/ia64/fpu/s_isinf.S: This.
1493 Add a .pred.rel.mutex note to avoid false report.
1495 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1496 * sysdeps/ia64/fpu/s_isnan.S: This.
1498 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1499 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1500 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1501 * sysdeps/ia64/fpu/s_isinff.S: New file.
1502 * sysdeps/ia64/fpu/s_isinfl.S: New file.
1503 * sysdeps/ia64/fpu/s_isnanf.S: New file.
1504 * sysdeps/ia64/fpu/s_isnanl.S: New file.
1505 * sysdeps/ia64/fpu/s_finite.S: New file.
1506 * sysdeps/ia64/fpu/s_finitef.S: New file.
1507 * sysdeps/ia64/fpu/s_finitel.S: New file.
1508 * sysdeps/ia64/fpu/s_signbit.S: New file.
1509 * sysdeps/ia64/fpu/s_signbitf.S: New file.
1510 * sysdeps/ia64/fpu/s_signbitl.S: New file.
1511 * sysdeps/ia64/fpu/s_copysign.S: New file.
1512 * sysdeps/ia64/fpu/s_copysignf.S: New file.
1513 * sysdeps/ia64/fpu/s_copysignl.S: New file.
1515 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1517 * math/libm-test.inc (main): Fix typos in messages.
1519 * string/stratcliff.c: Add test for rawmemchr.
1521 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1523 * elf/dl-open.c (_dl_open): If objname points right after errstring,
1524 allocate it together with errstring using alloca.
1525 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1526 to "", because it might point to local stack.
1528 2000-12-05 H.J. Lu <hjl@gnu.org>
1530 * nss/Makefile (routines): Add getnssent and getnssent_r.
1531 * nss/nsswitch.h (__nss_setent): New internal NSS function.
1532 (__nss_endent): Likewise.
1533 (__nss_getent_r): Likewise.
1534 (__nss_getent): Likewise.
1535 * nss/getnssent_r.c: New file.
1536 * nss/getnssent.c: New file.
1537 * nss/getXXent.c (H_ERRNO_VAR): Updated.
1538 (GETFUNC_NAME): Updated to call __nss_getent ().
1539 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1540 (STAYOPEN_TMPVAR): Updated.
1541 (STAYOPEN_VAR): Updated.
1542 (SETFUNC_NAME): Updated to call __nss_setent ().
1543 (ENDFUNC_NAME): Updated to call __nss_endent ().
1544 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1546 2000-12-08 Andreas Jaeger <aj@suse.de>
1548 * nscd/dbg_log.h (dbg_log): Correct attribute.
1550 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1552 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1553 cp + len. Compute where from dirname.
1554 Reported by <jreiser@BitWagon.com>.
1556 2000-12-08 Richard Henderson <rth@twiddle.net>
1558 * sysdeps/alpha/_mcount.S: Fix typo.
1559 * sysdeps/alpha/strncpy.S: Likewise.
1561 * sysdeps/alpha/alphaev6/Implies: New file.
1562 * sysdeps/alpha/alphaev67/Implies: New file.
1563 * sysdeps/alpha/alphaev67/ffs.S: New file.
1564 * sysdeps/alpha/alphaev67/ffsll.S: New file.
1565 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1566 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1567 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1568 * sysdeps/alpha/rawmemchr.S: New file.
1569 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1570 * sysdeps/alpha/strcpy.S: Likewise.
1573 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1575 From rick.gorton@alpha-processor.com:
1576 * sysdeps/alpha/alphaev6/memchr.S: New file.
1577 * sysdeps/alpha/alphaev6/memcpy.S: New file.
1578 * sysdeps/alpha/alphaev6/memset.S: New file.
1579 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1580 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1581 * sysdeps/alpha/alphaev67/strcat.S: New file.
1582 * sysdeps/alpha/alphaev67/strchr.S: New file.
1583 * sysdeps/alpha/alphaev67/strlen.S: New file.
1584 * sysdeps/alpha/alphaev67/strncat.S: New file.
1585 * sysdeps/alpha/htonl.S: Use a shorter sequence.
1587 2000-12-08 Jakub Jelinek <jakub@redhat.com>
1589 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1590 Reported by <pspencer@fields.utoronto.ca>.
1592 2000-12-07 Jes Sorensen <jes@linuxcare.com>
1594 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1595 Pointed out by Hans Boehm.
1597 2000-12-07 H.J. Lu <hjl@gnu.org>
1599 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1601 2000-12-07 Andreas Jaeger <aj@suse.de>
1603 * misc/error.c: Add format attributes for __error and __error_at_line.
1605 * nscd/dbg_log.h: Add format attribute.
1607 2000-12-08 Ulrich Drepper <drepper@redhat.com>
1609 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1610 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1612 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
1614 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1616 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1618 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1619 (sysdep_routines): Add uitrunc.
1620 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1621 Patches by Michael Keezer <mkeezer@redhat.com>.
1623 2000-12-06 Roland McGrath <roland@frob.com>
1625 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1626 argument data, since it will be used to copy out too (for INOUT).
1627 Reported by Marcus Brinkmann <marcus@gnu.org>.
1629 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1630 (__ioctl): Use uintptr_t instead of unsigned long int.
1632 2000-12-06 Jim Wilson <wilson@redhat.com>
1634 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1636 2000-12-06 Ulrich Drepper <drepper@redhat.com>
1638 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1639 x.5 rounding correctly.
1641 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1643 * stdio-common/perror.c (perror): Conditionalize code dealing with
1644 wide-oriented streams on USE_IN_LIBIO.
1646 2000-12-06 Mark Kettenis <kettenis@gnu.org>
1648 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1649 as internal_function.
1651 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1653 * sysdeps/alpha/elf/start.S (__data_start): Define.
1655 2000-12-05 H.J. Lu <hjl@gnu.org>
1657 * nss/getXXent_r.c (setup): Change the return type to int.
1659 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1661 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1662 (sysdep_routines): Add restf and savef.
1663 * sysdeps/unix/sysv/aix/restf.c: New file.
1664 * sysdeps/unix/sysv/aix/savef.c: New file.
1665 Patches by Michael Keezer <mkeezer@redhat.com>.
1667 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1668 if O_DIRECTORY is not defined.
1669 Patch by Michael Keezer <mkeezer@redhat.com>.
1671 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1672 Patch by Michael Keezer <mkeezer@redhat.com>.
1674 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1675 than 4 bytes in escape sequence.
1676 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1678 2000-12-05 Andreas Jaeger <aj@suse.de>
1680 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1683 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1685 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1687 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1688 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1690 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1692 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1693 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1695 * sysdeps/generic/dl-cache.c: Remove declaration of
1696 _dl_sysdep_read_whole_file.
1698 * elf/dl-load.c (_dl_map_object): Remove declaration of
1699 _dl_load_cache_lookup.
1701 * sysdeps/generic/ldsodefs.h: Add declarations of
1702 _dl_load_cache_lookup, _dl_unload_cache,
1703 _dl_sysdep_read_whole_file, _dl_sysdep_start and
1704 _dl_sysdep_start_cleanup.
1706 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1709 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1710 * sysdeps/generic/dl-environ.c: Likewise.
1712 * stdio-common/printf_fp.c: Include <gmp.h> instead of
1714 * math/atest-exp.c: Likewise.
1715 * math/atest-exp2.c: Likewise.
1716 * math/atest-sincos.c: Likewise.
1717 * stdio-common/_itoa.c: Likewise.
1718 * stdio-common/_itowa.c: Likewise.
1720 * include/gmp.h: New file with internal prototypes.
1722 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1724 * include/setjmp.h: ...here.
1726 * locale/Makefile (routines): Remove codeset_name since it's not
1729 * locale/codeset_name.c: Removed.
1731 2000-12-05 Ulrich Drepper <drepper@redhat.com>
1733 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1735 2000-12-05 Andreas Jaeger <aj@suse.de>
1737 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1739 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1741 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1744 2000-12-05 Andreas Jaeger <aj@suse.de>
1746 * nss/test-netdb.c: Mark local functions as static to avoid
1748 (main): Use return to silence warning.
1750 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1752 * stdio-common/test-popen.c: Mark local functions as static to
1754 (main): Use return to silence warning.
1756 * stdlib/testsort.c (compare): Mark as static to avoid warning.
1758 * assert/test-assert.c: Mark local functions as static to avoid
1760 * assert/test-assert-perr.c: Likewise.
1762 * math/libm-test.inc (main): Use return to silence warnings.
1764 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1766 * math/fenv.h: Fix typo in comment.
1768 * math/test-misc.c (main): Add a few more over and underflow tests
1771 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1772 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1773 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1774 * math/w_scalb.c: Don't use matherr except in SVID mode.
1775 * math/w_scalbf.c: Likewise.
1776 * math/w_scalbl.c: Likewise.
1777 * math/test-misc.c: Add test for NaN and scalbl.
1778 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1780 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1782 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1783 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1784 * include/libc-symbols.h (strong_alias): Define special version
1785 for HAVE_ASM_GLOBAL_DOT_NAME.
1786 (weak_alias): Likewise.
1787 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1788 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1789 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1790 getutxline, pututxline, and utmpxname.
1791 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1792 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1793 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1794 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1795 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1796 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1797 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1798 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
1799 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1800 Patches by Michael Keezer <mkeezer@redhat.com>.
1802 2000-12-04 H.J. Lu <hjl@gnu.org>
1804 * configure.in: Change --with-oldest-abi=ABI to
1805 --enable-oldest-abi=ABI.
1807 2000-12-02 Bruno Haible <haible@clisp.cons.org>
1809 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1810 fwprintf instead of fprintf.
1812 2000-12-04 Ulrich Drepper <drepper@redhat.com>
1814 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1815 DECIMAL_DIG definitions.
1816 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1817 * sysdeps/generic/bits/mathdef.h: Likewise
1818 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1819 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1820 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1821 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1822 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1823 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1825 2000-12-03 Ulrich Drepper <drepper@redhat.com>
1827 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1829 * math/atest-exp.c: Mark local functions as static to avoid warnings.
1830 * math/atest-exp2.c: Likewise.
1831 * math/atest-sincos.c: Likewise.
1833 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1834 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1836 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1837 the handling of denormalized numbers.
1839 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1841 * sysdeps/i386/fpu/fpclassifyl.c: New file.
1843 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1844 pseudo denormal representation of LDBL_MIN.
1846 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1847 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1849 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1850 * iconvdata/jis0208.c: Likewise.
1851 * iconvdata/jis0212.c: Likewise.
1852 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1854 * math/test-misc.c (main): More tests for frexp and some for
1855 fpclassify and isnormal.
1857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1859 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1861 * math/test-misc.c (main): Add tests for frexp.
1862 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1863 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1865 2000-12-02 H.J. Lu <hjl@gnu.org>
1867 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1870 2000-12-02 Ulrich Drepper <drepper@redhat.com>
1872 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1873 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1874 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1876 * sysdeps/generic/glob.c: Adjust types of several variables to
1879 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1881 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1883 2000-11-30 Roland McGrath <roland@frob.com>
1885 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1886 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1887 allow multiple instances using the same function name in one file.
1889 2000-12-01 Ulrich Drepper <drepper@redhat.com>
1891 * configure.in: Correct test for pserver CVS access.
1893 2000-11-28 H.J. Lu <hjl@gnu.org>
1895 * libio/libio.h: Remove extra "#if ... #endif".
1897 2000-11-29 H.J. Lu <hjl@gnu.org>
1899 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1901 2000-12-01 H.J. Lu <hjl@gnu.org>
1903 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1904 * nss/getXXent_r.c: Likewise.
1905 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1907 2000-11-30 H.J. Lu <hjl@gnu.org>
1909 * scripts/abi-versions.awk (oldest_abi): New variable.
1910 Handle the oldest ABI supported.
1912 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1913 for scripts/abi-versions.awk.
1915 * configure.in: Add --with-oldest-abi=ABI.
1916 * configure: Rebuild.
1918 * config.make.in (oldest-abi): New.
1920 * config.h.in (GLIBC_OLDEST_ABI): New.
1922 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1924 2000-11-30 Jakub Jelinek <jakub@redhat.com>
1926 * locale/setlocale.c (setname): Free for all categories, not just
1928 (setlocale): Store a copy of string passed by user, not the string
1931 2000-11-30 Roland McGrath <roland@frob.com>
1933 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1934 rather than _hurd_fd_subinit, so it happens after it's safe to use
1935 libc facilities like malloc.
1937 2000-11-28 Andreas Jaeger <aj@suse.de>
1939 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1940 declaration, adjust declaration of __syscall_getdents to match
1943 2000-11-29 H.J. Lu <hjl@gnu.org>
1945 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1947 2000-11-29 Andreas Jaeger <aj@suse.de>
1949 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1951 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1953 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1954 * dlfcn/defaultmod2.c: Likewise.
1955 * dlfcn/dlopen.c: Likewise.
1956 * dlfcn/dlopenold.c: Likewise.
1957 * dlfcn/failtestmod.c: Likewise.
1958 * dlfcn/glreflib1.c: Likewise.
1959 * dlfcn/glreflib2.c: Likewise.
1960 * dlfcn/eval.c: Likewise. Add attributes.
1962 * ctype/ctype-extn.c: Define isblank and not __isblank.
1964 * time/strftime.c: Add const where necessary to avoid warnings.
1965 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1967 2000-11-22 Paul Eggert <eggert@twinsun.com>
1969 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1970 size of (size_t) -1; it's not portable.
1972 2000-11-28 Ulrich Drepper <drepper@redhat.com>
1974 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1976 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1978 2000-11-14 Jes Sorensen <jes@linuxcare.com>
1980 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1982 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1983 _mcount is required by profiled binaries.
1985 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1986 * sysdeps/ia64/machine-gmon.h: ...here.
1988 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
1990 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1991 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1993 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1995 * iconvdata/ibm922.c: New file.
1996 * iconvdata/ibm922.h: New file.
1997 * iconvdata/ibm1124.c: New file.
1998 * iconvdata/ibm1124.h: New file.
1999 * iconvdata/ibm1129.c: New file.
2000 * iconvdata/ibm1129.h: New file.
2001 * iconvdata/testdata/IBM922: New file.
2002 * iconvdata/testdata/IBM922..UTF8: New file.
2003 * iconvdata/testdata/IBM1124: New file.
2004 * iconvdata/testdata/IBM1124..UTF8: New file.
2005 * iconvdata/testdata/IBM1129: New file.
2006 * iconvdata/testdata/IBM1129..UTF8: New file.
2008 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2010 * catgets/gencat.c (normalize_line): Take extra parameter with escape
2011 character. Change callers.
2012 (open_conversion): Determine mapping of 0x5c as wchar_t value.
2013 * catgets/Makefile: Add rules to build and run test-gencat.
2014 * catgets/sample.SJIS: New file.
2015 * catgets/test-gencat.c: New file.
2016 * catgets/test-gencat.sh: New file.
2017 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2019 2000-11-28 Andreas Jaeger <aj@suse.de>
2021 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2024 2000-11-28 Ulrich Drepper <drepper@redhat.com>
2026 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2028 2000-11-28 Andreas Jaeger <aj@suse.de>
2030 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2032 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2035 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2037 * misc/getusershell.c: Make strings in okshells array const.
2038 * misc/regexp.c: Add const to cast to avoid warnings.
2039 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2040 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2042 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2044 * misc/error.c: Add prototypes for __error and __error_at_line.
2045 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2046 statement to avoid warning.
2047 * test-skeleton.c: Mark timeout_handler with noreturn.
2048 * iconv/skeleton.c (get16u): Add const to cast.
2050 * iconvdata/gb18030.c: Likewise.
2051 * iconvdata/iso-2022-cn-ext.c: Likewise.
2052 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2053 * iconvdata/big5.c: Likewise.
2054 * iconvdata/big5hkscs.c: Likewise.
2055 * iconvdata/iso_6937.c: Likewise.
2056 * iconvdata/iso_6937-2.c: Likewise.
2057 * iconvdata/t.61.c: Likewise.
2058 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2059 * iconvdata/unicode.c: Likewise.
2060 * iconvdata/utf-16.c: Likewise.
2061 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2062 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2063 with little code shuffling.
2065 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2066 the problems introduced when the user selects -O3.
2068 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2069 * misc/sys/cdefs.h: Define __flexarr.
2070 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2072 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2073 * iconv/skeleton.c: Likewise.
2074 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2075 * iconv/loop.c (get16): Add const to cast.
2078 2000-11-27 Andreas Jaeger <aj@suse.de>
2080 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2082 * login/programs/utmpdump.c (print_entry): Likewise.
2084 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2086 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2087 in a single asm as they may be used to access other stored
2089 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2091 2000-11-27 Andreas Jaeger <aj@suse.de>
2093 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2094 * rt/tst-aio64.c: Likewise.
2096 2000-11-27 Ulrich Drepper <drepper@redhat.com>
2098 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2100 (libc.cat): Likewise.
2101 * catgets/gencat.c: Implement handling of message catalogs encoded
2102 with stateful character sets.
2103 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2105 2000-11-26 Ulrich Drepper <drepper@redhat.com>
2107 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2109 * inet/getnameinfo.c: Adjust casts to avoid warnings.
2110 * inet/rcmd.c: Likewise.
2111 * inet/ruserpass.c: Likewise.
2112 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2113 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2114 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2115 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2116 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2117 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2118 * include/aliases.h: Add prototypes for internal __getalias* functions.
2119 * include/netdb.h: Add prototypes for __old_gethostent_r,
2120 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2121 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2122 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2123 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2124 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2125 __old_getrpcbynumber_r, __old_getrpcent_r.
2127 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2128 __getrpcent_r prototypes.
2130 2000-11-25 Ulrich Drepper <drepper@redhat.com>
2132 * string/strcoll.c: Add casts to avoid warnings.
2133 * string/strnlen.c: Likewise.
2134 * string/strxfrm.c: Likewise.
2135 * sysdeps/generic/_strerror.c: Likewise.
2136 * sysdeps/generic/memrchr.c: Likewise.
2137 * sysdeps/generic/strcasestr.c: Likewise.
2138 * sysdeps/generic/strstr.c: Likewise.
2140 * locale/weight.h (findidx): Add const to cast to avoid warning.
2142 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2143 * elf/loadtest.c: Likewise.
2144 * elf/multiload.c: Likewise.
2145 * elf/next.c: Likewise.
2146 * elf/nodelete.c: Likewise.
2147 * elf/noload.c: Likewise.
2148 * elf/order.c: Likewise.
2149 * elf/origtest.c: Likewise.
2150 * elf/preloadtest.c: Likewise.
2151 * elf/restest1.c: Likewise.
2153 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2154 parameter of asm must be in %ecx.
2156 * string/tester.c: Mark test functions as static to avoid warnings.
2158 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2159 preserve value over different gconv-modules files.
2161 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2163 * locale/findlocale.c: Add casts to avoid warnings.
2164 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2165 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2167 * misc/tsearch.c (const_node): New type.
2168 (trecurse): Correct casts to avoid warnings.
2169 (__twalk): Likewise.
2170 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2173 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2175 * test-skeleton.c: Mark local functions as static to avoid warnings.
2177 2000-11-23 H.J. Lu <hjl@gnu.org>
2179 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2180 support the background job.
2183 2000-11-24 Ulrich Drepper <drepper@redhat.com>
2185 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2186 has same names but lower cost.
2188 2000-11-23 Jakub Jelinek <jakub@redhat.com>
2190 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2191 which never occur during bootstrap.
2192 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2194 2000-11-23 Andreas Jaeger <aj@suse.de>
2196 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2198 * nss/Versions: Remove _nss_files_getipnodebyname_r.
2200 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2202 2000-11-18 Martin Buchholz <martin@xemacs.org>
2204 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2207 2000-11-21 Alan Modra <alan@linuxcare.com.au>
2209 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2211 * csu/abi-note.S: Correct comment for operating system number.
2213 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2215 * Versions.def: Add GLIBC_2.2.1 for glibc.
2217 2000-11-22 Andreas Schwab <schwab@suse.de>
2219 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2220 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2222 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2224 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2225 absolute time for pthread_cond_timedwait call.
2226 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2228 * rt/Makefile (tests): Add tst-aio6.
2229 * rt/tst-aio6.c: New file.
2231 2000-11-23 Andreas Jaeger <aj@suse.de>
2233 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2235 2000-11-22 Andreas Jaeger <aj@suse.de>
2237 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2239 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2241 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2243 2000-11-21 Andreas Schwab <schwab@suse.de>
2245 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2246 * sysdeps/arm/setjmp.S: Likewise.
2247 * sysdeps/arm/fpu/setjmp.S: Likewise.
2248 * sysdeps/i386/setjmp.S: Likewise.
2249 * sysdeps/i386/elf/setjmp.S: Likewise.
2250 * sysdeps/s390/setjmp.S: Likewise.
2251 * sysdeps/s390/elf/setjmp.S: Likewise.
2252 * sysdeps/sh/sh3/setjmp.S: Likewise.
2253 * sysdeps/sh/sh4/setjmp.S: Likewise.
2254 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2255 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2257 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2259 2000-11-21 Andreas Jaeger <aj@suse.de>
2261 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2262 NORETURN, fix parameter list.
2264 * string/bug-strncat1.c (main): Fix typo.
2265 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2267 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2269 * configure.in: Add --enable-all-warnings.
2270 * config.make.in (all-warnings): New variable.
2271 * Makeconfig (+gccwarn): Define with many more warnings if
2272 all-warnings is yes.
2274 2000-11-20 Jakub Jelinek <jakub@redhat.com>
2276 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2277 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2278 * malloc/tst-valloc.c (main): Cast valloc return value to long.
2279 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2280 * math/test-fpucw.c (main): Use %lx in format string, cast
2281 control words to long.
2282 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2283 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2284 large that it is unsigned warning.
2286 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2287 it to long on sparc64.
2289 2000-11-20 Andreas Jaeger <aj@suse.de>
2291 * nscd/nscd.h (termination_handler): Add noreturn attribute.
2292 (receiv_print_stats): Likewise.
2294 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2296 2000-11-20 Ulrich Drepper <drepper@redhat.com>
2298 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2300 * csu/gmon-start.c: Always have prototype for __gmon_start.
2301 * csu/version.c: Add prototypes for __libc_print_version and
2303 * iconv/gconv.c: Include gconv_int.h and gconv.h.
2304 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2306 * iconv/gconv_builtin.h: Add ASCII module definitions.
2307 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2308 (add_module): Add cast to avoid warning. Rework construction of
2309 strings for new module.
2310 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2311 (derivation_compare): Likewise.
2312 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2313 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2314 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2315 (struct gconv_alias): Remove const from fromname and toname.
2316 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2318 (internal_ucs4_loop): Use correct const-ness.
2319 (ucs4_internal_loop): Likewise.
2320 (internal_ucs4le_loop): Likewise.
2321 (ucs4le_internal_loop_single): Likewise.
2322 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2323 to_idx, to_tbl, winbuf, winbufend const. Change casts in
2324 assignments appropriately.
2325 (struct known_trans): Remove const from fname.
2326 (trans_compare): Make s1 and s2 const.
2327 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
2329 * iconv/skeleton.c: Remove cast in calls of loop functions.
2330 * iconvdata/gconv-modules: Remove US-ASCII definitions.
2331 * iconvdata/iso646.c: Remove US_ASCII support.
2332 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2333 * include/unistd.h: Add __libc_check_standard_fds prototype.
2334 * string/bits/string2.h (__mempcpy_args): Add const to casts.
2335 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2337 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2338 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2339 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2341 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2342 __libc_init_first and _dl_start.
2343 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2344 (DCIGETTEXT): Make domaindata variable const.
2345 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2348 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
2350 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2352 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2353 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
2356 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2357 value defined in /usr/include/asm-mips/fcntl.h.
2359 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2361 * stdio-common/Makefile (tests): Add test-vfprintf.
2362 (test-vfprintf-ENV): New variable.
2363 * stdio-common/test-vfprintf.c: New file.
2365 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2367 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2368 (tst-mbrtowc-ENV): New variable.
2369 (tst-wcrtomb-ENV): New variable.
2370 * wcsmbs/tst-mbrtowc.c: New file.
2371 * wcsmbs/tst-wcrtomb.c: New file.
2373 2000-11-16 Andreas Jaeger <aj@suse.de>
2375 * manual/install.texi (Tools for Compilation): Update
2376 documentation for GCC 2.95.2.
2378 2000-11-18 Ulrich Drepper <drepper@redhat.com>
2380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2381 if IPv4 and IPv6 requests timed out.
2383 2000-11-18 Akim Demaille <akim@epita.fr>
2385 * malloc/obstack.h: Formatting changes.
2386 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2387 prevents type checking.
2388 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2389 cast the value to (void *): assigning a `foo *' to a `void *'
2391 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2393 2000-11-17 Ulrich Drepper <drepper@redhat.com>
2395 * scripts/config.guess: Update from upstream maintainer.
2396 * scripts/config.sub: Likewise.
2398 2000-11-16 Ulrich Drepper <drepper@redhat.com>
2400 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2401 * libio/freopen64.c (freopen64): Likewise.
2402 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2404 * libio/Makefile: Add rules to build and run test-freopen.
2405 * libio/test-freopen.c: New file.
2406 * libio/test-freopen.sh: New file.
2408 2000-11-15 H.J. Lu <hjl@gnu.org>
2410 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2411 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2412 (DL_DT_FINI_ADDRESS): Likewise.
2414 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2415 return type to ElfW(Addr).
2416 (_dl_function_address): New prototype.
2417 (DL_FUNCTION_ADDRESS): Defined.
2418 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2419 (DL_DT_FINI_ADDRESS): Likewise.
2421 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2423 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2424 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2426 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2427 (_dl_function_address): This.
2429 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2430 function pointer for DT_FINI.
2431 * elf/dl-close.c (_dl_close): Likewise.
2433 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2434 function pointer for DT_INIT.
2436 2000-11-16 Jakub Jelinek <jakub@redhat.com>
2438 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2439 end of wexpbuf buffer.
2441 2000-11-16 Andreas Jaeger <aj@suse.de>
2443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2444 definition of F_GETLK, F_SETLK, F_SETLKW.
2446 2000-11-16 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2451 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2453 * dlfcn/default.c (main): Add test for dladdr of main returning
2454 argv[0] in dli_fname field.
2456 2000-11-15 Jakub Jelinek <jakub@redhat.com>
2458 * Makeconfig (run-program-prefix): Move test-static test into the
2461 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2462 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2463 schedule instructions.
2464 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2465 schedule instructions, fix a bug in copying auxiliary data.
2467 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2469 * manual/startup.texi (Program Arguments): Fix type of main's envp
2471 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2473 * iconvdata/gconv-modules: Add CP950 alias.
2475 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2477 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2478 syscall-list.h goal.
2479 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2481 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2483 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2485 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
2488 * intl/tst-gettext2.c: Set C locale if setting other locale
2489 failed. Use gettext() not _().
2491 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2492 successfully loaded a new locale.
2494 2000-11-13 Andreas Jaeger <aj@suse.de>
2496 * configure.in: Require gcc 2.95 or newer.
2498 2000-11-15 Ulrich Drepper <drepper@redhat.com>
2500 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2501 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2503 2000-11-11 Jim Meyering <meyering@lucent.com>
2505 * string/strndup.c (strndup): Cast return value to `char *'.
2507 2000-11-15 Jim Meyering <meyering@ascend.com>
2509 * sysdeps/generic/memchr.c: Remove some useless parentheses.
2510 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2511 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2512 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2513 Also #undef __memchr.
2514 Use `weak_alias' only if it's defined.
2516 2000-11-10 H.J. Lu <hjl@gnu.org>
2518 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2520 2000-11-15 Andreas Jaeger <aj@suse.de>
2522 * elf/chroot_canon.c: Include <stdint.h>.
2524 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2525 (print_entry): Likewise.
2526 (add_to_cache): Likewise.
2528 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2530 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2531 (path_hwcap): Likewise.
2532 (search_dir): Likewise.
2534 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2536 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2538 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2539 (_dl_platform_string): New.
2540 (_DL_HWCAP_PLATFORM): New.
2541 (_dl_string_platform): New.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2544 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2545 (_dl_string_platform): New.
2546 (_DL_HWCAP_PLATFORM): New.
2547 (_dl_platform_string): New.
2549 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2551 (_DL_HWCAP_COUNT): New.
2552 (_dl_string_platform): New.
2553 (_DL_HWCAP_PLATFORM): New.
2554 (_dl_platform_string): New.
2556 2000-11-14 Ulrich Drepper <drepper@redhat.com>
2558 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2560 2000-11-14 Andreas Jaeger <aj@suse.de>
2562 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2564 2000-11-13 Roland McGrath <roland@frob.com>
2566 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2568 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
2570 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2571 underrun and make sure the result is null terminated even if there
2572 is no trailing newline.
2574 2000-11-13 Jakub Jelinek <jakub@redhat.com>
2576 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2578 2000-11-10 H.J. Lu <hjl@gnu.org>
2580 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2582 2000-11-10 Andreas Jaeger <aj@suse.de>
2584 * elf/ldconfig.c (create_links): Fix alloca calculation.
2585 Patch by Ben Collins <bcollins@debian.org>.
2587 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2589 * inet/getnameinfo.c (getnameinfo): Use correct destination
2590 parameter for if_indextoname.
2591 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2593 2000-11-09 H.J. Lu <hjl@gnu.org>
2595 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2596 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2597 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2600 * time/Versions (GLIBC_2.1): Move getitimer to...
2601 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2603 2000-11-03 Bruno Haible <haible@clisp.cons.org>
2605 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2606 "make install", to work around a binary incompatibility between
2607 glibc 2.1 and glibc 2.2 gconv modules.
2609 2000-11-09 Ulrich Drepper <drepper@redhat.com>
2611 * intl/locale.alias: Add thai.
2612 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2614 2000-11-07 Akim Demaille <akim@epita.fr>
2616 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2617 argument `data' for consistency with the prototypes.
2619 (obstack_copy, obstack_copy0): Rename the second argument as
2620 `address' for consistency. Qualify it `const'.
2621 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2622 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2623 `const' their input argument (`data' or `address').
2624 Adjust the corresponding macros to include `const' in casts.
2626 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2628 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2631 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2633 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2636 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2638 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2639 ai_protocol by internal table if service was not given.
2641 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2643 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2644 numerical port was specified with protocol without socktype.
2646 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2648 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2650 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2652 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2654 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2656 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2657 sin6_scope_id field.
2659 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2661 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2663 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2665 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2667 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
2669 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2670 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2672 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
2674 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2675 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2677 2000-11-09 H.J. Lu <hjl@gnu.org>
2679 * io/Versions (GLIBC_2.1.1): Remove lockf64.
2682 See ChangeLog.11 for earlier changes.