1 2001-08-29 Andreas Schwab <schwab@suse.de>
3 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
5 2001-08-28 H.J. Lu <hjl@gnu.org>
7 * Makeconfig (combreloc-LDFLAGS): New variable.
8 Add it to LDFALGS.so, LDFLAGS-rtld, and +link.
9 * config.make.in (have-z-combreloc): New variable.
10 * configure.in: Substitute libc_cv_z_combreloc.
12 2001-08-29 Ulrich Drepper <drepper@redhat.com>
14 * po/sv.po: Update from translation team.
18 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
20 * Makerules: Fix a typo: MD% -> MD5.
22 2001-08-28 Ulrich Drepper <drepper@redhat.com>
24 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
25 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
27 2001-08-28 Andreas Jaeger <aj@suse.de>
29 * manual/libc-texinfo.sh: Add entry about free manuals.
31 * manual/contrib.texi (Contributors): Fix cross reference.
33 * manual/libc.texinfo (Copying): Include freemanuals.
35 * manual/Makefile (appendices): Add freemanuals.
37 * manual/freemanuals.texi: New file.
38 Patch by Brian Youmans <3diff@gnu.org>.
40 * manual/libm-err-tab.pl: Pretty print more platforms, print a
43 * manual/math.texi (Errors in Math Functions): Fix grammar, start
44 table on separate page.
45 Patch by Brian Youmans <3diff@gnu.org>.
47 2001-08-27 Ulrich Drepper <drepper@redhat.com>
49 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
50 the connection went down after we first used it try to connect
51 again and resend the message before printing to the console.
52 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
54 2001-08-27 Jakub Jelinek <jakub@redhat.com>
56 * string/tst-strlen.c (main): Test strnlen (, -1) too.
57 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
60 2001-08-27 Ulrich Drepper <drepper@redhat.com>
62 * iconv/strtab.c (searchstring): Use correct length for comparison.
63 (strtabadd): Account total size correct if new string has old string as
66 2001-08-27 Jakub Jelinek <jakub@redhat.com>
68 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
70 2001-08-27 Andreas Jaeger <aj@suse.de>
72 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
74 * math/libm-test.inc (j0_test): Add extra tests.
75 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
76 not x, in Hankel approximation.
77 Patches by Stephen L Moshier.
79 2001-08-26 Ulrich Drepper <drepper@redhat.com>
81 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
84 * configure.in: Fix test for .rela.dyn section.
86 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
88 2001-08-26 Jakub Jelinek <jakub@redhat.com>
90 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
91 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
92 Pass type_class to _dl_lookup_*.
93 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_clas parameter now.
94 Pass around just type_class instead of noexec, noplt pair.
95 (_dl_lookup_versioned_symbol): Likewise.
96 (_dl_lookup_symbol_skip): Pass around just type_class instead of
98 (_dl_lookup_versioned_symbol_skip): Likewise.
99 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
100 * elf/do-lookup.h (do_lookup): Likewise.
101 * include/link.h (struct link_map): Replace noexec and noplt fields
102 in l_lookup_cache with type_class field.
103 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
104 ELF_RTYPE_CLASS_COPY): Define.
105 Adjust prototypes for _dl_lookup_symbol and
106 _dl_lookup_versioned_symbol.
107 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
108 elf_machine_lookup_noexec_p): Remove.
109 (elf_machine_type_class): Define.
110 * sysdeps/arm/dl-machine.h: Likewise.
111 * sysdeps/hppa/dl-machine.h: Likewise.
112 * sysdeps/cris/dl-machine.h: Likewise.
113 * sysdeps/i386/dl-machine.h: Likewise.
114 * sysdeps/ia64/dl-machine.h: Likewise.
115 * sysdeps/m68k/dl-machine.h: Likewise.
116 * sysdeps/mips/mips64/dl-machine.h: Likewise.
117 * sysdeps/mips/dl-machine.h: Likewise.
118 * sysdeps/powerpc/dl-machine.h: Likewise.
119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
120 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
121 * sysdeps/sh/dl-machine.h: Likewise.
122 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
123 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
125 2001-08-26 Ulrich Drepper <drepper@redhat.com>
127 * manual/message.texi (Advanced gettext functions): Change
128 description of plural forms for Slovak.
129 Reported by Marcel Telka <marcel@telka.sk>.
131 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
132 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
134 2001-08-26 Jakub Jelinek <jakub@redhat.com>
136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
137 typo. Patch by Florian La Roche <laroche@redhat.com>.
139 2001-08-26 Ulrich Drepper <drepper@redhat.com>
141 * include/link.h (struct link_map): Add l_lookup_cache element.
142 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
143 (RESOLVE_MAP): Likewise.
144 (_dl_relocate_object): Remove cache initialization.
145 * elf/dl-lookup.c: Rip out cache handling code.
146 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
149 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
150 remove some __builtin_expect.
151 (_dl_lookup_versioned_symbol): Likewise.
153 * config.h.in: Add HAVE_Z_COMBRELOC.
154 * configure.in: Add test for -z combreloc.
156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
157 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
158 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
159 case to almost no code.
161 2001-08-25 Ulrich Drepper <drepper@redhat.com>
163 * po/tr.po: Update from translation team.
165 2001-08-24 Andreas Jaeger <aj@suse.de>
167 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
170 2001-08-24 Ulrich Drepper <drepper@redhat.com>
172 * elf/rtld.c (print_statistics): Printf % after percent values.
173 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
175 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
176 don't have to compute the hash value and initialize current_value.
177 Move reference_name variable to where it is needed.
178 (_dl_lookup_versioned_symbol): Likewise.
180 2001-08-24 Roland McGrath <roland@frob.com>
182 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
183 Just test that strerror returns non-null for a few errno codes.
185 2001-08-23 Roland McGrath <roland@frob.com>
187 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
188 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
190 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
192 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
195 2001-08-24 Ulrich Drepper <drepper@redhat.com>
197 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
200 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
201 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
203 * elf/rtld.c: Include <sys/param.h>.
204 * elf/dl-reloc.c: Likewise.
206 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
208 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
209 empty to prevent junk from being generated.
210 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
212 2001-08-24 Jakub Jelinek <jakub@redhat.com>
214 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
215 records. Rename endrel to relative, initialize it to r, and use it
216 in elf_machine_rel_relative calls. Point r after relative relocs.
218 2001-08-24 Ulrich Drepper <drepper@redhat.com>
220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
223 2001-08-24 Jakub Jelinek <jakub@redhat.com>
225 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
226 necessary. Undefine newly defined macros at the end.
227 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
228 Rename from elf_machine_rel_relative.
229 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
230 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
231 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
232 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
236 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
238 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
241 Likewise. Fix argument types.
242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
243 Likewise. Fix argument types.
244 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
246 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
247 ElfW(Rel) in argument.
248 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
251 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
253 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
255 2001-08-24 Andreas Jaeger <aj@suse.de>
257 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
258 Stephen L Moshier <moshier@mediaone.net>.
260 2001-08-24 Ulrich Drepper <drepper@redhat.com>
262 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
263 first if RELCOUNT is set.
265 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
266 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
267 elf_machine_rel_relative.
268 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
270 * sysdeps/arm/dl-machine.h: Likewise.
271 * sysdeps/cris/dl-machine.h: Likewise.
272 * sysdeps/hppa/dl-machine.h: Likewise.
273 * sysdeps/i386/dl-machine.h: Likewise.
274 * sysdeps/ia64/dl-machine.h: Likewise.
275 * sysdeps/m68k/dl-machine.h: Likewise.
276 * sysdeps/mips/dl-machine.h: Likewise.
277 * sysdeps/powerpc/dl-machine.h: Likewise.
278 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
279 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
280 * sysdeps/sh/dl-machine.h: Likewise.
281 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
282 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
284 2001-08-23 Roland McGrath <roland@frob.com>
286 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
288 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
289 sysdeps/mach version. Implement counting ("recursive") mutexes
290 on top of cthreads mutexes.
291 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
293 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
294 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
295 (__libc_cleanup_region_start, __libc_cleanup_region_end,
296 __libc_clean_end): Define these to call the cleanup function after
297 normal exit when they're supposed to.
299 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
300 Take new first arg DOIT, a boolean saying whether to really install
302 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
303 (__libc_cleanup_end): Likewise.
304 * sysdeps/generic/bits/libc-lock.h: Same changes.
305 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
306 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
307 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
309 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
310 * sysdeps/generic/bits/stdio-lock.h
311 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
313 2001-08-23 Jakub Jelinek <jakub@redhat.com>
315 * elf/ldconfig.c (search_dir): Remove stale symlinks.
317 2001-08-23 Jakub Jelinek <jakub@redhat.com>
319 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
320 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
322 (_dl_lookup_versioned_symbol): Likewise.
323 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
325 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
326 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
327 (lookup_cache, lookup_cache_versioned): Add declarations.
329 2001-08-23 Ulrich Drepper <drepper@redhat.com>
331 * stdlib/tst-random.c (main): Swap parameters in fail call.
332 Patch by Pete Bevin <pete@petebevin.com>.
334 2001-08-23 Jakub Jelinek <jakub@redhat.com>
336 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
338 2001-08-23 Ulrich Drepper <drepper@redhat.com>
340 * malloc/obstack.c: Indent preprocessor directives.
341 Patch by Jim Meyering <meyering@ascend.com>.
343 * po/ja.po: Update from translation team.
345 2001-08-23 Roland McGrath <roland@frob.com>
347 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
349 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
350 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
352 2001-08-22 Roland McGrath <roland@frob.com>
354 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
355 __libc_lock_define_recursive.
356 * elf/dl-open.c: Don't declare it here any more.
357 * elf/dl-close.c: Likewise.
358 * elf/dl-lookup.c: Likewise.
359 * elf/dl-iteratephdr.c: Likewise.
360 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
361 __libc_lock_unlock_recursive.
362 * elf/dl-close.c (_dl_close): Likewise
363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
364 * elf/dl-open.c (_dl_open): Likewise
366 * sysdeps/generic/bits/libc-lock.h
367 (__libc_lock_define_recursive): New macro.
368 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
369 (_IO_lock_lock): Use __libc_lock_lock_recursive.
370 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
372 * conform/conformtest.pl (checknamespace): Sort the output list.
374 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
375 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
376 definitions conditional on [__USE_XOPEN].
378 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
379 these unconditionally, not only use [__USE_BSD], so as to match
380 the sysdeps/unix/sysv/linux files.
382 2001-08-22 Ulrich Drepper <drepper@redhat.com>
384 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
387 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
390 2001-08-22 Roland McGrath <roland@frob.com>
392 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
393 conditionalization of sa_handler/sa_sigaction member types to
394 match the sysdeps/unix/sysv/linux file.
396 2001-08-22 Ulrich Drepper <drepper@redhat.com>
398 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
399 symbol sizes a bit better.
401 * sysdeps/ia64/strncpy.S: Complete rewrite.
402 Contributed by Jakub Jelinek <jakub@redhat.com>.
404 * string/stratcliff.c (main): Add strncpy test.
406 2001-08-22 Roland McGrath <roland@frob.com>
408 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
409 and don't declare unsetenv or _environ directly.
410 (unsetenv): Return int, not void. Use __environ instead of _environ.
412 2001-08-01 Mark Kettenis <kettenis@gnu.org>
414 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
415 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
416 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
417 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
418 test for cmsg struct size.
420 2001-04-23 Paul Eggert <eggert@twinsun.com>
422 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
423 Rename __argc to ___argc in prototypes to avoid compatibility
424 problems with systems that reserve the identifier "__argc".
425 Similarly for __argv.
427 2001-08-21 Roland McGrath <roland@frob.com>
429 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
431 * mach/Makefile (tests): Removed.
432 * mach/hello.c: File removed.
434 2001-08-22 Ulrich Drepper <drepper@redhat.com>
436 * po/sv.po: Update from translation team.
438 * stdio-common/vfscanf.c: Fix handling of %l[].
439 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
441 * libio/Makefile (tests): Add tst-sscanf.
442 * libio/tst-sscanf.c: New file.
444 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
445 * malloc/mtrace.c (tr_where): dli_sname always points to a
446 non-empty string if != NULL.
447 Reported by Tim Janik <timj@gtk.org>.
449 2001-08-22 Jakub Jelinek <jakub@redhat.com>
451 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
452 buf. Free resources on failure.
453 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
454 (makefd_xprt): Likewise.
455 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
456 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
457 * sunrpc/auth_unix.c (authunix_create): Likewise.
459 2001-08-21 Jakub Jelinek <jakub@redhat.com>
461 * string/strnlen.c: Remove.
462 * sysdeps/generic/strnlen.c: New.
463 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
465 2001-08-21 Roland McGrath <roland@frob.com>
467 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
468 as a macro, not an extern inline function.
470 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
471 * Versions.def (libc): Add GLIBC_2.2.5 set.
472 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
473 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
475 2001-08-20 Roland McGrath <roland@frob.com>
477 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
478 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
480 2001-08-21 Ulrich Drepper <drepper@redhat.com>
482 * string/bits/string2.h: Remove strnlen optimization here.
483 * sysdeps/i386/i486/bits/string.h: Add it here.
485 2001-08-21 Wolfram Gloger <wg@malloc.de>
487 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
489 2001-08-21 Ulrich Drepper <drepper@redhat.com>
491 * po/gl.po: Update from translation team.
493 2001-08-20 Ulrich Drepper <drepper@redhat.com>
495 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
496 * misc/err.c (convert_and_print): Likewise.
498 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
501 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
503 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
504 change of the gregset_t type.
505 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
507 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
509 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
511 2001-08-20 Ulrich Drepper <drepper@redhat.com>
513 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
515 * string/strnlen.c: Fix the implementation. We cannot use memchr.
517 2001-08-18 Mark Kettenis <kettenis@gnu.org>
519 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
520 before calling the cthreads initialization code.
522 2001-08-20 Ulrich Drepper <drepper@redhat.com>
524 * argp/argp-help.c: Fix two problems introduced in last change.
526 * include/dirent.h: Include <dirstream.h> first.
528 2001-08-19 Ulrich Drepper <drepper@redhat.com>
530 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
532 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
533 * sunrpc/xdr_rec.c: Likewise.
534 * sunrpc/xdr_mem.c: Likewise.
535 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
536 * sunrpc/rpc_cmsg.c: Likewise.
537 * sunrpc/getrpcport.c (getrpcport): Likewise.
538 * sunrpc/clnt_simp.c (callrpc): Likewise.
539 * sunrpc/clnt_gen.c (clnt_create): Likewise.
540 * string/envz.c: Likewise.
542 * po/ko.po: Update from translation team.
544 * argp/argp-help.c: Handle wide oriented stderr stream.
546 2001-08-18 Ulrich Drepper <drepper@redhat.com>
548 * sysdeps/generic/strtol.c: Little optimizations. Add some
551 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
553 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
554 * wcsmbs/wcwidth.c (wcwdith): Likewise.
555 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
557 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
559 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
561 * time/time.h (struct timespec): Use __time_t for tv_sec element.
563 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
564 wchar_t for function declarations and defintions.
566 * misc/sys/select.h: Define __need_time_t before including <time.h>.
567 Define suseconds_t if it hasn't happened yet.
569 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
571 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
573 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
576 * conform/data/stddef.h-data: Remove wint_t.
578 * conform/conformtest.pl: Change namespace test to take #undef
581 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
583 * conform/data/sys/socket.h-data: Add sockatmark.
585 2001-08-17 Ulrich Drepper <drepper@redhat.com>
587 * io/fts.c: Update from recent BSD source.
589 2001-08-17 Roland McGrath <roland@frob.com>
591 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
592 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
595 2001-08-17 Ulrich Drepper <drepper@redhat.com>
597 * locale/duplocale.c (__duplocale): Also initialize the special
600 * conform/data/netdb.h-data: Adjust gai_strerror return type.
602 2001-08-17 Andreas Jaeger <aj@suse.de>
604 * misc/getpass.c: Include wchar.h for prototypes.
605 * malloc/obstack.c: Likewise.
607 2001-08-17 Ulrich Drepper <drepper@redhat.com>
609 * sunrpc/svc_simple.c (universal): Use __write instead of write.
611 * wcsmbs/wcscoll.c: Also define __wcscoll.
612 * include/wchar.h: Declare __wcscoll.
614 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
615 * libio/vwprintf.c: Likewise.
616 * libio/wprintf.c: Likewise.
618 * iconv/gconv_cache.c: Use __munmap instead of munmap.
620 2001-08-16 Ulrich Drepper <drepper@redhat.com>
622 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
624 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
625 wcslen, and __wcscoll instead of wcscoll.
627 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
629 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
630 __getuid instead of getuid.
632 * stdio-common/perror.c (perror): Use __close instead of close.
633 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
634 * libio/freopen.c (freopen): Likewise.
635 * libio/freopen64.c (freopen64): Likewise.
637 * libio/tst-ungetwc2.c (main): Define str const.
639 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
640 * libio/fwprintf.c: Also define __fwprintf.
641 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
642 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
643 * assert/assert-perr.c: Likewise.
644 * assert/assert.c: Likewise.
645 * gmon/gmon.c: Likewise.
646 * inet/rcmd.c: Likewise.
647 * malloc/obstack.c: Likewise.
648 * misc/err.c: Likewise.
649 * misc/error.c: Likewise.
650 * misc/getpass.c: Likewise.
651 * posix/getopt.c: Likewise.
652 * resolv/res_hconf.c: Likewise.
653 * stdio-common/perror.c: Likewise.
654 * stdio-common/psignal.c: Likewise.
655 * stdlib/fmtmsg.c: Likewise.
656 * sunrpc/auth_unix.c: Likewise.
657 * sunrpc/clnt_perr.c: Likewise.
658 * sunrpc/clnt_tcp.c: Likewise.
659 * sunrpc/clnt_udp.c: Likewise.
660 * sunrpc/clnt_unix.c: Likewise.
661 * sunrpc/svc_simple.c: Likewise.
662 * sunrpc/svc_tcp.c: Likewise.
663 * sunrpc/svc_udp.c: Likewise.
664 * sunrpc/svc_unix.c: Likewise.
665 * sunrpc/xdr.c: Likewise.
666 * sunrpc/xdr_array.c: Likewise.
667 * sunrpc/xdr_rec.c: Likewise.
668 * sunrpc/xdr_ref.c: Likewise.
669 * sysdeps/generic/wordexp.c: Likewise.
671 * po/it.po: Update from translation team.
673 * misc/err.c: Handle wide oriented stderr stream.
675 2001-08-14 Tom Rix <trix@redhat.com>
677 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
678 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
680 2001-08-13 Tom Rix <trix@redhat.com>
682 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
683 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
686 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
688 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
689 Store the access registers to the ucontext structure.
690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
693 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
694 Load the access registers from the ucontext structure.
695 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
698 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
699 offsets to the new ucontext layout.
700 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
703 of the ucontext structure.
704 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
706 2001-08-15 Ulrich Drepper <drepper@redhat.com>
708 * misc/error.c (error): Handle wide oriented stderr stream correctly.
709 (error_at_line): Likewise.
711 * stdio-common/perror.c (perror): Implement according to standard.
712 The stream orientation must not be changed if the stream was not
713 oriented before the call.
714 * stdio-common/Makefile (tests): Add tst-perror.
715 * stdio-common/tst-perror.c: New file.
718 See ChangeLog.12 for earlier changes.