Update.
[glibc.git] / ChangeLog
bloba95f9067ac4cf6a9c8ab0665d8b537a1042a5569
1 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
4         link_map.
6         * configure.in: Fix test for .rela.dyn section.
8         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
10 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
12         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
13         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
14         Pass type_class to _dl_lookup_*.
15         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_clas parameter now.
16         Pass around just type_class instead of noexec, noplt pair.
17         (_dl_lookup_versioned_symbol): Likewise.
18         (_dl_lookup_symbol_skip): Pass around just type_class instead of
19         noexec, noplt pair.
20         (_dl_lookup_versioned_symbol_skip): Likewise.
21         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
22         * elf/do-lookup.h (do_lookup): Likewise.
23         * include/link.h (struct link_map): Replace noexec and noplt fields
24         in l_lookup_cache with type_class field.
25         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
26         ELF_RTYPE_CLASS_COPY): Define.
27         Adjust prototypes for _dl_lookup_symbol and
28         _dl_lookup_versioned_symbol.
29         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
30         elf_machine_lookup_noexec_p): Remove.
31         (elf_machine_type_class): Define.
32         * sysdeps/arm/dl-machine.h: Likewise.
33         * sysdeps/hppa/dl-machine.h: Likewise.
34         * sysdeps/cris/dl-machine.h: Likewise.
35         * sysdeps/i386/dl-machine.h: Likewise.
36         * sysdeps/ia64/dl-machine.h: Likewise.
37         * sysdeps/m68k/dl-machine.h: Likewise.
38         * sysdeps/mips/mips64/dl-machine.h: Likewise.
39         * sysdeps/mips/dl-machine.h: Likewise.
40         * sysdeps/powerpc/dl-machine.h: Likewise.
41         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43         * sysdeps/sh/dl-machine.h: Likewise.
44         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
49         * manual/message.texi (Advanced gettext functions): Change
50         description of plural forms for Slovak.
51         Reported by Marcel Telka <marcel@telka.sk>.
53         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
54         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
56 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
58         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
59         typo.  Patch by Florian La Roche <laroche@redhat.com>.
61 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
63         * include/link.h (struct link_map): Add l_lookup_cache element.
64         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
65         (RESOLVE_MAP): Likewise.
66         (_dl_relocate_object): Remove cache initialization.
67         * elf/dl-lookup.c: Rip out cache handling code.
68         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
69         declarations.
71         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
72         remove some __builtin_expect.
73         (_dl_lookup_versioned_symbol): Likewise.
75         * config.h.in: Add HAVE_Z_COMBRELOC.
76         * configure.in: Add test for -z combreloc.
78         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
79         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
80         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
81         case to almost no code.
83 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
85         * po/tr.po: Update from translation team.
87 2001-08-24  Andreas Jaeger  <aj@suse.de>
89         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
90         make clean works.
92 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
94         * elf/rtld.c (print_statistics): Printf % after percent values.
95         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
97         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
98         don't have to compute the hash value and initialize current_value.
99         Move reference_name variable to where it is needed.
100         (_dl_lookup_versioned_symbol): Likewise.
102 2001-08-24  Roland McGrath  <roland@frob.com>
104         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
105         Just test that strerror returns non-null for a few errno codes.
107 2001-08-23  Roland McGrath  <roland@frob.com>
109         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
110         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
112         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
114         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
115         __mach_reply_port.
117 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
119         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
120         returns NULL.
122         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
123         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
124         doesn't do it.
125         * elf/rtld.c: Include <sys/param.h>.
126         * elf/dl-reloc.c: Likewise.
128 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
130         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
131         empty to prevent junk from being generated.
132         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
134 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
136         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
137         records.  Rename endrel to relative, initialize it to r, and use it
138         in elf_machine_rel_relative calls.  Point r after relative relocs.
140 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
143         of R_386_NONE.
145 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
147         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
148         necessary.  Undefine newly defined macros at the end.
149         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
150         Rename from elf_machine_rel_relative.
151         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
152         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
153         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
154         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
155         Likewise.
156         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
157         Likewise.
158         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
159         Fix argument types.
160         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
161         Fix argument types.
162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
163         Likewise.  Fix argument types.
164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
165         Likewise.  Fix argument types.
166         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
167         Fix argument types.
168         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
169         ElfW(Rel) in argument.
170         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
171         function.
173 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
175         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
177 2001-08-24  Andreas Jaeger  <aj@suse.de>
179         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
180         Stephen L Moshier <moshier@mediaone.net>.
182 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
184         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
185         first if RELCOUNT is set.
187         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
188         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
189         elf_machine_rel_relative.
190         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
191         Minor optimizations.
192         * sysdeps/arm/dl-machine.h: Likewise.
193         * sysdeps/cris/dl-machine.h: Likewise.
194         * sysdeps/hppa/dl-machine.h: Likewise.
195         * sysdeps/i386/dl-machine.h: Likewise.
196         * sysdeps/ia64/dl-machine.h: Likewise.
197         * sysdeps/m68k/dl-machine.h: Likewise.
198         * sysdeps/mips/dl-machine.h: Likewise.
199         * sysdeps/powerpc/dl-machine.h: Likewise.
200         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
201         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
202         * sysdeps/sh/dl-machine.h: Likewise.
203         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
204         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
206 2001-08-23  Roland McGrath  <roland@frob.com>
208         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
210         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
211         sysdeps/mach version.  Implement counting ("recursive") mutexes
212         on top of cthreads mutexes.
213         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
215         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
216         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
217         (__libc_cleanup_region_start, __libc_cleanup_region_end,
218         __libc_clean_end): Define these to call the cleanup function after
219         normal exit when they're supposed to.
221         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
222         Take new first arg DOIT, a boolean saying whether to really install
223         any cleanup handler.
224         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
225         (__libc_cleanup_end): Likewise.
226         * sysdeps/generic/bits/libc-lock.h: Same changes.
227         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
228         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
229         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
230         Likewise.
231         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
232         * sysdeps/generic/bits/stdio-lock.h
233         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
235 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
237         * elf/ldconfig.c (search_dir): Remove stale symlinks.
239 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
241         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
242         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
243         lookups in cache.
244         (_dl_lookup_versioned_symbol): Likewise.
245         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
246         relocation lookup.
247         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
248         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
249         (lookup_cache, lookup_cache_versioned): Add declarations.
251 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
253         * stdlib/tst-random.c (main): Swap parameters in fail call.
254         Patch by Pete Bevin <pete@petebevin.com>.
256 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
258         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
260 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
262         * malloc/obstack.c: Indent preprocessor directives.
263         Patch by Jim Meyering <meyering@ascend.com>.
265         * po/ja.po: Update from translation team.
267 2001-08-23  Roland McGrath  <roland@frob.com>
269         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
271         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
272         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
274 2001-08-22  Roland McGrath  <roland@frob.com>
276         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
277         __libc_lock_define_recursive.
278         * elf/dl-open.c: Don't declare it here any more.
279         * elf/dl-close.c: Likewise.
280         * elf/dl-lookup.c: Likewise.
281         * elf/dl-iteratephdr.c: Likewise.
282         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
283         __libc_lock_unlock_recursive.
284         * elf/dl-close.c (_dl_close): Likewise
285         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
286         * elf/dl-open.c (_dl_open): Likewise
288         * sysdeps/generic/bits/libc-lock.h
289         (__libc_lock_define_recursive): New macro.
290         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
291         (_IO_lock_lock): Use __libc_lock_lock_recursive.
292         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
294         * conform/conformtest.pl (checknamespace): Sort the output list.
296         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
297         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
298         definitions conditional on [__USE_XOPEN].
300         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
301         these unconditionally, not only use [__USE_BSD], so as to match
302         the sysdeps/unix/sysv/linux files.
304 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
306         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
307         avoid warnings.
309         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
310         DL_LOOKUP_ADDRESS.
312 2001-08-22  Roland McGrath  <roland@frob.com>
314         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
315         conditionalization of sa_handler/sa_sigaction member types to
316         match the sysdeps/unix/sysv/linux file.
318 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
320         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
321         symbol sizes a bit better.
323         * sysdeps/ia64/strncpy.S: Complete rewrite.
324         Contributed by Jakub Jelinek <jakub@redhat.com>.
326         * string/stratcliff.c (main): Add strncpy test.
328 2001-08-22  Roland McGrath  <roland@frob.com>
330         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
331         and don't declare unsetenv or _environ directly.
332         (unsetenv): Return int, not void.  Use __environ instead of _environ.
334 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
336         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
337         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
338         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
339         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
340         test for cmsg struct size.
342 2001-04-23  Paul Eggert  <eggert@twinsun.com>
344         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
345         Rename __argc to ___argc in prototypes to avoid compatibility
346         problems with systems that reserve the identifier "__argc".
347         Similarly for __argv.
349 2001-08-21  Roland McGrath  <roland@frob.com>
351         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
353         * mach/Makefile (tests): Removed.
354         * mach/hello.c: File removed.
356 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
358         * po/sv.po: Update from translation team.
360         * stdio-common/vfscanf.c: Fix handling of %l[].
361         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
363         * libio/Makefile (tests): Add tst-sscanf.
364         * libio/tst-sscanf.c: New file.
366         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
367         * malloc/mtrace.c (tr_where): dli_sname always points to a
368         non-empty string if != NULL.
369         Reported by Tim Janik <timj@gtk.org>.
371 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
373         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
374         buf.  Free resources on failure.
375         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
376         (makefd_xprt): Likewise.
377         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
378         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
379         * sunrpc/auth_unix.c (authunix_create): Likewise.
381 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
383         * string/strnlen.c: Remove.
384         * sysdeps/generic/strnlen.c: New.
385         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
387 2001-08-21  Roland McGrath  <roland@frob.com>
389         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
390         as a macro, not an extern inline function.
392         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
393         * Versions.def (libc): Add GLIBC_2.2.5 set.
394         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
395         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
397 2001-08-20  Roland McGrath  <roland@frob.com>
399         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
400         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
402 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
404         * string/bits/string2.h: Remove strnlen optimization here.
405         * sysdeps/i386/i486/bits/string.h: Add it here.
407 2001-08-21  Wolfram Gloger  <wg@malloc.de>
409         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
411 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
413         * po/gl.po: Update from translation team.
415 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
417         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
418         * misc/err.c (convert_and_print): Likewise.
420         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
421         function calls.
423 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
425         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
426         change of the gregset_t type.
427         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
429 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
431         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
433 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
435         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
437         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
439 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
441         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
442         before calling the cthreads initialization code.
444 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
446         * argp/argp-help.c: Fix two problems introduced in last change.
448         * include/dirent.h: Include <dirstream.h> first.
450 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
452         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
454         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
455         * sunrpc/xdr_rec.c: Likewise.
456         * sunrpc/xdr_mem.c: Likewise.
457         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
458         * sunrpc/rpc_cmsg.c: Likewise.
459         * sunrpc/getrpcport.c (getrpcport): Likewise.
460         * sunrpc/clnt_simp.c (callrpc): Likewise.
461         * sunrpc/clnt_gen.c (clnt_create): Likewise.
462         * string/envz.c: Likewise.
464         * po/ko.po: Update from translation team.
466         * argp/argp-help.c: Handle wide oriented stderr stream.
468 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
470         * sysdeps/generic/strtol.c: Little optimizations.  Add some
471         __builtin_expect.
473         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
475         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
476         * wcsmbs/wcwidth.c (wcwdith): Likewise.
477         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
479         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
481         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
483         * time/time.h (struct timespec): Use __time_t for tv_sec element.
485         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
486         wchar_t for function declarations and defintions.
488         * misc/sys/select.h: Define __need_time_t before including <time.h>.
489         Define suseconds_t if it hasn't happened yet.
491         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
493         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
495         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
496         <stddef.h>.
498         * conform/data/stddef.h-data: Remove wint_t.
500         * conform/conformtest.pl: Change namespace test to take #undef
501         lines into account.
503         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
505         * conform/data/sys/socket.h-data: Add sockatmark.
507 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
509         * io/fts.c: Update from recent BSD source.
511 2001-08-17  Roland McGrath  <roland@frob.com>
513         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
514         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
515         Likewise.
517 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
519         * locale/duplocale.c (__duplocale): Also initialize the special
520         __ctype_* elements.
522         * conform/data/netdb.h-data: Adjust gai_strerror return type.
524 2001-08-17  Andreas Jaeger  <aj@suse.de>
526         * misc/getpass.c: Include wchar.h for prototypes.
527         * malloc/obstack.c: Likewise.
529 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
531         * sunrpc/svc_simple.c (universal): Use __write instead of write.
533         * wcsmbs/wcscoll.c: Also define __wcscoll.
534         * include/wchar.h: Declare __wcscoll.
536         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
537         * libio/vwprintf.c: Likewise.
538         * libio/wprintf.c: Likewise.
540         * iconv/gconv_cache.c: Use __munmap instead of munmap.
542 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
544         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
545         instead of mbrtowc.
546         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
547         wcslen, and __wcscoll instead of wcscoll.
549         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
551         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
552         __getuid instead of getuid.
554         * stdio-common/perror.c (perror): Use __close instead of close.
555         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
556         * libio/freopen.c (freopen): Likewise.
557         * libio/freopen64.c (freopen64): Likewise.
559         * libio/tst-ungetwc2.c (main): Define str const.
561         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
562         * libio/fwprintf.c: Also define __fwprintf.
563         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
564         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
565         * assert/assert-perr.c: Likewise.
566         * assert/assert.c: Likewise.
567         * gmon/gmon.c: Likewise.
568         * inet/rcmd.c: Likewise.
569         * malloc/obstack.c: Likewise.
570         * misc/err.c: Likewise.
571         * misc/error.c: Likewise.
572         * misc/getpass.c: Likewise.
573         * posix/getopt.c: Likewise.
574         * resolv/res_hconf.c: Likewise.
575         * stdio-common/perror.c: Likewise.
576         * stdio-common/psignal.c: Likewise.
577         * stdlib/fmtmsg.c: Likewise.
578         * sunrpc/auth_unix.c: Likewise.
579         * sunrpc/clnt_perr.c: Likewise.
580         * sunrpc/clnt_tcp.c: Likewise.
581         * sunrpc/clnt_udp.c: Likewise.
582         * sunrpc/clnt_unix.c: Likewise.
583         * sunrpc/svc_simple.c: Likewise.
584         * sunrpc/svc_tcp.c: Likewise.
585         * sunrpc/svc_udp.c: Likewise.
586         * sunrpc/svc_unix.c: Likewise.
587         * sunrpc/xdr.c: Likewise.
588         * sunrpc/xdr_array.c: Likewise.
589         * sunrpc/xdr_rec.c: Likewise.
590         * sunrpc/xdr_ref.c: Likewise.
591         * sysdeps/generic/wordexp.c: Likewise.
593         * po/it.po: Update from translation team.
595         * misc/err.c: Handle wide oriented stderr stream.
597 2001-08-14  Tom Rix  <trix@redhat.com>
599         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
600         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
602 2001-08-13  Tom Rix  <trix@redhat.com>
604         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
605         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
606         and __intptr_t.
608 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
610         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
611         Store the access registers to the ucontext structure.
612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
613         Likewise.
615         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
616         Load the access registers from the ucontext structure.
617         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
618         Likewise.
620         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
621         offsets to the new ucontext layout.
622         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
624         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
625         of the ucontext structure.
626         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
628 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
630         * misc/error.c (error): Handle wide oriented stderr stream correctly.
631         (error_at_line): Likewise.
633         * stdio-common/perror.c (perror): Implement according to standard.
634         The stream orientation must not be changed if the stream was not
635         oriented before the call.
636         * stdio-common/Makefile (tests): Add tst-perror.
637         * stdio-common/tst-perror.c: New file.
640 See ChangeLog.12 for earlier changes.