1 2001-08-01 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
4 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
5 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
6 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
7 test for cmsg struct size.
9 2001-04-23 Paul Eggert <eggert@twinsun.com>
11 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
12 Rename __argc to ___argc in prototypes to avoid compatibility
13 problems with systems that reserve the identifier "__argc".
16 2001-08-21 Roland McGrath <roland@frob.com>
18 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
20 * mach/Makefile (tests): Removed.
21 * mach/hello.c: File removed.
23 2001-08-22 Ulrich Drepper <drepper@redhat.com>
25 * po/sv.po: Update from translation team.
27 * stdio-common/vfscanf.c: Fix handling of %l[].
28 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
30 * libio/Makefile (tests): Add tst-sscanf.
31 * libio/tst-sscanf.c: New file.
33 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
34 * malloc/mtrace.c (tr_where): dli_sname always points to a
35 non-empty string if != NULL.
36 Reported by Tim Janik <timj@gtk.org>.
38 2001-08-22 Jakub Jelinek <jakub@redhat.com>
40 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
41 buf. Free resources on failure.
42 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
43 (makefd_xprt): Likewise.
44 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
45 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
46 * sunrpc/auth_unix.c (authunix_create): Likewise.
48 2001-08-21 Jakub Jelinek <jakub@redhat.com>
50 * string/strnlen.c: Remove.
51 * sysdeps/generic/strnlen.c: New.
52 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
54 2001-08-21 Roland McGrath <roland@frob.com>
56 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
57 as a macro, not an extern inline function.
59 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
60 * Versions.def (libc): Add GLIBC_2.2.5 set.
61 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
62 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
64 2001-08-20 Roland McGrath <roland@frob.com>
66 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
67 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
69 2001-08-21 Ulrich Drepper <drepper@redhat.com>
71 * string/bits/string2.h: Remove strnlen optimization here.
72 * sysdeps/i386/i486/bits/string.h: Add it here.
74 2001-08-21 Wolfram Gloger <wg@malloc.de>
76 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
78 2001-08-21 Ulrich Drepper <drepper@redhat.com>
80 * po/gl.po: Update from translation team.
82 2001-08-20 Ulrich Drepper <drepper@redhat.com>
84 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
85 * misc/err.c (convert_and_print): Likewise.
87 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
90 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
92 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
93 change of the gregset_t type.
94 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
96 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
98 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
100 2001-08-20 Ulrich Drepper <drepper@redhat.com>
102 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
104 * string/strnlen.c: Fix the implementation. We cannot use memchr.
106 2001-08-18 Mark Kettenis <kettenis@gnu.org>
108 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
109 before calling the cthreads initialization code.
111 2001-08-20 Ulrich Drepper <drepper@redhat.com>
113 * argp/argp-help.c: Fix two problems introduced in last change.
115 * include/dirent.h: Include <dirstream.h> first.
117 2001-08-19 Ulrich Drepper <drepper@redhat.com>
119 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
121 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
122 * sunrpc/xdr_rec.c: Likewise.
123 * sunrpc/xdr_mem.c: Likewise.
124 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
125 * sunrpc/rpc_cmsg.c: Likewise.
126 * sunrpc/getrpcport.c (getrpcport): Likewise.
127 * sunrpc/clnt_simp.c (callrpc): Likewise.
128 * sunrpc/clnt_gen.c (clnt_create): Likewise.
129 * string/envz.c: Likewise.
131 * po/ko.po: Update from translation team.
133 * argp/argp-help.c: Handle wide oriented stderr stream.
135 2001-08-18 Ulrich Drepper <drepper@redhat.com>
137 * sysdeps/generic/strtol.c: Little optimizations. Add some
140 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
142 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
143 * wcsmbs/wcwidth.c (wcwdith): Likewise.
144 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
146 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
148 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
150 * time/time.h (struct timespec): Use __time_t for tv_sec element.
152 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
153 wchar_t for function declarations and defintions.
155 * misc/sys/select.h: Define __need_time_t before including <time.h>.
156 Define suseconds_t if it hasn't happened yet.
158 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
160 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
162 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
165 * conform/data/stddef.h-data: Remove wint_t.
167 * conform/conformtest.pl: Change namespace test to take #undef
170 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
172 * conform/data/sys/socket.h-data: Add sockatmark.
174 2001-08-17 Ulrich Drepper <drepper@redhat.com>
176 * io/fts.c: Update from recent BSD source.
178 2001-08-17 Roland McGrath <roland@frob.com>
180 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
181 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
184 2001-08-17 Ulrich Drepper <drepper@redhat.com>
186 * locale/duplocale.c (__duplocale): Also initialize the special
189 * conform/data/netdb.h-data: Adjust gai_strerror return type.
191 2001-08-17 Andreas Jaeger <aj@suse.de>
193 * misc/getpass.c: Include wchar.h for prototypes.
194 * malloc/obstack.c: Likewise.
196 2001-08-17 Ulrich Drepper <drepper@redhat.com>
198 * sunrpc/svc_simple.c (universal): Use __write instead of write.
200 * wcsmbs/wcscoll.c: Also define __wcscoll.
201 * include/wchar.h: Declare __wcscoll.
203 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
204 * libio/vwprintf.c: Likewise.
205 * libio/wprintf.c: Likewise.
207 * iconv/gconv_cache.c: Use __munmap instead of munmap.
209 2001-08-16 Ulrich Drepper <drepper@redhat.com>
211 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
213 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
214 wcslen, and __wcscoll instead of wcscoll.
216 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
218 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
219 __getuid instead of getuid.
221 * stdio-common/perror.c (perror): Use __close instead of close.
222 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
223 * libio/freopen.c (freopen): Likewise.
224 * libio/freopen64.c (freopen64): Likewise.
226 * libio/tst-ungetwc2.c (main): Define str const.
228 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
229 * libio/fwprintf.c: Also define __fwprintf.
230 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
231 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
232 * assert/assert-perr.c: Likewise.
233 * assert/assert.c: Likewise.
234 * gmon/gmon.c: Likewise.
235 * inet/rcmd.c: Likewise.
236 * malloc/obstack.c: Likewise.
237 * misc/err.c: Likewise.
238 * misc/error.c: Likewise.
239 * misc/getpass.c: Likewise.
240 * posix/getopt.c: Likewise.
241 * resolv/res_hconf.c: Likewise.
242 * stdio-common/perror.c: Likewise.
243 * stdio-common/psignal.c: Likewise.
244 * stdlib/fmtmsg.c: Likewise.
245 * sunrpc/auth_unix.c: Likewise.
246 * sunrpc/clnt_perr.c: Likewise.
247 * sunrpc/clnt_tcp.c: Likewise.
248 * sunrpc/clnt_udp.c: Likewise.
249 * sunrpc/clnt_unix.c: Likewise.
250 * sunrpc/svc_simple.c: Likewise.
251 * sunrpc/svc_tcp.c: Likewise.
252 * sunrpc/svc_udp.c: Likewise.
253 * sunrpc/svc_unix.c: Likewise.
254 * sunrpc/xdr.c: Likewise.
255 * sunrpc/xdr_array.c: Likewise.
256 * sunrpc/xdr_rec.c: Likewise.
257 * sunrpc/xdr_ref.c: Likewise.
258 * sysdeps/generic/wordexp.c: Likewise.
260 * po/it.po: Update from translation team.
262 * misc/err.c: Handle wide oriented stderr stream.
264 2001-08-14 Tom Rix <trix@redhat.com>
266 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
267 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
269 2001-08-13 Tom Rix <trix@redhat.com>
271 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
272 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
275 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
277 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
278 Store the access registers to the ucontext structure.
279 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
282 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
283 Load the access registers from the ucontext structure.
284 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
287 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
288 offsets to the new ucontext layout.
289 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
292 of the ucontext structure.
293 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
295 2001-08-15 Ulrich Drepper <drepper@redhat.com>
297 * misc/error.c (error): Handle wide oriented stderr stream correctly.
298 (error_at_line): Likewise.
300 * stdio-common/perror.c (perror): Implement according to standard.
301 The stream orientation must not be changed if the stream was not
302 oriented before the call.
303 * stdio-common/Makefile (tests): Add tst-perror.
304 * stdio-common/tst-perror.c: New file.
307 See ChangeLog.12 for earlier changes.