Update.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
2
3         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
4         * misc/err.c (convert_and_print): Likewise.
5
6         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
7         function calls.
8
9 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
10
11         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
12         change of the gregset_t type.
13         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14
15 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
16
17         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
18
19 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
20
21         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
22
23         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
24
25 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
26
27         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
28         before calling the cthreads initialization code.
29
30 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
31
32         * argp/argp-help.c: Fix two problems introduced in last change.
33
34         * include/dirent.h: Include <dirstream.h> first.
35
36 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
37
38         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
39
40         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
41         * sunrpc/xdr_rec.c: Likewise.
42         * sunrpc/xdr_mem.c: Likewise.
43         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
44         * sunrpc/rpc_cmsg.c: Likewise.
45         * sunrpc/getrpcport.c (getrpcport): Likewise.
46         * sunrpc/clnt_simp.c (callrpc): Likewise.
47         * sunrpc/clnt_gen.c (clnt_create): Likewise.
48         * string/envz.c: Likewise.
49
50         * po/ko.po: Update from translation team.
51
52         * argp/argp-help.c: Handle wide oriented stderr stream.
53
54 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
55
56         * sysdeps/generic/strtol.c: Little optimizations.  Add some
57         __builtin_expect.
58
59         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
60
61         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
62         * wcsmbs/wcwidth.c (wcwdith): Likewise.
63         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
64
65         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
66
67         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
68
69         * time/time.h (struct timespec): Use __time_t for tv_sec element.
70
71         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
72         wchar_t for function declarations and defintions.
73
74         * misc/sys/select.h: Define __need_time_t before including <time.h>.
75         Define suseconds_t if it hasn't happened yet.
76
77         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
78
79         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
80
81         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
82         <stddef.h>.
83
84         * conform/data/stddef.h-data: Remove wint_t.
85
86         * conform/conformtest.pl: Change namespace test to take #undef
87         lines into account.
88
89         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
90
91         * conform/data/sys/socket.h-data: Add sockatmark.
92
93 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
94
95         * io/fts.c: Update from recent BSD source.
96
97 2001-08-17  Roland McGrath  <roland@frob.com>
98
99         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
100         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
101         Likewise.
102
103 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
104
105         * locale/duplocale.c (__duplocale): Also initialize the special
106         __ctype_* elements.
107
108         * conform/data/netdb.h-data: Adjust gai_strerror return type.
109
110 2001-08-17  Andreas Jaeger  <aj@suse.de>
111
112         * misc/getpass.c: Include wchar.h for prototypes.
113         * malloc/obstack.c: Likewise.
114
115 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
116
117         * sunrpc/svc_simple.c (universal): Use __write instead of write.
118
119         * wcsmbs/wcscoll.c: Also define __wcscoll.
120         * include/wchar.h: Declare __wcscoll.
121
122         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
123         * libio/vwprintf.c: Likewise.
124         * libio/wprintf.c: Likewise.
125
126         * iconv/gconv_cache.c: Use __munmap instead of munmap.
127
128 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
129
130         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
131         instead of mbrtowc.
132         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
133         wcslen, and __wcscoll instead of wcscoll.
134
135         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
136
137         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
138         __getuid instead of getuid.
139
140         * stdio-common/perror.c (perror): Use __close instead of close.
141         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
142         * libio/freopen.c (freopen): Likewise.
143         * libio/freopen64.c (freopen64): Likewise.
144
145         * libio/tst-ungetwc2.c (main): Define str const.
146
147         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
148         * libio/fwprintf.c: Also define __fwprintf.
149         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
150         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
151         * assert/assert-perr.c: Likewise.
152         * assert/assert.c: Likewise.
153         * gmon/gmon.c: Likewise.
154         * inet/rcmd.c: Likewise.
155         * malloc/obstack.c: Likewise.
156         * misc/err.c: Likewise.
157         * misc/error.c: Likewise.
158         * misc/getpass.c: Likewise.
159         * posix/getopt.c: Likewise.
160         * resolv/res_hconf.c: Likewise.
161         * stdio-common/perror.c: Likewise.
162         * stdio-common/psignal.c: Likewise.
163         * stdlib/fmtmsg.c: Likewise.
164         * sunrpc/auth_unix.c: Likewise.
165         * sunrpc/clnt_perr.c: Likewise.
166         * sunrpc/clnt_tcp.c: Likewise.
167         * sunrpc/clnt_udp.c: Likewise.
168         * sunrpc/clnt_unix.c: Likewise.
169         * sunrpc/svc_simple.c: Likewise.
170         * sunrpc/svc_tcp.c: Likewise.
171         * sunrpc/svc_udp.c: Likewise.
172         * sunrpc/svc_unix.c: Likewise.
173         * sunrpc/xdr.c: Likewise.
174         * sunrpc/xdr_array.c: Likewise.
175         * sunrpc/xdr_rec.c: Likewise.
176         * sunrpc/xdr_ref.c: Likewise.
177         * sysdeps/generic/wordexp.c: Likewise.
178
179         * po/it.po: Update from translation team.
180
181         * misc/err.c: Handle wide oriented stderr stream.
182
183 2001-08-14  Tom Rix  <trix@redhat.com>
184
185         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
186         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
187
188 2001-08-13  Tom Rix  <trix@redhat.com>
189
190         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
191         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
192         and __intptr_t.
193
194 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
195
196         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
197         Store the access registers to the ucontext structure.
198         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
199         Likewise.
200
201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
202         Load the access registers from the ucontext structure.
203         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
204         Likewise.
205
206         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
207         offsets to the new ucontext layout.
208         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
209
210         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
211         of the ucontext structure.
212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
213
214 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
215
216         * misc/error.c (error): Handle wide oriented stderr stream correctly.
217         (error_at_line): Likewise.
218
219         * stdio-common/perror.c (perror): Implement according to standard.
220         The stream orientation must not be changed if the stream was not
221         oriented before the call.
222         * stdio-common/Makefile (tests): Add tst-perror.
223         * stdio-common/tst-perror.c: New file.
224
225
226 See ChangeLog.12 for earlier changes.