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