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