Update.
[glibc.git] / ChangeLog
bloba527941d6e77527a90d33770bb98304b2632fefb
1 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
3         * po/tr.po: Update from translation team.
5 2001-08-24  Andreas Jaeger  <aj@suse.de>
7         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
8         make clean works.
10 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
12         * elf/rtld.c (print_statistics): Printf % after percent values.
13         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
15         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
16         don't have to compute the hash value and initialize current_value.
17         Move reference_name variable to where it is needed.
18         (_dl_lookup_versioned_symbol): Likewise.
20 2001-08-24  Roland McGrath  <roland@frob.com>
22         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
23         Just test that strerror returns non-null for a few errno codes.
25 2001-08-23  Roland McGrath  <roland@frob.com>
27         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
28         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
30         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
32         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
33         __mach_reply_port.
35 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
37         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
38         returns NULL.
40         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
41         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
42         doesn't do it.
43         * elf/rtld.c: Include <sys/param.h>.
44         * elf/dl-reloc.c: Likewise.
46 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
48         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
49         empty to prevent junk from being generated.
50         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
52 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
54         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
55         records.  Rename endrel to relative, initialize it to r, and use it
56         in elf_machine_rel_relative calls.  Point r after relative relocs.
58 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
60         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
61         of R_386_NONE.
63 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
65         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
66         necessary.  Undefine newly defined macros at the end.
67         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
68         Rename from elf_machine_rel_relative.
69         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
70         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
71         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
72         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
73         Likewise.
74         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
75         Likewise.
76         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
77         Fix argument types.
78         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
79         Fix argument types.
80         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
81         Likewise.  Fix argument types.
82         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
83         Likewise.  Fix argument types.
84         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
85         Fix argument types.
86         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
87         ElfW(Rel) in argument.
88         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
89         function.
91 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
93         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
95 2001-08-24  Andreas Jaeger  <aj@suse.de>
97         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
98         Stephen L Moshier <moshier@mediaone.net>.
100 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
102         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
103         first if RELCOUNT is set.
105         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
106         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
107         elf_machine_rel_relative.
108         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
109         Minor optimizations.
110         * sysdeps/arm/dl-machine.h: Likewise.
111         * sysdeps/cris/dl-machine.h: Likewise.
112         * sysdeps/hppa/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/dl-machine.h: Likewise.
117         * sysdeps/powerpc/dl-machine.h: Likewise.
118         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
119         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
120         * sysdeps/sh/dl-machine.h: Likewise.
121         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
124 2001-08-23  Roland McGrath  <roland@frob.com>
126         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
128         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
129         sysdeps/mach version.  Implement counting ("recursive") mutexes
130         on top of cthreads mutexes.
131         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
133         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
134         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
135         (__libc_cleanup_region_start, __libc_cleanup_region_end,
136         __libc_clean_end): Define these to call the cleanup function after
137         normal exit when they're supposed to.
139         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
140         Take new first arg DOIT, a boolean saying whether to really install
141         any cleanup handler.
142         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
143         (__libc_cleanup_end): Likewise.
144         * sysdeps/generic/bits/libc-lock.h: Same changes.
145         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
146         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
147         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
148         Likewise.
149         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
150         * sysdeps/generic/bits/stdio-lock.h
151         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
153 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
155         * elf/ldconfig.c (search_dir): Remove stale symlinks.
157 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
159         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
160         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
161         lookups in cache.
162         (_dl_lookup_versioned_symbol): Likewise.
163         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
164         relocation lookup.
165         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
166         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
167         (lookup_cache, lookup_cache_versioned): Add declarations.
169 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
171         * stdlib/tst-random.c (main): Swap parameters in fail call.
172         Patch by Pete Bevin <pete@petebevin.com>.
174 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
176         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
178 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
180         * malloc/obstack.c: Indent preprocessor directives.
181         Patch by Jim Meyering <meyering@ascend.com>.
183         * po/ja.po: Update from translation team.
185 2001-08-23  Roland McGrath  <roland@frob.com>
187         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
189         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
190         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
192 2001-08-22  Roland McGrath  <roland@frob.com>
194         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
195         __libc_lock_define_recursive.
196         * elf/dl-open.c: Don't declare it here any more.
197         * elf/dl-close.c: Likewise.
198         * elf/dl-lookup.c: Likewise.
199         * elf/dl-iteratephdr.c: Likewise.
200         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
201         __libc_lock_unlock_recursive.
202         * elf/dl-close.c (_dl_close): Likewise
203         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
204         * elf/dl-open.c (_dl_open): Likewise
206         * sysdeps/generic/bits/libc-lock.h
207         (__libc_lock_define_recursive): New macro.
208         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
209         (_IO_lock_lock): Use __libc_lock_lock_recursive.
210         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
212         * conform/conformtest.pl (checknamespace): Sort the output list.
214         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
215         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
216         definitions conditional on [__USE_XOPEN].
218         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
219         these unconditionally, not only use [__USE_BSD], so as to match
220         the sysdeps/unix/sysv/linux files.
222 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
224         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
225         avoid warnings.
227         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
228         DL_LOOKUP_ADDRESS.
230 2001-08-22  Roland McGrath  <roland@frob.com>
232         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
233         conditionalization of sa_handler/sa_sigaction member types to
234         match the sysdeps/unix/sysv/linux file.
236 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
238         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
239         symbol sizes a bit better.
241         * sysdeps/ia64/strncpy.S: Complete rewrite.
242         Contributed by Jakub Jelinek <jakub@redhat.com>.
244         * string/stratcliff.c (main): Add strncpy test.
246 2001-08-22  Roland McGrath  <roland@frob.com>
248         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
249         and don't declare unsetenv or _environ directly.
250         (unsetenv): Return int, not void.  Use __environ instead of _environ.
252 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
254         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
255         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
256         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
257         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
258         test for cmsg struct size.
260 2001-04-23  Paul Eggert  <eggert@twinsun.com>
262         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
263         Rename __argc to ___argc in prototypes to avoid compatibility
264         problems with systems that reserve the identifier "__argc".
265         Similarly for __argv.
267 2001-08-21  Roland McGrath  <roland@frob.com>
269         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
271         * mach/Makefile (tests): Removed.
272         * mach/hello.c: File removed.
274 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
276         * po/sv.po: Update from translation team.
278         * stdio-common/vfscanf.c: Fix handling of %l[].
279         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
281         * libio/Makefile (tests): Add tst-sscanf.
282         * libio/tst-sscanf.c: New file.
284         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
285         * malloc/mtrace.c (tr_where): dli_sname always points to a
286         non-empty string if != NULL.
287         Reported by Tim Janik <timj@gtk.org>.
289 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
291         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
292         buf.  Free resources on failure.
293         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
294         (makefd_xprt): Likewise.
295         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
296         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
297         * sunrpc/auth_unix.c (authunix_create): Likewise.
299 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
301         * string/strnlen.c: Remove.
302         * sysdeps/generic/strnlen.c: New.
303         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
305 2001-08-21  Roland McGrath  <roland@frob.com>
307         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
308         as a macro, not an extern inline function.
310         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
311         * Versions.def (libc): Add GLIBC_2.2.5 set.
312         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
313         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
315 2001-08-20  Roland McGrath  <roland@frob.com>
317         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
318         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
320 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
322         * string/bits/string2.h: Remove strnlen optimization here.
323         * sysdeps/i386/i486/bits/string.h: Add it here.
325 2001-08-21  Wolfram Gloger  <wg@malloc.de>
327         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
329 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
331         * po/gl.po: Update from translation team.
333 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
335         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
336         * misc/err.c (convert_and_print): Likewise.
338         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
339         function calls.
341 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
343         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
344         change of the gregset_t type.
345         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
347 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
349         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
351 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
353         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
355         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
357 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
359         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
360         before calling the cthreads initialization code.
362 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
364         * argp/argp-help.c: Fix two problems introduced in last change.
366         * include/dirent.h: Include <dirstream.h> first.
368 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
370         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
372         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
373         * sunrpc/xdr_rec.c: Likewise.
374         * sunrpc/xdr_mem.c: Likewise.
375         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
376         * sunrpc/rpc_cmsg.c: Likewise.
377         * sunrpc/getrpcport.c (getrpcport): Likewise.
378         * sunrpc/clnt_simp.c (callrpc): Likewise.
379         * sunrpc/clnt_gen.c (clnt_create): Likewise.
380         * string/envz.c: Likewise.
382         * po/ko.po: Update from translation team.
384         * argp/argp-help.c: Handle wide oriented stderr stream.
386 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
388         * sysdeps/generic/strtol.c: Little optimizations.  Add some
389         __builtin_expect.
391         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
393         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
394         * wcsmbs/wcwidth.c (wcwdith): Likewise.
395         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
397         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
399         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
401         * time/time.h (struct timespec): Use __time_t for tv_sec element.
403         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
404         wchar_t for function declarations and defintions.
406         * misc/sys/select.h: Define __need_time_t before including <time.h>.
407         Define suseconds_t if it hasn't happened yet.
409         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
411         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
413         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
414         <stddef.h>.
416         * conform/data/stddef.h-data: Remove wint_t.
418         * conform/conformtest.pl: Change namespace test to take #undef
419         lines into account.
421         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
423         * conform/data/sys/socket.h-data: Add sockatmark.
425 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
427         * io/fts.c: Update from recent BSD source.
429 2001-08-17  Roland McGrath  <roland@frob.com>
431         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
432         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
433         Likewise.
435 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
437         * locale/duplocale.c (__duplocale): Also initialize the special
438         __ctype_* elements.
440         * conform/data/netdb.h-data: Adjust gai_strerror return type.
442 2001-08-17  Andreas Jaeger  <aj@suse.de>
444         * misc/getpass.c: Include wchar.h for prototypes.
445         * malloc/obstack.c: Likewise.
447 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
449         * sunrpc/svc_simple.c (universal): Use __write instead of write.
451         * wcsmbs/wcscoll.c: Also define __wcscoll.
452         * include/wchar.h: Declare __wcscoll.
454         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
455         * libio/vwprintf.c: Likewise.
456         * libio/wprintf.c: Likewise.
458         * iconv/gconv_cache.c: Use __munmap instead of munmap.
460 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
462         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
463         instead of mbrtowc.
464         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
465         wcslen, and __wcscoll instead of wcscoll.
467         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
469         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
470         __getuid instead of getuid.
472         * stdio-common/perror.c (perror): Use __close instead of close.
473         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
474         * libio/freopen.c (freopen): Likewise.
475         * libio/freopen64.c (freopen64): Likewise.
477         * libio/tst-ungetwc2.c (main): Define str const.
479         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
480         * libio/fwprintf.c: Also define __fwprintf.
481         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
482         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
483         * assert/assert-perr.c: Likewise.
484         * assert/assert.c: Likewise.
485         * gmon/gmon.c: Likewise.
486         * inet/rcmd.c: Likewise.
487         * malloc/obstack.c: Likewise.
488         * misc/err.c: Likewise.
489         * misc/error.c: Likewise.
490         * misc/getpass.c: Likewise.
491         * posix/getopt.c: Likewise.
492         * resolv/res_hconf.c: Likewise.
493         * stdio-common/perror.c: Likewise.
494         * stdio-common/psignal.c: Likewise.
495         * stdlib/fmtmsg.c: Likewise.
496         * sunrpc/auth_unix.c: Likewise.
497         * sunrpc/clnt_perr.c: Likewise.
498         * sunrpc/clnt_tcp.c: Likewise.
499         * sunrpc/clnt_udp.c: Likewise.
500         * sunrpc/clnt_unix.c: Likewise.
501         * sunrpc/svc_simple.c: Likewise.
502         * sunrpc/svc_tcp.c: Likewise.
503         * sunrpc/svc_udp.c: Likewise.
504         * sunrpc/svc_unix.c: Likewise.
505         * sunrpc/xdr.c: Likewise.
506         * sunrpc/xdr_array.c: Likewise.
507         * sunrpc/xdr_rec.c: Likewise.
508         * sunrpc/xdr_ref.c: Likewise.
509         * sysdeps/generic/wordexp.c: Likewise.
511         * po/it.po: Update from translation team.
513         * misc/err.c: Handle wide oriented stderr stream.
515 2001-08-14  Tom Rix  <trix@redhat.com>
517         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
518         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
520 2001-08-13  Tom Rix  <trix@redhat.com>
522         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
523         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
524         and __intptr_t.
526 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
529         Store the access registers to the ucontext structure.
530         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
531         Likewise.
533         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
534         Load the access registers from the ucontext structure.
535         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
536         Likewise.
538         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
539         offsets to the new ucontext layout.
540         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
542         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
543         of the ucontext structure.
544         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
546 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
548         * misc/error.c (error): Handle wide oriented stderr stream correctly.
549         (error_at_line): Likewise.
551         * stdio-common/perror.c (perror): Implement according to standard.
552         The stream orientation must not be changed if the stream was not
553         oriented before the call.
554         * stdio-common/Makefile (tests): Add tst-perror.
555         * stdio-common/tst-perror.c: New file.
558 See ChangeLog.12 for earlier changes.