1 2000-01-28 Ulrich Drepper <drepper@cygnus.com>
3 * locale/C-monetary.c: Add initializers for new fields.
4 * locale/C-numeric.c: Likewise.
5 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
6 outdigits.h, and outdigitswc.h.
7 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
8 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
9 and _NL_NUMERIC_THOUSANDS_SEP_WC.
10 * locale/indigits.h: New file.
11 * locale/indigitswc.h: New file.
12 * locale/outdigits.h: New file.
13 * locale/outdigitswc.h: New file.
14 * locale/programs/ld-monetary.c: Write out decimal point and
15 thousands separator info in wide character form.
16 * locale/programs/ld-numeric.c: Likewise.
17 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
18 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
19 * stdio-common/_i18n_itoa.c: New file.
20 * stdio-common/_i18n_itoa.h: New file.
21 * stdio-common/_i18n_itowa.c: New file.
22 * stdio-common/_i18n_itowa.h: New file.
23 * stdio-common/printf-parse.h: Parse 'I' flag.
24 * stdio-common/printf.h (struct printf_info): Add i18n field.
25 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
28 2000-01-27 Geoff Keating <geoffk@cygnus.com>
30 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
33 * sysdeps/unix/sysv/linux/kernel-features.h
34 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
35 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
38 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
39 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
40 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
41 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
42 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
43 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
44 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
45 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
46 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
48 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
49 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
51 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
52 __curbrk off the small data area register. Reported by
53 Andrew Haley <aph@pasanda.cygnus.co.uk>.
55 2000-01-26 Andreas Jaeger <aj@suse.de>
57 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
59 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
61 * locale/Makefile (distribute): Remove nonexisting files.
62 * sysdeps/powerpc/Dist: Move FPU specific files to...
63 * sysdeps/powerpc/fpu/Dist: ...here. New file.
64 * nss/Makefile: Distribute files for new libdb interface.
65 * math/Makefile (distribute): Add README.libm-test.
66 Patch by Andreas Jaeger.
68 2000-01-26 David McCann <david.mccann@alcatel.at>
70 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
72 2000-01-25 Andreas Jaeger <aj@suse.de>
74 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
75 version check since we're using cpp.
77 2000-01-26 Jakub Jelinek <jakub@redhat.com>
79 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
82 2000-01-26 Andreas Jaeger <aj@suse.de>
84 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
85 about unitialised variable kbuf.
86 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
87 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
89 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
91 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
93 (collate_read): Remove unnecessary `if'.
95 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
97 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
98 and load appropriate conversions.
99 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
101 * libio/libioP.h: Declare __libio_codecvt.
102 * manual/stdio.texi: Document ,ccs= option for fopen.
103 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
104 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
106 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
108 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
110 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
112 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
113 * posix/testfnm.c: Add a few more tests. Rearrange test output.
115 2000-01-25 Andreas Schwab <schwab@suse.de>
117 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
118 FNM_FILE_NAME consistently.
120 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
122 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
124 * posix/fnmatch_loop.c: Undefine STRCOLL.
126 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
127 kernels with stat64 support.
128 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
129 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
130 Patch by SL Baur <steve@xemacs.org>.
132 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
134 2000-01-24 Paul Eggert <eggert@twinsun.com>
136 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
137 deciding whether a character falls within a character range.
139 2000-01-24 Paul Eggert <eggert@twinsun.com>
141 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
144 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
148 2000-01-23 Paul Eggert <eggert@twinsun.com>
150 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
152 2000-01-23 Paul Eggert <eggert@twinsun.com>
154 * posix/regex.c (compile_range): When matching a character
155 range, use the current collating sequence, as POSIX requires.
157 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
159 * string/argz-stringify.c: Handle case of missing \0 at the end of
162 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
164 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
167 * locale/programs/ld-collate.c (collate_output): Also handle
168 IGNOREd characters in the simple way when generating the multibyte
171 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
173 (ctype_finish): ...here. Check for missing codeset name.
175 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
176 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
178 2000-01-24 Jakub Jelinek <jakub@redhat.com>
180 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
181 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
182 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
183 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
184 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
185 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
186 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
187 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
188 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
189 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
190 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
191 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
192 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
194 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
195 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
196 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
198 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
200 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
201 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
202 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
203 * sysdeps/unix/sysv/linux/semget.c: Likewise.
204 * sysdeps/unix/sysv/linux/semop.c: Likewise.
205 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
206 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
207 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
209 2000-01-24 Jakub Jelinek <jakub@redhat.com>
211 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
212 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
213 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
214 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
215 * sysdeps/unix/sysv/linux/arm/Versions: Remove
216 setrlimit64@GLIBC_2.1.3.
217 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
218 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
219 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
220 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
221 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
222 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
223 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
224 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
225 setrlimit): Remove syscall stubs, add normal syscalls.
226 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
229 2000-01-22 Andreas Jaeger <aj@suse.de>
231 * localedata/tst-locale.sh: Enable test for de_DE.437.
233 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
235 * string/Versions: Export __strndup.
237 2000-01-23 Philip Blundell <philb@gnu.org>
239 Add basic support for RPC over IPv6:
240 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
242 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
244 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
245 clntudp6_bufcreate): New prototypes.
246 * inet/netinet/in.h (bindresport6): Likewise.
247 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
248 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
249 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
250 bindresvport6 for GLIBC_2.2.
251 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
252 * sunrpc/rpc_svcout.c: Likewise.
253 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
254 simple assignment when copying addresses.
255 * sunrpc/svc_udp.c (cache_get): Likewise.
256 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
257 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
258 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
260 2000-01-05 Philip Blundell <philb@gnu.org>
262 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
264 2000-01-23 Andreas Jaeger <aj@suse.de>
266 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
267 parameter to fstat calls.
269 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
271 * sysdeps/generic/bits/socket.h
272 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
273 version, replacing old type name `__ss_align'.
275 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
277 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
278 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
279 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
280 (__lseek, lseek): Make these weak aliases for __libc_lseek.
281 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
282 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
283 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
284 (__open, open): Make these weak aliases for __libc_open.
286 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
288 (anonymous enum for MSG_*): Likewise.
289 (anonymous enum for SO_*): Likewise.
291 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
293 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
296 2000-01-08 Mark Kettenis <kettenis@gnu.org>
298 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
299 (setitimer_locked): Use it to quantize the timer values. Use
300 quantized timer values to check if the timeout changed.
302 2000-01-22 Andreas Jaeger <aj@suse.de>
304 * sunrpc/rpc/svc.h: Fix description for svc_register.
306 2000-01-23 Mark Kettenis <kettenis@gnu.org>
308 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
310 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
312 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
313 fixes part 2 of bug 1549.
314 * sunrpc/rpc_des.h: Remove unused defines.
316 2000-01-22 Mark Kettenis <kettenis@gnu.org>
318 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
320 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
323 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
324 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
325 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
326 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
327 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
328 and other inline functions for port access.
329 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
332 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
334 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
335 Patch by Bruno Haible <haible@ilog.fr>.
337 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
339 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
340 them all at the end, eliding the final comma.
341 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
343 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
345 * intl/libintl.h: Add format_arg attributes to declarations of new
348 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
349 ngettext, and plural.
350 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
351 (test-srcs): Add tst-gettext.
352 (before-compile): Add $(objpfx)msgs.h.
353 Add rules for plural.c and msgs.h generation and running tst-gettext.\
354 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
356 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
357 dcigettext with appropriate parameters.
358 * intl/dcigettext.c: New file.
359 * intl/dcngettext.c: New file.
360 * intl/dngettext.c: New file.
361 * intl/ngettext.c: New file.
362 * intl/gettextP.h (struct expression): Define.
363 (struct loaded_domain): Add plural and nplurals members.
364 Add prototypes for new internal functions.
365 * intl/libintl.h: Declare new functions. Add optimizations for them.
366 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
367 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
368 header entry and parse and store the expression.
369 * intl/plural.y: New file.
370 * intl/po2test.sed: New file.
371 * intl/tst-gettext.c: New file.
372 * intl/tst-gettext.sh: New file.
373 * manual/message.texi: Document new interfaces.
375 * intl/gettext.c: Call __dcgettext directly.
377 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
379 * manual/getopt.texi (Using the getopt function): Fix description of
380 return value for format string starting with '-' (PR libc/1551).
381 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
383 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
384 Patch by jens.moeller@westgeo.com (PR libc/1550).
386 * locale/programs/ld-collate.c (struct element_t): Add wclast
387 and compute it where necessary.
388 (collate_output): Insert indirect references in the right order.
390 * math/Makefile (tests): Add test-misc.
391 * math/test-misc.c: New file.
393 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
396 with exponent >31 and < 63 (PR libc/1548).
398 * locale/programs/ld-collate.c (output_weightwc): Return index
399 measured in words, not bytes. Don't write out words for ignored
401 (collate_output): Correct various problems with alignment in the
403 * locale/weight.h: Adjust for last change in ld-collate.c of adding
406 * stdlib/strfmon.c: Don't report an error if final NUL is at the
407 end of the buffer. Set errno correctly if floating-point number
408 would overflow buffer.
410 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
412 * locale/weight.h (findidx): Little optimization. Correctly return
413 offset in indirect table.
414 * locale/programs/ld-collate.c (struct element_t): Add mblast
415 and compute it where necessary.
416 (insert_weights): Correctly handle missing weights in ellipsis
418 (handle_ellipsis): Correctly enqueue new element.
419 (collate_output): Insert indirect references in the right order.
421 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
423 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
425 * wcsmbs/mbsrtowcs.c: Likewise.
426 * wcsmbs/wcrtomb.c: Likewise.
427 * wcsmbs/wcsrtombs.c: Likewise.
429 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
432 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
435 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
436 incomplete but correct.
438 * locale/programs/charmap.c: NUL-terminate names of generated
439 entries for ellipsis.
441 2000-01-18 Andreas Jaeger <aj@suse.de>
443 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
444 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
445 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
446 _STAT_VER_KERNEL handling up; don't save errno.
447 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
448 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
449 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
450 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
451 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
452 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
457 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
459 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
460 Remove done variable and all uses.
461 * iconv/skeleton.c: Update comment for *written modification.
462 * iconv/gconv_int.h (__gconv): Update comment.
463 Reported by Bruno Haible.
465 2000-01-18 Bruno Haible <haible@ilog.fr>
467 * posix/fnmatch.c (ISWCTYPE): New macro.
468 (__wcschrnul): New function.
469 (BTOWC): New macro. Define it instead of __btowc.
470 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
471 wcsrtombs. Call wctype, not __wctype.
472 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
473 BTOWC instead of __btowc.
475 2000-01-18 Andreas Jaeger <aj@suse.de>
477 * inet/Versions: Add new functions added on 2000-01-17.
479 2000-01-18 Jakub Jelinek <jakub@redhat.com>
481 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
483 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
485 * timezone/antarctica: Update from tzdata2000a.
486 * timezone/asia: Likewise.
487 * timezone/australasia: Likewise.
488 * timezone/backward: Likewise.
489 * timezone/northamerica: Likewise.
490 * timezone/southamerica: Likewise.
491 * timezone/zone.tab: Likewise.
493 * nscd/connections.c (dbs): Use
494 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
497 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
498 address. Suggested by Philip Blundell.
500 * posix/TESTS: Fix expected result for test cases with * with no
503 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
504 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
505 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
506 open call would require read permission.
507 Patch by James Antill <james@and.org>.
509 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
511 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
512 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
513 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
515 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
516 * posix/regex.c (regex_compile): Return appropriate errors for
517 unterminated brace expressions. Detect invalid characters
518 in brace expressions.
519 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
520 * sysdeps/posix/sysconf.c: Include regex.h.
521 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
523 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
525 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
526 AI_NUMERICHOST flag is set, return an error.
527 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
529 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
531 * inet/rexec.c: Implement rexec_af.
532 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
534 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
537 2000-01-17 Jakub Jelinek <jakub@redhat.com>
539 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
540 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
541 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
542 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
543 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
544 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
545 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
546 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
547 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
548 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
549 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
550 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
552 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
554 (__new_msgctl): New function.
555 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
557 (__new_semctl): New function.
558 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
560 (__new_shmctl): New function.
562 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
563 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
564 * sysdeps/unix/sysv/linux/semget.c: Likewise.
565 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
566 * sysdeps/unix/sysv/linux/semop.c: Likewise.
567 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
568 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
569 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
571 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
572 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
575 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
577 2000-01-17 Jakub Jelinek <jakub@redhat.com>
579 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
580 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
581 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
582 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
586 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
587 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
589 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
590 available on sparc since 2.3.39.
592 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
594 2000-01-17 Jakub Jelinek <jakub@redhat.com>
596 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
598 (__real_chown): Return EINVAL if owner or group are out of the range
600 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
601 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
602 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
603 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
604 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
605 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
606 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
607 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
609 Don't include non-existant header.
610 (__chown): Return EINVAL if owner or group are out of the range
612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
613 setresgid): Inherit standard linux/syscalls.list definitions.
614 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
615 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
616 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
619 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
621 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
622 from 1989 change in ISO 639.
624 2000-01-12 Andreas Jaeger <aj@suse.de>
626 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
627 function; needed for 32bit uid support.
629 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
632 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
634 * intl/locale.alias: Add entries for galician.
636 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
637 try to get sequence from charmap with Uxxxxxxxx name.
638 (charclass_ucs4_ellipsis): Likewise.
639 (charclass_charcode_ellipsis): Allow byte sequence missing.
640 (read_writestring): Free allocated memory in case of an error.
641 (set_class_defaults): Don't search repertoire map for wide character
642 default values; we know it's UCS4.
644 * locale/programs/repertoire.c (repertoire_find_value): Just return an
645 error if no repertoire map was loaded.
646 (repertoire_find_symbol): Likewise.
647 (repertoire_find_seq): Likewise.
649 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
650 twice, to define singlebyte and multibyte version.
651 (fnmatch): Differentiate between singlebyte and multibyte locale and
652 call appropriate internal function.
653 * posix/fnmatch_loop.c: New file.
654 * posix/Makefile (distribute): Add fnmatch_loop.c.
656 * locale/programs/repertoire.c (repertoire_read): Don't print
657 error message when repertoire map is missing.
658 (repertoire_complain): Print error message for missing map, but only
660 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
662 * locale/programs/linereader.c (get_string): Prefer getting names
663 from charseq entries. Try finding Uxxxxxxxx names in charmap
664 before trying to map from repertoire.
666 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
668 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
669 error in last change.
670 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
672 * stdlib/longlong.h: Fix typo in last patch.
674 2000-01-12 Andreas Jaeger <aj@suse.de>
676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
677 Added for Linux 2.3.39+.
679 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
681 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
682 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
683 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
684 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
685 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
686 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
687 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
688 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
690 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
691 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
692 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
693 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
694 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
695 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
697 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
698 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
699 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
700 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
701 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
702 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
703 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
704 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
705 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
706 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
707 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
708 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
709 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
710 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
711 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
712 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
713 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
714 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
715 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
716 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
717 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
718 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
719 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
720 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
721 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
722 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
723 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
724 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
726 2000-01-14 Jakub Jelinek <jakub@redhat.com>
728 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
730 2000-01-13 Jakub Jelinek <jakub@redhat.com>
732 * sysdeps/generic/backtrace.c: Include signal.h which
733 sigcontextinfo.h headers are used to expect.
734 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
735 (register_dump): Fix a typo in the printout.
736 Avoid using reg_window, so that asm/ptrace.h is not necessary.
737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
738 (ADVANCE_STACK_FRAME): Likewise.
740 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
741 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
742 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
745 to make it clear this file depends on __WORDSIZE.
746 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
747 Renamed from have_no_truncate64.
748 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
751 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
753 * Makeconfig (rpath-dirs): Remove db2.
754 (dbojdir): Remove variable.
756 * locale/programs/locfile.h (handle_copy): Take repertoire map
757 name as parameter, not pointer to repertoire structure.
758 * locale/programs/ld-address.c: Change caller.
759 * locale/programs/ld-ctype.c: Likewise.
760 * locale/programs/ld-identification.c: Likewise.
761 * locale/programs/ld-measurement.c: Likewise.
762 * locale/programs/ld-messages.c: Likewise.
763 * locale/programs/ld-monetary.c: Likewise.
764 * locale/programs/ld-name.c: Likewise.
765 * locale/programs/ld-numeric.c: Likewise.
766 * locale/programs/ld-paper.c: Likewise.
767 * locale/programs/ld-telephone.c: Likewise.
768 * locale/programs/ld-time.c: Likewise.
770 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
772 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
773 mmap2 is available when compiling but no at runtime.
775 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
777 * iconvdata/iso-ir-165.c: New file.
778 * iconvdata/iso-ir-165.h: New file.
779 * iconvdata/Makefile: Add rules to build libISOIR165.
781 * Makefile (install): Correct passing -r parameter to ldconfig.
783 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
784 Reported by Bruno Haible <haible@ilog.fr>.
786 2000-01-11 Andreas Schwab <schwab@suse.de>
788 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
790 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
792 * nss/getent.c: Add ipv6 support for hosts.
794 2000-01-05 Philip Blundell <pb@futuretv.com>
796 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
797 getrlimit64, setrlimit64 for GLIBC_2.1.3.
798 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
800 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
801 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
802 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
803 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
804 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
805 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
807 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
808 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
809 [subdir=misc] (sysdep_headers): Add sys/elf.h.
811 2000-01-09 Andreas Jaeger <aj@suse.de>
813 * manual/install.texi (Tools for Compilation): Update required
815 (Configuring and compiling): Restore old comments about
816 configparms; modify to reflect current usage.
818 2000-01-09 Philip Blundell <philb@gnu.org>
820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
821 resolution if the hints included AI_NUMERICHOST.
823 2000-01-11 Andreas Schwab <schwab@suse.de>
825 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
826 infinite loop to avoid pulling in stdio in the dynamic linker.
827 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
829 2000-01-10 Andreas Jaeger <aj@suse.de>
831 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
832 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
834 * sysdeps/mips/mips64/dl-machine.h: Likewise.
836 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
837 gregset_t, fpregset_t, and NGREG definitions.
839 * sysdeps/mips/Implies: Add wordsize-32.
841 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
844 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
847 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
848 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
849 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
850 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
851 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
852 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
853 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
855 2000-01-09 Philip Blundell <philb@gnu.org>
857 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
858 (dl_platform_init): Allow _dl_platform to be NULL.
860 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
863 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
865 * nscd/connections.c (handle_request): Handle systems without
867 (nscd_run): Likewise.
869 2000-01-07 Andreas Jaeger <aj@suse.de>
871 Add support for Berkeley db 3.0.x and merge db support:
872 * nss/nss_db/dummy-db.h (struct db30): New.
876 * nss/makedb.c: Move all database routines to db-open.c.
877 (main): Adjust to interface changes.
878 Load database early to initialize version dependend variables.
880 * nss/db-open.c: Merge database routines from makedb.c.
881 Define version dependend constansts as variables.
882 (load_db): Check also for db 3.
883 (internal_setent): Call dbopen.
884 (db_cursor): New function from makedb; handles db 3 now.
885 (dbopen): New function from makedb; handles db 3.
887 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
888 different in different DB versions.
890 * nss/nss_db/nss_db.h: Add version dependend constants as
891 variables, add exportet interfaces from db-open.c.
893 * nss/Makefile ($(objpfx)makedb): Link against db-open.
895 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
897 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
898 Reported by Jim Meyering.
900 * time/strftime.c: Pretty printing.
902 2000-01-07 Andreas Jaeger <aj@suse.de>
904 * manual/socket.texi (Host Names): Fix example.
905 Reported by Marco Budde <budde@telos.de>.
907 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
909 * localedata/Makefile (install-locales): Create locale directory
910 if it does not exist.
912 * locale/programs/charmap.c (charmap_read): Call lr_open here and
913 not in parse_charmap. Try also the directories on the I18NPATH.
914 (parse_charmap): Change accordingly.
916 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
918 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
919 and oldsetrlimit64.c.
921 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
924 * manual/texinfo.tex: Updated from latest official version.
926 * debug/Makefile (distribute): Add frame.h.
928 2000-01-05 Philip Blundell <philb@gnu.org>
930 * sysdeps/arm/frame.h: New file.
931 * sysdeps/generic/frame.h: Likewise.
932 * sysdeps/generic/segfault.c (struct layout): Delete definition;
933 include the above file instead.
934 * sysdeps/generic/backtrace.c (struct layout): Likewise.
935 (__backtrace): Use ADVANCE_STACK_FRAME.
936 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
937 (ADVANCE_STACK_FRAME): New macro.
938 (GET_FRAME): Apply above to returned value.
940 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
942 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
944 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
945 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
947 * io/ftw.c (process_entry): Cache object dev/inode only for
948 directories (PR libc/1514).
950 2000-01-05 Andreas Schwab <schwab@suse.de>
952 * locale/programs/charmap.c (charmap_read): Fix typo.
954 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
956 * locale/programs/charset.c: Removed.
958 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
959 * iconvdata/gconv-modules: Likewise.
960 * iconvdata/iso8859-16.c: New file.
962 2000-01-05 Andreas Schwab <schwab@suse.de>
964 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
966 2000-01-05 Andreas Jaeger <aj@suse.de>
968 * intl/locale.alias: Add lithunian entry.
969 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
971 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
973 * locale/programs/stringtrans.c: Removed.
974 * locale/programs/stringtrans.h: Removed.
975 * locale/programs/linereader.c: Remove #include of stringtrans.h.
977 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
978 _POSIX_MAPPED_FILES is not defined.
980 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
983 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
984 _nl_POSIX_name instead of "C" and "POSIX" strings.
986 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
987 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
988 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
989 reuse the _nl_C_LC_CTYPE_tolower table.
990 (_nl_C_LC_CTYPE_toupper32): Likewise.
991 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
994 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
996 (_nl_C_LC_CTYPE_class32): Likewise.
998 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1000 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1001 after the operation is done. Let them linger for a user-definable
1003 * rt/aio_cancel.c: Likewise.
1004 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1006 * sysdeps/i386/i686/add_n.S: New file.
1008 2000-01-02 Philip Blundell <philb@gnu.org>
1010 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1011 to obtain port mapping information. Avoid use of mprotect.
1013 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1016 definition from 2.3.36.
1018 2000-01-04 Andreas Jaeger <aj@suse.de>
1020 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1021 (struct db27): Add missing fields byteswapped, join and flags;
1022 remove wrong member handleq.
1023 (struct dbc27): Correct lock field.
1025 * nss/makedb.c: Remove __P.
1027 2000-01-04 Andreas Jaeger <aj@suse.de>
1029 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1030 success, fix a memory leak and clean up function.
1032 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1034 * Makefile (install): Pass $(install_root) to ldconfig.
1035 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1037 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1039 * soft-fp/op-1.h: Fix division for machines using not normalizing
1040 version of udiv_qrnnd in longlong.h.
1041 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1042 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1043 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1044 Patch by Eddie C. Dost <ecd@skynet.be>.
1046 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1048 2000-01-03 Andreas Schwab <schwab@suse.de>
1050 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1051 needed for change in common symbol handing in newer binutils.
1053 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1056 kernel without mmap2 syscall.
1058 2000-01-03 Philip Blundell <philb@gnu.org>
1060 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1061 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1062 ARM for kernels >= 2.3.35.
1064 2000-01-03 Philip Blundell <philb@gnu.org>
1066 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1067 Optimise error handling a little.
1068 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1070 2000-01-03 Andreas Jaeger <aj@suse.de>
1072 * include/resolv.h: Remove declarations for __ns_name_ntop and
1073 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1075 2000-01-03 Andreas Jaeger <aj@suse.de>
1077 * time/tst-strptime.c (test_tm): Add tests for all fields of
1080 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1082 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1084 2000-01-03 Andreas Jaeger <aj@suse.de>
1086 * string/tester.c (test_strsep): Add one more test.
1088 2000-01-03 Philip Blundell <philb@gnu.org>
1090 * string/tester.c (test_mempcpy): New function.
1092 (test_memcpy): Test unaligned cases too.
1094 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1096 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1098 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1100 * posix/Makefile (tests): Add tst-mmap.
1101 * posix/tst-mmap.c: New file.
1103 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1104 call before handling error.
1106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1107 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1109 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1111 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1112 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1114 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1115 * iconvdata/testdata/ISO-2022-KR: Likewise.
1117 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1119 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1121 * iconvdata/Makefile (distribute): Remove baltic.c.
1122 (modules): Remove BALTIC.
1123 (gen-8bit-gap-modules): Remove baltic.
1124 * iconvdata/baltic.c: Removed.
1126 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1128 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1130 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1131 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1132 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1134 * nss/Makefile: Add rules to build makedb.
1135 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1136 * nss/nss_db/dummy-db.h: Likewise.
1137 * nss/makedb.c: New file. Copied from file in db2, modified to not
1138 depend on being linked against libdb.
1140 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1142 * Makeconfig (all-subdirs): Remove db and db2.
1146 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1147 functions from here...
1148 * nss/db-alias.c: ...and here...
1149 * nss/db-netgrp.c: ...and here...
1150 * nss/nss_db/db-open.c: ...to here. New file.
1151 * nss/nss_db/dummy-db.h: New file.
1152 * nss/nss_db/nss_db.h: New file.
1153 * nss/Depend: Depend in dlfcn, not db2.
1154 * nss/Makefile (libnss_db-routines): Add db-open.
1155 (distribute): Add nss_db.h dummy-db.h.
1156 (libnss_db.so): Replace libdb dependency by $(libdl).
1157 Based on a patch by Zack Weinberg.
1159 * locale/programs/ld-ctype.c: Implement rest of transliteration
1161 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1162 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1164 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1166 * locale/programs/ld-collate.c (collate_output): Emit correct
1167 information for collation elements.
1168 Don't write over end of array idx.
1169 * posix/regex.c: Handle also collation elements at end of range.
1171 * posix/PTESTS: Fix a few typos.
1173 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1174 no idea where this came from.
1175 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1177 1999-12-31 Andreas Jaeger <aj@suse.de>
1179 * libio/strfile.h: Remove K&R compatibility.
1180 * locale/langinfo.h: Likewise.
1181 * locale/localeconv.c (localeconv): Likewise.
1182 * locale/programs/simple-hash.h: Likewise.
1183 * nis/nis_xdr.h: Likewise.
1184 * nis/rpcsvc/nislib.h: Likewise.
1185 * nis/rpcsvc/nis_callback.h: Likewise.
1186 * nis/rpcsvc/nis.h: Likewise.
1187 * nis/ypclnt.c: Likewise.
1188 * nscd/nscd_proto.h: Likewise.
1189 * nscd/nscd.c: Likewise.
1190 * sysdeps/generic/inttypes.h: Likewise.
1191 * sysdeps/gnu/utmpx.h: Likewise.
1193 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1194 * sunrpc/rpcsvc/rusers.x: Likewise.
1196 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1198 * elf/dl-misc.c: Remove __libc_write prototype since it's already
1199 in include/unistd.h.
1200 * elf/dl-profile.c: Likewise.
1201 * elf/dl-load.c: Likewise for __libc_read.
1203 * elf/dl-profile.c: Remove __P.
1204 * elf/sprof.c: Likewise.
1205 * elf/sln.c: Likewise.
1207 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1209 * locale/langinfo.h: Add constants for wide character collation
1211 * locale/categories.def: Add appropriate entries for collate symbol
1213 * locale/C-collate.c: Add initializers for new entries.
1214 Remove commented out code.
1215 * locale/elem-hash.h: New file.
1216 * locale/Makefile (distribute): Add elem-hash.h.
1217 * locale/programs/ld-collate.c: Implement output of collate symbol
1220 * posix/regex.c: Implement collation class handling.
1222 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1224 * posix/regex.c (regex_compile): Implement equivalence class handling.
1226 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
1228 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1229 (OPCODE_LWZU): New macro.
1230 (OPCODE_ADDIS_HI): New macro.
1231 (OPCODE_LIS_HI): New macro.
1232 (__elf_machine_runtime_setup): Change PLT code-generation scheme
1233 for thread safety even with very large PLTs, better efficiency,
1234 and to fix a cache-flushing bug. Also support the Motorola
1235 8xx processors which have a different cache line size than all
1237 (__elf_machine_fixup_plt): Likewise.
1238 (__process_machine_rela): Don't use elf_machine_fixup_plt.
1240 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1242 * wcsmbs/wcscoll.c: Use multibyte character version.
1243 * wcsmbs/wcsxfrm.c: Likewise.
1244 * string/strcoll.c: Prepare to be used for the wide character version.
1245 * string/strxfrm.c: Likewise.
1246 * locale/weightwc.h: New file.
1248 1999-12-30 Geoff Keating <geoffk@cygnus.com>
1250 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1251 the (void) casts as now feraiseexcept returns a value.
1252 (feclearexcept): Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1255 it interferes with the macros for AIX.
1257 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1259 * locale/programs/ld-collate.c (collate_finish): Always define
1260 weight for UNDEFINED if not defined by the user but don't complain
1261 unless it is needed in the multibyte character table.
1262 (collate_output): Add extra dummy elements in wide char tables in the
1263 same way done for multibyte. Always output undefined entry in
1264 wide character table.
1266 * locale/Makefile (categories): Remove commented-out old definition.
1268 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1269 to new_element if the wide char is not valid.
1270 (handle_ellipsis): Likewise.
1271 (collate_read): It's no problem if the string in the collating element
1272 definition cannot be represented as multibyte or wide char string.
1274 1999-12-13 Andreas Jaeger <aj@suse.de>
1276 * resolv/resolv.h: Remove K&R compatibility.
1278 * resolv/res_libc.c: Move definition of _res after res_init,
1279 res_init should use the threaded specific context.
1281 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1284 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
1286 * locale/langinfo.h: Add constants for wide character collation data.
1287 * locale/categories.def: Add appropriate entries for collate entries.
1288 * locale/C-collate.c: Add initializers for new entries.
1289 * locale/programs/ld-collate.c: Implement output of wide character
1292 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1293 compute wide character table size a bit: it now gives up a bit of
1294 total table size for fewer levels.
1296 * soft-fp/*: Tons of new files to implement floating-point arithmetic
1298 Contributed by Richard Henderson, Jakub Jelinek and others.
1300 1999-12-29 Andreas Jaeger <aj@suse.de>
1302 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1303 <asm/io.h>; remove K&R compatibility; add missing ints.
1305 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1308 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1310 1999-12-29 Andreas Jaeger <aj@suse.de>
1312 * manual/getopt.texi (Using Getopt): Document ordering of options.
1314 1999-12-29 Andreas Jaeger <aj@suse.de>
1316 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1317 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1319 1999-12-14 Andreas Jaeger <aj@suse.de>
1321 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1324 1999-12-28 Jakub Jelinek <jakub@redhat.com>
1326 * elf/sprof.c (load_shobj): Fix error message.
1327 (generate_call_graph): Cast %*s length argument to int.
1328 * locale/programs/localedef.c (construct_output_path): Likewise.
1329 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1331 (ctype_class_new): Likewise.
1332 * locale/programs/ld-time.c (time_finish): Likewise.
1333 * sunrpc/svc_simple.c (register_rpc): Likewise.
1334 * nscd/connections.c (nscd_run, start_threads): Use long instead of
1335 int to avoid cast warnings.
1336 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1338 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1341 * time/strftime.c (my_strftime): Provide wide era string when
1344 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1345 Separate into 32bit and 64bit versions.
1347 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
1349 * iconvdata/Makefile (modules): Add ISO-2022-CN.
1350 Add link rules for this module.
1351 (distribute): Add iso-2022-cn.c and cns11643l2.h.
1352 * iconvdata/cns11643l2.h: New file.
1353 * iconvdata/iso-2022-cn.c: New file.
1354 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1356 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1358 (ucs4_to_cns11643l1): Likewise.
1359 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1361 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1363 Optimize recognition of escape sequences a bit.
1365 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1366 and oldsetrlimit definitions.
1368 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1370 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1371 identifying errors more easily.
1373 * iconvdata/testdata/EUC-CN..UTF8: New file.
1374 * iconvdata/testdata/GBK..UTF8: New file.
1376 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1377 mappings. Fix last patch.
1378 * iconvdata/TESTS: Add GBK.
1379 * iconvdata/testdata/GBK: New file.
1381 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1382 0x2312, and 0x2500..0x254b.
1383 * iconvdata/TESTS: Add EUC-CN.
1384 * iconvdata/testdata/EUC-CN: New file.
1386 * iconvdata/gbgbk.c: New file.
1387 * iconvdata/Makefile (modules): Add GBGBK.
1388 (distribute): Add gbgbk.c.
1389 * iconvdata/gconv-modules: Add entries for GBGBK modules.
1391 * iconvdata/euc-cn.c: Fix comment.
1393 * iconvdata/gbk.c: Optimize the switch statement in the conversion
1396 * locale/programs/charmap.c (charmap_new_char): Recognize special
1397 character names Uxxxx and Pxxxx and initialize the UCS4 value from
1400 1999-12-17 Andreas Jaeger <aj@suse.de>
1402 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1404 1999-12-16 Mark Mitchell <mark@codesourcery.com>
1406 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1407 * stdlib/exit.h (flavor): Add ef_cxa.
1408 (exit_function): Add cxa variant.
1409 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1410 * stdlib/cxa_atexit.c: New file.
1411 * stdlib/cxa_finalize.c: New file.
1413 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1415 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1418 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1420 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1422 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1423 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1425 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1426 of <asm/resource.h>.
1428 1999-12-26 Philip Blundell <philb@gnu.org>
1430 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
1431 argument count for `syscall' to 7.
1432 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1433 with more than five arguments.
1434 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1436 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1438 * locale/programs/ld-collate.c (collate_output): Don't start with empty
1439 extrapool and indirectpool obstacks since we need the offsets to be
1441 (collate_read): Call load_locale, not find_locale.
1442 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1443 wasn't defined in the file also initialize repertoire if possible.
1444 * locale/programs/ld-time.c (time_finish): Fix message string.
1445 * locale/programs/linereader.c: Cast parameters of lr_error to
1446 correct type to prevnet warning.
1447 * locale/programs/localedef.c (load_locale): New file.
1448 * locale/programs/localedef.h: Add its prototype.
1449 * locale/programs/repertoire.c (repertoire_new_char): Add missing
1450 parameters to lr_error call.
1452 * localedata/Makefile: Enable running tests again.
1453 * localedata/tests/test2.def: Adjust syntax to new specification.
1454 * localedata/tests/test3.def: Likewise.
1455 * localedata/tst-trans.sh: Redirect output of program into file.
1457 * string/strcoll.c: Fix many error in new implementation to make it
1458 pass (at least) the test suite.
1460 * locale/Makefile: Don't link localedef statically anymore.
1462 * locale/ld-collate.c (struct element_t): Add field is_character and
1463 use it to distinguish real character from collating elements and
1465 (new_element): Take new parameter to initialize is_character. Change
1467 (handle_ellipsis): Use is_character field to make sure ellipsis is
1468 only used with characters.
1469 (collate_read): Fix reading of collating elements.
1471 * string/strxfrm.c: Correct loop end detection and memory access
1472 in the little optimization at the end.
1474 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1475 emit warnings. Provide default value for mon_decimal_point.
1477 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1478 category wasn't defined.
1479 (collate_output): Likewise.
1481 * locale/programs/ld-address.c: Don't emit message about not defined
1482 category if be_quiet.
1483 * locale/programs/ld-ctype.c: Likewise.
1484 * locale/programs/ld-identification.c: Likewise.
1485 * locale/programs/ld-measurement.c: Likewise.
1486 * locale/programs/ld-messages.c: Likewise.
1487 * locale/programs/ld-monetary.c: Likewise.
1488 * locale/programs/ld-name.c: Likewise.
1489 * locale/programs/ld-numeric.c: Likewise.
1490 * locale/programs/ld-paper.c: Likewise.
1491 * locale/programs/ld-telephone.c: Likewise.
1492 * locale/programs/ld-time.c: Likewise.
1494 * locale/programs/locfile.c (write_locale_data): Correct memory
1495 allocation for fname.
1497 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1499 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1500 (collate_finish): Test that position is used in all sections for
1503 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1504 of the index returned by findidx.
1506 * string/strcoll.c: Complete rewrite for new collate implementation.
1507 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1510 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1512 * locale/langinfo.h: Likewise.
1513 * locale/categories.def: Likewise. Remove reference to postload
1515 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1516 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1517 * locale/localeinfo.h: Remove declaration for removed variables above.
1518 Remove prototype for _nl_get_era_entry.
1519 * locale/weight.h: Complete rewrite for new collate implementation.
1520 * locale/programs/ld-collate.c: Many changes to make output file
1521 usable in strxfrm/strcoll.
1522 * string/strxfrm.c: Complete rewrite for new collate implementation.
1523 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1526 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1528 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1529 transformation values for chars >255.
1530 * wctype/wctrans.c: Return pointer unmodified.
1532 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1534 * sysdeps/posix/system.c (__libc_system): Check whether command
1535 processor is available if LINE is NULL. Don't return immediately
1536 if wait call returned with EINTR.
1537 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1539 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1541 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1544 * locale/programs/ld-collate.c: Implement writing out multibyte
1547 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1548 * locale/localeinfo.h: Declare variables only for currently implemented
1549 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1550 * locale/lc-collate.c: Define variables only for currently implemented
1552 * locale/langinfo.h: Define symbols only for currently implemented
1554 * locale/categories.def: Define elements for currently implemented
1556 * locale/C-collate.c: Comment out definitions of arrays with symbol
1557 name definitions etc.
1558 (_nl_C_LC_COLLATE): Update for currently defined information.
1560 * intl/libintl.h: Remove dcgettext macro definition.
1561 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1563 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1565 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1566 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1568 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1570 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1571 for __fenv_stfsr argument.
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1573 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1575 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1577 (XSTAT_IS_XSTAT64): Define.
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1579 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1580 and __libc_pwrite64.
1581 Remove oldgetrlimit and oldsetrlimit.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1586 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1587 pointer to the syscall, not address of that pointer.
1588 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1589 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1590 (__syscall_stat64): Provide proper prototype.
1592 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1593 has_no_truncate64 between truncate64 and ftruncate64.
1594 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1596 * sysdeps/unix/sysv/linux/kernel-features.h
1597 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1598 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1600 1999-12-22 Andreas Jaeger <aj@suse.de>
1602 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1603 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1605 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1607 * locale/lc-time.c: Extend structure era_entry.
1608 * locale/localeinfo.h: Likewise.
1609 * locale/lc-time.c: Handle '-' direction used in locale's era part
1611 * time/strptime.c: Likewise.
1612 * time/strftime.c: Likewise.
1613 * locale/programs/ld-time.c: Consider negative values in era part
1615 * time/strptime.c (strptime_internal): Merged Yoshiyama's
1616 %E[CyY] implementation.
1618 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
1620 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1621 of recursive() call.
1622 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1625 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1627 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1628 Patch by Scott Bambrough <scottb@netwinder.org>.
1630 1999-12-21 Andreas Schwab <schwab@suse.de>
1632 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1634 * include/unistd.h: Declare __libc_lseek.
1636 1999-12-21 Andreas Jaeger <aj@suse.de>
1638 * stdlib/longlong.h: Remove __P.
1640 1999-12-21 Andreas Jaeger <aj@suse.de>
1642 * sysdeps/powerpc/fpu/libm-ulps: New file.
1644 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1646 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1647 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1649 1999-12-21 Andreas Jaeger <aj@suse.de>
1651 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1652 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1653 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1654 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1655 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1656 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1657 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1658 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1659 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1660 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1661 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1662 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1664 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1666 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1667 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1668 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1669 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1670 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1671 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1672 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1673 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1674 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1675 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1676 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1677 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1678 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1679 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1680 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1681 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1682 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1685 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1687 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1688 before testing for __ASSUME_STAT64_SYSCALL.
1689 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1690 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1692 1999-12-20 Andreas Schwab <schwab@suse.de>
1694 * manual/install.texi (Running make install): Clearify that
1695 install_root should be an absolute file name.
1697 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1699 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1701 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1702 buffer is given to place conversion descriptor in initial state.
1703 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1705 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1706 (according to IANA registry).
1707 Reported by Bruno Haible <haible@ilog.fr>.
1709 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1711 * locale/categories.def: Remove most of the collate definitions.
1712 * locale/langinfo.h: Comment out corresponding definitions.
1713 * locale/programs/locale-spec.c (locale_special): Don't recognize the
1715 * locale/programs/ld-collate.c: Correct and optimize computation of
1716 weights. Set up list of all definitions correctly. Start writing
1717 function to generate output file.
1719 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1720 loop to compute default mapping.
1722 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1724 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1725 cancelation wrapper.
1726 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1727 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1728 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1730 1999-12-19 Andreas Jaeger <aj@suse.de>
1732 * sysdeps/generic/libc-start.c: Remove declaration of
1733 __libc_open. Move declaration of __libc_fcntl to ...
1734 * include/fcntl.h: ...here.
1736 * include/unistd.h: Move __libc_open and __libc_open64 to ...
1737 * include/fcntl.h: ...here.
1739 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1742 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1745 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1747 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1750 1999-12-19 Andreas Jaeger <aj@suse.de>
1752 * include/string.h: Mark __strndup with __attribute_malloc__.
1754 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1756 * locale/langinfo.h: Always define CODESET.
1757 (CODESET): Define also as macro.
1759 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1760 generate mantissa output in using malloc if it is larger than
1762 Reported by Jim Meyering <meyering@ascend.com>.
1764 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1766 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1767 available gcc version.
1768 * string/string.h: Mark strdup, __strdup, and strndup with
1769 __attribute_malloc__.
1770 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1771 __attribute_malloc__.
1772 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1773 and __default_morecore with __attribute_malloc__.
1774 Provide default definition for __attribute_malloc__.
1775 * libio/stdio.h: Make tempnam with __attribute_malloc__.
1777 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1778 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1779 * io/Versions: Export __libc_open64 and __libc_lseek64.
1780 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1781 and __libc_pwrite64.
1782 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1784 * sysdeps/generic/pread.c: Likewise.
1785 * sysdeps/generic/pread64.c: Likewise.
1786 * sysdeps/generic/pwrite.c: Likewise.
1787 * sysdeps/generic/pwrite64.c: Likewise.
1788 * sysdeps/posix/open64.c: Likewise.
1789 * sysdeps/posix/pread.c: Likewise.
1790 * sysdeps/posix/pread64.c: Likewise.
1791 * sysdeps/posix/pwrite.c: Likewise.
1792 * sysdeps/posix/pwrite64.c: Likewise.
1793 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1794 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1795 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1796 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1797 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1798 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1799 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1800 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1801 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1803 * sysdeps/posix/open64.c: Help gcc generating better code.
1805 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1808 1999-12-11 H.J. Lu <hjl@gnu.org>
1810 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1813 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1815 * iconvdata/isiri-3342.c: New file.
1816 * iconvdata/Makefile (modules): Add ISIRI-3342.
1817 (distribute): Add isiri-3342.c.
1818 (gen-8bit-gap-modules): Add isiri-3342.
1819 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1821 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1823 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1824 result if necessary.
1826 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1827 unreliable kernel headers.
1828 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1830 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1831 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1833 1999-12-18 Andreas Jaeger <aj@suse.de>
1835 * config.make.in (datadir): Added.
1836 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1838 1999-12-18 Andreas Jaeger <aj@suse.de>
1840 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1842 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1844 1999-12-18 Andreas Jaeger <aj@suse.de>
1846 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1847 syscall if available.
1848 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1849 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1851 * sysdeps/unix/sysv/linux/kernel-features.h
1852 (__ASSUME_STAT64_SYSCALL): New.
1854 1999-12-17 Scott Bambrough <scottb@netwinder.org>
1856 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1858 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1859 after .text segment fixups.
1861 1999-12-16 Andreas Jaeger <aj@suse.de>
1863 * rt/aio.h: Remove erroneous __restrict declarations.
1865 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1867 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1868 do the job if it is there neither.
1869 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1871 1999-12-16 Andreas Jaeger <aj@suse.de>
1873 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1874 duplicate definition with function __nan.
1875 Closes PR libc/1487 reported by <diana@kai.com>.
1877 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
1879 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1881 * locale/programs/ld-collate.c: Implement handling of absolute
1882 ellipsis. Parsing of file and constructing the internal data
1883 structures should now be complete.
1884 (collate_finish): Start adding support to generate the data
1885 structures which are written out to the file.
1887 * intl/dcgettext.c: Rewrite to handle caching of previous results here
1888 instead of in the dcgettext macro.
1889 * intl/libintl.h (dcgettext): Don't define for systems using this
1890 glibc or systems with tsearch.
1892 * sysdeps/generic/mathdef.h: Protect definitions for math.h
1893 against double inclusion.
1894 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1895 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1896 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1897 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1899 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1902 1999-12-17 Andreas Jaeger <aj@suse.de>
1904 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1907 * rt/Makefile (tests): Added tst-aio64.
1908 Added dependency rules for tst-aio64.
1910 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1913 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
1915 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1916 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1917 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1918 old value (signed long).
1919 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1921 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1922 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1923 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1924 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1925 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1926 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1927 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1928 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1929 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1930 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1931 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1932 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1933 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1934 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1937 1999-12-17 Andreas Jaeger <aj@suse.de>
1939 * elf/ldconfig.c: Add new option -l to manualy link shared
1941 (options): Added option.
1942 (parse_opt): Set option.
1943 (main): Handle option.
1944 (manual_link): New function.
1946 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
1948 * string/bits/string2.h: Fix patch from 1999-12-07.
1950 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
1952 * sysdeps/generic/strsep.c: If delim string has only one character
1953 don't run over end of string.
1955 * locale/programs/ld-collate.c (insert_weights): Also update next
1956 pointer of last cursor element.
1957 (insert_value): Return nonzero value if nothing got inserted.
1958 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1960 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1962 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1965 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1967 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1968 Copy sa_flags into kernel sigaction structure.
1970 1999-12-14 Andreas Jaeger <aj@suse.de>
1972 * string/tester.c (test_strsep): More tests for access beyond
1973 the final NUL. The first two tests come from PR libc/1486 by
1974 martinea@iro.umontreal.ca.
1976 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
1978 * nis/ypclnt.c: Correct handling of cached client handles.
1979 (__xdr_ypresp_all): Call callback function for errors, too,
1981 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1982 * nis/nss_compat/compat-initgroups.c: Likewise.
1983 * nis/nss_compat/compat-spwd.c: Likewise.
1984 * nis/nss_nis/nis-alias.c: Likewise.
1985 * nis/nss_nis/nis-ethers.c: Likewise.
1986 * nis/nss_nis/nis-grp.c: Likewise.
1987 * nis/nss_nis/nis-hosts.c: Likewise.
1988 * nis/nss_nis/nis-netgrp.c: Likewise.
1989 * nis/nss_nis/nis-publickey.c: Likewise.
1990 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1991 Map if available, optimize query if name/port and protocol is known.
1993 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
1995 * locale/programs/ld-collate.c (collate_read): Make symbolic
1996 ellipsis work. Remove old and unused code.
1998 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2000 * locale/programs/ld-collate.c (collate_read): Implement
2001 reorder-section handling.
2003 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2005 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2007 * locale/programs/ld-collate.c (collate_read): Add handling of
2010 * locale/programs/ld-collate.c: Many changes to implement parsing
2011 of collation definition (still not complete).
2013 1999-12-09 Andreas Jaeger <aj@suse.de>
2015 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2016 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2017 Reported by Christian Starkjohann <cs@obdev.at>.
2019 1999-12-09 Andreas Jaeger <aj@suse.de>
2021 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2023 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2025 * stdlib/longlong.h: Update from latest egcs version.
2027 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2029 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2030 has to preceede __attribute__, otherwise g++ barfs.
2032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2039 1999-12-05 Wolfram Gloger <wg@malloc.de>
2041 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2042 try to generate a minimal one and hope for mmap_chunk() to succeed
2045 1999-11-07 Wolfram Gloger <wg@malloc.de>
2047 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2048 mutex_t work as an `in-use' flag even without threads.
2049 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2050 for multiple arenas separately from NO_THREADS.
2051 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2052 fall back to an mmap()ed arena when sbrk() has failed.
2054 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2056 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2057 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2058 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2059 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2060 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2061 oldgetrlimit and oldsetrlimit.
2062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2064 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2065 oldsetrlimit rules into 32-bit arch subdirs.
2066 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2068 * locale/programs/ld-collate.c (insert_value): If this is the
2069 first symbol the cursor can be the same as the next pointer.
2071 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2073 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2075 (allocate_arrays): Allocate memory for map32. Correctly install
2076 default values in it and install defined mappings.
2078 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2079 value for mon_grouping.
2081 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2082 headers are not clean enough.
2084 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2086 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2087 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2089 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2090 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2091 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2092 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2094 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2095 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2096 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2097 _nl_C_LC_CTYPE_tolower32 tables.
2098 Don't compile it names of 14652 classes and maps.
2099 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2100 _NL_CTYPE_TOLOWER32.
2101 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2102 and __ctype32_tolower.
2103 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2104 (ctype_output): Write out map32 values.
2105 (allocate_arrays): Compute mapping tables correctly.
2106 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2107 (towupper): Use __ctype32_toupper.
2108 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2110 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2111 determine tolower mapping for 8bit table if the tolower keyword is
2114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2115 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2117 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2119 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2120 __stpcpy_small): Cast switch expressions to int to shut up compiler
2123 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2125 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2128 1999-12-06 Andreas Schwab <schwab@suse.de>
2130 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2131 ugetrlimit syscall exists.
2133 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2135 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2137 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2139 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2140 pointers if character is illegal.
2141 Reported by Bruno Haible <haible@ilog.fr>.
2143 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2144 (increment_counter): New function. Broken out of find_derivation.
2145 (find_derivation): No need for a lock. Increment counter only when
2146 the derivation was already available.
2147 * iconv/gconv_dl.c: Add debugging functions.
2148 (known_compare): We have to use strcmp.
2149 Reported by Bruno Haible <haible@ilog.fr>.
2151 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2153 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2154 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2155 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2156 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2158 Reported by Bruno Haible <haible@ilog.fr>.
2160 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2162 1999-12-03 Andreas Jaeger <aj@suse.de>
2164 * nss/getXXbyYY.c: Include <resolv.h>
2165 (FUNCTION_NAME): Use res_ninit instead of res_init.
2167 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2168 declaration and prototypes.
2169 Remove extra _res declaration.
2170 (INTERNAL): Use thread aware res_ninit function.
2172 * inet/gethstbyad_r.c: Include <resolv.h>.
2174 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2175 res_libc.c. Disabled unneeded functions.
2177 * resolv/res_libc.c: New file.
2179 * Versions.def: Add version GLIBC_2.2 for libpthread.
2180 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2182 * include/resolv.h: Add internal interfaces.
2184 * resolv/Makefile (routines): Add new files.
2185 (libresolv-routines): Likewise.
2186 (distribute): Likewise.
2188 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2189 * resolv/nss_dns/dns-host.c: Likewise.
2190 * resolv/nss_dns/dns-network.c: Likewise.
2192 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2193 * resolv/nsap_addr.c: Likewise.
2194 * resolv/res_comp.c: Likewise.
2195 * resolv/res_debug.c: Likewise.
2196 * resolv/res_init.c: Likewise.
2197 * resolv/res_mkquery.c: Likewise.
2198 * resolv/res_query.c: Likewise.
2199 * resolv/res_send.c: Likewise.
2200 * resolv/resolv.h: Likewise.
2202 * resolv/Versions: Add __res_state and __res_ninit with version
2204 Add new interfaces with version GLIBC_2.2 to libresolv.
2206 * resolv/Banner: Update.
2208 * include/arpa/nameser_compat.h: New file.
2210 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2211 * resolv/ns_netint.c: Likewise.
2212 * resolv/ns_parse.c: Likewise.
2213 * resolv/ns_print.c: Likewise.
2214 * resolv/ns_samedomain.c: Likewise.
2215 * resolv/ns_ttl.c: Likewise.
2216 * resolv/arpa/nameser_compat.h: Likewise.
2217 * resolv/res_debug.h: Likewise.
2219 Some patches are based on work done by Adam D. Bradley
2220 <artdodge@cs.bu.edu>.
2222 1999-11-30 Andreas Jaeger <aj@suse.de>
2225 * elf/Makefile (extra-objs): Added ldconfig-modules.
2226 (ldconfig-modules): New.
2227 Added vpath for xstrdup and xmalloc.
2228 Check for use-ldconfig instead of has-ldconfig.
2229 ($(objpfx)ldconfig): New rule with dependencies.
2230 (distribute): Add new files.
2232 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2233 developed together with Jakub Jelinek <jakub@redhat.com>.
2234 * sysdeps/generic/readelflib.c: Likewise.
2236 * elf/cache.c: New file.
2237 * elf/ldconfig.c: New file.
2238 * elf/ldconfig.h: New file.
2239 * elf/readlib.c: New file.
2241 * Makefile (install): Remove flag -d in ldconfig call.
2243 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2246 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2249 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2250 set always use_ldconfig instead.
2252 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
2254 * sysdeps/generic/bits/stropts.h: Update with LiS types and
2255 values. Patch by David Grothe <dave@gcom.com>.
2257 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2259 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2260 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2261 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2263 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
2265 * locale/lc-time.c (_nl_get_era_entry): Separate eras
2266 initialization as _nl_init_era_entry().
2267 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2268 * locale/lc-time.c (_nl_get_era_year_offset): New function.
2269 * locale/lc-time.c (_nl_get_era_year_start): New function.
2270 * locale/localeinfo.h: Declare new functions.
2271 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2274 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
2276 * posix/regex.c (SYNTAX): Make more portable.
2277 Patch by Aharon Robbins <arnold@skeeve.com>.
2279 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
2281 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2282 nonzero, use cthread_fork to create the signal thread.
2283 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2284 _hurd_msgport_thread here (to self).
2285 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2286 is zero, instead compute child signal thread's starting SP from parent
2287 signal thread's current SP and the threadvar_stack variables.
2288 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2289 These are now referenced weakly by _hurdsig_init.
2291 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2292 &_hurd_itimer_thread not &_hurd_msgport_thread.
2294 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
2296 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2297 without HURD_DPORT_USE to clean up warnings.
2298 * hurd/dtable.c (get_dtable_port): Likewise.
2300 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2301 (install_ctty): Do the changing of the cttyid port cell here, inside
2302 the critical section while we holding the dtable lock.
2303 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2304 the port cell and calling rectty_dtable.
2305 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2306 (install_ctty): Use it inside a critical section, with the lock held.
2307 * sysdeps/mach/hurd/setsid.c (__setsid): Use
2308 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2309 after proc_setsid, having held the dtable lock throughout.
2310 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2311 cttyid port for null and bail out early if so. The dtable lock
2312 serializes us after any cttyid change and its associated dtable update.
2314 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
2316 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2317 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
2318 We don't install this file for users.
2319 * sysdeps/mach/hurd/Dist: Add it.
2320 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2321 Append nfs/nfs.h here.
2323 1999-12-01 Andreas Jaeger <aj@suse.de>
2325 * sysdeps/generic/if_index.c (__protocol_available): Add missing
2328 * stdio/stdio.h: Fix typo.
2329 Patches by Marcus G. Daniels <mgd@santafe.edu>.
2331 1999-12-01 Andreas Jaeger <aj@suse.de>
2333 * scripts/test-installation.pl (installation_problem): Filter out
2336 1999-12-01 Andreas Schwab <schwab@suse.de>
2338 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2339 __rlim_t and __rlim64_t.
2340 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2341 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2343 1999-12-01 Andreas Schwab <schwab@suse.de>
2345 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2346 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2347 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2348 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2349 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2350 new kernel version. Add symbol versions.
2351 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2353 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2355 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2358 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2359 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2360 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2361 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2362 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2363 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2364 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2370 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
2372 * sysdeps/generic/usleep.c: Fix typo.
2374 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2376 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2379 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2382 * malloc/set-freeres.c: Really use already_called variable.
2384 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2385 function call directly.
2386 * libio/iosetvbuf.c: Likewise.
2388 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2390 * configure.in: Add AIX 4.3 support.
2392 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
2393 standard was issued in 1992.
2394 Reported by Bruno Haible <haible@ilog.fr>.
2396 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2398 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2401 1999-11-29 Andreas Jaeger <aj@suse.de>
2403 * manual/time.texi (Basic CPU Time): Better describe wrap around.
2404 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2406 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2408 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2409 Patch by Bruno Haible <haible@ilog.fr>.
2411 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2415 1999-11-29 Andreas Schwab <schwab@suse.de>
2417 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2418 __v to __bswap_32_v.
2419 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2420 and __bswap_64_r to avoid clash with __bswap_32 macro.
2422 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
2424 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2427 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
2429 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2430 patch. Use wch instead of idx to compute index.
2431 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2433 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2435 * locale/iso-3166.def: Update from latest official list.
2437 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
2439 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2440 asm/ptrace.h, since this will not be done with 2.3.xx automatically
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2443 1999-11-26 Andreas Jaeger <aj@suse.de>
2445 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2447 1999-11-26 Andreas Jaeger <aj@suse.de>
2449 * inet/rcmd.c: Include stdlib for declaration of free.
2452 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2454 * iconv/gconv.c (__gconv): Always initialize
2455 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2457 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2459 * iconvdata/iso-2022-jp.c: Likewise.
2461 1999-11-25 H.J. Lu <hjl@gnu.org>
2463 * stdlib/exit.c (exit): Run funtions only if
2464 __exit_funcs->idx > 0.
2466 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2468 * manual/charset.texi (iconv Examples): Add iconv call to flush
2469 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2471 1999-11-25 Andreas Jaeger <aj@suse.de>
2473 * manual/install.texi (Running make install): Better describe
2475 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2477 1999-11-25 Andreas Jaeger <aj@suse.de>
2479 * include/sys/mman.h: Remove K&R compatibility.
2481 1999-11-15 Andreas Jaeger <aj@suse.de>
2483 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2486 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2488 * iconv/iconv_prog.c (process_block): For stateful charsets write
2489 out byte sequence to get to initial state at the end of the file.
2491 1999-11-25 Andreas Schwab <schwab@suse.de>
2493 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2494 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2495 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2498 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2500 * manual/setjmp.texi: Many changes to correct bad English introduced
2502 * manual/time.texi: Likewise.
2503 Patches by Neil Booth <neil@rosenet.ne.jp>.
2505 * include/string.h: Remove K&R compatibility.
2507 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2509 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2511 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2513 * string/stratcliff.c: Add one more strchr test for something
2514 which was reported to not work (which proofed to be wrong).
2516 * iconv/skeleton.c: It's __is_last, not is_last.
2518 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2520 (allocate_arrays): Likewise.
2521 (find_idx): Correctly increase array size.
2522 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2524 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2526 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2529 1999-11-23 Andreas Jaeger <aj@suse.de>
2531 * include/sys/select.h: Remove K&R compatibility.
2532 * include/sys/statfs.h: Likewise.
2533 * include/gnu/libc-version.h: Likewise.
2534 * include/db_185.h: Likewise.
2535 * include/dlfcn.h: Likewise.
2536 * include/search.h: Likewise.
2537 * include/setjmp.h: Likewise.
2538 * include/signal.h: Likewise.
2539 * include/stdio.h: Likewise.
2540 * include/unistd.h: Likewise.
2542 1999-11-23 Andreas Jaeger <aj@suse.de>
2544 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2545 is only need in external header files that might be compiled by a
2547 * include/alloca.h: Likewise.
2548 * include/db.h: Likewise.
2549 * include/dirent.h: Likewise.
2550 * include/execinfo.h: Likewise.
2551 * include/fpu_control.h: Likewise.
2552 * include/glob.h: Likewise.
2553 * include/grp.h: Likewise.
2554 * include/libintl.h: Likewise.
2555 * include/math.h: Likewise.
2556 * include/math.h: Likewise.
2557 * include/mntent.h: Likewise.
2558 * include/mntent.h: Likewise.
2559 * include/netdb.h: Likewise.
2560 * include/pwd.h: Likewise.
2561 * include/sched.h: Likewise.
2562 * include/shadow.h: Likewise.
2563 * include/stdlib.h: Likewise.
2564 * include/sys/file.h: Likewise.
2565 * include/sys/gmon.h: Likewise.
2566 * include/sys/ioctl.h: Likewise.
2567 * include/sys/socket.h: Likewise.
2568 * include/sys/stat.h: Likewise.
2569 * include/sys/sysinfo.h: Likewise.
2570 * include/sys/time.h: Likewise.
2571 * include/sys/times.h: Likewise.
2572 * include/sys/uio.h: Likewise.
2573 * include/sys/wait.h: Likewise.
2574 * include/termios.h: Likewise.
2575 * include/time.h: Likewise.
2576 * include/ulimit.h: Likewise.
2577 * include/utmp.h: Likewise.
2578 * include/wchar.h: Likewise.
2580 1999-11-22 Andreas Jaeger <aj@suse.de>
2582 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2583 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
2586 1999-11-22 Jakub Jelinek <jakub@redhat.com>
2588 * sysdeps/generic/siglist.h: Avoid declaring the same field
2589 twice if SIGPWR is defined to SIGLOST.
2590 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2591 not signed, so we should not special case it for negative args.
2592 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2593 memmove, use the one provided in memcpy.S.
2594 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2595 copies like memmove, while the previous version worked like memcpy.
2596 Implement optimized assembly memmove.
2597 * sysdeps/sparc/sparc64/memmove.c: New file.
2599 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2601 * po/cs.po: Update from translators.
2603 1999-11-23 Andreas Jaeger <aj@suse.de>
2605 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2606 (elf_machine_got): Removed, not needed anymore.
2607 (ELF_MACHINE_RELOC_NOPLT): Removed.
2608 (ELF_MACHINE_JMP_SLOT): Added.
2609 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2610 (_RTLD_EPILOGUE): Likewise.
2611 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2612 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2613 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2614 Ralf Baechle <baechle@uni-koblenz.de>.
2616 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2618 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
2620 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2621 name from the locale name. Only use the value in the LC_CTYPE
2624 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2625 file be equal to file size.
2627 * stdlib/longlong.h: Add count_trailing_zeros back.
2629 * stdlib/longlong.h: Update from latest egcs version.
2631 1999-11-22 Andreas Jaeger <aj@suse.de>
2633 * locale/programs/ld-collate.c (insert_value): Correct order of
2634 arguments for lr_error call.
2636 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2637 __syscall_setrlimit.
2639 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2641 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2643 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
2645 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2648 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2649 14652-style definition of new maps and classes.
2651 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
2653 * locale/programs/ld-monetary.c (monetary_finish): Don't print
2654 individual error message if nothing is defined.
2656 * locale/programs/ld-time.c (time_startup): Test for lr being
2659 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2660 decimal_point is not defined.
2662 * wctype/wctrans.c (wctrans): Use correct base index to access
2663 extra mapping tables.
2665 * locale/loadlocale.c (_nl_load_locale): Use actual number of
2666 entries from file and not the fixed (minimal number from the
2669 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2672 1999-11-18 Paul Eggert <eggert@twinsun.com>
2674 * time/strftime.c (my_strftime): Some old compilers object to
2675 '\a', so don't bother optimizing for it.
2677 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2679 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2680 the rlimits structure passed in.
2682 1999-11-19 Andreas Jaeger <aj@suse.de>
2684 * include/sys/resource.h (__setrlimit): Add prototype.
2686 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2688 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2689 entries for rtld_search_dirs[0].
2690 Patch by David Mosberger <davidm@hpl.hp.com>.
2692 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2694 * locale/programs/ld-ctype.c: Don't predefine the character
2695 classes and mappings of ISO 14652.
2697 * locale/programs/ld-ctype.c: Punt if character class definitions
2698 to not consists of tok_bsymbol (for now).
2700 * time/strptime.c (day_of_the_week): Make sure result is never
2702 (strptime_internal): Allow %C without %y.
2704 1999-11-18 Andreas Jaeger <aj@suse.de>
2706 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2709 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2710 of defining *_SUPER_MAGIC.
2711 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2713 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2715 * locale/programs/locale.c: Don't handle LC_ALL together with the
2716 other categories when printing the value.
2717 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2719 * locale/locale.h: Correct comment about LC_ALL.
2721 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2723 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2724 nelems. Correctly compute index for additional character classes.
2725 (ctype_read): Handle charclass and charconv definitions. Also
2726 recognize arbitrary strings as mapping names.
2727 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2728 character era strings.
2729 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2730 and format for wide characters.
2731 * time/strftime.c: Correctly determine era information for wide
2733 * wctype/wctrans.c: Fix after removal of second endianess table.
2734 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2735 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2737 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2738 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2740 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2741 gregset_t, fpregset_t, and NGREG definitions.
2743 * locale/programs/ld-ctype.c: Implement character width information
2746 1999-11-09 Andreas Jaeger <aj@suse.de>
2748 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2750 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2751 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2753 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2755 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2757 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2759 1999-11-07 Andreas Jaeger <aj@suse.de>
2761 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2762 defines from Linux scsi_ioctl.h header.
2764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2766 * sysdeps/unix/sysv/linux/Dist: Likewise.
2768 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2771 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2772 sync with Linux 2.3.26.
2774 1999-11-17 Andreas Jaeger <aj@suse.de>
2776 * shlib-versions: Allow mipsel for libm.
2777 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2779 1999-11-16 Andreas Jaeger <aj@suse.de>
2781 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
2783 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
2785 * locale/programs/ld-ctype.c (set_class_defaults): Set default
2786 value for alpha and alnum correctly.
2788 * locale/programs/ld-address.c (address_output): Fix output of
2791 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
2793 * timezone/asia: Update from tzdata1999j.
2794 * timezone/australasia: Likewise.
2795 * timezone/europe: Likewise.
2796 * timezone/northamerica: Likewise.
2797 * timezone/southamerica: Likewise.
2798 * timezone/zone.tab: Likewise.
2800 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2802 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2803 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2804 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2805 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2806 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2808 1999-11-15 Andreas Jaeger <aj@suse.de>
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2811 __syscall_setrlimit.
2812 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2814 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2816 * scripts/versions.awk: Don't expect to read predecessor versions,
2818 * Versions.def: Remove predecessors. They now get computed.
2820 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2822 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2823 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2825 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2826 * sysdeps/powerpc/stackinfo.h: New file.
2827 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2829 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2831 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2834 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2836 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2837 hurd_directory_name_split.
2838 * Versions.def (libc): Add GLIBC_2.1.3.
2840 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
2842 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2843 to return the location of the null byte written into the string.
2844 (describe_number): Likewise.
2845 (describe_number): Remove assert, not always used with #.
2846 If FLAVOR is null, don't use it.
2847 (describe_number): Take signed argument and print a - if negative.
2848 (_S_msg_report_wait): Report system call number for system calls that
2849 aren't mach_msg. Soup up reporting for mach_msg: If destination port
2850 matches SS->intr_port, bracket port description with [...] to indicate
2851 a Hurd interruptible RPC; if destination port is null, examine the
2852 receive port and report that state; if receive port is also null,
2853 check for timeout and report its value.
2854 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2855 zero iff we managed to examine the stack; take new args RCV_NAME,
2856 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2858 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2859 MACH_PORT_DEAD specially.
2861 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2863 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2864 (__directory_name_split): New function.
2865 * hurd/hurd.h: Declare them.
2866 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2867 __file_name_split, so we ignore trailing slashes properly.
2868 * sysdeps/mach/hurd/rename.c: Likewise.
2870 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
2872 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2873 from current kernel headers.
2875 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2876 SO_PASSCRED defined.
2878 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2880 * locale/C-ctype.c: Fix typo in char class name.
2882 * configure.in: Allow user so specify --enable-kernel=current.
2884 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
2886 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2888 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2890 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2891 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2895 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2897 * intl/locale.alias: Add Estonian entries.
2898 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2900 1999-11-02 Andreas Jaeger <aj@suse.de>
2902 * Versions.def: Add version GLIBC_2.2 for libm.
2903 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2905 * sysdeps/generic/feenablxcpt.c: Stub file.
2906 * sysdeps/generic/fedisblxcpt.c: Stub file.
2907 * sysdeps/generic/fegetexcept.c: Stub file.
2908 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2909 * sysdeps/i386/fpu/feenablxcpt.c: New file.
2910 * sysdeps/i386/fpu/fegetexcept.c: New file.
2911 * math/Makefile (libm-support): Add new files.
2912 * math/Versions: Add new functions with version GLIBC_2.2.
2913 * manual/arith.texi (Control Functions): Document fegetexcept,
2914 feenableexcept and fedisableexcept.
2916 1999-11-01 Wolfram Gloger <wg@malloc.de>
2918 * malloc/malloc.h: Describe __malloc_initialize_hook.
2919 * manual/memory.texi: Document __malloc_initialize_hook.
2921 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
2923 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2925 1999-11-09 Andreas Jaeger <aj@suse.de>
2927 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2928 implementation for ttyname_r call; fix inverted condition; return
2930 Closes PR libc/1438.
2932 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2934 * math/fenv.h: Include bits/fenvinline.h if optimizing.
2935 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
2936 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
2937 * sysdeps/generic/bits/fenv.h: New file.
2939 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2941 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2944 1999-11-10 Andreas Jaeger <aj@suse.de>
2946 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2948 1999-11-10 Andreas Jaeger <aj@suse.de>
2950 * string/strsignal.c (strsignal): Correct check for snprintf
2952 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2954 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2955 according to changed snprintf return value.
2956 Reported by Lawrence K. Chen <lchen@opentext.com>.
2958 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2959 for ecvt_r and fcvt_r.
2961 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2963 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2964 directory with the reference since this is as secure as using the
2965 object with the dependency.
2966 (_dl_dst_substitute): Likewise.
2968 * elf/dl-load.c (_dl_dst_count): Change strings in first two
2969 strncmp calls to allow reuse.
2970 (_dl_dst_substitute): Likewise.
2972 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
2974 * posix/regex.c (init_syntax_once): move below definition of
2975 ISALNUM etc., then use ISALNUM to init the table, so that
2976 the word ops will work if i18n'ed.
2977 (SYNTAX): And subscript with 0xFF for 8bit character sets.
2979 1999-11-09 Andreas Jaeger <aj@suse.de>
2981 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2982 implementation for ttyname_r call; fix inverted condition; return
2983 ut_user. Closes PR libc/1438.
2985 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2987 * timezone/checktab.awk: Update from tzcode1999h.
2988 * timezone/africa: Update from tzdata1999i.
2989 * timezone/asia: Likewise.
2990 * timezone/australasia: Likewise.
2991 * timezone/backward: Likewise.
2992 * timezone/europe: Likewise.
2993 * timezone/northamerica: Likewise.
2994 * timezone/southamerica: Likewise.
2995 * timezone/iso3166.tab: Likewise.
2996 * timezone/zone.tab: Likewise.
2998 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2999 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3001 1999-11-09 Andreas Jaeger <aj@suse.de>
3003 * posix/Makefile (tests): Added tst-getlogin.
3005 * posix/tst-getlogin.c: New file, contains simple tests for
3006 getlogin and getlogin_r.
3008 1999-11-09 Andreas Schwab <schwab@suse.de>
3010 * misc/syslog.c: For LOG_PERROR only append a newline if
3013 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3015 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3018 1999-11-08 Andreas Jaeger <aj@suse.de>
3020 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3021 this fixes a memory leak (closes PR libc/1435).
3023 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3024 reflect memory allocation.
3026 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3027 allocation in _nl_explode_name.
3029 1999-11-06 Andreas Jaeger <aj@suse.de>
3031 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3033 Reported by wes@surety.com, closes PR libc/1432.
3035 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3037 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3038 enumerator lists (-pedantic complains).
3039 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3040 test for 'one bit set'.
3041 (feclearexcept): Likewise.
3043 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3045 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3047 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3049 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3052 1999-10-04 Tim Waugh <twaugh@redhat.com>
3054 * posix/wordexp-test.c: More tests.
3056 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3058 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3060 * locale/programs/linereader.c (get_string): Correct type of buf2
3062 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3063 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3064 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3065 _NL_CTYPE_OUTDIGIT*_WC.
3066 (allocate_arrays): Completely initialize mapping tables.
3067 * locale/programs/ld-time.c (time_startup): We need the wide car
3069 (time_finish): Correct handling of era.
3070 (time_output): Fix a few array indeces.
3071 (time_read): Pass the repertoire map to lr_token.
3073 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3075 * Versions.def: Add version for libthread_db.
3077 1999-11-02 Andreas Jaeger <aj@suse.de>
3079 * manual/header.texi (Library Summary): The command @indexfonts
3080 doesn't exist anymore, use @smallfonts instead.
3082 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3084 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3085 instead of duplicating definitions.
3087 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3089 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3091 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3092 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3093 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3094 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3095 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3097 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3099 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3101 * sysdeps/unix/sysv/linux/kernel-features.h
3102 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3103 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3105 * manual/texinfo.tex: Updated.
3107 1999-11-01 Andreas Jaeger <aj@suse.de>
3109 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3111 * inet/gethstbynm2_r.c: Reorder addresses.
3113 1999-09-11 Paul Eggert <eggert@twinsun.com>
3115 * posix/glob.h (glob): If #defining to glob64, do this before
3116 declaring it, so that all declarations and uses match, and do not
3117 declare glob64, to avoid a declaration clash.
3118 (globfree): Likewise with globfree64.
3120 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3122 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3123 Keep the trailing slash unless DIRNAME is just "x:/".
3125 1999-10-11 Andreas Jaeger <aj@suse.de>
3127 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3128 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3129 Closes PR libc/1384.
3131 1999-10-20 Andreas Schwab <schwab@suse.de>
3133 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3134 (generated): Add it here.
3135 (before-compile): Add libm-test.c.
3136 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3138 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3141 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3143 * Makefile (pdf): New goal.
3144 * manual/Makefile: Add definitions and rules for PDF generation.
3146 * Versions.def (libm): Add GLIBC_2.1.3.
3148 ISO C99 TR1 changes various fe* functions to return an error value.
3149 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3150 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3151 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3152 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3153 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3154 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3155 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3156 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3157 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3158 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3159 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3160 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3161 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3162 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3163 * sysdeps/generic/fclrexcpt.c: Likewise.
3164 * sysdeps/generic/fegetenv.c: Likewise.
3165 * sysdeps/generic/fesetenv.c: Likewise.
3166 * sysdeps/generic/feupdateenv.c: Likewise.
3167 * sysdeps/generic/fgetexcptflg.c: Likewise.
3168 * sysdeps/generic/fraiseexcpt.c: Likewise.
3169 * sysdeps/generic/fsetexcptflg.c: Likewise.
3170 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3171 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3172 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3173 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3174 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3175 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3176 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3177 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3178 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3179 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3180 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3181 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3182 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3183 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3184 * sysdeps/mips/fclrexcpt.c: Likewise.
3185 * sysdeps/mips/fegetenv.c: Likewise.
3186 * sysdeps/mips/fesetenv.c: Likewise.
3187 * sysdeps/mips/feupdateenv.c: Likewise.
3188 * sysdeps/mips/fgetexcptflg.c: Likewise.
3189 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3190 * sysdeps/powerpc/fegetenv.c: Likewise.
3191 * sysdeps/powerpc/fesetenv.c: Likewise.
3192 * sysdeps/powerpc/feupdateenv.c: Likewise.
3193 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3194 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3195 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3196 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3197 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3198 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3199 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3200 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3201 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3202 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3203 * math/fenv.h: Adjust prototypes.: Likewise.
3204 * manual/arith.texi: Adjust documentation for these changes.
3206 * manual/arith.texi: Document feraiseexcept.
3208 * sysdeps/powerpc/fegetenv.c: Moved to...
3209 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3210 * sysdeps/powerpc/fegetround.c: Moved to...
3211 * sysdeps/powerpc/fpu/fegetround.c: ...here.
3212 * sysdeps/powerpc/feholdexcpt.c: Moved to...
3213 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3214 * sysdeps/powerpc/fesetenv.c: Moved to...
3215 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3216 * sysdeps/powerpc/fenv_libc.h: Moved to...
3217 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3218 * sysdeps/powerpc/feupdateenv.c: Moved to...
3219 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3220 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3221 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3222 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3223 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3224 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3225 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3226 * sysdeps/powerpc/ftestexcept.c: Moved to...
3227 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3228 * sysdeps/powerpc/fesetround.c: Moved to...
3229 * sysdeps/powerpc/fpu/fesetround.c: ...here
3230 * sysdeps/powerpc/fenv_const.c: Moved to...
3231 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3233 * sysdeps/mips/fclrexcpt.c: Moved to...
3234 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3235 * sysdeps/mips/fegetenv.c: Moved to...
3236 * sysdeps/mips/fpu/fegetenv.c: ...here.
3237 * sysdeps/mips/fegetround.c: Moved to...
3238 * sysdeps/mips/fpu/fegetround.c: ...here.
3239 * sysdeps/mips/fesetenv.c: Moved to...
3240 * sysdeps/mips/fpu/fesetenv.c: ...here.
3241 * sysdeps/mips/fesetround.c: Moved to...
3242 * sysdeps/mips/fpu/fesetround.c: ...here.
3243 * sysdeps/mips/feupdateenv.c: Moved to...
3244 * sysdeps/mips/fpu/feupdateenv.c: ...here.
3245 * sysdeps/mips/fgetexcptflg.c: Moved to...
3246 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3247 * sysdeps/mips/ftestexcept.c: Moved to...
3248 * sysdeps/mips/fpu/ftestexcept.c: ...here.
3250 1999-10-29 Jakub Jelinek <jakub@redhat.com>
3252 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3253 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3254 libraries from statically linked programs.
3255 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3256 fix for sigaction on SPARC.
3257 Patches by David S. Miller <davem@redhat.com>.
3259 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3260 gregset_t and other required structures and defines for SPARC 64bit
3261 ABI as well, not only 32bit ABI.
3263 1999-10-31 Andreas Jaeger <aj@suse.de>
3265 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3266 by __USE_ISOC99 and update comments.
3268 * math/complex.h: Update comments for ISO C99.
3269 * math/fenv.h: Likewise.
3270 * math/test-fenv.c: Likewise.
3271 * math/tgmath.h: Likewise.
3272 * libio/stdio.h: Likewise.
3273 * posix/sys/types.h: Likewise.
3274 * sysdeps/generic/inttypes.h: Likewise.
3275 * sysdeps/generic/stdint.h: Likewise.
3277 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3279 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3281 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3282 recognize _ISOC99_SOURCE.
3283 * libio/stdio.h: Likewise.
3284 * math/math.h: Likewise.
3285 * math/bits/mathcalls.h: Likewise.
3286 * math/stdio.h: Likewise.
3287 * stdlib/stdlib.h: Likewise.
3288 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3289 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3290 * sysdeps/arm/bits/huge_val.h: Likewise.
3291 * sysdeps/generic/bits/mathdef.h: Likewise.
3292 * sysdeps/i386/bits/huge_val.h: Likewise.
3293 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3294 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3295 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3296 * sysdeps/m68k/bits/huge_val.h: Likewise.
3297 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3298 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3299 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3300 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3301 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3302 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3303 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3304 * wcsmbs/wchar.h: Likewise.
3306 * sysdeps/powerpc/bits/mathdef.h: Moved to...
3307 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3308 * sysdeps/powerpc/bits/mathinline.h: Moved to...
3309 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3310 * sysdeps/powerpc/bits/fenv.h: Moved to...
3311 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3313 1999-10-31 Andreas Jaeger <aj@suse.de>
3315 * manual/math.texi (Errors in Math Functions): Correct TeX code.
3317 1999-10-31 Andreas Jaeger <aj@suse.de>
3319 * math/libm-test.inc: Change comments to use ISO C99 instead of
3321 * math/w_lgamma.c: Likewise.
3322 * math/w_lgammaf.c: Likewise.
3323 * math/w_lgammal.c: Likewise.
3324 * math/test-fenv.c: Likewise.
3325 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3327 * sysdeps/generic/printf_fphex.c: Likewise.
3329 1999-10-31 Andreas Jaeger <aj@suse.de>
3331 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3333 * manual/math.texi: Change ISO C9x to ISO C99.
3334 * manual/startup.texi: Likewise.
3335 * manual/stdio.texi: Likewise.
3337 1999-10-31 Andreas Jaeger <aj@suse.de>
3339 * manual/arith.texi: Change ISO C9x to ISO C99.
3340 * manual/time.texi (Low-Level Time String Parsing): Likewise.
3342 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
3344 * socket/Makefile (distribute): Add ifreq.h.
3346 * manual/time.texi (Formatting Date and Time): Revise comments about
3347 origins of the formats with ISO C99 references.
3349 1999-10-30 Andreas Jaeger <aj@suse.de>
3351 * sysdeps/unix/sysv/linux/ifreq.h: New file.
3353 1999-10-29 Andreas Jaeger <aj@suse.de>
3355 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3356 input format; mention that strtof and strtold are part of ISO C99.
3358 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3360 * manual/math.texi (Errors in Math Functions): New section.
3361 * math/libm-err-tab.pl: Moved to...
3362 * manual/libm-err-tab.pl: ...here.
3363 * manual/Makefile: Add rules for math function error table generation.
3365 * stdlib/tst-strtod.c: Add more hexadecimal tests.
3367 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3368 != 1 correctly and more than one digit before decimal point..
3370 1999-10-27 Andreas Jaeger <aj@suse.de>
3372 * sysdeps/generic/ifreq.h: New file.
3374 * resolv/res_hconf.c: Add missing includes to get all prototypes.
3375 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
3376 Reported by John DiMarco <jdd@cs.toronto.edu>.
3378 (_res_hconf_reorder_addrs): Made thread safe.
3379 (free_mem): New function, needed for malloc debugging.
3381 1999-10-29 Andreas Jaeger <aj@suse.de>
3383 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3384 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3385 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3386 opensock to use __opensock.
3388 * socket/Makefile (routines): Add opensock.
3390 * include/sys/socket.h (__opensock): Add prototype declaration.
3392 1999-10-29 Andreas Jaeger <aj@suse.de>
3394 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3396 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3398 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3399 new constant from Linux 2.3.25pre1.
3401 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3403 1999-10-29 Andreas Jaeger <aj@suse.de>
3405 * math/libm-err-tab.pl: New file to generate a table of
3406 libm-test-ulps values.
3408 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3411 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3412 struct sigcontext* object as second parameter for profil_counter.
3413 Patches by Jakub Jelinek <jakub@redhat.com>.
3415 1999-10-29 Andreas Jaeger <aj@suse.de>
3417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3418 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3420 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3421 efs, qnx4 and reiser file systems.
3423 1999-10-29 Andreas Jaeger <aj@suse.de>
3425 * locale/Makefile (others): Set to localedef and locale for make
3428 * debug/Makefile (generated): Add xtrace for make clean to work.
3430 1999-10-29 Andreas Jaeger <aj@suse.de>
3432 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3434 1999-10-25 Andreas Jaeger <aj@suse.de>
3436 * math/libm-test.inc: Added code to ignore the given max ulps.
3437 (print_max_error): Check for ignore_max_ulp.
3438 (check_float_internal): Likewise.
3439 (parse_opt): Parse --ignore-max-ulp.
3440 (main): Initialize ignore_max_ulp.
3442 1999-10-26 Andreas Jaeger <aj@suse.de>
3444 * stdlib/msort.c: Include <alloca.h> for prototype.
3445 Remove K&R compatibility and _quicksort prototype.
3447 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3449 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3450 Remove K&R compatibility.
3451 Move prototype declaration to include/stdlib.h.
3452 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3454 * include/stdlib.h: Prototype declaration for _quicksort.
3456 1999-10-27 Andreas Jaeger <aj@suse.de>
3458 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3459 shifted a bit too much.
3460 Reported by Eugen Dedu <dedu@ese-metz.fr>.
3462 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3464 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3465 buflen. Patch by Olaf Kirch <okir@lst.de>.
3467 * md5-crypt/md5test.c: Correct names of MD5 functions after
3468 removing of public names.
3470 * configure.in: Don't allow --enable-kernel without parameter.
3472 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3474 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3477 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3479 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3480 only used internally.
3481 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3482 remove weak alias for public names.
3483 * md5-crypt/md5.c: Remove weak aliase.
3485 1999-10-25 Andreas Jaeger <aj@suse.de>
3487 * math/README.libm-test: New file, documents libm-test.inc.
3489 1999-10-25 Andreas Jaeger <aj@suse.de>
3491 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3493 (print_ulps_file): Fix loops to not read @tests and @functions
3494 since those are not initialized with -n now.
3495 (parse_ulps): Set $results{..}{"kind"}.
3497 1999-10-25 Andreas Jaeger <aj@suse.de>
3499 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3501 * math/libm-test.inc (check_float_internal): Don't print ulps for
3504 1999-10-20 Andreas Jaeger <aj@suse.de>
3506 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3508 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3510 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3512 * math/libm-test.inc: Disable some boundary case tests for inline
3515 * math/math.h: Pretty printing.
3517 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3518 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3519 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3520 * sysdeps/i386/fpu/e_log10.S: Likewise.
3521 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3522 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3523 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3524 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3525 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3526 * sysdeps/i386/fpu/s_log2.S: Likewise.
3527 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3528 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3530 * sysdeps/i386/fpu/libm-test-ulps: New file.
3532 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3534 (pow): Correct case x == 0.
3535 (__sgn1l): Correct handling of -0.0.
3537 1999-10-22 Andreas Jaeger <aj@suse.de>
3539 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3540 (atan_test): Likewise.
3541 (atanh_test): Likewise.
3542 (atan2_test): Likewise.
3543 (carg_test): Likewise.
3544 (ceil_test): Likewise.
3545 (cos_test): Likewise.
3546 (cosh_test): Likewise.
3547 (cpow_test): Likewise.
3548 (erf_test): Likewise.
3549 (erfc_test): Likewise.
3550 (exp_test): Likewise.
3551 (exp10_test): Likewise.
3552 (exp2_test): Likewise.
3553 (expm1_test): Likewise.
3554 (fabs_test): Likewise.
3555 (floor_test): Likewise.
3556 (fmod_test): Likewise.
3557 (gamma_test): Likewise.
3558 (lgamma_test): Likewise.
3559 (log10_test): Likewise.
3560 (log1p_test): Likewise.
3561 (log2_test): Likewise.
3562 (logb_test): Likewise.
3563 (nearbyint_test): Likewise.
3564 (remainder_test): Likewise.
3565 (remquo_test): Likewise.
3566 (sin_test): Likewise.
3567 (sincos_test): Likewise.
3568 (sinh_test): Likewise.
3569 (sqrt_test): Likewise.
3570 (tan_test): Likewise.
3571 (tanh_test): Likewise.
3572 (tgamma_test): Likewise.
3574 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
3576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3580 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3581 for -Inf and return NaN.
3583 * configure.in: Correct test for Cygnus gcc versions.
3585 1999-10-21 Andreas Jaeger <aj@suse.de>
3587 * math/libm-test.inc (cimag_test): New function, tests cimag.
3588 (creal_test): New function, tests creal.
3589 (conj_test): New function, tests conj.
3590 (main): Add new functions.
3592 1999-10-20 Andreas Jaeger <aj@suse.de>
3594 * math/libm-test.inc: Rewrite to allow different deltas for real
3595 and imaginary part of complex functions.
3596 * math/gen-libm-test.pl: Likewise.
3598 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
3600 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3605 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3606 for -Inf and return NaN.
3608 * math/gen-libm-test.pl: Fix program name in help message.
3610 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3612 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3614 * sysdeps/i386/Implies: Correct order of libm directories.
3616 1999-10-19 Andreas Jaeger <aj@suse.de>
3618 * include/bits/ipc.h: Remove K&R compatibility.
3619 * include/libintl.h: Likewise.
3620 * include/math.h: Likewise.
3621 * include/mntent.h: Likewise
3622 * include/netdb.h: Likewise.
3623 * include/pwd.h: Likewise.
3624 * include/sched.h: Likewise.
3625 * include/shadow.h: Likewise
3626 * include/stdlib.h: Likewise.
3627 * include/sys/file.h: Likewise.
3628 * include/sys/gmon.h: Likewise.
3629 * include/sys/ioctl.h: Likewise.
3630 * include/sys/mman.h: Likewise.
3631 * include/sys/resource.h: Likewise.
3632 * include/sys/socket.h: Likewise.
3633 * include/sys/stat.h: Likewise.
3634 * include/sys/sysinfo.h: Likewise.
3635 * include/sys/time.h: Likewise.
3636 * include/sys/times.h: Likewise.
3637 * include/sys/uio.h: Likewise.
3638 * include/sys/wait.h: Likewise.
3639 * include/termios.h: Likewise.
3640 * include/time.h: Likewise.
3641 * include/ulimit.h: Likewise.
3642 * include/utmp.h: Likewise.
3643 * include/wchar.h: Likewise.
3644 * include/wctype.h: Likewise.
3646 1999-10-19 Andreas Jaeger <aj@suse.de>
3648 * math/libm-test.inc: Remove one K&R compatibility.
3649 (main): Enable nexttoward_test.
3651 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3652 libm-test-ulps.h; pretty print output a bit.
3654 1999-10-19 Andreas Jaeger <aj@suse.de>
3656 * iconv/iconv_prog.c (main): Set exit value in case that reading
3657 from stdin failed [PR libc/1404].
3659 1999-10-18 Andreas Jaeger <aj@suse.de>
3661 Added improved math testsuite:
3662 * math/libm-test.inc: New file, contains all tests from
3663 libm-test.c but in a different form.
3664 * math/libm-test.c: Removed.
3665 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3666 * math/gen-libm-test.pl: New file: Preprocessor.
3667 * math/test-double.c: Adopted to new testsuite.
3668 * math/test-idouble.c: Likewise.
3669 * math/test-float.c: Likewise.
3670 * math/test-ifloat.c: Likewise.
3671 * math/test-ldouble.c: Likewise.
3672 * math/test-ildoubl.c: Likewise.
3673 * math/Makefile: Added rules to generate new suite.
3675 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3677 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3678 Patch by J. Richard Sladkey <jrs@world.std.com>.
3680 * scripts/config.sub: Update from latest autoconf version.
3681 * scripts/config.guess: Likewise.
3683 1999-10-18 Andreas Jaeger <aj@suse.de>
3685 * inet/arpa/inet.h: Remove K&R compatibility.
3686 * math/fenv.h: Likewise.
3688 1999-10-18 Andreas Jaeger <aj@suse.de>
3690 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3691 kernel_sigaction): Remove K&R compatibility.
3692 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3693 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3694 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3695 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3696 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3697 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3698 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3699 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3700 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3701 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3702 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3703 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3704 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3705 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3706 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3707 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3708 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3710 1999-10-18 Andreas Jaeger <aj@suse.de>
3712 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3713 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3715 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3717 * po/gl.po: New file.
3719 1999-10-18 Andreas Schwab <schwab@suse.de>
3721 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3722 namespace selection.
3724 1999-10-18 Andreas Schwab <schwab@suse.de>
3726 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3727 clash with the TERM environment variable.
3729 1999-10-18 Andreas Jaeger <aj@suse.de>
3731 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3732 returns now NaN + i NaN.
3733 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3734 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3736 1999-10-18 Andreas Jaeger <aj@suse.de>
3738 * include/aio.h: Remove K&R compatiblity.
3739 * include/alloca.h: Likewise.
3740 * include/db.h: Likewise.
3741 * include/dirent.h: Likewise.
3742 * include/fcntl.h: Likewise.
3743 * include/fpu_control.h: Likewise.
3744 * include/glob.h: Likewise.
3745 * include/grp.h: Likewise.
3746 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3747 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3748 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3749 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3751 * include/execinfo.h: Add __THROW.
3753 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3755 * sysdeps/mips/Implies: Remove wordsize-32 reference.
3756 * sysdeps/mips/mips3/Implies: Add it here.
3758 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
3760 * elf/elf.h: Add various platform and architecture extensions.
3762 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3763 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3766 * socket/sys/socket.h: Remove K&R compatibility.
3768 1999-10-16 Andreas Jaeger <aj@suse.de>
3770 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3772 1999-10-15 Andreas Jaeger <aj@suse.de>
3774 * stdlib/Makefile (tests): Added tst-xpg-basename.
3776 * stdlib/tst-xpg-basename.c: New test file.
3778 1999-10-14 Cristian Gafton <gafton@redhat.com>
3780 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3782 1999-10-14 Andreas Jaeger <aj@suse.de>
3784 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
3785 endian version works for both endiannesses.
3787 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3790 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3792 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3793 register names unconditionally, only if __USE_GNU.
3795 * debug/Makefile: Fix rules to generate pcprofiledump.
3797 * include/ucontext.h: New file.
3799 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3801 1999-10-12 Andreas Jaeger <aj@suse.de>
3803 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3805 * math/basic-test.c: Fix typo.
3807 * locale/programs/xstrdup.c: Include string.h for glibc
3808 compilation to get string prototypes.
3810 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3811 gregset_t and fpregset_t.
3813 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3814 warnings. Correct value for x == 0.
3816 * argp/argp-help.c: Remove broken definition of flockfile and
3819 1999-10-12 Andreas Schwab <schwab@suse.de>
3821 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3822 generic Linux version.
3824 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3826 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3828 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3830 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3831 and fpregset_t definitions.
3833 * malloc/memprof.c (GETSP): Define for PowerPC.
3834 (GETTIME): Fix generic version.
3836 1999-10-10 Philip Blundell <philb@gnu.org>
3838 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3841 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3843 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3844 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3848 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3850 * sysdeps/powerpc/e_sqrt.c: Moved to...
3851 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3852 * sysdeps/powerpc/e_sqrtf.c: Moved to...
3853 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3855 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3856 * sysdeps/powerpc/sub_n.S: Likewise.
3857 * sysdeps/powerpc/strlen.S: Likewise.
3858 * sysdeps/powerpc/strcpy.S: Likewise.
3859 * sysdeps/powerpc/strcmp.S: Likewise.
3860 * sysdeps/powerpc/strchr.S: Likewise.
3861 * sysdeps/powerpc/stpcpy.S: Likewise.
3862 * sysdeps/powerpc/setjmp.S: Likewise.
3863 * sysdeps/powerpc/rshift.S: Likewise.
3864 * sysdeps/powerpc/ppc-mcount.S: Likewise.
3865 * sysdeps/powerpc/mul_1.S: Likewise.
3866 * sysdeps/powerpc/memset.S: Likewise.
3867 * sysdeps/powerpc/lshift.S: Likewise.
3868 * sysdeps/powerpc/dl-start.S: Likewise.
3869 * sysdeps/powerpc/bzero.S: Likewise.
3870 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3871 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3872 * sysdeps/powerpc/addmul_1.S: Likewise.
3873 * sysdeps/powerpc/add_n.S: Likewise.
3874 * sysdeps/powerpc/__longjmp.S: Likewise.
3875 * sysdeps/powerpc/elf/start.S: Likewise.
3877 1999-10-11 Cristian Gafton <gafton@redhat.com>
3879 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3882 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
3884 * stdlib/atexit.c (initial): New variable. Use to initialize
3886 * stdlib/exit.c (exit): Beware to not free statically allocated
3887 list element [PR libc/1305].
3889 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3890 slash before the basename [PR libc/1383].
3892 * argp/argp.h: Fix typo in last patch.
3894 * sysdeps/powerpc/sysdep.h: New file.
3895 * sysdeps/unix/powerpc/sysdep.h: New file.
3896 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3897 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3898 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3899 instead of bare numbers.
3900 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3901 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3902 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3904 * sysdeps/hppa/sysdep.h: New file.
3906 1999-10-10 Andreas Jaeger <aj@suse.de>
3908 * misc/sgtty.h: Fix typo in last patch.
3910 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
3912 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3913 * sysdeps/powerpc/s_copysign.S: Move to...
3914 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
3915 * sysdeps/powerpc/s_copysignf.S: Move to...
3916 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3917 * sysdeps/powerpc/s_fabs.S: Move to...
3918 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
3919 * sysdeps/powerpc/s_fabsf.S: Move to...
3920 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3921 * sysdeps/powerpc/s_fdim.c: Move to...
3922 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3923 * sysdeps/powerpc/s_fdimf.c: Move to...
3924 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3925 * sysdeps/powerpc/s_fmax.S: Move to...
3926 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
3927 * sysdeps/powerpc/s_fmaxf.S: Move to...
3928 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3929 * sysdeps/powerpc/s_fmin.S: Move to...
3930 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
3931 * sysdeps/powerpc/s_fminf.S: Move to...
3932 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3933 * sysdeps/powerpc/s_isnan.S: Move to...
3934 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3935 * sysdeps/powerpc/s_isnanf.S: Move to...
3936 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3937 * sysdeps/powerpc/s_llrint.c: Move to...
3938 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3939 * sysdeps/powerpc/s_llrintf.c: Move to...
3940 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3941 * sysdeps/powerpc/s_llround.c: Move to...
3942 * sysdeps/powerpc/fpu/s_llround.c: ...here.
3943 * sysdeps/powerpc/s_llroundf.c: Move to...
3944 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3945 * sysdeps/powerpc/s_lrint.c: Move to...
3946 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3947 * sysdeps/powerpc/s_lrintf.S: Move to...
3948 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3949 * sysdeps/powerpc/s_lround.c: Move to...
3950 * sysdeps/powerpc/fpu/s_lround.c: ...here.
3951 * sysdeps/powerpc/s_lroundf.c: Move to...
3952 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3953 * sysdeps/powerpc/s_rint.c: Move to...
3954 * sysdeps/powerpc/fpu/s_rint.c: ...here.
3955 * sysdeps/powerpc/s_rintf.c: Move to...
3956 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3957 * sysdeps/powerpc/t_sqrt.c: Move to...
3958 * sysdeps/powerpc/fpu/t_sqrt: ...here.
3959 * sysdeps/powerpc/w_sqrt.c: Move to...
3960 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3961 * sysdeps/powerpc/w_sqrtf.c: Move to...
3962 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3963 * configure.in: Support platforms which have no .text pseudo-op.
3964 Patches partly by Jimi X <jimix@pobox.com>.
3966 * Makeconfig: Look also in all subdirs for shlib-versions files.
3968 * malloc/memprof.sh: Fix --help string a bit.
3970 * argp/argp.h: Remove K&R compatiblity.
3971 * assert/assert.h: Likewise.
3972 * catgets/nl_types.h: Likewise.
3973 * ctype/ctype.h: Likewise.
3974 * db/db.h: Likewise.
3975 * db/ndbm.h: Likewise.
3976 * db2/db.h: Likewise.
3977 * db2/db_185.h: Likewise.
3978 * debug/execinfo.h: Likewise.
3979 * dirent/dirent.h: Likewise.
3980 * dlfcn/dlfcn.h: Likewise.
3981 * gmon/sys/gmon.h: Likewise.
3982 * grp/grp.h: Likewise.
3983 * iconv/gconv.h: Likewise.
3984 * iconv/iconv.h: Likewise.
3985 * include/execinfo.h: Likewise.
3986 * inet/aliases.h: Likewise.
3987 * inet/netinet/ether.h: Likewise.
3988 * inet/netinet/in.h: Likewise.
3989 * intl/libintl.h: Likewise.
3990 * io/fcntl.h: Likewise.
3991 * io/fts.h: Likewise.
3992 * io/ftw.h: Likewise.
3993 * io/utime.h: Likewise.
3994 * io/sys/poll.h: Likewise.
3995 * io/sys/stat.h: Likewise.
3996 * io/sys/statfs.h: Likewise.
3997 * io/sys/statvfs.h: Likewise.
3998 * libio/libio.h: Likewise.
3999 * libio/stdio.h: Likewise.
4000 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4001 * locale/locale.h: Likewise.
4002 * login/pty.h: Likewise.
4003 * login/utmp.h: Likewise.
4004 * malloc/mcheck.h: Likewise.
4005 * math/complex.h: Likewise.
4006 * math/math.h: Likewise.
4007 * math/math_private.h: Likewise.
4008 * misc/err.h: Likewise.
4009 * misc/fstab.h: Likewise.
4010 * misc/libgen.h: Likewise.
4011 * misc/mntent.h: Likewise.
4012 * misc/regexp.h: Likewise.
4013 * misc/search.h: Likewise.
4014 * misc/sgtty.h: Likewise.
4015 * misc/ttyent.h: Likewise.
4016 * misc/sys/cdefs.h: Likewise.
4017 * misc/sys/file.h: Likewise.
4018 * misc/sys/ioctl.h: Likewise.
4019 * misc/sys/mman.h: Likewise.
4020 * misc/sys/select.h: Likewise.
4021 * misc/sys/syslog.h: Likewise.
4022 * misc/sys/uio.h: Likewise.
4023 * misc/sys/ustat.h: Likewise.
4024 * nss/nss.h: Likewise.
4025 * posix/sched.h: Likewise.
4026 * posix/unistd.h: Likewise.
4027 * posix/wordexp.h: Likewise.
4028 * posix/sys/times.h: Likewise.
4029 * posix/sys/utsname.h: Likewise.
4030 * posix/sys/wait.h: Likewise.
4031 * pwd/pwd.h: Likewise.
4032 * resolv/netdb.h: Likewise.
4033 * resolv/resolv.h: Likewise.
4034 * resource/ulimit.h: Likewise.
4035 * resource/sys/resource.h: Likewise.
4036 * resource/sys/vlimit.h: Likewise.
4037 * resource/sys/vtimes.h: Likewise.
4038 * rt/aio.h: Likewise.
4039 * setjmp/setjmp.h: Likewise.
4040 * shadow/shadow.h: Likewise.
4041 * signal/signal.h: Likewise.
4042 * socket/socket.h: Likewise.
4043 * stdio/stdio.h: Likewise.
4044 * stdio-common/_itoa.h: Likewise.
4045 * stdio-common/_itowa.h: Likewise.
4046 * stdio-common/printf.h: Likewise.
4047 * stdlib/alloca.h: Likewise.
4048 * stdlib/fmtmsg.h: Likewise.
4049 * stdlib/monetary.h: Likewise.
4050 * stdlib/stdlib.h: Likewise.
4051 * stdlib/ucontext.h: Likewise.
4052 * streams/stropts.h: Likewise.
4053 * string/argz.h: Likewise.
4054 * string/envz.h: Likewise.
4055 * string/string.h: Likewise.
4056 * string/strings.h: Likewise.
4057 * string/bits/string2.h: Likewise.
4058 * sunrpc/rpc/auth.h: Likewise.
4059 * sunrpc/rpc/auth_des.h: Likewise.
4060 * sunrpc/rpc/auth_unix.h: Likewise.
4061 * sunrpc/rpc/clnt.h: Likewise.
4062 * sunrpc/rpc/des_crypt.h: Likewise.
4063 * sunrpc/rpc/netdb.h: Likewise.
4064 * sunrpc/rpc/pmap_clnt.h: Likewise.
4065 * sunrpc/rpc/pmap_prot.h: Likewise.
4066 * sunrpc/rpc/pmap_rmt.h: Likewise.
4067 * sunrpc/rpc/rpc_msg.h: Likewise.
4068 * sunrpc/rpc/svc.h: Likewise.
4069 * sunrpc/rpc/svc_auth.h: Likewise.
4070 * sunrpc/rpc/xdr.h: Likewise.
4071 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4072 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4073 * sysvipc/sys/ipc.h: Likewise.
4074 * sysvipc/sys/msg.h: Likewise.
4075 * sysvipc/sys/sem.h: Likewise.
4076 * sysvipc/sys/shm.h: Likewise.
4077 * termios/termios.h: Likewise.
4078 * time/time.h: Likewise.
4079 * time/sys/time.h: Likewise.
4080 * time/sys/timeb.h: Likewise.
4081 * wcsmbs/wchar.h: Likewise.
4082 * wctype/wctype.h: Likewise.
4084 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4086 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4087 _GNU_SOURCE be defined.
4089 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4091 * ctype/ctype.h: Pretty print.
4093 * po/cs.po: Fix typos.
4095 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4096 handling of empty entries. [PR libc/1345]
4097 Patch by Thorsten Kukuk <kukuk@suse.de>.
4099 1999-10-08 Andreas Schwab <schwab@suse.de>
4101 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4103 1999-10-08 Andreas Schwab <schwab@suse.de>
4105 * debug/pcprofiledump.c: Fix typos.
4107 1999-10-07 Andreas Jaeger <aj@suse.de>
4109 * math/Makefile (tests): Added basic-tests.
4111 * math/basic-test.c: New file. Contains function basic_tests from
4114 1999-10-07 Andreas Schwab <schwab@suse.de>
4116 * malloc/memprof.sh: Fix quoting bugs.
4118 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4120 * timezone/europe: Update from tzdata1999h.
4122 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4124 * elf/elf.h: Update from last gABI draft.
4126 * elf/elf.h: Remove EM_486 entry.
4127 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4130 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4132 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4133 Add rules for both programs.
4134 * debug/pcprofiledump.c: New file.
4135 * debug/xtrace.sh: New file.
4136 * debug/pcprofile.c: Allow creating output file. Add magic signature
4137 to let reader recognize file format.
4139 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4141 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4143 1999-10-05 Andreas Jaeger <aj@suse.de>
4145 * locale/programs/ld-identification.c: Fix typo in comment.
4146 * locale/programs/ld-messages.c: Likewise.
4147 * locale/programs/ld-monetary.c: Likewise.
4148 * locale/programs/ld-name.c: Likewise.
4150 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4151 (collate_read): Remove unnecessary comparisons with ignore_content.
4153 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4155 (ctype_read): Remove unnecessary comparisons with ignore_content.
4156 Fix typos in comments.
4158 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4159 comparisons with ignore_content.
4161 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4165 * time/time.h: Move __gmtime_r declaration to ...
4166 * include/time.h: ...here.
4168 1999-10-05 Andreas Jaeger <aj@suse.de>
4170 * manual/message.texi (The message catalog files): Fix description
4171 to match gencat implementation and Unix98: Message fields are
4172 separated by a single blank space.
4174 1999-10-05 Andreas Jaeger <aj@suse.de>
4176 * manual/string.texi (Search Functions): Add missing end for
4177 memrchr description.
4179 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4181 * malloc/memprof.sh: Various small cleanups. Add short options.
4182 Write error messages to stderr.
4184 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4186 * malloc/memprof.sh: Take options to control memprofstat.
4188 * malloc/Makefile: Add rule to generate memprof script.
4189 * malloc/memprof.sh: New file.
4191 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4194 1999-10-04 Andreas Jaeger <aj@suse.de>
4196 * configure.in: Allow makeinfo 4.*.
4198 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4200 * stdio-common/vfprintf.c: Correct last patch and use outchar
4201 instead of PUTC to output single characters.
4202 * stdio-common/Makefile (tests): Add bug13.
4203 * stdio-common/bug13.c: New file.
4205 * configure.in: Add additional options --with-gd-include and
4206 --with-gd-lib to help people with strange installations.
4208 * malloc/Makefile: Add libdl dependency to libmemprof.so.
4209 * malloc/Depend: New file.
4211 1999-10-04 Andreas Jaeger <aj@suse.de>
4213 * timezone/README: Change wording to not mention the current
4214 version. This way we can't forget to update the file.
4216 1999-10-04 Andreas Jaeger <aj@suse.de>
4218 * manual/time.texi (Basic CPU Time): Fix typo.
4219 Reported by Ben Pfaff <pfaffben@msu.edu>.
4221 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4223 * string/string.h: Move __memrchr declaration to ...
4224 * include/string.h: ...here.
4226 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4228 * string/Makefile (routines): Add memrchr.
4230 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4231 Correct order of tests for matching bytes.
4233 * string/tester.c: Add tests for memrchr.
4235 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4236 Start from the last character and take decrement not increment
4237 into account for correction in return line. Add memrchr alias.
4238 * sysdeps/i386/bits/string.h: Likewise.
4240 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4242 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4244 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4246 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4248 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4251 * string/Versions: Export memrchr.
4253 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4255 * misc/Versions (GLIBC_2.2): Add getloadavg.
4256 * misc/Makefile (routines): Add getloadavg.
4257 * sysdeps/generic/getloadavg.c: New file.
4258 * sysdeps/mach/getloadavg.c: New file.
4259 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4261 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4262 * sysdeps/i386/bits/string.h (__memrchr): New function.
4263 * string/string.h: Declare memrchr, __memrchr.
4264 * manual/string.texi (Search Functions): Document memrchr.
4266 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4268 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4269 CFLAGS-memprofstat.c, and LIBGD variables.
4270 * config.make.in: Add LIBGD.
4271 * malloc/Makefile: Add rules to generate libmemprof.so and
4273 * malloc/memprof.c: New file.
4274 * malloc/memprofstat.c: New file.
4276 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
4278 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4280 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4281 (inet_ntop6): Likewise.
4283 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4286 * resolv/tst-aton.c (main): Add more tests.
4288 * resolv/inet_addr.c (inet_aton): Correct some problems with to
4289 large numbers. Optimize a bit.
4291 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4293 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4294 account for added '0'.
4296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4297 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
4298 len argument to be greater than needed address size.
4300 1999-10-01 Andreas Jaeger <aj@suse.de>
4302 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4304 * intl/finddomain.c (_nl_find_domain): Likewise.
4306 1999-09-30 Andreas Schwab <schwab@suse.de>
4308 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4310 1999-09-30 Andreas Jaeger <aj@suse.de>
4312 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4313 * sysdeps/i386/rshift.S: Likewise.
4314 * sysdeps/i386/strchrnul.S: Likewise.
4315 * sysdeps/i386/strchr.S: Likewise.
4316 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4319 1999-09-30 Andreas Jaeger <aj@suse.de>
4321 * manual/examples/pipe.c: Close other end of pipe to make example work.
4323 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4325 * timezone/checktab.awk: Update from tzcode1999g.
4326 * timezone/tzselect.ksh: Likewise.
4327 * timezone/africa: Update from tzdata1999g.
4328 * timezone/asia: Likewise.
4329 * timezone/australasia: Likewise.
4330 * timezone/europe: Likewise.
4331 * timezone/northamerica: Likewise.
4332 * timezone/southamerica: Likewise.
4333 * timezone/iso3166.tab: Likewise.
4334 * timezone/zone.tab: Likewise.
4336 1999-09-27 Andreas Jaeger <aj@suse.de>
4338 * resolv/netdb.h: Remove declaration of getnodebyname. It has
4339 been renamed to getipnodebyname. Move flags around.
4341 1999-09-27 Andreas Schwab <schwab@suse.de>
4343 * manual/message.texi (Locating gettext catalog): Fix typos.
4345 1999-09-27 Andreas Jaeger <aj@suse.de>
4347 * manual/socket.texi (Out-of-Band Data): Correct example program,
4348 rename some variables for clarity.
4349 Reported by James Antill <james@and.org>, close PR libc/1329.
4351 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
4353 * locale/programs/ld-collate.c (insert_value): Add hack to not
4354 crash in incomplete collate implementation.
4356 * locale/programs/ld-collate.c (read_directions): Read new token
4357 after accepting sorting rule.
4359 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
4361 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4362 error message printing. Correctly test whether all characters of
4363 current token are used.
4364 (ctype_read): NUL terminate last_str.
4366 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
4368 * nscd/connections.c: Invalidate caches on request.
4369 * nscd/nscd-client.h: Add INVALIDATE to request_type.
4370 * nscd/nscd.c: Add invalidate cache option.
4371 * nscd/nscd.conf: Change log directory to /var/log (FHS).
4373 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
4375 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4376 not ovverwrite last group member with NULL pointer.
4377 Reported by Thomas Winder <thomas.winder@newlogic.at>.
4379 1999-09-24 Andreas Jaeger <aj@suse.de>
4381 * stdio-common/tst-printf.c (main): Add a testcase for large
4382 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4384 1999-09-24 Andreas Schwab <schwab@suse.de>
4386 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
4388 1999-09-24 Andreas Jaeger <aj@suse.de>
4390 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4391 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
4393 1999-09-23 Mark Kettenis <kettenis@gnu.org>
4395 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4396 variable. Define MORECORE_CLEARS to 2.
4398 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4399 doesn't clear the contents of memory that is reallocated after
4400 decrementing the break value first. Update comment about
4401 MORECORE_CLEARS, explaining the meaning of the values it can be
4404 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
4406 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4409 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4415 1999-09-22 Andreas Jaeger <aj@suse.de>
4417 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4418 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4420 1999-09-22 Andreas Schwab <schwab@suse.de>
4422 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4424 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4426 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4427 the source directory. Fixes PR libc/1059.
4429 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
4431 * locale/programs/repertoire.c (repertoire_find_value): Abort if
4432 rep parameter is NULL.
4433 (repertoire_find_symbol): Likewise.
4434 (repertoire_find_seq): Likewise.
4436 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
4438 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4439 returned errno value in some cases.
4441 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4443 * iconvdata/Makefile (modules): Add GBK.
4444 (distribute): Add gbk.c.
4445 * iconvdata/gbk.c: New file.
4446 * iconvdata/gconv-modules: Add GBK entry.
4447 Contributed by Sean Chen <sean.chen@turbolinux.com>.
4449 * locale/programs/ld-monetary.c (monetary_output): Remove
4452 * locale/programs/ld-time.c (time_output): Correct expected number
4455 * manual/filesys.texi (Testing File Access): Correct description of
4458 1999-080-25 H.J. Lu <hjl@gnu.org>
4460 * csu/defs.awk (.end): Only match with leading white spaces.
4463 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4465 * stdlib/isomac.c: Add va_copy to allowed macros.
4467 * po/pl.po: Updated.
4469 1999-09-17 Andreas Schwab <schwab@suse.de>
4471 * Makefile (clean): Also remove $(postclean) files.
4473 1999-09-15 Andreas Jaeger <aj@suse.de>
4475 * pwd/Makefile (otherlibs): Add for building with static-nss.
4476 * inet/Makefile (otherlibs): Likewise.
4478 1999-09-15 Andreas Jaeger <aj@suse.de>
4480 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4481 function definition to avoid a compilation failure.
4483 1999-09-15 Andreas Jaeger <aj@suse.de>
4485 * stdlib/tst-environ.c (main): Add getenv regression test for
4486 environment variable that's one character long.
4488 1999-09-15 Andreas Jaeger <aj@suse.de>
4490 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4491 signal definitions to let glibc compile with older Linux versions
4492 (2.0.10 to 2.1.100 or so).
4494 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4496 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4497 return zero to indicate no children died yet (assuming WNOHANG).
4499 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4501 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4503 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4505 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4506 Return _hurd_pgrp instead of 0.
4508 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4510 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4511 pages rather than just reprotecting them. This way we don't hold on
4512 to the backing space.
4514 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4515 Use __munmap instead of __vm_deallocate.
4517 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4519 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4520 returned errno value in some cases.
4522 1999-09-17 Andreas Jaeger <aj@suse.de>
4524 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4525 to override user settings.
4527 1999-09-17 Andreas Schwab <schwab@suse.de>
4529 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4530 using a pointer to it.
4532 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4534 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4535 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4537 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4539 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4541 * elf/elf.h (PF_MASKOS): New definition.
4542 (EM_VAX): New definition.
4544 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4546 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4547 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4548 struct user_fp. These were added in version 2.2.12 of the
4550 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4551 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4552 The generic procfs.h included <asm/elf.h>. This causes
4553 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4554 are included in the same source file. Found when building GDB.
4556 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4558 * locale/langinfo.h: Remove byte-order dependent names.
4559 * locale/categories.def: Update after removal of byte-order dependent
4561 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4562 with magic number in other byte order.
4563 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4564 * locale/C-collate.c: Remove initializers for other byte-order.
4565 * locale/C-ctype.c: Likewise.
4566 * locale/C-monetary.c: Likewise.
4567 * locale/C-paper.c: Likewise.
4568 * locale/C-time.c: Likewise.
4569 * locale/lc-collate.c: Remove byte-order oriented initialization.
4570 * locale/lc-ctype.c: Likewise.
4571 * locale/lc-monetary.c: Likewise.
4572 * locale/lc-time.c: Likewise.
4573 * locale/programs/ld-address.c: Don't generate output in both
4575 * locale/programs/ld-ctype.c: Likewise.
4576 * locale/programs/ld-paper.c: Likewise.
4577 * locale/programs/ld-time.c: Likewise.
4578 * time/strftime.c (NLW): Don't use different byte-orders.
4579 * wctype/cname-lookup.h (cname_lookup): Likewise.
4581 * Makeconfig (localedir): Define using libdir, not datadir.
4582 (msgcatdir): New variable.
4583 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4584 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4586 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4587 (CPPFLAGS): Define paths using msgcatdir.
4588 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4589 * po/Makefile (mo-installed): Define using msgcatdir.
4591 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4593 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
4595 * stdio-common/vfprintf.c: Remove limitation on size of precision
4598 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4599 glibc by defining internal_function if it isn't already.
4601 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4602 fails don't rely on errno value.
4603 (getanswer_r): Set *ERRNOP in error cases.
4605 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4606 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4607 associated data. Test for matching numeric address and family.
4608 (getaddrinfo): Remember EAI_NODATA result and return this in case
4610 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4612 * locale/programs/ld-address.c: Fix handling of non-existing
4613 definitions for this category. Correctly ignore content of this
4614 category is this is necessary.
4615 * locale/programs/ld-collate.c: Likewise.
4616 * locale/programs/ld-ctype.c: Likewise.
4617 * locale/programs/ld-identification.c: Likewise.
4618 * locale/programs/ld-measurement.c: Likewise.
4619 * locale/programs/ld-messages.c: Likewise.
4620 * locale/programs/ld-monetary.c: Likewise.
4621 * locale/programs/ld-name.c: Likewise.
4622 * locale/programs/ld-numeric.c: Likewise.
4623 * locale/programs/ld-paper.c: Likewise.
4624 * locale/programs/ld-telephone.c: Likewise.
4625 * locale/programs/ld-time.c: Likewise.
4626 * locale/programs/locfile.h (handle_copy): Take extra parameter
4627 with result pointer. Fill in name of locale from which to copy.
4628 Correctly read token after `END'.
4630 * locale/programs/localedef.c (main): Correct handling copy.
4631 (add_to_readlist): Take extra parameter which says whether we
4632 are supposed to read the file or not.
4633 (find_locale): Call add_to_readlist with extra parameter set to 0.
4635 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4636 instead of wrong number in array definitions.
4637 (add_to_readlist): Update prototype.
4639 * locale/programs/locfile.c (locfile_read): Mark categories not
4640 available in source file as read.
4641 (write_all_categories): Fix typo.
4643 * locale/programs/locales.h: Removed.
4645 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4647 * elf/elf.h (SHF_MASKOS): Added.
4649 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4651 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4653 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4655 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4657 * configure.in: Fix make version test for make 3.77.95 and later
4659 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4661 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4663 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4665 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4668 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4670 1999-09-09 Andreas Schwab <schwab@suse.de>
4672 * elf/link.h: Fix comment.
4674 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4676 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4678 * math/math.h: Pretty print.
4680 1999-09-10 Andreas Schwab <schwab@suse.de>
4682 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4683 character variable on bigendian platforms without unaligned memory
4686 1999-09-07 Cristian Gafton <gafton@redhat.com>
4688 * sysdeps/unix/sysv/linux/sys/raw.h: New file
4689 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4690 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4692 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4694 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4696 * time/ap.c: Removed. It was not used.
4697 * time/date.c: Likewise.
4698 * sysdeps/unix/nlist.c: Likewise.
4699 * sysdeps/generic/nlist.c: Likewise.
4700 * sysdeps/generic/varargs.h: Likewise.
4701 * stdio-common/scanf11.c: Likewise.
4702 * stdio-common/scanf6.c: Likewise.
4703 * scripts/=__ify: Likewise.
4704 * scripts/printsources: Likewise.
4705 * resolv/getnetnamadr.c: Likewise.
4706 * posix/id.c: Likewise.
4707 * misc/ioctltst.c: Likewise.
4708 * misc/nlist.h: Likewise.
4709 * math/test-math.h: Likewise.
4710 * include/nlist.h: Likewise.
4712 1999-09-06 Andreas Schwab <schwab@suse.de>
4714 * time/tzset.c (compute_change): Replace slow loop to compute T by
4717 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4719 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4720 escape sequences out even if the character itself does not fit
4723 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4725 1999-08-31 H.J. Lu <hjl@gnu.org>
4727 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4729 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
4731 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4732 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4733 (_hurd_priority_which_map):
4735 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
4737 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4739 1999-09-03 Andreas Schwab <schwab@suse.de>
4741 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4742 fork from __syscall_fork to __libc_fork.
4743 * posix/Versions: Add __libc_fork and __vfork to version
4746 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4748 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4749 dependencies in sort.
4751 1999-09-01 H.J. Lu <hjl@gnu.org>
4753 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4755 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4756 <sys/user.h> instead of <asm/user.h>.
4758 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
4760 * elf/elf.h: Update PARISC-specific flags and symbolic names.
4762 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
4764 * elf/elf.h: Update PARISC relocations.
4766 1999-08-31 Scott Bambrough <scottb@netwinder.org>
4768 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4769 #ifdef statement to prevent it from being included twice.
4770 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4771 #include <bits/armsigctx.h>.
4773 1999-08-31 Andreas Schwab <schwab@suse.de>
4775 * locale/C-collate.c: Add missing initialisations.
4776 * locale/C-ctype.c: Likewise.
4778 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
4780 * time/strftime.c (my_strftime): Remove unneeded variable len.
4782 * time/strptime.c: Undo last change.
4784 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
4786 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4787 Change charset.h to charmap.h.
4788 (categories): Add new categories. Leave out collate for now.
4790 * locale/categories.def: Add definitions for new categories.
4791 * locale/langinfo.h: Likewise.
4792 * locale/locale.h: Likewise.
4793 * locale/C-address.c: New file.
4794 * locale/C-identification.c: New file.
4795 * locale/C-measurement.c: New file.
4796 * locale/C-name.c: New file.
4797 * locale/C-paper.c: New file.
4798 * locale/C-telephone.c: New file.
4799 * locale/lc-address.c: Likewise.
4800 * locale/lc-identification.c: Likewise.
4801 * locale/lc-measurement.c: Likewise.
4802 * locale/lc-name.c: Likewise.
4803 * locale/lc-paper.c: Likewise.
4804 * locale/lc-telephone.c: Likewise.
4805 * locale/C-ctype.c: Update for locale rewrite.
4806 * locale/C-messages.c: Likewise.
4807 * locale/C-monetary.c: Likewise.
4808 * locale/C-time.c: Likewise.
4809 * locale/lc-collate.c: Likewise.
4810 * locale/lc-ctype.c: Likewise.
4811 * locale/lc-monetary.c: Likewise.
4812 * locale/lc-time.c: Likewise.
4813 * locale/localeinfo.h: Likewise.
4814 * locale/newlocale.c: Likewise.
4815 * locale/setlocale.c: Likewise.
4816 * locale/weight.h: Likewise.
4817 * locale/findlocale.c: Unconditionally use mmap.
4818 Handle new categories.
4819 * locale/loadlocale.c: Likewise.
4820 * locale/iso-3166.def: New file.
4821 * locale/iso-639.def: New file.
4822 * locale/programs/charmap-kw.gperf: Add new keywords.
4823 * locale/programs/locfile-kw.gperf: Likewise.
4824 * locale/programs/locfile-token.h: Define new tokens.
4825 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4826 * locale/programs/charmap.h: New file.
4827 * locale/programs/charset.h: Removed.
4828 * locale/programs/config.h: Add __LC_LAST.
4829 * locale/programs/lc-address.c: New file.
4830 * locale/programs/lc-identification.c: New file.
4831 * locale/programs/lc-measurement.c: New file.
4832 * locale/programs/lc-name.c: New file.
4833 * locale/programs/lc-paper.c: New file.
4834 * locale/programs/lc-telephone.c: New file.
4835 * locale/programs/lc-collate.c: Update for locale rewrite.
4836 * locale/programs/lc-ctype.c: Likewise.
4837 * locale/programs/lc-messages.c: Likewise.
4838 * locale/programs/lc-monetary.c: Likewise.
4839 * locale/programs/lc-numeric.c: Likewise.
4840 * locale/programs/lc-time.c: Likewise.
4841 * locale/programs/locale.c: Likewise.
4842 * locale/programs/localedef.c: Likewise.
4843 * locale/programs/locfile.c: Likewise.
4844 * locale/programs/repertoire.c: Likewise.
4845 * locale/programs/repertoire.h: Likewise.
4846 * locale/programs/locfile.c: Update prototypes.
4847 Update handle_copy definition.
4848 * locale/programs/linereader.c: Add handling of wide char strings and
4849 new definition file syntax.
4850 * locale/programs/linereader.h (struct token): Add elements for wide
4852 * locale/programs/locale-spec.c: Disable handling of collation
4854 * locale/programs/simple-hash.h: Cleanup.
4855 * locale/programs/stringtrans.h: Handle quite of end of line.
4856 * string/strcoll.c: Fall back on strcmp for now.
4857 * string/strxfrm.c: Fall back on strncpy/strlen for now.
4858 * time/strftime.c: Use new wide character data for wcsftime.
4859 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4860 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4862 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4863 compiling for i386 to avoid i686-like GOT pointer computation.
4865 * db2/db_int.h: Change tsl_t type to u_int32_t.
4866 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4867 * db2/mutex/alpha.h: New file.
4868 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
4869 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4871 Patches by Richard Henderson.
4873 * stdlib/tst-environ.c: Add cast to avoid warning.
4874 * timezone/test-tz.c: Use setenv instead of putenv.
4876 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4878 * manual/libc.texinfo: Update version and date.
4880 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4882 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4883 (File System Interface): Correct entry.
4884 (Permission Bits): Add missing commata after @xref.
4886 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4888 * timezone/tst-timezone.c (main): Don't pass const strings to
4889 putenv to avoid warnings.
4891 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4893 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
4895 * nis/Versions: Add _nss_*_getipnodebyname_r.
4896 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4897 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4898 * nss/Versions: Add _nss_files_getipnodebyname_r.
4900 1999-08-28 H.J. Lu <hjl@gnu.org>
4902 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4905 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4907 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4909 * inet/netinet/in.h: Likewise.
4910 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4911 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4913 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
4915 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4916 thresholds for SUID binaries. [PR libc/1277]
4918 * posix/regexbug1.c: Add one more similar case.
4920 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4922 * manual/install.texi (Running make install): Give examples for
4923 timezone and locale installation.
4925 1999-08-28 Zack Weinberg <zack@bitmover.com>
4927 * glibcbug.in: Get CCVERSION from autoconf substitution.
4928 * configure.in: Calculate and substitute CCVERSION.
4930 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4932 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4933 partially reverting a patch from 1998-12-29. We just can't change
4934 the flags, kernels with different flags lead to
4937 1999-08-26 Andreas Schwab <schwab@suse.de>
4939 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4941 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4943 * inet/rexec.c (rexec): Free memory if strings were allocated in
4944 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
4946 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4948 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4950 * manual/argp.texi: Fixing language and typos.
4951 * manual/conf.texi: Likewise.
4952 * manual/contrib.texi: Likewise.
4953 * manual/ctype.texi: Likewise.
4954 * manual/filesys.texi: Likewise.
4955 * manual/install.texi: Likewise.
4956 * manual/job.texi: Likewise.
4957 * manual/lang.texi: Likewise.
4958 * manual/llio.texi: Likewise.
4959 * manual/locale.texi: Likewise.
4960 * manual/math.texi: Likewise.
4961 * manual/nss.texi: Likewise.
4962 * manual/pipe.texi: Likewise.
4963 * manual/signal.texi: Likewise.
4964 * manual/socket.texi: Likewise.
4965 * manual/stdio.texi: Likewise.
4966 * manual/sysinfo.texi: Likewise.
4967 * manual/users.texi: Likewise.
4968 Patches by Neil Booth <NeilB@earthling.net>.
4970 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4972 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4973 unsigned to avoid warning. [PR libc/1271].
4975 * conform/conformtest.pl: Allow testing regex.h which requires
4976 sys/types.h being included.
4978 * conform/data/regex.h-data: Allow *_t types.
4979 * conform/data/pwd.h-data: Likewise.
4980 * conform/data/sched.h-data: Likewise.
4981 * conform/data/pthread.h-data: Likewise.
4982 * conform/data/search.h-data: Likewise.
4984 * misc/search.h: Avoid namespace pollution.
4986 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4987 pwd.h, and pthread.h.
4988 * conform/data/pthread.h-data: New file.
4989 * conform/data/pwd.h-data: New file.
4990 * conform/data/regex.h-data: New file.
4991 * conform/data/sched.h-data: New file.
4992 * conform/data/search.h-data: New file.
4994 * NAMESPACE: Add REG_ for regex.h.
4996 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4999 * configure.in (libc_cv_asm_global_directive): Indent .text in
5000 test code so that the lame HPUX compiler recognizes it.
5001 * sysdeps/hppa/bits/endian.h: New file.
5002 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5003 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5004 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5005 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5007 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5008 Patch by John Tobey <jtobey@banta-im.com>.
5010 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5012 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5013 old_siocfifconf definition to toplevel.
5014 (__protocol_available): Remove old_siocfifconf definition.
5016 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5018 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5019 really dealing with a master pseudo terminal, and really returning
5020 the name of the associated slave pseudo terminal by checking the
5022 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5023 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5025 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5027 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5028 underscore in _llseek entry.
5030 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5033 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5034 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5036 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5037 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5039 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5041 * inet/Makefile (routines): Add getipnodebynm.
5042 * inet/getipnodebynm.c: New file.
5043 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5045 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5046 EXTRA_ARGS_VALUE is not already done.
5047 (internal_getent): Allow extra parameters and pass them to parse_line.
5048 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5049 (_nss_files_get##name##_r): Likewise.
5050 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5051 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5052 Add getipnodebyname function.
5053 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5054 EXTRA_ARGS_VALUE is not already done.
5055 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5056 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5058 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5059 (_nss_db_get,ENTNAME_r): Likewise.
5060 * sysdeps/generic/if_index.c (__protocol_available): New function.
5061 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5063 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5065 * login/pty-private.h: Move to...
5066 * sysdeps/generic/pty-private.h: ...here.
5067 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5069 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5072 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5075 * conform/conformtest.pl (@headers): Add monetary.h-data,
5076 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5077 * conform/data/monetary.h-data: New file.
5078 * conform/data/mqueue.h-data: New file.
5079 * conform/data/ndbm.h-data: New file.
5080 * conform/data/nl_types.h.h-data: New file.
5081 * conform/data/poll.h-data: New file.
5083 * stdio-common/Makefile (test): Add tst-cookie.
5084 * stdio-common/tst-cookie.c: New file.
5086 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5087 changed in last patch. Reported by Ralf Baechle.
5089 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5091 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5093 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5094 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5096 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5098 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5101 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5107 * misc/libgen.h: Don't take basename macro as taking arguments.
5109 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5111 * sysdeps/i386/bits/huge_val.h: Likewise.
5112 * sysdeps/i386/bits/huge_val.h: Likewise.
5113 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5114 * sysdeps/m68k/bits/huge_val.h: Likewise.
5115 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5116 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5118 * conform/Makefile: New file.
5119 * conform/conformtest.pl: New file.
5120 * conform/data/aio.h-data: New file.
5121 * conform/data/assert.h-data: New file.
5122 * conform/data/cpio.h-data: New file.
5123 * conform/data/ctype.h-data: New file.
5124 * conform/data/dirent.h-data: New file.
5125 * conform/data/dlfcn.h-data: New file.
5126 * conform/data/errno.h-data: New file.
5127 * conform/data/fcntl.h-data: New file.
5128 * conform/data/float.h-data: New file.
5129 * conform/data/fmtmsg.h-data: New file.
5130 * conform/data/fnmatch.h-data: New file.
5131 * conform/data/ftw.h-data: New file.
5132 * conform/data/glob.h-data: New file.
5133 * conform/data/grp.h-data: New file.
5134 * conform/data/iconv.h-data: New file.
5135 * conform/data/inttypes.h-data: New file.
5136 * conform/data/iso646.h-data: New file.
5137 * conform/data/langinfo.h-data: New file.
5138 * conform/data/libgen.h-data: New file.
5139 * conform/data/locale.h-data: New file.
5140 * conform/data/math.h-data: New file.
5142 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5144 * posix/execvp.c (execvp): Correct copying of file name.
5146 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5148 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5150 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5152 * stdio-common/Makefile: Move addition to routines to the right place.
5154 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5156 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5157 since mips*-linux has ECANCELED.
5159 1999-08-23 Andreas Schwab <schwab@suse.de>
5161 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5162 SIGCONTEXT_EXTRA_ARGS.
5163 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5164 * sysdeps/generic/sigcontextinfo.h: Likewise.
5165 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5166 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5167 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5168 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5172 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5174 * posix/regexbug1.c: Make it an error if the test fails.
5176 1999-08-23 Andreas Schwab <schwab@suse.de>
5178 * posix/regex.c (re_match_2_internal): Correct check for charset
5179 after exactn in loop.
5181 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5183 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5184 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5185 Patch by Joel Klecker.
5187 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5188 (__gconv_find_transform): Update prototype.
5189 (__gconv_open): Likewise.
5190 * iconv/gconv_open.c: Take extra parameter and pass it to
5191 __gconv_find_transform.
5192 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5193 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
5195 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5196 * wcsmbs/wcsmbsload.c: Likewise.
5197 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5199 * intl/gettextP.h: Likewise.
5200 * intl/loadmsgcat.c: Likewise.
5202 * posix/regexbug1.c: New file.
5203 * posix/Makefile (tests): Add regexbug1.
5205 1999-08-22 Mark Kettenis <kettenis@gnu.org>
5207 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5208 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5209 installing PORT in the descriptor cell.
5211 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
5213 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5214 TIMEOUT as outputs of the asm to indicate that the signal thread
5216 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5217 mach_msg if only sending or only receiving (i.e., not an RPC). When
5218 making an RPC that might get interrupted, save OPTION and the portion
5219 of the message buffer that gets clobbered by an EINTR reply message,
5220 and properly restore them before attempting to retry the request
5223 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5225 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5226 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5227 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5228 stdio is used instead of libio.
5229 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5230 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5231 to make the code compile again when stdio is used instead of
5233 (vfprintf): Only check for correct orientation if ORIENT is
5235 * stdio-common/Makefile (routines): Only add vfwprintf and
5236 vfwscanf if we're using libio.
5238 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5240 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5241 any additional prototype just as we do for libio.
5243 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5245 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5246 TZNAME_MAX. These limits are not X/Open specific.
5247 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5250 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5252 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5253 UIO_MAXIOV is left undefined in sys/uio.h.
5254 * stdio-common/stdio_lim.h.in: Adapt for change above.
5256 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5258 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5259 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5260 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5262 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
5264 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5266 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
5268 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5270 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5271 call. It should not be necessary andis harmful for Alpha.
5273 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5274 type. [PR libc/1269]
5276 * posix/execvp.c (execvp): Allocate array name of correct size.
5277 Optimize inner loop. Use execve directly, not execv.
5279 * elf/elf.h: Corrected SHT_ values from new draft.
5281 * intl/gettextP.h (struct loaded_domain): Add conv element.
5282 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5283 Instead of returning found message directly convert it using iconv
5284 if a conversion was found when opening the file.
5285 * intl/loadinfo.h: Protect against multiple inclusion.
5286 Declare _nl_find_msg.
5287 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5288 in the message file and if necessary find approrpiate
5289 conversion to match currently selected charset.
5290 * include/libintl.h: Declare __dgettext and __dcgettext.
5291 * include/iconv.h: New file.
5293 1999-08-20 Andreas Schwab <schwab@suse.de>
5295 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5297 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
5299 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
5300 all threads [PR libc/1223].
5302 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5305 * configure.in: Search for programs with prefix gnu* and g* first.
5308 * dirent/Makefile (routines): Add getdents64.
5309 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5311 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5312 compiled with _FILE_OFFSET_BITS=64.
5313 * sysdeps/generic/getdents64.c: New file.
5314 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5315 __lseek for getdirentries64 definition.
5317 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5319 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5320 _FILE_OFFSET_BITS=64.
5322 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5325 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5326 after we have the lock.
5328 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5329 Patch by Richard Henderson.
5331 1999-08-19 Andreas Schwab <schwab@suse.de>
5333 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5334 and call _IO_fwide, to get the wide stream state initialized
5335 correctly. Don't set _IO_JUMPS.
5336 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5337 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
5338 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5341 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5343 * math/libm-test.c (jn_test): Fix typo in description.
5344 (erfc_test): Add some more tests.
5345 (erf_test): Add some more tests.
5347 1999-08-19 Andreas Schwab <schwab@suse.de>
5349 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5350 expression using $(exceptions).
5352 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5354 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5356 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5357 allocated so far. [PR libc/1261].
5359 * math/libm-test.c (j0_test): Adjust deltas for m68k.
5360 (jn_test): Likewise.
5362 * dirent/dirent.h: Only define ino64_t if not already done.
5363 * posix/sys/types.h: Likewise.
5365 * ctype/ctype.h: Avoid useless #endif #if pairs.
5367 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5368 (seekdir): Fix type of second parameter.
5369 * sysdeps/generic/seekdir.c: Likewise.
5370 * sysdeps/mach/hurd/seekdir.c: Likewise.
5371 * sysdeps/unix/seekdir.c: Likewise.
5373 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5375 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5377 * manual/install.texi (Configuring and compiling): Clarify ix86
5380 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5382 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5383 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5384 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5385 stdio_lim.h. Define LONG_BIT and WORD_BIT.
5387 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5389 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5391 * misc/search.h: Don't define NULL.
5393 * posix/sys/types.h: Define blksize_t if it hasn't happened.
5394 Only define key_t and blkcnt_t if it hasn't happened before.
5395 Define blksize_t if not happened before.
5396 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
5397 * sysdeps/generic/bits/types.h: Define __blksize_t.
5398 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5399 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5400 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5402 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5403 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5405 (struct stat64): Likewise.
5406 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5407 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5408 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5409 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5410 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5411 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5412 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5414 * stdlib/getsubopt.c: Correct type of second argument.
5415 * stdlib/stdlib.h: Likewise.
5417 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
5420 * sysdeps/generic/putenv.c: Correct type of parameter.
5421 * stdlib/stdlib.h: Likewise.
5423 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5424 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5425 * sysvips/sys/msg.h: Likewise.
5427 * sysdeps/generic/semop.c: Correct type of third parameter.
5428 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5429 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
5432 * sysdeps/generic/shmget.c: Correct type of second parameter.
5433 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5434 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
5435 Declare __getpagesize here.
5437 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5439 * sysdeps/gnu/bits/ipc.h: Likewise.
5440 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5441 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5442 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5443 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5446 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5448 * debug/versions: Export __cyg_profile_func_enter and
5449 __cyg_profile_func_exit.
5451 * math/bits/mathcalls.h: Pretty print.
5453 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5455 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5456 case for new tzdata.
5458 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5460 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5461 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5463 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5465 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5467 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5468 parameter type to useconds_t.
5469 * sysdeps/unix/bsd/ualarm.c: Likewise.
5471 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5473 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5474 * sysdeps/mach/usleep.c: Likewise.
5476 * locale/weight.h: Include <errno.h>.
5478 * posix/sys/types.h: Define type useconds_t if not done already.
5479 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5481 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5482 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5483 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5484 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5485 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5486 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5488 * dirent/dirent.h (telldir): Change return type to long int.
5489 * sysdeps/generic/telldir.c: Likewise.
5490 * sysdeps/mach/hurd/telldir.c: Likewise.
5491 * sysdeps/unix/telldir.c: Likewise.
5492 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5494 * locale/weight.h: Set errno if an invalid character is found.
5496 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5498 * math/libm-test.c (erfc_test): Add test for example from PR
5500 (erf_test): Likewise.
5502 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5504 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5505 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5507 * timezone/private.h: Update from tzcode1999e.
5508 * timezone/zic.c: Likewise.
5510 * timezone/africa: Update from tzdata1999e.
5511 * timezone/antarctica: Likewise.
5512 * timezone/asia: Likewise.
5513 * timezone/australasia: Likewise.
5514 * timezone/europe: Likewise.
5515 * timezone/leapseconds: Likewise.
5516 * timezone/northamerica: Likewise.
5517 * timezone/southamerica: Likewise.
5519 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5520 and write correct number of bytes in case of %ls with precision.
5521 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5523 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5525 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5526 Patch by Christian Gafton.
5528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5529 O_RSYNC. Patch by Christian Gafton.
5531 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5532 possibly unterminated strings for %ls when a precision is
5534 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5536 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5537 update_conversion_ptrs.
5538 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5540 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5542 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5543 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5545 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5546 * wcsmbs/tst-wcsnlen.c: New file.
5548 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5550 * libio/ioputs.c (_IO_puts): Add missing brace.
5552 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5554 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5556 1999-08-10 H.J. Lu <hjl@gnu.org>
5558 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5559 (vfprintf): Likewise.
5560 * stdio-common/vfscanf.c (ORIENT): Likewise.
5561 * libio/genops.c (__underflow): Likewise.
5562 (__uflow): Likewise.
5563 * libio/iofputs.c (_IO_fputs): Likewise.
5564 * libio/ioftell.c (_IO_ftell): Likewise.
5565 * libio/iofwrite.c (_IO_fwrite): Likewise.
5566 * libio/ioputs.c (_IO_puts): Likewise.
5567 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5568 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5570 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5572 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5574 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5576 * manual/job.texi (Process Group Functions): Document getpgid,
5579 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5581 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5582 initialize si_pid from it.
5583 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5585 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5586 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5587 (struct requestlist): Likewise.
5588 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5589 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
5591 (__aio_notify): Pass caller PID to __aio_notify_only.
5592 * rt/aio_suspend.c: Initialize caller_pid.
5593 * rt/lio_listio.c: Likewise.
5594 * rt/lio_listio64.c: Likewise.
5596 * rt/lio_listio.c: If nothing has to be done free mutex before
5598 * rt/lio_listio64.c: Likewise.
5600 1999-08-10 H.J. Lu <hjl@gnu.org>
5602 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5605 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5607 * elf/elf.h: Define ElfXX_Versym.
5608 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5611 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5612 for string output correctly in the wide character case.
5613 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5615 * intl/locale.alias: Add catalan.
5617 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5619 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5621 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5623 * po/pt_BR.po: New file.
5625 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5627 * math/libm-test.c (yn_test): Adjust deltas for i386.
5628 (ccosh_test): Likewise.
5629 (jn_test): Likewise.
5631 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5633 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5635 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5637 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5640 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5642 * configure.in: install-sh lives now in scripts subdir.
5643 PR libc/1255 (bug 4).
5645 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5647 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5652 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
5654 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5656 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5658 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5661 1999-08-10 Andreas Schwab <schwab@suse.de>
5663 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5666 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5668 * elf/elf.h: Added definition of ELFOSABI_ARM.
5669 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5670 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5671 object's header and ABI values are acceptable.
5672 (VALID_ELF_HEADER): New macro; provide default definition.
5673 (VALID_ELF_OSABI): New macro; provide default definition.
5674 (VALID_ELF_ABIVERSION): New macro; provide default definition.
5675 * sysdeps/arm/dl-machine.h Define ARM specific versions of
5676 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5678 1999-08-09 Andreas Schwab <schwab@suse.de>
5680 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5682 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
5684 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5686 1999-08-09 Andreas Schwab <schwab@suse.de>
5688 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5690 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
5692 * sysdeps/ieee754/ieee754.h: Handle platforms with special
5693 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
5695 * string/bits/string2.h: Mark void* operations as extensions.
5696 * sysdeps/i386/i486/bits/string.h: Likewise.
5698 * debug/Makefile (routines): Add noophooks.
5699 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
5700 * debug/noophooks.c: New file.
5701 * debug/pcprofile.c: New file.
5703 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5705 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5706 systems which allow using the functions also on non-seekable
5709 * resolv/res_send.c (res_send): Recompute timeout for poll for
5710 each jump to `wait'.
5712 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5713 braces to avoid warnings.
5714 (IN6ADDR_LOOPBACK_INIT): Likewise.
5716 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5719 1999-08-06 H.J. Lu <hjl@gnu.org>
5721 * malloc/malloc.c: Initialize __libc_pagesize early.
5723 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5725 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5728 * inet/Makefile (tests): Add tst-ipnode.
5729 * inet/tst-ipnode.c: New file.
5731 1999-08-06 Andreas Schwab <schwab@suse.de>
5733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5735 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5736 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5737 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5739 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5740 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5742 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
5744 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5745 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5746 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5748 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5750 * resolv/res_send.c (res_send): Don't test file descriptor for
5751 range, we use poll now. [PR libc/1240]
5753 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
5755 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5756 2.0 defined if they are not available.
5758 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
5760 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5763 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
5765 * rt/aio_read.c: Fix return value.
5766 * rt/aio_read64.c: Likewise.
5767 Reported by Christian Gafton.
5769 * rt/aio_write.c: Fix return value.
5770 * rt/aio_write64.c: Likewise.
5771 * rt/aio_fsync.c: Likewise.
5773 * rt/aio_misc.c: Set errno at correct place.
5775 * rt/aio_fsync.c: Test OP parameter for correct values.
5777 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5779 1999-08-04 Andreas Schwab <schwab@suse.de>
5781 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5782 Initialize result to one.
5783 (GET_NPROCS_CONF_PARSER): Likewise.
5785 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
5787 * inet/ether_hton.c: Pass errno pointer to NSS function.
5788 * inet/getnetgrent_r.c: Likewise.
5789 Reported by Marty Leisner <leisner@rochester.rr.com>.
5791 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5793 * nis/nis_callback.c: Fix port problem on big-endian machines
5794 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5795 fields are always 32 bit.
5796 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5798 * nis/nss_nis/nis-service.c: Remove htons, port is always in
5800 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5802 1999-08-03 Andreas Schwab <schwab@suse.de>
5804 * sysdeps/posix/sigset.c: Unblock the signal after setting its
5805 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5806 avoid two calls to sigprocmask.
5808 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5810 * sysdeps/generic/s_nexttowardf.c: Fix typo.
5812 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
5814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5815 Only allow rt signal frames. No SA_SIGINFO signals will have the
5816 siginfo_t just not filled out with SI_NOINFO code.
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5818 (register_dump): Take the above change into account.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5820 (rt_signal_frame): Likewise.
5822 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5824 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5826 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5827 instead of select().
5829 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5831 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5832 nexttoward so something else so that aliasing works.
5834 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5836 * sysdeps/generic/math_ldbl.h: Fix typo.
5837 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5838 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5840 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5842 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
5844 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
5846 * elf/Makefile (tests): Add resolvfail. Add rules to build the
5848 * elf/resolvfail.c: New file.
5850 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5851 pass it to _dl_lookup_symbol.
5853 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5854 bit. Reword message.
5856 * dlfcn/dlerror.c: Make code thread-safe.
5858 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
5860 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5861 initializer in CHECK: a bit size, not the type code repeated!
5863 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5865 * string/tester.c: Add tests with constant arguments for strcpy
5868 1999-07-31 H.J. Lu <hjl@gnu.org>
5870 * string/bits/string2.h (__strcpy_small): Fix a typo.
5872 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5874 * Makeconfig (link-libc): Always define it, not only for shared
5877 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5878 * sysdeps/i386/fpu/e_powf.S: Likewise.
5879 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
5881 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5882 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
5884 1999-07-30 Andreas Schwab <schwab@suse.de>
5886 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5888 (__get_nprocs): Use it.
5889 (__get_nprocs_conf): Define as separate function if
5890 GET_NPROCS_CONF_PARSER is defined.
5891 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5893 * include/sys/sysinfo.h: New file.
5894 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5896 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5898 1999-07-30 H.J. Lu <hjl@gnu.org>
5900 * libio/iofflush.c (fflush_unlocked): Weak aliase if
5901 _IO_MTSAFE_IO is not defined.
5902 * libio/clearerr.c (clearerr_unlocked): Likewise.
5903 * libio/feof.c (feof_unlocked): Likewise.
5904 * libio/ferror.c (ferror_unlocked): Likewise.
5905 * libio/fputc.c (fputc_unlocked): Likewise.
5906 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5907 * libio/getchar.c (getchar_unlocked): Likewise.
5908 * libio/putc.c (putc_unlocked): Likewise.
5909 * libio/putchar.c (putchar_unlocked): Likewise.
5911 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
5913 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5914 svc_max_pollfd and svc_pollfd to GLIBC_2.2
5915 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5916 for svc_run/poll interface.
5917 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5918 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5920 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5921 rewrite other svc_getreq* functions to use svc_getreq_common.
5922 * sunrpc/svc_run.c: Use poll().
5924 1999-07-30 Andreas Schwab <schwab@suse.de>
5926 * Makerules: Put sysd-versions and Versions.all on
5927 postclean-generated instead of common-generated.
5929 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5931 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5932 around and CLOCKS_PER_SEC is 1e6.
5934 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
5936 * configure.in: Add test for local label subtraction.
5937 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5938 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5939 labels to reduce number of runtime relocations and move jump
5940 tables in read-only seciton.
5942 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
5943 assignment cannot be moved.
5945 1999-07-29 H.J. Lu <hjl@gnu.org>
5947 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5948 if no threads are used.
5950 * libio/iofwrite.c: Add weak alias for _unlocked function if not
5952 * libio/iofread.c: Likewise.
5953 * libio/iofgets.c: Likewise.
5954 * libio/iofputs.c: Likewise.
5956 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5959 * stdlib/mbtowc.c: Include <string.h>.
5960 * stdlib/wctomb.c: Likewise.
5961 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5962 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5964 * misc/mntent_r.c: Include <alloca.h>.
5965 * elf/dl-runtime.c: Likewise.
5967 1999-07-29 Andreas Schwab <schwab@suse.de>
5969 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5970 all floating point formats supported by gcc. Error out for
5971 unhandled precisions.
5972 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5973 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5974 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5976 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
5978 * sysdeps/generic/setenv.c: Move setenv code in new function
5979 __add_to_environ. Add new parameter specifying already
5980 constructed string for the environment.
5981 (setenv): Call __add_to_environ with new parameter set to NULL.
5982 (unsetenv): Really test all elements for duplicated name. Missed those
5983 cases where the two are following each other.
5984 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5985 * include/stdlib.h: Add prototype of __add_to_environ.
5986 * stdlib/tst-environ.c: New file.
5987 * stdlib/Makefile (tests): Add tst-environ.
5989 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5991 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5992 argument in realloc call.
5993 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5995 Reported by Danny Braniss <danny@cs.huji.ac.il>.
5997 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5999 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6001 * misc/efgcvt_r.c: Likewise.
6002 * misc/qefgcvt.c: Likewise.
6003 * misc/qefgcvt_r.c: Likewise.
6004 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6007 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6009 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6011 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6013 * stdlib/mblen.c: Use static state.
6014 Reported by Bruno Haible <haible@ilog.fr>.
6016 * stdlib/mbtowc.c: Reset state for s == NULL.
6017 * stdlib/wctomb.c: Likewise.
6018 Reported by Bruno Haible <haible@ilog.fr>.
6020 * stdlib/mbstowcs.c: Do not use global state.
6021 Reported by Bruno Haible <haible@ilog.fr>.
6023 1999-07-28 Andeas Schwab <schwab@suse.de>
6025 * iconvdata/Makefile: Don't try to run iconv tests when cross
6028 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6030 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6031 assembler code to switch stacks and call init1 outside this
6032 function. Inside `init' the code was optimized away by gcc
6033 2.95 since it was "clearly" unreachable.
6034 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6035 Do something similar for the trampoline code.
6037 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6040 for the hinted protocol.
6042 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6044 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6046 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6048 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6049 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6050 * elf/dl-load.c (_dl_map_object): Likewise.
6051 * elf/do-lookup.h (do_lookup*): Likewise.
6052 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6053 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6055 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6057 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6059 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6060 * sysdeps/generic/getpgrp.c: Likewise.
6061 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6062 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6063 Patch by John Tobey <jtobey@banta-im.com>.
6065 * sysdeps/posix/wait3.c: Help compiling in presence of
6066 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6068 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6070 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6071 as much as possible. Declare them using .register pseudo-op if they
6073 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6074 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6075 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6076 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6077 * sysdeps/sparc/sparc64/memset.S: Likewise.
6078 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6079 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6080 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6081 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6082 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6083 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6084 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6085 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6086 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6087 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6088 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6089 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6090 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6091 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6092 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6093 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6094 Optimize trampoline code for .plt4-.plt32767.
6095 Fix trampolines for .plt32768+.
6097 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6099 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6101 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6102 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6103 libc's private use (as assembly routine clobber it anyway).
6105 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6107 * README.template (configurations): The crypt add-on has a new
6109 * manual/install.texi (Installation): Likewise.
6111 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6113 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6114 requires to have a full definition but we wait for a bug report
6115 based on the test suite.
6117 * sysdeps/generic/clock_getres.c: New file.
6118 * sysdeps/generic/clock_gettime.c: New file.
6119 * sysdeps/generic/clock_settime.c: New file.
6120 * sysdeps/generic/timer_create.c: New file.
6121 * sysdeps/generic/timer_delete.c: New file.
6122 * sysdeps/generic/timer_getoverr.c: New file.
6123 * sysdeps/generic/timer_gettime.c: New file.
6124 * sysdeps/generic/timer_settime.c: New file.
6126 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6127 CLOCK_REALTIME, and TIMER_ABSTIME.
6128 * sysdeps/mach/hurd/bits/time.h: Likewise.
6129 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6130 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6132 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6134 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6137 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6139 * time/Makefile (routines): Add clock_getres, clock_gettime,
6140 clock_setres, timer_create, timer_delete, timer_getoverr,
6141 timer_gettime, and timer_settime.
6143 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6144 POSIX.1b. Add prototypes for clock and timer functions.
6146 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6148 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6149 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6151 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6153 * stdlib/wcstombs.c: Do not use global state.
6154 Reported by Bruno Haible <haible@ilog.fr>.
6156 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6157 Reported by Bruno Haible <haible@ilog.fr>.
6159 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6160 of wide characters to convert do it right and don't overestimate
6161 by multiplying with MB_CUR_MAX.
6162 Reported by Bruno Haible <haible@ilog.fr>.
6164 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6166 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6167 (__stpcpy_small): Likewise.
6168 Union has no __uc member but __c.
6170 1999-07-26 Andreas Schwab <schwab@suse.de>
6172 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6174 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6176 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6177 _IO_old_fclose if doing versioning.
6179 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6181 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6183 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6184 encoding these characters.
6185 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6187 * string/bits/string2.h: Fix aliasing problems.
6188 * sysdeps/i386/i486/bits/string.h: Likewise.
6189 * sysdeps/i386/bits/string.h: Likewise.
6191 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6193 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6194 * elf/rtld.c (dl_main): Don't call malloc() between
6195 re-relocating the dynamic linker and running the application's crt0.
6197 1999-07-21 Paul D. Smith <psmith@gnu.org>
6199 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6200 glob.h to get __P() macro.
6202 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6204 (__strchrnul): This won't exist outside GLIBC, so create one.
6206 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6208 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6209 __ino64_t should be 32bit unsigned type on sparc32.
6210 Define __off64_t to __quad_t instead of __int64_t.
6211 Make __pic_pid_t unsigned on sparc32.
6213 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6215 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6218 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6220 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6221 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
6223 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
6225 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6228 * resolv/res_send.c: Add locks for res_send and res_close use.
6230 * elf/Makefile (dl-routines): Add preinit.
6231 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6232 * elf/link.h (struct link_map): Add new field l_preinitcount.
6233 * elf/dl-preinit.c: New file.
6234 * elf/dynamic-link.h: Initialize l_preinitcount.
6235 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6237 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6238 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
6240 * elf/dl-init.c: Handle DT_INIT_ARRAY.
6241 * elf/dynamic-link.h: Change parameters. Now only get link_map
6242 pointer. Calculate l_initcount.
6244 * elf/link.h (struct link_map): Add l_runpath_dirs.
6245 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6246 * elf/dl-load.c: Pretty print.
6247 (decompose_rpath): Take new parameter with info from where the path
6248 comes. Pass it the fillin_rpath.
6249 (_dl_init_paths): Initialize l_runpath_dirs.
6250 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6251 Search using RUNPATH after LD_LIBRARY_PATH.
6252 * elf/dl-support.c: Adjust comment.
6253 * elf/rtld.c: Adjust help message.
6255 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6257 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6260 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
6262 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6263 match BSD value; previous value of 1<<8 was a typo. I bet nothing
6264 ever used this, so I'm not going to worry about compatibility.
6265 [__USE_GNU] (IUCLC, OLCUC): New macros.
6267 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
6269 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6271 * elf/elf.h: Add ET_LOOS and ET_HIOS.
6272 Add various EM_* constants.
6273 Add SHN_LOOS and SHN_HIOS.
6274 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6275 Add SHF_MERGE and SHF_STRINGS.
6276 (ElfXX_Sym): Update description of st_other field.
6278 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6280 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6281 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6282 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6284 * posix/unistd.h: Move declaration of __libc_enable_secure to...
6285 * include/unistd.h: ...here.
6287 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6288 * elf/dl-deps.c (expand_dst): Likewise.
6290 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6291 based on DT_FLAGS value.
6293 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6294 Add test for symbols marked STV_HIDDEN.
6295 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6296 add undef_map. Compute reference_name locally. Update call to
6298 (_dl_lookup_symbol_skip): Likewise.
6299 (_dl_lookup_versioned_symbol): Likewise.
6300 (_dl_lookup_versioned_symbol_skip): Likewise.
6301 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6302 * elf/dl-runtime.c: Likewise.
6303 * elf/dl-sym.c: Likewise.
6304 * elf/dl-symbol.c: Likewise.
6305 * elf/ldsodefs.h: Adjust prototypes.
6307 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6308 handle appropriately. Add comment about DT_TEXTREL.
6309 * elf/dl-runtime.c: Likewise.
6311 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
6313 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6314 * elf/ldsodefs.h: Declare it.
6315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6317 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
6318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6319 (elf_machine_lazy_rel): Likewise.
6320 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6321 (elf_machine_lazy_rel): Likewise.
6322 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6323 (elf_machine_lazy_rel): Likewise.
6324 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6325 (elf_machine_lazy_rel): Likewise.
6326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6327 (elf_machine_lazy_rel): Likewise.
6328 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6329 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6330 (elf_machine_lazy_rel): Likewise.
6331 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6332 (elf_machine_lazy_rel): Likewise.
6333 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6334 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6335 _dl_reloc_bad_type instead of _dl_signal_error.
6336 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6338 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6340 * sysdeps/mach/_strerror.c: Include <libintl.h>.
6342 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
6344 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6345 hurd_signal_preemptor matches but its `preemptor' field is null, use
6346 its `handler' field directly. This is to comply with behavior
6347 documented in <hurd/sigpreempt.h>.
6349 1999-07-21 Andreas Schwab <schwab@suse.de>
6351 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6352 when reading from write-only stream.
6353 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6354 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6356 1999-07-21 Andreas Schwab <schwab@suse.de>
6358 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6361 1999-07-21 Mark Kettenis <kettenis@gnu.org>
6363 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6365 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6367 (__libc_write): Call __pwrite instead of __pread.
6369 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6371 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6372 __vm_allocate calls.
6374 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
6375 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6377 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6378 _hurd_fd_read with new OFFSET argument set to -1.
6379 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6382 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
6384 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6385 descriptor table sent in the RPC.
6387 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6389 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
6390 bill@taniwha.org [PR libc/1211].
6392 1999-07-19 Andreas Schwab <schwab@suse.de>
6394 * libio/Makefile (routines): Add fwprintf.
6396 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6397 * math/w_sqrt.c: Moved to ...
6398 * sysdeps/generic/w_sqrt.c: ... here.
6399 * math/w_sqrtf.c: Moved to ...
6400 * sysdeps/generic/w_sqrtf.c: ... here.
6402 * Make-dist (generic-dirs): New variable.
6403 (try-sysdeps, +sysdep-names): Use it.
6404 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
6405 instead of $(lib)-routines.
6406 * elf/Makefile (distribute): Add dl-cache.h.
6407 * db2/Makefile (distribute): Add all new files.
6408 * iconvdata/Makefile (distribute): Don't distribute CVS
6410 * math/Makefile (distribute): Remove machine/endian.h, add
6412 * stdio-common/Makefile (distribute): Add _itowa.h.
6413 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6414 * sysdeps/gnu/Dist: Add eval.c
6415 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6416 dlfcn]: Add to this instead of libdl-routines.
6417 * sysdeps/ieee754/ldbl-128/Dist: New file.
6418 * sysdeps/mach/hurd/Dist: Add siglist.h
6419 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6421 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
6423 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6425 * inet/Makefile (routines): Add getipnodebyad and freehostent.
6426 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6427 * inet/freehostent.c: New file.
6428 * inet/getipnodebyad.c: New file.
6429 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6430 and getipnodebyname. The latter comes soon.
6431 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6432 Add support for getipnode* functions.
6434 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6435 Set h_aliases to NULL and not to a pointer to an array with a NULL
6436 pointer following XNS 5.2.
6438 * posix/sched.h: Remove internal interfaces.
6439 * include/sched.h: Add internal interfaces.
6441 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6443 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6445 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6446 and return an error in this case.
6447 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6450 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6452 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6453 1999-07-17 and adjust len parameter.
6454 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6455 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6456 * manual/socket.texi (Host Names): Likewise.
6457 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6458 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6460 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6461 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6462 (ht_gethostbyaddr): Likewise.
6463 (_gethtbyaddr): Likewise.
6465 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6467 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6469 * include/netdb.h: Likewise.
6470 * inet/gethstbyad.c: Correct type of len parameter.
6471 * inet/gethstbyad_r.c: Likewise.
6473 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6475 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6477 * include/libc-symbol.h: Clean up definitions of weak_alias,
6478 strong_alias, symbol_version, etc. etc.
6479 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6480 include it at all if __GNU_LIBRARY__ is already defined.
6482 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6484 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6486 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6488 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6489 type for tv_usec element.
6490 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6491 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6492 * sysdeps/generic/bits/time.h: Likewise.
6493 * sysdeps/mach/hurd/bits/time.h: Likewise.
6494 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6495 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6497 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6498 * sysdeps/generic/bits/types.h: Likewise.
6499 * posix/sys/types.h: Define suseconds_t for X/Open.
6501 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6503 * stdio-common/bug1.c: Avoid memory leak.
6505 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6506 program deterministic.
6507 * sysdeps/i386/fpu/e_powf.S: Likewise.
6508 * sysdeps/i386/fpu/e_powl.S: Likewise.
6510 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6512 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6513 * math/math_private.h (__kernel_sincosl): New declaration.
6514 * sysdeps/generic/t_sincosl.c: New file.
6515 * sysdeps/generic/k_sincosl.c: New file.
6516 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6517 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6518 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6519 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6520 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6521 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6523 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6526 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6528 * posix/unistd.h: Use __PMT for exit.
6530 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6532 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6533 _outw, _outl): Added to GLIBC_2.1.2.
6535 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6537 * posix/fnmatch.h: Use __name instead of __string in prototype to
6538 allow use outside glibc.
6540 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6542 * time/tst-strptime.c (main): Add one more test case. Produce
6543 output even when result is ok.
6545 * time/strptime.c (get_number): Handle number parsing more
6546 consistent with strftime. Only parse a given number of digits.
6547 (get_alt_number): Fix implementation. Was broken.
6548 (strptime_internal): Add third parameter to get_number and
6549 get_alt_number calls.
6551 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6553 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6554 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6555 try both 32bit and 64bit dynamic linker.
6556 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6557 script on all sparc targets.
6559 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6561 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6564 1999-07-13 Andreas Schwab <schwab@suse.de>
6566 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6567 inlining. Fixes PR libc/1198.
6569 1999-07-14 Andreas Schwab <schwab@suse.de>
6571 * Makerules (common-generated): Don't prepend $(common-objpfx).
6573 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
6575 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6576 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6577 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6578 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6580 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6582 * sysdeps/arm/Implies: Likewise.
6583 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6584 ieee754/ldbl-96 instead of ieee754.
6585 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6586 * sysdeps/generic/e_atanhl.c: New file.
6587 * sysdeps/generic/e_coshl.c: New file.
6588 * sysdeps/generic/e_sinhl.c: New file.
6589 * sysdeps/generic/e_gammal_r.c: New file.
6590 * sysdeps/generic/e_hypotl.c: New file.
6591 * sysdeps/generic/s_cbrtl.c: New file.
6592 * sysdeps/generic/s_asinhl.c: New file.
6593 * sysdeps/generic/s_tanhl.c: New file.
6594 * sysdeps/generic/w_expl.c: New file.
6595 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6597 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6598 ieee754/ldbl-96 instead of ieee754.
6599 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6600 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6602 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6604 * sysdeps/mips/mips64/Implies: Likewise.
6605 * sysdeps/powerpc/Implies: Likewise.
6606 * sysdeps/sparc/Implies: Remove.
6607 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6609 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6610 and ieee754/ldbl-128.
6612 * sysdeps/sparc/bits/wordsize.h: Remove.
6613 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6614 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6616 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6617 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6618 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6619 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6620 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6623 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6624 of carries. Optimize.
6626 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6627 * sysdeps/generic/e_exp10.c: ...here.
6628 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6629 * sysdeps/generic/e_exp10f.c: ...here.
6630 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6631 * sysdeps/generic/e_exp10l.c: ...here.
6632 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6633 * sysdeps/generic/e_scalb.c: ...here.
6634 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6635 * sysdeps/generic/e_scalbf.c: ...here.
6636 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6637 * sysdeps/generic/e_scalbl.c: ...here.
6638 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6639 * sysdeps/generic/s_cacos.c: ...here.
6640 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6641 * sysdeps/generic/s_cacosf.c: ...here.
6642 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6643 * sysdeps/generic/s_cacosh.c: ...here.
6644 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6645 * sysdeps/generic/s_cacoshf.c: ...here.
6646 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6647 * sysdeps/generic/s_cacoshl.c: ...here.
6648 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6649 * sysdeps/generic/s_cacosl.c: ...here.
6650 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6651 * sysdeps/generic/s_casin.c: ...here.
6652 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6653 * sysdeps/generic/s_casinf.c: ...here.
6654 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6655 * sysdeps/generic/s_casinh.c: ...here.
6656 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6657 * sysdeps/generic/s_casinhf.c: ...here.
6658 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6659 * sysdeps/generic/s_casinhl.c: ...here.
6660 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6661 * sysdeps/generic/s_casinl.c: ...here.
6662 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6663 * sysdeps/generic/s_catan.c: ...here.
6664 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6665 * sysdeps/generic/s_catanf.c: ...here.
6666 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6667 * sysdeps/generic/s_catanh.c: ...here.
6668 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6669 * sysdeps/generic/s_catanhf.c: ...here.
6670 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6671 * sysdeps/generic/s_catanhl.c: ...here.
6672 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6673 * sysdeps/generic/s_catanl.c: ...here.
6674 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6675 * sysdeps/generic/s_ccos.c: ...here.
6676 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6677 * sysdeps/generic/s_ccosf.c: ...here.
6678 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6679 * sysdeps/generic/s_ccosh.c: ...here.
6680 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6681 * sysdeps/generic/s_ccoshf.c: ...here.
6682 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6683 * sysdeps/generic/s_ccoshl.c: ...here.
6684 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6685 * sysdeps/generic/s_ccosl.c: ...here.
6686 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6687 * sysdeps/generic/s_cexp.c: ...here.
6688 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6689 * sysdeps/generic/s_cexpf.c: ...here.
6690 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6691 * sysdeps/generic/s_cexpl.c: ...here.
6692 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6693 * sysdeps/generic/s_clog.c: ...here.
6694 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6695 * sysdeps/generic/s_clog10.c: ...here.
6696 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6697 * sysdeps/generic/s_clog10f.c: ...here.
6698 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6699 * sysdeps/generic/s_clog10l.c: ...here.
6700 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6701 * sysdeps/generic/s_clogf.c: ...here.
6702 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6703 * sysdeps/generic/s_clogl.c: ...here.
6704 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6705 * sysdeps/generic/s_cpow.c: ...here.
6706 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6707 * sysdeps/generic/s_cpowf.c: ...here.
6708 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6709 * sysdeps/generic/s_cpowl.c: ...here.
6710 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6711 * sysdeps/generic/s_cproj.c: ...here.
6712 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6713 * sysdeps/generic/s_cprojf.c: ...here.
6714 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6715 * sysdeps/generic/s_cprojl.c: ...here.
6716 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6717 * sysdeps/generic/s_csin.c: ...here.
6718 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6719 * sysdeps/generic/s_csinf.c: ...here.
6720 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6721 * sysdeps/generic/s_csinh.c: ...here.
6722 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6723 * sysdeps/generic/s_csinhf.c: ...here.
6724 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6725 * sysdeps/generic/s_csinhl.c: ...here.
6726 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6727 * sysdeps/generic/s_csinl.c: ...here.
6728 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6729 * sysdeps/generic/s_csqrt.c: ...here.
6730 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6731 * sysdeps/generic/s_csqrtf.c: ...here.
6732 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6733 * sysdeps/generic/s_csqrtl.c: ...here.
6734 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6735 * sysdeps/generic/s_ctan.c: ...here.
6736 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6737 * sysdeps/generic/s_ctanf.c: ...here.
6738 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6739 * sysdeps/generic/s_ctanh.c: ...here.
6740 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6741 * sysdeps/generic/s_ctanhf.c: ...here.
6742 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6743 * sysdeps/generic/s_ctanhl.c: ...here.
6744 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6745 * sysdeps/generic/s_ctanl.c: ...here.
6746 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6747 * sysdeps/generic/s_fdim.c: ...here.
6748 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6749 * sysdeps/generic/s_fdimf.c: ...here.
6750 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6751 * sysdeps/generic/s_fdiml.c: ...here.
6752 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6753 * sysdeps/generic/s_fma.c: ...here.
6754 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6755 * sysdeps/generic/s_fmaf.c: ...here.
6756 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6757 * sysdeps/generic/s_fmal.c: ...here.
6758 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6759 * sysdeps/generic/s_fmax.c: ...here.
6760 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6761 * sysdeps/generic/s_fmaxf.c: ...here.
6762 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6763 * sysdeps/generic/s_fmaxl.c: ...here.
6764 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6765 * sysdeps/generic/s_fmin.c: ...here.
6766 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6767 * sysdeps/generic/s_fminf.c: ...here.
6768 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6769 * sysdeps/generic/s_fminl.c: ...here.
6770 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6771 * sysdeps/generic/s_ldexp.c: ...here.
6772 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6773 * sysdeps/generic/s_ldexpf.c: ...here.
6774 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6775 * sysdeps/generic/s_ldexpl.c: ...here.
6776 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6777 * sysdeps/generic/s_nan.c: ...here.
6778 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6779 * sysdeps/generic/s_nanf.c: ...here.
6780 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6781 * sysdeps/generic/s_nanl.c: ...here.
6782 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6783 * sysdeps/generic/s_significand.c: ...here.
6784 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6785 * sysdeps/generic/s_significandf.c: ...here.
6786 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6787 * sysdeps/generic/s_significandl.c: ...here.
6788 Avoid conversion from int to double and then to long double.
6789 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6790 * math/w_acos.c: ...here.
6791 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6792 * math/w_acosf.c: ...here.
6793 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6794 * math/w_acosh.c: ...here.
6795 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6796 * math/w_acoshf.c: ...here.
6797 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6798 * math/w_acoshl.c: ...here.
6799 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6800 * math/w_acosl.c: ...here.
6801 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6802 * math/w_asin.c: ...here.
6803 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6804 * math/w_asinf.c: ...here.
6805 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6806 * math/w_asinl.c: ...here.
6807 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6808 * math/w_atan2.c: ...here.
6809 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6810 * math/w_atan2f.c: ...here.
6811 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6812 * math/w_atan2l.c: ...here.
6813 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6814 * math/w_atanh.c: ...here.
6815 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6816 * math/w_atanhf.c: ...here.
6817 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6818 * math/w_atanhl.c: ...here.
6819 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6820 * math/w_cosh.c: ...here.
6821 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6822 * math/w_coshf.c: ...here.
6823 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6824 * math/w_coshl.c: ...here.
6825 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6826 * math/w_drem.c: ...here.
6827 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6828 * math/w_dremf.c: ...here.
6829 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6830 * math/w_dreml.c: ...here.
6831 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6832 * math/w_exp10.c: ...here.
6833 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6834 * math/w_exp10f.c: ...here.
6835 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6836 * math/w_exp10l.c: ...here.
6837 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6838 * math/w_exp2.c: ...here.
6839 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6840 * math/w_exp2f.c: ...here.
6841 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6842 * math/w_exp2l.c: ...here.
6843 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6844 * math/w_fmod.c: ...here.
6845 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6846 * math/w_fmodf.c: ...here.
6847 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6848 * math/w_fmodl.c: ...here.
6849 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6850 * math/w_hypot.c: ...here.
6851 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6852 * math/w_hypotf.c: ...here.
6853 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6854 * math/w_hypotl.c: ...here.
6855 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6856 * math/w_j0.c: ...here.
6857 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6858 * math/w_j0f.c: ...here.
6859 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6860 * math/w_j0l.c: ...here.
6861 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6862 * math/w_j1.c: ...here.
6863 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6864 * math/w_j1f.c: ...here.
6865 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6866 * math/w_j1l.c: ...here.
6867 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6868 * math/w_jn.c: ...here.
6869 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6870 * math/w_jnf.c: ...here.
6871 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6872 * math/w_jnl.c: ...here.
6873 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6874 * math/w_lgamma.c: ...here.
6875 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6876 * math/w_lgamma_r.c: ...here.
6877 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6878 * math/w_lgammaf.c: ...here.
6879 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6880 * math/w_lgammaf_r.c: ...here.
6881 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6882 * math/w_lgammal.c: ...here.
6883 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6884 * math/w_lgammal_r.c: ...here.
6885 * sysdeps/libm-ieee754/w_log.c: Moved to ...
6886 * math/w_log.c: ...here.
6887 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6888 * math/w_log10.c: ...here.
6889 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6890 * math/w_log10f.c: ...here.
6891 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6892 * math/w_log10l.c: ...here.
6893 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6894 * math/w_logf.c: ...here.
6895 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6896 * math/w_logl.c: ...here.
6897 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6898 * math/w_pow.c: ...here.
6899 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6900 * math/w_powf.c: ...here.
6901 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6902 * math/w_powl.c: ...here.
6903 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6904 * math/w_remainder.c: ...here.
6905 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6906 * math/w_remainderf.c: ...here.
6907 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6908 * math/w_remainderl.c: ...here.
6909 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6910 * math/w_scalb.c: ...here.
6911 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6912 * math/w_scalbf.c: ...here.
6913 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6914 * math/w_scalbl.c: ...here.
6915 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6916 * math/w_sinh.c: ...here.
6917 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6918 * math/w_sinhf.c: ...here.
6919 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6920 * math/w_sinhl.c: ...here.
6921 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6922 * math/w_sqrt.c: ...here.
6923 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6924 * math/w_sqrtf.c: ...here.
6925 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6926 * math/w_sqrtl.c: ...here.
6927 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6928 * math/w_tgamma.c: ...here.
6929 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6930 * math/w_tgammaf.c: ...here.
6931 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6932 * math/w_tgammal.c: ...here.
6933 * sysdeps/libm-i387/e_acos.S: Moved to ...
6934 * sysdeps/i386/fpu/e_acos.S: ...here.
6935 * sysdeps/libm-i387/e_acosf.S: Moved to ...
6936 * sysdeps/i386/fpu/e_acosf.S: ...here.
6937 * sysdeps/libm-i387/e_acosh.S: Moved to ...
6938 * sysdeps/i386/fpu/e_acosh.S: ...here.
6939 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6940 * sysdeps/i386/fpu/e_acoshf.S: ...here.
6941 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6942 * sysdeps/i386/fpu/e_acoshl.S: ...here.
6943 * sysdeps/libm-i387/e_acosl.S: Moved to ...
6944 * sysdeps/i386/fpu/e_acosl.S: ...here.
6945 * sysdeps/libm-i387/e_asin.S: Moved to ...
6946 * sysdeps/i386/fpu/e_asin.S: ...here.
6947 * sysdeps/libm-i387/e_asinf.S: Moved to ...
6948 * sysdeps/i386/fpu/e_asinf.S: ...here.
6949 * sysdeps/libm-i387/e_asinl.S: Moved to ...
6950 * sysdeps/i386/fpu/e_asinl.S: ...here.
6951 * sysdeps/libm-i387/e_atan2.S: Moved to ...
6952 * sysdeps/i386/fpu/e_atan2.S: ...here.
6953 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6954 * sysdeps/i386/fpu/e_atan2f.S: ...here.
6955 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6956 * sysdeps/i386/fpu/e_atan2l.S: ...here.
6957 * sysdeps/libm-i387/e_atanh.S: Moved to ...
6958 * sysdeps/i386/fpu/e_atanh.S: ...here.
6959 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6960 * sysdeps/i386/fpu/e_atanhf.S: ...here.
6961 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6962 * sysdeps/i386/fpu/e_atanhl.S: ...here.
6963 * sysdeps/libm-i387/e_exp.S: Moved to ...
6964 * sysdeps/i386/fpu/e_exp.S: ...here.
6965 * sysdeps/libm-i387/e_exp10.S: Moved to ...
6966 * sysdeps/i386/fpu/e_exp10.S: ...here.
6967 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6968 * sysdeps/i386/fpu/e_exp10f.S: ...here.
6969 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6970 * sysdeps/i386/fpu/e_exp10l.S: ...here.
6971 * sysdeps/libm-i387/e_expf.S: Moved to ...
6972 * sysdeps/i386/fpu/e_expf.S: ...here.
6973 * sysdeps/libm-i387/e_expl.S: Moved to ...
6974 * sysdeps/i386/fpu/e_expl.S: ...here.
6975 * sysdeps/libm-i387/e_fmod.S: Moved to ...
6976 * sysdeps/i386/fpu/e_fmod.S: ...here.
6977 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6978 * sysdeps/i386/fpu/e_fmodf.S: ...here.
6979 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6980 * sysdeps/i386/fpu/e_fmodl.S: ...here.
6981 * sysdeps/libm-i387/e_hypot.S: Moved to ...
6982 * sysdeps/i386/fpu/e_hypot.S: ...here.
6983 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6984 * sysdeps/i386/fpu/e_hypotf.S: ...here.
6985 * sysdeps/libm-i387/e_log.S: Moved to ...
6986 * sysdeps/i386/fpu/e_log.S: ...here.
6987 * sysdeps/libm-i387/e_log10.S: Moved to ...
6988 * sysdeps/i386/fpu/e_log10.S: ...here.
6989 * sysdeps/libm-i387/e_log10f.S: Moved to ...
6990 * sysdeps/i386/fpu/e_log10f.S: ...here.
6991 * sysdeps/libm-i387/e_log10l.S: Moved to ...
6992 * sysdeps/i386/fpu/e_log10l.S: ...here.
6993 * sysdeps/libm-i387/e_logf.S: Moved to ...
6994 * sysdeps/i386/fpu/e_logf.S: ...here.
6995 * sysdeps/libm-i387/e_logl.S: Moved to ...
6996 * sysdeps/i386/fpu/e_logl.S: ...here.
6997 * sysdeps/libm-i387/e_pow.S: Moved to ...
6998 * sysdeps/i386/fpu/e_pow.S: ...here.
6999 * sysdeps/libm-i387/e_powf.S: Moved to ...
7000 * sysdeps/i386/fpu/e_powf.S: ...here.
7001 * sysdeps/libm-i387/e_powl.S: Moved to ...
7002 * sysdeps/i386/fpu/e_powl.S: ...here.
7003 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7004 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7005 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7006 * sysdeps/i386/fpu/e_remainder.S: ...here.
7007 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7008 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7009 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7010 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7011 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7012 * sysdeps/i386/fpu/e_scalb.S: ...here.
7013 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7014 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7015 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7016 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7017 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7018 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7019 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7020 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7021 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7022 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7023 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7024 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7025 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7026 * sysdeps/i386/fpu/s_asinh.S: ...here.
7027 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7028 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7029 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7030 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7031 * sysdeps/libm-i387/s_atan.S: Moved to ...
7032 * sysdeps/i386/fpu/s_atan.S: ...here.
7033 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7034 * sysdeps/i386/fpu/s_atanf.S: ...here.
7035 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7036 * sysdeps/i386/fpu/s_atanl.S: ...here.
7037 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7038 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7039 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7040 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7041 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7042 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7043 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7044 * sysdeps/i386/fpu/s_ceil.S: ...here.
7045 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7046 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7047 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7048 * sysdeps/i386/fpu/s_ceill.S: ...here.
7049 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7050 * sysdeps/i386/fpu/s_cexp.S: ...here.
7051 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7052 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7053 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7054 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7055 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7056 * sysdeps/i386/fpu/s_copysign.S: ...here.
7057 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7058 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7059 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7060 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7061 * sysdeps/libm-i387/s_cos.S: Moved to ...
7062 * sysdeps/i386/fpu/s_cos.S: ...here.
7063 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7064 * sysdeps/i386/fpu/s_cosf.S: ...here.
7065 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7066 * sysdeps/i386/fpu/s_cosl.S: ...here.
7067 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7068 * sysdeps/i386/fpu/s_exp2.S: ...here.
7069 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7070 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7071 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7072 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7073 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7074 * sysdeps/i386/fpu/s_expm1.S: ...here.
7075 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7076 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7077 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7078 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7079 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7080 * sysdeps/i386/fpu/s_fdim.S: ...here.
7081 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7082 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7083 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7084 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7085 * sysdeps/libm-i387/s_finite.S: Moved to ...
7086 * sysdeps/i386/fpu/s_finite.S: ...here.
7087 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7088 * sysdeps/i386/fpu/s_finitef.S: ...here.
7089 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7090 * sysdeps/i386/fpu/s_finitel.S: ...here.
7091 * sysdeps/libm-i387/s_floor.S: Moved to ...
7092 * sysdeps/i386/fpu/s_floor.S: ...here.
7093 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7094 * sysdeps/i386/fpu/s_floorf.S: ...here.
7095 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7096 * sysdeps/i386/fpu/s_floorl.S: ...here.
7097 * sysdeps/libm-i387/s_fma.S: Moved to ...
7098 * sysdeps/i386/fpu/s_fma.S: ...here.
7099 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7100 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7101 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7102 * sysdeps/i386/fpu/s_fmal.S: ...here.
7103 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7104 * sysdeps/i386/fpu/s_fmax.S: ...here.
7105 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7106 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7107 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7108 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7109 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7110 * sysdeps/i386/fpu/s_fmin.S: ...here.
7111 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7112 * sysdeps/i386/fpu/s_fminf.S: ...here.
7113 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7114 * sysdeps/i386/fpu/s_fminl.S: ...here.
7115 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7116 * sysdeps/i386/fpu/s_frexp.S: ...here.
7117 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7118 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7119 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7120 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7121 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7122 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7123 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7124 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7125 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7126 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7127 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7128 * sysdeps/i386/fpu/s_llrint.S: ...here.
7129 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7130 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7131 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7132 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7133 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7134 * sysdeps/i386/fpu/s_log1p.S: ...here.
7135 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7136 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7137 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7138 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7139 * sysdeps/libm-i387/s_log2.S: Moved to ...
7140 * sysdeps/i386/fpu/s_log2.S: ...here.
7141 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7142 * sysdeps/i386/fpu/s_log2f.S: ...here.
7143 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7144 * sysdeps/i386/fpu/s_log2l.S: ...here.
7145 * sysdeps/libm-i387/s_logb.S: Moved to ...
7146 * sysdeps/i386/fpu/s_logb.S: ...here.
7147 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7148 * sysdeps/i386/fpu/s_logbf.S: ...here.
7149 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7150 * sysdeps/i386/fpu/s_logbl.S: ...here.
7151 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7152 * sysdeps/i386/fpu/s_lrint.S: ...here.
7153 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7154 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7155 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7156 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7157 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7158 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7159 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7160 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7161 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7162 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7163 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7164 * sysdeps/i386/fpu/s_remquo.S: ...here.
7165 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7166 * sysdeps/i386/fpu/s_remquof.S: ...here.
7167 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7168 * sysdeps/i386/fpu/s_remquol.S: ...here.
7169 * sysdeps/libm-i387/s_rint.S: Moved to ...
7170 * sysdeps/i386/fpu/s_rint.S: ...here.
7171 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7172 * sysdeps/i386/fpu/s_rintf.S: ...here.
7173 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7174 * sysdeps/i386/fpu/s_rintl.S: ...here.
7175 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7176 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7177 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7178 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7179 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7180 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7181 * sysdeps/libm-i387/s_significand.S: Moved to ...
7182 * sysdeps/i386/fpu/s_significand.S: ...here.
7183 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7184 * sysdeps/i386/fpu/s_significandf.S: ...here.
7185 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7186 * sysdeps/i386/fpu/s_significandl.S: ...here.
7187 * sysdeps/libm-i387/s_sin.S: Moved to ...
7188 * sysdeps/i386/fpu/s_sin.S: ...here.
7189 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7190 * sysdeps/i386/fpu/s_sincos.S: ...here.
7191 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7192 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7193 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7194 * sysdeps/i386/fpu/s_sincosl.S: ...here.
7195 * sysdeps/libm-i387/s_sinf.S: Moved to ...
7196 * sysdeps/i386/fpu/s_sinf.S: ...here.
7197 * sysdeps/libm-i387/s_sinl.S: Moved to ...
7198 * sysdeps/i386/fpu/s_sinl.S: ...here.
7199 * sysdeps/libm-i387/s_tan.S: Moved to ...
7200 * sysdeps/i386/fpu/s_tan.S: ...here.
7201 * sysdeps/libm-i387/s_tanf.S: Moved to ...
7202 * sysdeps/i386/fpu/s_tanf.S: ...here.
7203 * sysdeps/libm-i387/s_tanl.S: Moved to ...
7204 * sysdeps/i386/fpu/s_tanl.S: ...here.
7205 * sysdeps/libm-i387/s_trunc.S: Moved to ...
7206 * sysdeps/i386/fpu/s_trunc.S: ...here.
7207 * sysdeps/libm-i387/s_truncf.S: Moved to ...
7208 * sysdeps/i386/fpu/s_truncf.S: ...here.
7209 * sysdeps/libm-i387/s_truncl.S: Moved to ...
7210 * sysdeps/i386/fpu/s_truncl.S: ...here.
7211 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7212 * sysdeps/ieee754/k_standard.c: ...here.
7213 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7214 * sysdeps/ieee754/s_lib_version.c: ...here.
7215 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7216 * sysdeps/ieee754/s_matherr.c: ...here.
7217 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7218 * sysdeps/ieee754/s_signgam.c: ...here.
7219 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7220 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7221 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7222 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7223 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7224 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7225 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7226 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7227 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7228 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7229 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7230 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7231 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7232 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7233 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7234 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7235 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7236 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7237 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7238 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7239 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7241 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7242 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7243 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7244 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7245 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7246 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7247 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7248 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7249 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7251 * sysdeps/libm-ieee754/e_log.c: Moved to ...
7252 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7253 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7254 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7255 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7256 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7257 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7258 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7259 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7260 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7261 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7262 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7263 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7264 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7265 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7266 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7267 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7268 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7269 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7270 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7271 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7272 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7273 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7274 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7275 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7276 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7277 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7278 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7279 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7280 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7281 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7282 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7283 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7284 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7285 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7286 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7287 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7288 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7289 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7290 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7291 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7292 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7293 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7294 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7295 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7296 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7297 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7298 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7299 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7300 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7301 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7302 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7303 (__isnan): Comment above function says it returns 0 or 1, but it
7304 used to return 0 or -1.
7305 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7306 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7307 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7308 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7309 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7310 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7311 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7312 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7313 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7314 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7315 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7316 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7317 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7318 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7319 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7320 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7321 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7322 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7323 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7324 * sysdeps/generic/s_nextafter.c: ...here.
7325 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7326 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7327 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7328 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7329 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7330 * sysdeps/libm-ieee754/s_round.c: Moved to ...
7331 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7332 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7333 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7334 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7335 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7336 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7337 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7338 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7339 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7340 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7341 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7342 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7343 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7344 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7345 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7346 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7347 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7348 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7349 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7350 * sysdeps/ieee754/mpn2flt.c: Moved to ...
7351 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7352 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7353 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7354 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7355 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7356 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7357 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7358 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7359 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7360 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7361 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7362 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7363 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7364 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7365 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7366 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7367 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7368 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7369 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7370 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7371 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7372 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7373 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7374 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7375 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7376 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7377 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7378 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7379 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7380 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7381 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7382 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7383 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7384 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7385 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7386 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7387 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7388 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7389 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7390 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7391 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7392 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7393 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7394 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7395 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7396 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7397 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7398 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7399 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7400 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7401 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7402 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7403 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7404 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7405 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7406 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7407 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7408 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7409 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7410 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7411 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7412 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7413 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7414 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7415 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7416 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7417 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7418 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7419 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7420 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7421 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7422 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7423 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7424 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7425 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7426 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7427 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7428 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7429 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7430 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7431 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7432 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7433 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7434 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7435 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7436 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7437 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7438 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7439 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7440 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7441 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7442 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7443 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7444 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7445 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7446 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7447 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7448 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7450 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7451 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7452 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7453 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7454 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7455 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7456 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7457 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7458 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7459 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7460 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7461 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7462 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7463 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7464 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7465 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7466 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7467 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7468 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7469 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7470 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7471 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7472 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7473 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7474 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7475 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7476 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7478 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7479 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7480 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7482 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7483 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7484 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7486 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7487 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7488 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7489 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7490 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7491 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7492 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7494 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7495 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7496 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7497 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7498 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7499 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7500 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7501 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7502 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7503 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7504 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7505 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7506 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7507 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7508 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7509 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7510 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7511 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7512 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7513 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7514 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7515 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7516 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7517 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7518 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7519 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7520 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7521 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7522 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7523 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7524 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7525 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7526 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7528 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7529 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7530 (__nearbyintl): Fix for exponents 2^30.
7531 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7532 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7533 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7534 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7535 (__rintl): Fix for exponents 2^30.
7536 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7537 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7538 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7539 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7540 (__scalbnl): Fix exponent for subnormal result.
7541 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7542 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7543 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7545 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7546 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7547 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7548 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7549 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7550 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7551 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7552 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7553 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7554 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7555 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7556 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7557 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7558 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7559 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7560 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7561 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7562 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7563 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7564 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7565 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7566 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7567 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7568 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7569 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7570 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7571 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7573 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7574 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7575 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7577 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7578 * sysdeps/i386/fpu/s_scalbln.c: ...here.
7579 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7580 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7581 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7582 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7583 * sysdeps/libm-i387/t_exp.c: Moved to ...
7584 * sysdeps/i386/fpu/t_exp.c: ...here.
7585 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7586 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7587 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7588 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7589 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7590 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7591 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7592 * sysdeps/i386/fpu/s_isinfl.c: ...here.
7593 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7594 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7595 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7596 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7597 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7599 Fix exponent for subnormal result.
7600 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7601 * sysdeps/generic/s_nexttowardl.c: ...here.
7602 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7603 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7604 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7605 * sysdeps/i386/fpu/s_isnanl.c: ...here.
7606 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7608 Comment above function says it returns 0 or 1, but it used to return
7610 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7611 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7612 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7613 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7614 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7615 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7616 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7617 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7618 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7620 Cannot compare exponents with different biases without adjusting.
7621 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7622 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7623 Cannot compare exponents with different biases without adjusting.
7624 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7625 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7626 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7628 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7629 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7630 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7631 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7632 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7633 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7634 * sysdeps/libm-ieee754/Dist: Split into ...
7635 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7636 * sysdeps/ieee754/flt-32/Dist: ...this file.
7638 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7639 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7640 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7641 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7643 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7644 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7645 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7646 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7648 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7649 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7650 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7651 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7652 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7653 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7654 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7655 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7657 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7658 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7660 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7662 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7663 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7664 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7666 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7668 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7669 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7670 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7671 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7673 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7676 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7677 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7678 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7679 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7680 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7681 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7682 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7683 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7684 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7686 * sysdeps/generic/math_ldbl.h: New file.
7687 * sysdeps/generic/s_nexttowardf.c: New file.
7688 * sysdeps/generic/strtold.c: New file.
7689 * sysdeps/generic/ldbl2mpn.c: New file.
7691 * math/machine/endian.h: Remove.
7692 * sysdeps/i386/fpu/Implies: Remove.
7693 * sysdeps/ieee754/Implies: Remove.
7695 * math/math_private.h: Move long double macros to math_ldbl.h
7698 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7700 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7701 connections without a hostname set address to localhost address.
7703 1999-07-11 H.J. Lu <hjl@gnu.org>
7705 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7706 nscd's own strong version of the get[a-z]*_r function.
7707 * nscd/hstcache.c: Likewise.
7708 * nscd/pwdcache.c: Likewise.
7710 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7712 * configure.in: Recognize 2.95 as gcc version number.
7713 Patch by Joel Klecker <jk@espy.org>.
7715 1999-07-12 Andreas Schwab <schwab@suse.de>
7717 * elf/rtld.c (dl_main): When putting back the interpreter object
7718 handle the case where a missing object might occur in the list of
7719 objects but not in the search list when in trace mode.
7721 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
7723 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7724 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7725 _nss_hesiod_initgroups.
7727 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7729 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7730 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7731 Initialize it from &__data_start if defined, or else &_end.
7733 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7735 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7736 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7738 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7740 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7742 1999-07-09 H.J. Lu <hjl@gnu.org>
7744 * Versions.def (GLIBC_2.1.2): Added.
7746 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7747 old one as GLIBC_2.0.
7748 * nss/getXXbyYY_r.c: Likewise.
7750 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7752 * inet/Versions (getaliasbyname_r, getaliasent_r,
7753 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7754 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7755 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7756 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7757 getservbyname_r): Likewise.
7758 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7759 * shadow/Versions (getspent_r, getspnam_r): Likewise.
7761 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7763 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7765 (__memset_cc): Likewise.
7767 * sysdeps/generic/libc-start.c: For SUID binaries check whether
7768 the standard file descriptors are open.
7769 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7771 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7772 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7773 range of mmap. If not fail.
7774 Patches by Daniel Jacobowitz <dan@debian.org>.
7776 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7777 before the relocation happened.
7778 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7780 * Versions.def (libnsl): Add GLIBC_2.2.
7781 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7783 1999-07-08 Cristian Gafton <gafton@redhat.com>
7785 * nis/yp_xdr.c (xdr_ypall): New function.
7787 1999-07-09 Andreas Schwab <schwab@suse.de>
7789 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7791 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7793 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7795 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7796 * hesiod/hesiod-grp.c: Add initgroups support.
7797 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7799 1999-07-08 Andreas Schwab <schwab@suse.de>
7801 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7803 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7806 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7808 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7810 1999-07-08 Andreas Schwab <schwab@suse.de>
7812 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7814 1999-07-08 Andreas Schwab <schwab@suse.de>
7816 * libio/fileno.c: Return -1 instead of EOF and set errno if the
7817 stream is not a real file stream.
7819 1999-07-08 Andreas Schwab <schwab@suse.de>
7821 * manual/charset.texi: Fix typos.
7823 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7825 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7827 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
7829 * dlfcn: New directory. Move the following files from elf:
7830 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7831 dlopenold.c, dlsym.c, dlvsym.c.
7832 * dlfcn/Makefile: New file.
7833 * dlfcn/Versions: New file.
7834 * dlfcn/dlsym.c: All ELF-specific code split out to new
7836 * dlfcn/dlvsym.c: All ELF-specific code split out to new
7838 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
7841 * dlfcn/dladdr.c: Remove all references to ELF data structures
7843 * dlfcn/dlclose.c: Likewise.
7844 * dlfcn/dlerror.c: Likewise.
7845 * dlfcn/dlopen.c: Likewise.
7846 * dlfcn/dlopenold.c: Likewise.
7848 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7849 yes, empty otherwise.
7850 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7851 depending on build-shared.
7852 (subdirs): Add $(dlfcn).
7853 (rpath-dirs): Add dlfcn.
7854 * elf/Makefile: Remove all references to libdl or its
7855 components, except the ones relating to the test cases.
7856 (routines): Add dl-sym.
7857 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7860 * elf/dl-close.c (_dl_close): Change argument to void *.
7861 * elf/dl-open.c (_dl_open): Change return type to void *.
7862 * elf/eval.c: Removed.
7863 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7864 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7865 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
7867 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7868 Include real header from dlfcn directory.
7869 * include/ldsodefs.h: Removed.
7871 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7872 * nss/getXXbyYY_r.c: Likewise.
7873 * nss/getXXent_r.c: Likewise.
7874 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
7875 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
7876 * iconv/skeleton.c: Don't include ldsodefs.h.
7877 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
7879 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7881 * sysdeps/generic/setenv.c: Describe problem.
7883 * malloc/malloc.c (request2size): Also set errno if failing.
7885 * malloc/malloc.c (request2size): Take care of overflow in
7888 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
7889 (NULL, != 0) correctly.
7891 * elf/dl-load.c: Use a few more __builtin_expect.
7893 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7896 1999-07-07 Andreas Schwab <schwab@suse.de>
7898 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7899 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7900 (_PATH_DEVPTMX): Use _PATH_DEV.
7902 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7904 * malloc/tst-malloc.c: New file. Tests some basic functionality.
7905 * malloc/Makefile (tests): Add tst-malloc.
7907 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7909 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7912 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7914 Patch by Jay Estabrook.
7916 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7918 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7919 Patch by Cristian Gafton.
7921 1999-07-02 Cristian Gafton <gafton@redhat.com>
7923 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7924 instead of "return NULL" to make C++ happy.
7926 1999-07-04 Mark Kettenis <kettenis@gnu.org>
7928 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7929 allowed by the file access mode of the open file.
7931 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7933 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7936 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
7938 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7939 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7940 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7941 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7943 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7945 * malloc/malloc.c (request2size): Check for overflow and return
7946 NULL whenever it is encountered.
7948 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
7950 * sysdeps/posix/tempname.c (__gen_tempname): Add
7951 ability to create directories. Replace OPENIT and LARGEFILE
7952 args with a single flags parameter.
7953 * sysdeps/generic/tempname.c: Likewise.
7954 * include/stdio.h: Adjust prototype of __gen_tempname to
7955 match. Define symbolic constants for second argument.
7957 * misc/mkdtemp.c: New file, provides new function mkdtemp().
7958 * stdlib/stdlib.h: Prototype it.
7959 * misc/Versions: Export it.
7960 * misc/Makefile (routines): Add mktemp.
7961 * manual/filesys.texi: Document it.
7963 * misc/mktemp.c: Adjust call of __gen_tempname to match new
7965 * misc/mkstemp.c: Likewise.
7966 * stdio-common/tempnam.c: Likewise.
7967 * stdio-common/tmpfile.c: Likewise.
7968 * stdio-common/tmpfile64.c: Likewise.
7969 * stdio-common/tmpnam.c: Likewise.
7970 * stdio-common/tmpnam_r.c: Likewise.
7972 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
7974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7975 R_SPARC_OLO10 relocations.
7976 * elf/elf.h (R_SPARC_OLO10): Fix comment.
7978 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
7980 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
7981 doesn't belong in the tests, but in the wordexp implementation.
7983 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7986 1999-07-01 Cristian Gafton <gafton@redhat.com>
7988 * time/strptime.c (strptime): Initialize the tm struct first to avoid
7989 returning bogus results on incomplete data.
7990 (strptime_internal): day_of_the_week() requres both tm_mon and
7991 tm_mday to be initialized.
7992 Compute them first if they are not given.
7993 (strptime_internal): (have_mon, have_mday): New variables.
7995 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7997 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7999 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8001 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8002 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8004 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8006 * posix/wordexp.c (parse_tilde): Handle failing call to
8007 get.*_r functions correctly for non-existing entry.
8008 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8009 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8011 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8013 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8014 getxxbyYY_r functions correctly for non-existing entry.
8015 * sunrpc/getrpcport.c: Likewise.
8016 * sunrpc/clnt_simp.c: Likewise.
8017 * inet/rexec.c: Likewise.
8018 * sunrpc/clnt_gen.c: Likewise.
8019 * inet/rcmd.c: Likewise.
8020 * sysdeps/generic/glob.c: Likewise.
8022 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8024 * pwd/Makefile (tests): Add rules for tst-getpw.
8026 * pwd/tst-getpw.c: New program to test getpw.
8028 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8030 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8033 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8035 * manual/arith.texi (System V Number Conversion): Fix the
8036 description which confused pointer and value to pointer.
8037 Reported by Andries.Brouwer@cwi.nl.
8039 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8041 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8043 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8045 * manual/users.texi (Lookup User): Document POSIX return
8046 semantics for getpwuid_r and getgrgid_r.
8048 * manual/socket.texi (Host Names): Document that the result
8049 pointer is null in case of error or host not found and fix a
8050 typo. Give a small example.
8052 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8054 * pwd/getpw.c: Add warning since no buffer size is given and
8055 therefore no overrun tests are possible.
8057 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8059 * pwd/pwd.h: Add getpw prototype declaration.
8061 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8063 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8064 * wcsmbs/wcschr.c: Likewise.
8066 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8068 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8070 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8071 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8072 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8074 * elf/dl-dst.h: Fix typo.
8075 * elf/dl-open.c: Likewise.
8077 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8079 * elf/dl-libc.c: New file, provides three functions:
8080 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8081 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8082 * elf/Makefile (routines): Add dl-libc.c.
8083 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8085 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8087 * iconv/gconv.c: Include dlfcn.h.
8088 * iconv/gconv_db.c: Likewise.
8089 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8091 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8092 `handle' to a void *.
8093 (__gconv_find_func): Delete prototype.
8095 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8096 dlerror_run and related functions and structs. Use
8097 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8098 * nss/nsswitch.c: Likewise.
8100 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8102 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8105 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8108 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8110 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8111 functions correctly.
8113 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8115 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8118 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8120 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8122 * manual/string.texi (Copying and Concatenation): Mention that
8123 strndup is a GNU extension.
8125 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8127 * pwd/getpw.c (__getpw): Fix check for error return.
8129 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8131 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8132 occurence of the aux object start with the current list entry, not
8133 the new one. Adjust tail pointer in the unique list. Explain how
8134 the meaning of the variables changes [PR libc/1168].
8136 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8138 * sysdeps/m68k/fpu/Dist: New file.
8140 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8142 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8144 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8145 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8146 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8147 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8148 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8149 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8150 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8151 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8152 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8153 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8154 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8155 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8156 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8157 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8158 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8159 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8161 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8163 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8164 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8165 _EXTERN_INLINE, use a macro specific to each file,
8166 _HURD_FD_H_EXTERN_INLINE and the like.
8167 * hurd/Makefile (inline-headers): New variable.
8168 (routines): Remove hurdinline. Add $(inlines).
8169 (inlines): New variable.
8170 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8171 (generated): Append those here.
8172 * hurd/hurdinline.c: File removed.
8174 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8176 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8178 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8180 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8182 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8184 * string/bits/string2.h (strnlen): Remove extra prototype.
8186 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8188 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8189 Reported by Andries.Brouwer@cwi.nl.
8191 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8193 * nscd/connections.c (handle_request): Use correct type for optlen
8196 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8197 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8199 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
8201 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8202 * nscd/pwdcache.c: Likewise.
8203 * nscd/hstcache.c: Likewise.
8205 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8207 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8209 * posix/getopt.h: Include stdio.h.
8211 * manual/arith.texi: Document restriction of ndigit parameter of
8213 * misc/efgcvt.c: Define NDIGIT_MAX.
8214 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8215 Do not dynamically allocate the static buffers. They are small enough.
8216 * misc/efgcvt_r.c: Define NDIGIT_MAX.
8217 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8218 * misc/qefgcvt.c: Define NDIGIT_MAX.
8219 * misc/qefgcvt_r.c: Likewise.
8220 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8222 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
8224 * libio/stdio.h: Define stdin, stdout, stderr as macros.
8225 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8226 These are *pragmas* not macros.
8227 * wcsmbs/wchar.h: Fix comment.
8229 * grp/grp.h: Use __foo_t_defined convention to typedef things
8231 * io/sys/stat.h: Likewise.
8232 * libio/stdio.h: Likewise.
8233 * posix/unistd.h: Likewise.
8234 * posix/sys/types.h: Likewise.
8235 * posix/sys/wait.h: Likewise.
8236 * pwd/pwd.h: Likewise.
8237 * signal/signal.h: Likewise.
8238 * sysdeps/generic/stdint.h: Likewise.
8239 * sysdeps/gnu/utmpx.h: Likewise.
8240 * termios/termios.h: Likewise.
8242 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8244 * stdio/fputc.c: Don't define alias if fputc is defined as a
8246 * stdio/putc.c: Define weak alias here since it is not done
8249 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8251 * assert/assert.h: Don't produce `defined' as part of macro
8254 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
8256 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8257 OFFSET argument of (off_t) -1.
8258 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8259 OFFSET argument of (off_t) -1.
8261 * sysdeps/mach/hurd/pwrite.c: New file.
8262 * sysdeps/mach/hurd/pread.c: New file.
8264 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8265 pass it in the RPC instead of always -1.
8266 * hurd/fd-write.c (_hurd_fd_write): Likewise.
8267 * hurd/hurd/fd.h: Update decls.
8269 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8271 * libio/wscanf.c: Include <wchar.h> for prototype.
8273 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
8275 * manual/io.texi. Fix typos.
8276 * manual/stdio.texi: Likewise.
8277 Patches by Brian Youmans <3diff@gnu.org>.
8279 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
8281 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8282 bits of two words differ.
8284 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8286 * libio/Makefile (routines): Add putwchar and putwchar_u.
8288 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8289 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
8290 stdout. Fix parameter name.
8292 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8293 * libio/getchar_u.c: Likewise.
8295 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8297 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8299 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8300 macro expansion---it's undefined. Properly parenthesize
8301 substituted parameters.
8302 (__GLIBC_PREREQ): Likewise.
8304 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
8306 * Makeconfig (CPPFLAGS): Revert last change. It has too many
8309 * stdlib/longlong.h: Provide __P definition if not already
8312 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8314 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
8316 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8318 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8320 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8322 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8324 * stdio-common/vfprintf.c (group_member): Make parameters and
8325 return types pointers to CHAR_T instead of UCHAR_T.
8326 (vfprintf): Change type of work_buffer, workend and string to
8327 CHAR_T pointer/array.
8328 (process_arg, process_string_arg): Adjust/remove casts. Add
8329 missing use of L_ macro.
8330 (printf_unknown): Add missing uses of L_ macro.
8332 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8334 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8337 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8339 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
8340 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8341 (__wunderflow): Likewise.
8342 (_IO_switch_to_wget_mode): Likewise.
8343 (_IO_init_wmarker): Likewise.
8345 * libio/wfileops.c (_IO_wfile_seekoff): Call
8346 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8347 (_IO_wfile_jumps): Fix pbackfail entry.
8349 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8350 function if the stream is currently unoriented.
8352 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
8354 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8355 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
8356 __gnuc_va_list in v*w(printf|scanf) prototypes.
8358 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8360 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8361 1999-03-29 to iopopen also here.
8362 Reported by Richard Braakman <dark@xs4all.nl>.
8364 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8366 * include/features.h: Use __GNUC_PREREQ.
8367 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8369 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8371 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8372 Change EOF to WEOF and remove cast.
8373 (UNGETC): Remove macro.
8374 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8375 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8376 Change ISASCII to isascii and MBRLEN to mbrlen.
8377 (parse_one_spec): Compare info.spec always against wchar_t
8379 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8380 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8381 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8383 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8385 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8386 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8387 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8388 oldiofsetpos64 only if doing versioning.
8390 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8392 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8394 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8396 * libio/libio.h: Fix last patch.
8398 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8400 * libio/libio.h (_IO_putwc): Correct type of first argument.
8401 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8402 putwc_unlocked, putwchar_unlocked): Likewise.
8403 * libio/fputwc.c: Likewise.
8404 * libio/fputwc_unlocked.c: Likewise.
8405 * libio/putwc.c: Likewise.
8406 * libio/putwc_unlocked.c: Likewise.
8407 * libio/putwchar.c: Likewise.
8408 * libio/putwchar_unlocked.c: Likewise.
8410 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
8412 * sysdeps/gnu/siglist.h: File moved to ...
8413 * sysdeps/generic/siglist.h: ... here. This file should be usable for
8414 any platform, since it just associates the SIG* macros with text names
8415 and descriptions. For any signal macros do not exist on every
8416 platform, we can use #ifdef tests here and still use this single
8417 common file for all platforms.
8418 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
8419 should be usable for all platforms after the binary compatibility
8420 stuff in the current sysdeps/gnu version is no longer required.
8421 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8422 * sysdeps/generic/make_siglist.c: File removed.
8423 * sysdeps/mach/hurd/siglist.h: Use #include_next.
8424 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8426 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
8428 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8429 * sysdeps/gnu/siglist.c: ... here.
8430 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8431 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8432 * sysdeps/gnu/siglist.h: New file, contents from linux version.
8433 Add entry for SIGLOST protected by #ifdef.
8434 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8435 and define OLD_SIGLIST_SIZE_STR.
8436 * sysdeps/mach/hurd/siglist.h: New file, likewise.
8438 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8440 * include/features.h: Define new macros __GNUC_PREREQ and
8441 __GLIBC_PREREQ which can be used to test the version of gcc
8442 and glibc respectively.
8444 * assert/assert.h: Use __GNUC_PREREQ.
8445 * intl/libintl.h: Likewise.
8446 * math/complex.h: Likewise.
8447 * math/tgmath.h: Likewise.
8448 * misc/sys/cdefs.h: Likewise.
8449 * posix/sys/types.h: Likewise.
8450 * socket/sys/socket.h: Likewise.
8451 * string/bits/string2.h: Likewise.
8452 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8453 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8455 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8457 * include/libintl.h: Declare _libc_intl_domainname here.
8458 Define _ and N_ here.
8459 * include/libc-symbols.h: Don't include <libintl.h>. Don't
8460 define _ and N_. Don't declare _libc_intl_domainname.
8461 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8463 * db2/config.h: Don't include sys/stat.h or define
8464 HAVE_ST_BLKSIZE here...
8465 * db2/compat.h: ...do it here.
8467 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8469 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8470 * iconv/iconv.c: Include stddef.h for NULL.
8471 * malloc/malloc.h: Include features.h.
8472 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8474 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8475 into the generated file.
8476 * sysdeps/gnu/errlist.awk: Likewise.
8477 * sysdeps/gnu/errlist.c: Rebuilt.
8479 * assert/assert-perr.c: Include libintl.h.
8480 * assert/assert.c: Likewise.
8481 * elf/dl-open.c: Likewise.
8482 * elf/dlsym.c: Likewise.
8483 * elf/dlvsym.c: Likewise.
8484 * iconv/iconv_prog.c: Likewise.
8485 * inet/rcmd.c: Likewise.
8486 * inet/ruserpass.c: Likewise.
8487 * locale/programs/charset.c: Likewise.
8488 * locale/programs/ld-collate.c: Likewise.
8489 * locale/programs/ld-ctype.c: Likewise.
8490 * locale/programs/ld-messages.c: Likewise.
8491 * locale/programs/ld-monetary.c: Likewise.
8492 * locale/programs/ld-numeric.c: Likewise.
8493 * locale/programs/ld-time.c: Likewise.
8494 * locale/programs/locfile.c: Likewise.
8495 * locale/programs/repertoire.c: Likewise.
8496 * login/programs/database.c: Likewise.
8497 * login/programs/request.c: Likewise.
8498 * malloc/mcheck.c: Likewise.
8499 * misc/error.c: Likewise.
8500 * nis/nis_call.c: Likewise.
8501 * nis/nis_callback.c: Likewise.
8502 * nis/nis_error.c: Likewise.
8503 * nis/nis_local_names.c: Likewise.
8504 * nis/nis_print.c: Likewise.
8505 * nis/nis_print_group_entry.c: Likewise.
8506 * nis/ypclnt.c: Likewise.
8507 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8508 * nscd/cache.c: Likewise.
8509 * nscd/connections.c: Likewise.
8510 * nscd/grpcache.c: Likewise.
8511 * nscd/hstcache.c: Likewise.
8512 * nscd/nscd_conf.c: Likewise.
8513 * nscd/nscd_stat.c: Likewise.
8514 * nscd/pwdcache.c: Likewise.
8515 * posix/id.c: Likewise.
8516 * resolv/herror.c: Likewise.
8517 * stdio-common/psignal.c: Likewise.
8518 * string/strsignal.c: Likewise.
8519 * sunrpc/auth_unix.c: Likewise.
8520 * sunrpc/clnt_perr.c: Likewise.
8521 * sunrpc/clnt_raw.c: Likewise.
8522 * sunrpc/clnt_tcp.c: Likewise.
8523 * sunrpc/clnt_udp.c: Likewise.
8524 * sunrpc/clnt_unix.c: Likewise.
8525 * sunrpc/get_myaddr.c: Likewise.
8526 * sunrpc/pm_getmaps.c: Likewise.
8527 * sunrpc/pmap_clnt.c: Likewise.
8528 * sunrpc/pmap_rmt.c: Likewise.
8529 * sunrpc/rpc_main.c: Likewise.
8530 * sunrpc/rpc_scan.c: Likewise.
8531 * sunrpc/svc_run.c: Likewise.
8532 * sunrpc/svc_simple.c: Likewise.
8533 * sunrpc/svc_tcp.c: Likewise.
8534 * sunrpc/svc_udp.c: Likewise.
8535 * sunrpc/svc_unix.c: Likewise.
8536 * sunrpc/xdr_rec.c: Likewise.
8537 * sunrpc/xdr_ref.c: Likewise.
8538 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8539 * sysdeps/posix/gai_strerror.c: Likewise.
8540 * sysdeps/unix/siglist.c: Likewise.
8541 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8542 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8543 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8544 * timezone/zic.c: Likewise.
8546 1999-06-18 H.J. Lu <hjl@gnu.org>
8548 * localedata/Makefile (charmaps): Exclude SCCS.
8549 (locales): Likewise.
8550 (repertoiremaps): Likewise.
8552 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8554 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8555 * sysdeps/generic/bsd-setjmp.c: Likewise.
8557 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8559 * iconv/gconv_open.c: Include string.h for memset prototype.
8561 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8564 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8565 assignment to avoid warning on 64bit platforms.
8567 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8569 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8571 * nss/getXXbyYY_r.c: Return error code not -1.
8572 * nss/getXXent_r.c: Likewise.
8573 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8575 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8576 value > 0 for error.
8577 * nscd/nscd_gethst_r.c: Likewise.
8578 * nscd/nscd_getpw_r.c: Likewise.
8580 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8582 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8585 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8587 * nscd/nscd_nischeck.c: Fix typos.
8589 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8591 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8592 always when oact is NULL.
8593 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8595 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8597 * math/libm-test.c (jn_test): Adjust delta.
8599 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8601 * libio/vwprintf.c: Include <wchar.h> for prototypes.
8602 * libio/wprintf.c: Likewise.
8604 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8606 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8607 to not write beyond allocated memory.
8608 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8610 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8612 * malloc/mtrace.c: Keep lock while printing output lines.
8613 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8615 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
8617 * configure.in: Add warnings about broken code.
8619 * Versions.def: Add GLIBC_2.2 for libc.
8621 * iconv/gconv.h: Make header suitable for inclusion in public header
8622 by protecting all names with __.
8623 * iconv/gconv.c: Adapt for symbol name changes.
8624 * iconv/gconv.h: Likewise.
8625 * iconv/gconv_builtin.c: Likewise.
8626 * iconv/gconv_close.c: Likewise.
8627 * iconv/gconv_db.c: Likewise.
8628 * iconv/gconv_dl.c: Likewise.
8629 * iconv/gconv_int.h: Likewise.
8630 * iconv/gconv_open.c: Likewise.
8631 * iconv/gconv_simple.c: Likewise.
8632 * iconv/iconv.c: Likewise.
8633 * iconv/iconv_close.c: Likewise.
8634 * iconv/iconv_open.c: Likewise.
8635 * iconv/loop.c: Likewise.
8636 * iconv/skeleton.c: Likewise.
8637 * iconvdata/8bit-gap.c: Likewise.
8638 * iconvdata/8bit-generic.c: Likewise.
8639 * iconvdata/ansi_x3.110.c: Likewise.
8640 * iconvdata/big5.c: Likewise.
8641 * iconvdata/cns11643.h: Likewise.
8642 * iconvdata/cns11643l1.h: Likewise.
8643 * iconvdata/euc-cn.c: Likewise.
8644 * iconvdata/euc-jp.c: Likewise.
8645 * iconvdata/euc-kr.c: Likewise.
8646 * iconvdata/euc-tw.c: Likewise.
8647 * iconvdata/gb2312.h: Likewise.
8648 * iconvdata/iso-2022-jp.c: Likewise.
8649 * iconvdata/iso-2022-kr.c: Likewise.
8650 * iconvdata/iso646.c: Likewise.
8651 * iconvdata/iso8859-1.c: Likewise.
8652 * iconvdata/iso_6937-2.c: Likewise.
8653 * iconvdata/iso_6937.c: Likewise.
8654 * iconvdata/jis0201.h: Likewise.
8655 * iconvdata/jis0208.h: Likewise.
8656 * iconvdata/jis0212.h: Likewise.
8657 * iconvdata/johab.c: Likewise.
8658 * iconvdata/ksc5601.h: Likewise.
8659 * iconvdata/sjis.c: Likewise.
8660 * iconvdata/t.61.c: Likewise.
8661 * iconvdata/uhc.c: Likewise.
8662 * stdlib/mblen.c: Likewise.
8663 * stdlib/mbtowc.c: Likewise.
8664 * stdlib/wctomb.c: Likewise.
8665 * wcsmbs/btowc.c: Likewise.
8666 * wcsmbs/mbrtowc.c: Likewise.
8667 * wcsmbs/mbsnrtowcs.c: Likewise.
8668 * wcsmbs/mbsrtowcs.c: Likewise.
8669 * wcsmbs/wchar.h: Likewise.
8670 * wcsmbs/wcrtomb.c: Likewise.
8671 * wcsmbs/wcsmbsload.c: Likewise.
8672 * wcsmbs/wcsmbsload.h: Likewise.
8673 * wcsmbs/wcsnrtombs.c: Likewise.
8674 * wcsmbs/wcsrtombs.c: Likewise.
8675 * wcsmbs/wctob.c: Likewise.
8677 * include/limits.h (MB_LEN_MAX): Increase to 16.
8679 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
8681 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8682 * include/wchar.h: Change mbstate_t to __mbstate_t.
8684 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8685 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8686 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8687 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8688 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8689 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8691 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8692 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8693 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8694 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8695 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8696 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8697 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8698 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8700 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
8701 Extend _IO_file contain pointer to codecvt, widedata and mode.
8702 (_IO_getwc_unlocked): New macro.
8703 (_IO_putwc_unlocked): New macro.
8704 (_IO_fwide): New macro.
8705 * libio/libioP.h: Add new prototypes and adjust existing declarations.
8706 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8707 buffers based on mode.
8708 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8710 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8711 flag to be enough to signal unallocated buffer. For wide oriented
8712 stream don't make it linebuffered. Don't use _IO_do_flush, use
8713 _IO_new_do_write directly.
8714 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8715 (_IO_file_seek): Likewise.
8716 * libio/genops.c (_IO_least_marker): Make global.
8717 (__underflow): Orient stream if not already done.
8718 (__uflow): Likewise.
8719 (_IO_default_seekpos): Change to type _IO_off64_t.
8720 (_IO_default_seekoff): Likewise.
8721 (_IO_default_seek): Likewise.
8722 (_IO_no_init): New function. Similar to _IO_init but allows to orient
8724 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
8726 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
8728 * libio/ftello64.c: Likewise.
8729 * libio/ioftell.c: Likewise.
8730 * libio/iofopncook.c: Likewise.
8731 * libio/ioseekoff.c: Likewise.
8732 * libio/ioseekpos.c: Likewise.
8733 * libio/oldfileops.c: Likewise.
8734 * libio/iofgetpos.c: Store state of conversion if necessary.
8735 * libio/iofgetpos64.c: Likewise.
8736 * libio/iofsetpos.c: Restore conversion state if necessary.
8737 * libio/iofsetpos64.c: Likewise.
8738 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8739 * libio/iofopen.c: Likewise.
8740 * libio/iofopen64.c: Likewise.
8741 * libio/iopopen.c: Likewise.
8742 * libio/iovdprintf.c: Likewise.
8743 * libio/iovsprintf.c: Likewise.
8744 * libio/iovsscanf.c: Likewise.
8745 * libio/memstream.c: Likewise.
8746 * libio/obprintf.c: Likewise.
8747 * libio/iofputs.c: Orient stream if not already happened.
8748 * libio/iofputs_u.c: Likewise.
8749 * libio/iofwrite.c: Likewise.
8750 * libio/iofwrite_u.c: Likewise.
8751 * libio/ioputs.c: Likewise.
8752 * libio/iosetbuffer.c: Handle not yet oriented stream.
8753 * libio/iosetvbuf.c: Likewise.
8754 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8755 * libio/stdfiles.c: Likewise.
8756 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8758 (_IO_str_seekoff): Use _IO_off64_t.
8759 * libio/vasprintf.c: Pre-orient stream.
8760 * libio/vsnprintf.c: Likewise.
8761 * libio/fputwc.c: New file.
8762 * libio/fputwc_u.c: New file.
8763 * libio/fwprintf.c: New file.
8764 * libio/fwscanf.c: New file.
8765 * libio/getwc.c: New file.
8766 * libio/getwc_u.c: New file.
8767 * libio/getwchar.c: New file.
8768 * libio/getwchar_u.c: New file.
8769 * libio/iofgetws.c: New file.
8770 * libio/iofgetws_u.c: New file.
8771 * libio/iofputws.c: New file.
8772 * libio/iofputws_u.c: New file.
8773 * libio/iofwide.c: New file.
8774 * libio/iogetwline.c: New file.
8775 * libio/ioungetwc.c: New file.
8776 * libio/iovswscanf.c: New file.
8777 * libio/iowpadn.c: New file.
8778 * libio/oldiofgetpos.c: New file.
8779 * libio/oldiofgetpos64.c: New file.
8780 * libio/oldiofsetpos.c: New file.
8781 * libio/oldiofsetpos64.c: New file.
8782 * libio/putwc.c: New file.
8783 * libio/putwc_u.c: New file.
8784 * libio/putwchar.c: New file.
8785 * libio/putwchar_u.c: New file.
8786 * libio/swprintf.c: New file.
8787 * libio/swscanf.c: New file.
8788 * libio/tst_swprintf.c: New file.
8789 * libio/tst_swscanf.c: New file.
8790 * libio/tst_wprintf.c: New file.
8791 * libio/tst_wscanf.c: New file.
8792 * libio/tst_wscanf.input: New file.
8793 * libio/vswprintf.c: New file.
8794 * libio/vwprintf.c: New file.
8795 * libio/vwscanf.c: New file.
8796 * libio/wfiledoalloc.c: New file.
8797 * libio/wfileops.c: New file.
8798 * libio/wgenops.c: New file.
8799 * libio/wprintf.c: New file.
8800 * libio/wscanf.c: New file.
8801 * libio/wstrops.c: New file.
8802 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8803 vfwprintf, and vfwscanf.
8804 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8806 * stdio-common/_itowa.c: New file.
8807 * stdio-common/_itowa.h: New file.
8808 * stdio-common/itoa-digits.c: Minimal optimization.
8809 * stdio-common/itowa-digits.c: New file.
8810 * stdio-common/printf-parse.h: Allow use in wide character context.
8811 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8812 * stdio-common/printf.h (printf_info): Add wide bit.
8813 * stdio-common/printf_fp.c: Determine from wide bit whether stream
8814 is wide oriented or not.
8815 * stdio-common/printf_size.c: Likewise.
8816 * sysdeps/generic/printf_fphex.c: Likewise.
8817 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8818 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8820 * stdio-common/vfscand.c: Likewise.
8821 * stdio-common/vfwprintf.c: New file.
8822 * stdio-common/vfwscanf.c: New file.
8824 * time/Makefile (routines): Add wcsftime.
8825 (tests): Add tst_wcsftime.
8826 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8827 * time/strftime.c: Make usable as wcsftime.
8828 * time/wcsftime.c: New file.
8829 * time/tst_wcsftime.c: New file.
8831 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8832 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8833 * wcsmbs/wcschrnul.c: New file.
8834 * wcsmbs/wmemcpy.c: New file.
8835 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8836 * wcsmbs/wmemmove.c: Likewise for wmemmove.
8838 * manual/stdio.texi: Document is_char and wide element if printf_info.
8840 * manual/time.texi: Document wcsftime.
8842 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8843 __wmemmove, __wcschrnul, and __vfwscanf.
8845 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8846 * locale/C-time.c: Adapt for above change.
8847 * locale/categories.def: Likewise.
8848 * locale/localeinfo.h: Likewise.
8849 * localedata/Makefile: Don't run tests for now.
8851 * manual/errno.texi: Fix typos.
8852 * manual/memory.texi: Likewise.
8853 * manual/ctype.texi: Likewise.
8854 Patches by Brian Youmans <3diff@gnu.org>.
8856 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8858 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8860 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8862 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8864 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8865 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8867 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8869 * db2/db/db.c: Restore __nss_db_open alias.
8870 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8872 * db2/os/os_rw.c (__os_write): Maintain const correctness.
8873 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8875 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8877 * stdio-common/printf-parse.h (parse_one_spec): Don't set
8878 is_longlong if not necessary.
8880 1999-06-15 H.J. Lu <hjl@gnu.org>
8882 * Make-dist (sysdep_dirs): Exclude SCCS.
8883 * MakeTAGS (sysdep_dirs): Likewise.
8885 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8887 * posix/regex.c (re_error_msgid): Remove extra commas.
8889 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
8891 * stdlib/tst-strtoll.c: New file.
8892 * stdlib/Makefile (tests): Add tst-strtoll.c
8893 * stdlib/strtol.c: It is not generally true that if
8894 (unsigned)a*(unsigned)b overflows, then the result is
8897 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
8899 * nscd/connections.c (handle_request): Only root is allowed to
8900 send GETSTAT request in non secure mode.
8901 * nscd/nscd.c: Print error message if other then root try to
8904 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8906 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8908 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8910 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8911 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8913 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8915 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8916 for character to search, to help the compiler.
8917 * sysdeps/generic/strchrnul.c: Likewise.
8918 * sysdeps/generic/memchr.c: Likewise.
8919 * sysdeps/generic/memccpy.c: Likewise.
8920 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
8922 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8924 * sysdeps/m68k/memchr.S: New file.
8925 * sysdeps/m68k/rawmemchr.S: New file.
8926 * sysdeps/m68k/strchr.S: New file.
8927 * sysdeps/m68k/strchrnul.S: New file.
8929 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
8931 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8932 add `memory' clobber; optimise for constant `val'.
8933 (atomic_add): Likewise.
8934 (test_and_set): Remove `volatile'; add `memory' clobber; be more
8935 like the original `test_and_set'.
8936 (compare_and_swap): Remove `volatile'; add `memory' clobber;
8937 optimise for constant `oldval'.
8938 (always_swap): Remove `volatile'; add `memory' clobber.
8940 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8942 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8943 functions for gcc <= 2.7.x.
8945 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
8947 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8950 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
8952 * db2/Makefile (distribute): Remove files which do not exist
8955 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8956 definitions to calm down gcc.
8958 * db2/db.h: Update from db 2.7.5.
8959 * db2/db_185.h: Likewise.
8960 * db2/db_int.h: Likewise.
8961 * db2/btree/bt_compare.c: Likewise.
8962 * db2/btree/bt_conv.c: Likewise.
8963 * db2/btree/bt_curadj.c: Likewise.
8964 * db2/btree/bt_cursor.c: Likewise.
8965 * db2/btree/bt_delete.c: Likewise.
8966 * db2/btree/bt_open.c: Likewise.
8967 * db2/btree/bt_page.c: Likewise.
8968 * db2/btree/bt_put.c: Likewise.
8969 * db2/btree/bt_rec.c: Likewise.
8970 * db2/btree/bt_recno.c: Likewise.
8971 * db2/btree/bt_rsearch.c: Likewise.
8972 * db2/btree/bt_search.c: Likewise.
8973 * db2/btree/bt_split.c: Likewise.
8974 * db2/btree/bt_stat.c: Likewise.
8975 * db2/btree/btree_auto.c: Likewise.
8976 * db2/common/db_appinit.c: Likewise.
8977 * db2/common/db_apprec.c: Likewise.
8978 * db2/common/db_err.c: Likewise.
8979 * db2/common/db_region.c: Likewise.
8980 * db2/common/db_salloc.c: Likewise.
8981 * db2/db/db.c: Likewise.
8982 * db2/db/db.src: Likewise.
8983 * db2/db/db_am.c: Likewise.
8984 * db2/db/db_auto.c: Likewise.
8985 * db2/db/db_dispatch.c: Likewise.
8986 * db2/db/db_dup.c: Likewise.
8987 * db2/db/db_iface.c: Likewise.
8988 * db2/db/db_join.c: Likewise.
8989 * db2/db/db_overflow.c: Likewise.
8990 * db2/db/db_pr.c: Likewise.
8991 * db2/db/db_rec.c: Likewise.
8992 * db2/db/db_ret.c: Likewise.
8993 * db2/db185/db185.c: Likewise.
8994 * db2/dbm/dbm.c: Likewise.
8995 * db2/hash/hash.c: Likewise.
8996 * db2/hash/hash_auto.c: Likewise.
8997 * db2/hash/hash_dup.c: Likewise.
8998 * db2/hash/hash_page.c: Likewise.
8999 * db2/hash/hash_rec.c: Likewise.
9000 * db2/hash/hash_stat.c: Likewise.
9001 * db2/include/btree.h: Likewise.
9002 * db2/include/btree_ext.h: Likewise.
9003 * db2/include/clib_ext.h: Likewise.
9004 * db2/include/common_ext.h: Likewise.
9005 * db2/include/db_am.h: Likewise.
9006 * db2/include/db_auto.h: Likewise.
9007 * db2/include/db_cxx.h: Likewise.
9008 * db2/include/db_ext.h: Likewise.
9009 * db2/include/db_join.h: Likewise.
9010 * db2/include/db_page.h: Likewise.
9011 * db2/include/hash.h: Likewise.
9012 * db2/include/hash_ext.h: Likewise.
9013 * db2/include/lock.h: Likewise.
9014 * db2/include/lock_ext.h: Likewise.
9015 * db2/include/log.h: Likewise.
9016 * db2/include/log_ext.h: Likewise.
9017 * db2/include/mp.h: Likewise.
9018 * db2/include/mp_ext.h: Likewise.
9019 * db2/include/os.h: Likewise.
9020 * db2/include/os_ext.h: Likewise.
9021 * db2/include/os_func.h: Likewise.
9022 * db2/include/txn.h: Likewise.
9023 * db2/include/txn_auto.h: Likewise.
9024 * db2/include/txn_ext.h: Likewise.
9025 * db2/include/xa.h: Likewise.
9026 * db2/include/xa_ext.h: Likewise.
9027 * db2/lock/lock.c: Likewise.
9028 * db2/lock/lock_conflict.c: Likewise.
9029 * db2/lock/lock_deadlock.c: Likewise.
9030 * db2/lock/lock_region.c: Likewise.
9031 * db2/lock/lock_util.c: Likewise.
9032 * db2/log/log.c: Likewise.
9033 * db2/log/log_archive.c: Likewise.
9034 * db2/log/log_auto.c: Likewise.
9035 * db2/log/log_findckp.c: Likewise.
9036 * db2/log/log_get.c: Likewise.
9037 * db2/log/log_put.c: Likewise.
9038 * db2/log/log_rec.c: Likewise.
9039 * db2/log/log_register.c: Likewise.
9040 * db2/mp/mp_bh.c: Likewise.
9041 * db2/mp/mp_fget.c: Likewise.
9042 * db2/mp/mp_fopen.c: Likewise.
9043 * db2/mp/mp_fput.c: Likewise.
9044 * db2/mp/mp_fset.c: Likewise.
9045 * db2/mp/mp_open.c: Likewise.
9046 * db2/mp/mp_pr.c: Likewise.
9047 * db2/mp/mp_region.c: Likewise.
9048 * db2/mp/mp_sync.c: Likewise.
9049 * db2/mutex/mutex.c: Likewise.
9050 * db2/mutex/uts4_cc.s: Likewise.
9051 * db2/os/os_abs.c: Likewise.
9052 * db2/os/os_alloc.c: Likewise.
9053 * db2/os/os_config.c: Likewise.
9054 * db2/os/os_dir.c: Likewise.
9055 * db2/os/os_fid.c: Likewise.
9056 * db2/os/os_fsync.c: Likewise.
9057 * db2/os/os_map.c: Likewise.
9058 * db2/os/os_oflags.c: Likewise.
9059 * db2/os/os_open.c: Likewise.
9060 * db2/os/os_rw.c: Likewise.
9061 * db2/os/os_seek.c: Likewise.
9062 * db2/os/os_sleep.c: Likewise.
9063 * db2/os/os_spin.c: Likewise.
9064 * db2/os/os_stat.c: Likewise.
9065 * db2/os/os_tmpdir.c: Likewise.
9066 * db2/os/os_unlink.c: Likewise.
9067 * db2/progs/db_archive/db_archive.c: Likewise.
9068 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9069 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9070 * db2/progs/db_dump/db_dump.c: Likewise.
9071 * db2/progs/db_load/db_load.c: Likewise.
9072 * db2/progs/db_printlog/README: Likewise.
9073 * db2/progs/db_printlog/commit.awk: Likewise.
9074 * db2/progs/db_printlog/count.awk: Likewise.
9075 * db2/progs/db_printlog/db_printlog.c: Likewise.
9076 * db2/progs/db_printlog/pgno.awk: Likewise.
9077 * db2/progs/db_printlog/range.awk: Likewise.
9078 * db2/progs/db_printlog/status.awk: Likewise.
9079 * db2/progs/db_printlog/txn.awk: Likewise.
9080 * db2/progs/db_recover/db_recover.c: Likewise.
9081 * db2/progs/db_stat/db_stat.c: Likewise.
9082 * db2/txn/txn.c: Likewise.
9083 * db2/txn/txn.src: Likewise.
9084 * db2/txn/txn_auto.c: Likewise.
9085 * db2/txn/txn_rec.c: Likewise.
9086 * db2/xa/xa.c: Likewise.
9087 * db2/xa/xa_db.c: Likewise.
9088 * db2/xa/xa_map.c: Likewise.
9090 * db2/btree/bt_close.c: Removed.
9091 * db2/db/db_thread.c: Likewise.
9092 * db2/hash/hash_debug.c: Likewise.
9093 * db2/include/db.h.src: Likewise.
9094 * db2/include/db_int.h.src: Likewise.
9095 * db2/include/os_jump.h: Likewise.
9096 * db2/mutex/alpha.dec: Likewise.
9097 * db2/mutex/alpha.gcc: Likewise.
9098 * db2/mutex/parisc.hp: Likewise.
9099 * db2/mutex/uts4.cc.s: Likewise.
9101 * db2/Makefile: Add new routines, remove old for 2.7.5.
9102 * db2/Versions: Add internal function names for the helper programs.
9103 * db2/makedb.c: Update for new cursor callback.
9104 * Versions.def: Define versions for libdb.
9106 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9108 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9109 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9110 * nscd/nscd_nischeck.c: New file.
9111 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9113 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9115 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9116 MSG_* flags from Linux 2.2.9.
9118 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9120 * Makeconfig (static-start-installed-name): Set to
9121 $(start-installed-name) if not defined.
9122 (+link-static): Use $(static-start-installed-name) instead of
9123 $(start-installed-name).
9124 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9127 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9129 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9130 inserting a send right into the child instead of unconditionally
9131 copying the send right.
9133 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9135 * locale/lc-time.c: Add free_mem function to free if necessary
9136 statically allocated memory.
9138 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9140 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9141 bias from the raw exponent.
9143 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9145 * inet/arpa/tftp.h: Move attribute declaration in right position.
9147 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9149 * nscd/nscd.c: Add -S options for separate caching of data for
9150 every user. So one user couldn't see the data another user
9151 has gotten with his credentials.
9152 * nscd/nscd.h: Add new prototypes.
9153 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9154 * nscd/connections.c: Check on shutdown if caller really was root.
9155 In secure mode get uid of caller.
9156 * nscd/grpcache.c: Add support for new secure group mode.
9157 * nscd/hstcache.c: Add support for new secure hosts mode.
9158 * nscd/pwdcache.c: Add support for new secure passwd mode.
9160 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9162 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9163 of user-provided buffer.
9165 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9167 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9168 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9170 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9172 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9175 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9176 returning after last entry.
9177 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9179 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9181 * misc/sysexits.h: Remove advertising clause of copyright.
9182 * resolv/getnetnamadr.c: Likewise.
9183 * sysdeps/vax/bcopy.s: Likewise.
9184 * sysdeps/vax/bzero.s: Likewise.
9185 * sysdeps/vax/ffs.s: Likewise.
9186 * sysdeps/vax/memchr.s: Likewise.
9187 * sysdeps/vax/memcmp.s: Likewise.
9188 * sysdeps/vax/memmove.s: Likewise.
9189 * sysdeps/vax/memset.s: Likewise.
9190 * sysdeps/vax/strcat.s: Likewise.
9191 * sysdeps/vax/strchr.s: Likewise.
9192 * sysdeps/vax/strcmp.s: Likewise.
9193 * sysdeps/vax/strcpy.s: Likewise.
9194 * sysdeps/vax/strcspn.s: Likewise.
9195 * sysdeps/vax/strlen.s: Likewise.
9196 * sysdeps/vax/strncat.s: Likewise.
9197 * sysdeps/vax/strncmp.s: Likewise.
9198 * sysdeps/vax/strncpy.s: Likewise.
9199 * sysdeps/vax/strpbrk.s: Likewise.
9200 * sysdeps/vax/strrchr.s: Likewise.
9201 * sysdeps/vax/strsep.s: Likewise.
9202 * sysdeps/vax/strspn.s: Likewise.
9203 * sysdeps/vax/strstr.s: Likewise.
9205 * libio/iofopncook.c: Adjust for renaming of structure elements.
9206 * libio/libio.h: Define cookie functions with all the names.
9208 * pwd/fgetpwent_r.c: Set errno in the correct way.
9209 * shadow/fgetspent_r.c: Likewise.
9210 * pwd/fgetpwent.c: Handle long lines correctly. Little
9211 optimizations. Free static buffer when debugging memory handling.
9212 * shadow/fgetspent.c: Likewise.
9214 * grp/fgetgrent.c: Little optimization in loop.
9216 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9218 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9221 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
9223 * stdlib/longlong.h: gas changed sethi handling when without
9224 %hi(). Fix assembly.
9225 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9226 port specific cache id checks.
9227 * sysdeps/generic/dl-cache.h: New file.
9228 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9230 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9232 * gmon/gmon.c: Remove advertising clause of copyright.
9233 * gmon/mcount.c: Likewise.
9234 * gmon/sys/gmon.h: Likewise.
9235 * inet/arpa/ftp.h: Likewise.
9236 * inet/arpa/telnet.h: Likewise.
9237 * inet/arpa/tftp.h: Likewise.
9238 * inet/inet_lnaof.c: Likewise.
9239 * inet/inet_mkadr.c: Likewise.
9240 * inet/inet_net.c: Likewise.
9241 * inet/inet_netof.c: Likewise.
9242 * inet/protocols/routed.h: Likewise.
9243 * inet/protocols/rwhod.h: Likewise.
9244 * inet/protocols/talkd.h: Likewise.
9245 * inet/protocols/timed.h: Likewise.
9246 * inet/rcmd.c: Likewise.
9247 * inet/rexec.c: Likewise.
9248 * inet/ruserpass.c: Likewise.
9249 * io/fts.c: Likewise.
9250 * io/fts.h: Likewise.
9251 * login/login_tty.c: Likewise.
9252 * misc/fstab.h: Likewise.
9253 * misc/getttyent.c: Likewise.
9254 * misc/getusershell.c: Likewise.
9255 * misc/sys/queue.h: Likewise.
9256 * misc/sys/syslog.h: Likewise.
9257 * misc/syslog.c: Likewise.
9258 * misc/ttyent.h: Likewise.
9259 * misc/ttyslot.c: Likewise.
9260 * resolv/arpa/nameser.h: Likewise.
9261 * resolv/gethnamaddr.c: Likewise.
9262 * resolv/herror.c: Likewise.
9263 * resolv/inet_addr.c: Likewise.
9264 * resolv/mapv4v6addr.h: Likewise.
9265 * resolv/mapv4v6hostent.h: Likewise.
9266 * resolv/nss_dns/dns-host.c: Likewise.
9267 * resolv/nss_dns/dns-network.c: Likewise.
9268 * resolv/res_comp.c: Likewise.
9269 * resolv/res_data.c: Likewise.
9270 * resolv/res_debug.c: Likewise.
9271 * resolv/res_init.c: Likewise.
9272 * resolv/res_mkquery.c: Likewise.
9273 * resolv/res_query.c: Likewise.
9274 * resolv/res_send.c: Likewise.
9275 * resolv/resolv.h: Likewise.
9276 * sysdeps/generic/div.c: Likewise.
9277 * sysdeps/generic/netinet/ip.h: Likewise.
9278 * sysdeps/generic/netinet/tcp.h: Likewise.
9279 * sysdeps/generic/paths.h: Likewise.
9280 * sysdeps/generic/prof-freq.c: Likewise.
9281 * sysdeps/generic/sys/ttydefaults.h: Likewise.
9282 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9283 * sysdeps/gnu/netinet/tcp.h: Likewise.
9284 * sysdeps/ieee754/support.c: Likewise.
9285 * sysdeps/mach/hurd/sys/param.h: Likewise.
9286 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9287 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9288 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9289 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9290 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9291 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9292 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9293 * sysdeps/unix/sysv/linux/paths.h: Likewise.
9294 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9296 * sysdeps/vax/DEFS.h: Likewise.
9297 * termios/sys/ttychars.h: Likewise.
9298 * misc/daemon.c: Likewise. Call fork.
9300 * grp/fgetgrent.c (buffer): Make file local variable.
9301 (free_mem): New function. Call for malloc debugging.
9303 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9305 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9307 * grp/Makefile: Add rules for tst_fgetgrent.
9309 * grp/tst_fgetgrent.c: Rewritten to read only one file.
9311 * grp/tst_fgetgrent.sh: New file.
9313 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9315 * grp/Makefile (tests): Add tst_fgetgrent.
9316 * grp/tst_fgetgrent.c: New file.
9317 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9319 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
9321 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9322 be POSIX compliant. Prior definition was broken for Hurd.
9323 Reported by Mark Kettenis <kettenis@gnu.org>.
9325 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9327 * ctype/ctype.h: Protect __tobody code by __extension__.
9329 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9331 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9332 reading and reset in case the buffer was too small.
9334 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9337 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9339 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9340 another SIOGIFNAME typo.
9342 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9344 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9346 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9349 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9351 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9352 the precision if the mantissa is zero.
9354 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9356 * manual/lang.texi (Floating Point Parameters): GCC already
9357 supports long double for a long time.
9359 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9361 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9362 yn_test): Increase some epsilons.
9364 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9366 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9369 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9371 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9372 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9373 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9374 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9376 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9377 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9378 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9379 * sysdeps/libm-ieee754/w_j1.c: Likewise.
9380 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9381 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9382 * sysdeps/libm-ieee754/w_jn.c: Likewise.
9383 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9384 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9386 * stdio-common/vfprintf.c: Correct typos.
9388 * math/libm-test.c (jn_test): Adjust delta.
9389 (y1_test): Likewise.
9390 (yn_test): Likewise.
9392 * elf/do-lookup.h: It should never happen that if we expect a versioned
9393 symbol from a file the file has no version table. This should have
9394 been checked in dl-version.c.
9395 * elf/dl-lookup.c: Include assert.h.
9397 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9400 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9402 1999-06-06 Andi Kleen <ak@muc.de>
9404 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9407 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9409 * math/libm-test.c (yn_test): Change one delta.
9410 (jn_test): Likewise.
9411 (j1_test): Likewise.
9412 (y0_test): Likewise.
9414 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9416 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9417 avoid multiple calls to getpagesize() which might be a syscall.
9419 1999-06-06 Philip Blundell <philb@gnu.org>
9421 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9423 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9425 * manual/install.texi (Running make install): Correct typo in
9426 dynamic linker invocation.
9428 1999-06-05 Philip Blundell <philb@gnu.org>
9430 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9431 problems with GOT addressing.
9433 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9435 * malloc/malloc.c (check_action): Change into bitmap so that both
9436 diagnostic and abort can be requested by setting it to 3.
9437 (mALLOC_SET_STATe): Disable malloc checking if necessary.
9439 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
9441 * configure.in: Few changes for HPUX.
9443 * scripts/config.guess: Update from latest version.
9444 * scripts/config.sub: Likewise.
9446 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9448 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9449 map files. Closes PR libc/1147.
9451 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9453 * math/libm-test.c (main): Add new test functions.
9454 (jn_test): New tests.
9455 (j1_test): Add some more tests.
9456 (j0_test): Add some more tests.
9457 (y0_test): Add some more tests.
9458 (y1_test): Add some more tests.
9460 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9462 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9463 Patch by mhagger@dera.gov.uk [PR libc/1145].
9465 * math/libm-test.c (y1_test): New tests.
9466 (y0_test): Likewise.
9467 (j1_test): Likewise.
9468 (j0_test): Likewise.
9469 (main): Added new tests.
9471 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9473 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9475 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9480 1999-06-02 David S. Miller <davem@redhat.com>
9482 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9485 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9487 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9488 and elide compatibility code if possible.
9490 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9492 * manual/llio.texi: Remove menu entry for removed section.
9494 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9496 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9499 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9501 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9504 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9506 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9508 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9510 * manual/stdio.texi: Fix some typos.
9512 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9514 * malloc/malloc.h: Properly handle future GCC versions.
9516 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9518 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9519 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9520 text of error message.
9522 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9524 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9526 * manual/filesys.texi: Extend (f)truncate documentation.
9527 * manual/llio.texi: Remove duplicate (f)truncate definition.
9529 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9531 * manual/stdio.texi (Formatted Output Functions): Mention
9532 semantics of snprintf in glibc 2.0.
9533 Reported by Ben Pfaff <pfaffben@msu.edu>.
9535 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9537 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9539 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9541 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9544 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9546 * configure.in: Fix typo.
9548 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9550 * manual/socket.texi (Host Names): Remove statement that h_errno
9551 needs to be declared since this isn't true anymore.
9552 Closes PR libc/1138.
9554 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9556 * config.h.in: Add __LINUX_KERNEL_VERSION.
9557 * configure.in: Recognize --enable-kernel.
9558 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9559 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9561 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9562 given perform runtime test.
9564 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9565 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9566 minimal supported kernel is known to have the feature.
9567 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9568 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9569 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9570 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9571 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9572 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9573 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9574 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9575 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9576 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9577 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9578 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9579 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9580 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9581 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9583 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9585 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9587 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9589 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
9591 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9592 Optimized sparc64 routines.
9594 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9596 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9597 they are the same as ints.
9598 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9600 * version.h (VERSION): Bump to 2.1.90.
9601 (RELEASE): Mark as development.
9603 * stdio-common/vfprintf.c (vfprintf): Don't implement special
9604 handling for long long if it is the same as long.
9605 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9607 * stdlib/strtol.c: Moved to ...
9608 * sysdeps/generic/strtol.c: ...here.
9609 * stdlib/strtoul.c: Moved to ...
9610 * sysdeps/generic/strtoul.c: ...here.
9611 * stdlib/strtoll.c: Moved to ...
9612 * sysdeps/generic/strtoll.c: ...here.
9613 * stdlib/strtoull.c: Moved to ...
9614 * sysdeps/generic/strtoull.c: ...here.
9615 * stdlib/strtol_l.c: Moved to ...
9616 * sysdeps/generic/strtol_l.c: ...here.
9617 * stdlib/strtoul_l.c: Moved to ...
9618 * sysdeps/generic/strtoul_l.c: ...here.
9619 * stdlib/strtoll_l.c: Moved to ...
9620 * sysdeps/generic/strtoll_l.c: ...here.
9621 * stdlib/strtoull_l.c: Moved to ...
9622 * sysdeps/generic/strtoull_l.c: ...here.
9624 * sysdeps/wordsize-64/strtol.c: New file.
9625 * sysdeps/wordsize-64/strtoul.c: New file.
9626 * sysdeps/wordsize-64/strtoll.c: New file.
9627 * sysdeps/wordsize-64/strtoull.c: New file.
9628 * sysdeps/wordsize-64/strtol_l.c: New file.
9629 * sysdeps/wordsize-64/strtoul_l.c: New file.
9630 * sysdeps/wordsize-64/strtoll_l.c: New file.
9631 * sysdeps/wordsize-64/strtoull_l.c: New file.
9633 * wcsmbs/wcstol.c: Moved to ...
9634 * sysdeps/generic/wcstol.c: ...here.
9635 * wcsmbs/wcstoul.c: Moved to ...
9636 * sysdeps/generic/wcstoul.c: ...here.
9637 * wcsmbs/wcstoll.c: Moved to ...
9638 * sysdeps/generic/wcstoll.c: ...here.
9639 * wcsmbs/wcstoull.c: Moved to ...
9640 * sysdeps/generic/wcstoull.c: ...here.
9641 * wcsmbs/wcstol_l.c: Moved to ...
9642 * sysdeps/generic/wcstol_l.c: ...here.
9643 * wcsmbs/wcstoul_l.c: Moved to ...
9644 * sysdeps/generic/wcstoul_l.c: ...here.
9645 * wcsmbs/wcstoll_l.c: Moved to ...
9646 * sysdeps/generic/wcstoll_l.c: ...here.
9647 * wcsmbs/wcstoull_l.c: Moved to ...
9648 * sysdeps/generic/wcstoull_l.c: ...here.
9650 * sysdeps/wordsize-64/wcstol.c: New file.
9651 * sysdeps/wordsize-64/wcstoul.c: New file.
9652 * sysdeps/wordsize-64/wcstoll.c: New file.
9653 * sysdeps/wordsize-64/wcstoull.c: New file.
9654 * sysdeps/wordsize-64/wcstol_l.c: New file.
9655 * sysdeps/wordsize-64/wcstoul_l.c: New file.
9656 * sysdeps/wordsize-64/wcstoll_l.c: New file.
9657 * sysdeps/wordsize-64/wcstoull_l.c: New file.
9659 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
9661 * sysdeps/sparc/bits/wordsize.h: New file.
9662 * sysdeps/sparc/fpu/bits/fenv.h: New file.
9663 * sysdeps/sparc/fpu/fpu_control.h: New file.
9664 * sysdeps/sparc/gmp-mparam.h: New file.
9666 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9667 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9668 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9669 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9670 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9671 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9673 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9674 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9675 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9676 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9678 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9679 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9682 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9684 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
9686 * login/openpty.c (openpty): Make sure pty does not because
9689 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9691 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
9693 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9694 Do proper error return.
9696 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9698 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9699 of __P in the rest of glibc; define __MALLOC_PMT and use it.
9700 Reported by Stephan Kulow <coolo@kde.org>.
9702 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
9704 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9706 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9708 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9710 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9711 names to protect from user's macro namespace.
9712 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9713 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9714 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9715 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9716 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9718 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9719 sysdeps/arm/fpu/fesetenv.c: Likewise.
9720 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9721 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9722 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9723 * sysdeps/mips/fesetenv.c: Likewise.
9725 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
9727 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9729 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
9731 * configure.in: Recognize and allow gcc 2.95.
9733 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9735 * sysdeps/generic/bits/elfclass.h: Version common to
9736 wordsize-32 and wordsize-64.
9737 * sysdeps/generic/bits/environments.h: Ditto.
9738 * sysdeps/generic/stdint.h: Ditto.
9739 * sysdeps/generic/inttypes.h: Ditto.
9741 * sysdeps/generic/bits/wordsize.h: New file.
9742 * stdlib/Makefile: Add bits/wordsize.h to headers.
9744 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9746 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9747 headers to be used for 32bit and 64bit ABI compilations.
9748 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9749 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9750 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9754 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9755 * sysdeps/wordsize-64/bits/environments.h: Remove.
9756 * sysdeps/wordsize-64/stdint.h: Remove.
9757 * sysdeps/wordsize-64/inttypes.h: Remove.
9758 * sysdeps/wordsize-64/bits/wordsize.h: New file.
9760 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9761 * sysdeps/wordsize-32/bits/environments.h: Remove.
9762 * sysdeps/wordsize-32/stdint.h: Remove.
9763 * sysdeps/wordsize-32/inttypes.h: Remove.
9764 * sysdeps/wordsize-32/bits/wordsize.h: New file.
9766 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9768 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9769 __align_cpy_16): New functions.
9770 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9772 * sysdeps/sparc/sparc32/Versions: New file.
9773 * sysdeps/sparc/sparc64/Versions: New file.
9774 * sysdeps/sparc/Versions: Remove.
9776 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9778 * sysdeps/unix/sysv/linux/configure.in:
9779 On sparc64-*-linux*, set slibdir to /lib64 if prefix
9780 is /usr, plus set libdir to ${exec_prefix}/lib64.
9781 * sysdeps/unix/sysv/linux/configure: Regenerated.
9782 * config.make.in: Propagate libdir settings from configure
9784 * shlib-versions: sparc64-*-linux* dynamic linker is
9785 /lib64/ld-linux.so.2.
9787 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
9789 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9792 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
9794 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9795 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9797 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9798 contains garbage in bits 8-63.
9799 * sysdeps/sparc/sparc64/memset.S: Ditto.
9800 * sysdeps/sparc/sparc64/strchr.S: Ditto.
9802 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
9804 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9806 1999-05-17 David S. Miller <davem@redhat.com>
9808 * sysdeps/sparc/sparc32/atomicity.h: New file.
9809 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9810 * sysdeps/sparc/sparc64/atomicity.h: New file.
9811 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9814 1999-05-18 Richard Henderson <rth@twiddle.net>
9816 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
9818 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
9820 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9821 posix/sys/types.h: Handle the case of __GNUC__=3,
9822 __GNUC_MINOR__=(anything).
9824 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9826 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9829 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9831 * elf/Makefile (distribute): Remove dl-origin.h.
9832 Add dl-dst.h and gen-trusted-dirs.awk.
9834 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9836 * sysdeps/i386/i486/Versions: New file with inline functions from
9837 sysdeps/i386/i486/bits/string.h for now.
9839 * sysdeps/i386/Versions: Add inline functions from
9840 sysdeps/i386/bits/string.h.
9842 * string/Versions: Add inline functions from <bits/string2.h>.
9844 * string/Makefile (routines): Add string-inlines.
9845 * string/string-inlines.c: New file, used for implementation of
9846 extern inline functions.
9848 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9849 non inlined versions of functions.
9850 * string/bits/string2.h: Likewise.
9851 * sysdeps/i386/bits/string.h: Likewise.
9853 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9855 * inet/arpa/tftp.h: Add second packed attribute.
9857 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9859 * malloc/malloc.c: Cleanup to bring in line with released
9860 stand-alone version `ptmalloc'. Update some comments.
9861 (internal_function): Move fallback definition so that the source
9862 compiles outside of libc, and use it in more places.
9863 (malloc_atfork): Fix when malloc_check is in use.
9865 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9867 * stdlib/tst-strtod.c: Fix typo.
9869 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9871 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9872 const incorrectness.
9874 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9876 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9878 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
9880 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9881 * sunrpc/key_call.c: Fix memory leak, close file handle.
9882 * nis/nis_creategroup.c: Use malloc instead of calloc,
9883 set ctime and mtime.
9884 * nis/nis_subr.c: Check for realloc result.
9885 * nis/nis_file.c: Fix memory leak.
9886 * nis/nis_table.c: Pretty print.
9887 * nis/nis_getservlist.c: Likewise.
9888 * nis/nis_ismember.c: Likewise.
9889 * nis/nis_lookup.c: Likewise.
9890 * nis/nis_ping.c: Likewise.
9891 * nis/nis_removemember.c: Likewise.
9892 * nis/nis_util.c: Likewise, check calloc result.
9894 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9896 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9897 * sysdeps/generic/sys/socketvar.h: ... here.
9898 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9899 * sysdeps/generic/netinet/in_systm.h: ... here.
9900 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9903 * inet/Makefile (headers): Add netinet/in_systm.h here.
9904 * socket/Makefile (headers): Add sys/socketvar.h here.
9906 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
9908 * stdlib/strtol.c: Optimize inner loop of long long versions.
9910 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9911 Unix98. Add forward declaration of struct utmp.
9913 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9915 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9918 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9919 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
9920 memory allocation results.
9922 1999-05-14 Mark Kettenis <kettenis@gnu.org>
9924 * sysdeps/generic/getutmp.c: Include <string.h>
9925 (getutmp): Rewrite to only copy those members that are really
9926 present in `struct utmp'.
9927 * sysdeps/generic/getutmpx.c: Likewise.
9929 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9931 * nss/getXXbyYY.c: Add free_mem function which disposes all
9932 statically allocated memory when debugging.
9933 * nss/getXXent.c: Likewise.
9934 * nss/nsswitch.c: Likewise.
9936 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
9938 * sysdeps/gnu/getutmpx.c: New file.
9939 * sysdeps/gnu/getutmp.c: New file.
9941 1999-05-13 H.J. Lu <hjl@gnu.org>
9943 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9944 (getutmp): Likewise.
9946 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9949 * sysdeps/gnu/utmpx.h (getutmp): Added.
9950 (getutmpx): Likewise.
9952 * sysdeps/generic/getutmp.c: New file.
9954 * sysdeps/generic/getutmpx.c: New file.
9956 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9958 * glibcbug.in (BUGGLIBC): Change address to
9959 libc-alpha@sourceware.cygnus.com.
9961 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9963 * resolv/arpa/nameser.h: Add C++ protectors.
9965 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9967 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
9968 Elad Tsur <eladts@post.tau.ac.il>.
9970 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
9972 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9973 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9974 lazily if LD_BIND_NOW is not set.
9975 * elf/dl-support.c (_dl_lazy): New variable.
9976 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9977 * elf/rtld.c (_dl_lazy): new global variable.
9978 ( dl_main): Remove lazy, replace it by _dl_lazy.
9980 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9982 * locale/setlocale.c (new_composite_name): Check also whether the
9983 first category name differs.
9985 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9987 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9990 1999-05-11 Philip Blundell <pb@nexus.co.uk>
9992 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9993 structure; storage suitable for any socket address.
9994 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9996 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9997 sockaddr_storage): Likewise.
9999 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10002 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10004 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10005 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10006 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10008 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10010 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10011 if the file is empty.
10013 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10015 * elf/do-lookup.h: Fix typo in comment.
10017 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10018 f_bsize to help some broken programs.
10020 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10022 * stdio-common/vfprintf.c: Fix typo.
10024 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10026 * elf/link.h (struct link_map): New field l_phdr_allocated.
10027 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10028 the program header being part of any loaded segment. If it is not
10029 allocate memory and set l_phdr_allocated flag.
10030 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10032 * nss/digits_dots.c: Correct return value interpretation of
10033 inet_ntoa. Fix PR libc/1109.
10035 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10037 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10039 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10041 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10042 * stdlib/fpioconst.c: Move #endif before end of struct.
10044 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10046 * Versions.def (ld.so): Add GLIBC_2.1.1.
10047 * elf/Makefile (routines): Add dl-origin.
10048 (tests): Add origtest. Add dependencies for the program.
10049 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10050 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10051 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10052 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10053 DT_AUXILIARY, and DT_FILTER filenames.
10054 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10055 two functions and three macros.
10056 (_dl_dst_count, _dl_dst_substitute): New functions.
10057 * elf/dl-dst.h: New file.
10058 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10059 caller. Pass address in args structure.
10060 (dl_open_worker): Recognize and expand DSTs in filename.
10061 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10062 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10063 (__dlopen_check): Pass caller address to dlopen_doit in args.
10064 * elf/dlopendoit.c: Likewise.
10065 * iconv/gconv_dl.c: Adapt call of _dl_open.
10066 * nss/nsswitch.c: Likewise.
10067 * elf/origtest.c: New file.
10068 * sysdeps/generic/dl-origin.h: Moved to...
10069 * sysdeps/generic/dl-origin.c: ...here.
10070 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10071 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10073 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10074 with specific bases and only few bits set in second word.
10076 * timezone/Makefile (install-others): Create target directory
10077 before creating tzfiles.
10079 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10081 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10082 the file is opened successfully.
10084 * nis/nis_table.c: Fix some memory leaks.
10086 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10088 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10091 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10092 around DST. Correctly ignore ORIGIN IN SUID binaries.
10094 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10096 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10097 * sysdeps/generic/strtok.c: Likewise.
10099 * string/tester.c: Add test of rawmemchr.
10101 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10102 specification. It's not necessary.
10104 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10105 * elf/gen-trusted-dirs.awk: New file.
10106 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10107 from SYSTEM_DIRS macro.
10108 (system_dirs_len): New variable. Contains lengths of system_dirs
10110 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10111 Improve string comparisons. Change parameter trusted to be a flag.
10112 Change all callers.
10113 (_dt_init_paths): Improve using new format for system_dirs.
10115 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10116 $ORIGIN for SUID binaries.
10118 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10120 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10122 * sunrpc/Makefile: Generate dependencies for all flavors of
10124 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10127 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10129 * elf/dlopenold.c: Move #if down after includes to get
10130 dependencies right.
10132 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10134 * sysdeps/generic/bzero.c: Undefine __bzero.
10136 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10138 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10139 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10140 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10141 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10143 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10144 parameter to struct gaih_servtuple *. Adapt appropriately.
10145 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10146 This fixes a memory leak.
10147 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10149 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10150 and fpregset_t definition. They are defined in ucontext.h.
10152 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10154 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10155 and struct ether_header must be packed on the ARM. The default
10156 alignment constraints add padding to the end of the structures.
10158 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10160 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10161 default alignment constraints add padding to the end of the
10162 structure and between members.
10164 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10166 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10167 _dl_cache_libcmp instead of strcmp.
10169 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10171 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10173 1998-03-30 Joel Klecker <espy@debian.org>
10175 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10176 (sysdep-others,install-bin): Add lddlibc4.
10178 1999-05-02 H.J. Lu <hjl@gnu.org>
10180 * timezone/zic.c (dolink): Remove the symlink destination first.
10182 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10183 to "nonexisting" if failed to open the file.
10185 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10187 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10190 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10191 Prevent warnings from multiplication with 0x01010101 by another cast.
10193 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10195 * string/bits/string2.h (memset): Revert to previous version if
10196 unaligned writes are not available.
10198 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10200 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10201 better code in presence of the asm.
10203 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10205 * stdlib/fmtmsg.c (keywords): Increase array size for faster
10208 * locale/localeinfo.h (_nl_category_names): Increase array element
10209 size for faster indexing.
10210 * locale/setlocale.c (_nl_category_names): Adjusted.
10212 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10214 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10216 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10218 * sysdeps/m68k/stackinfo.h: New file.
10220 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10222 * string/tester.c (test_strchrnul): New function.
10223 (test_memset): Test one more special case.
10225 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10228 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10231 * string/bits/string2.h: Fix bugs I introduced in last change.
10233 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10235 Extend memset optimization.
10236 Correct i686 version of memchr.
10238 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
10240 * sysdeps/i386/bzero.c: Add #undef __bzero.
10242 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10243 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10244 exec server simulated a SIGTRAP before we even started up, so gdb is
10247 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10249 * nss/digits_dots.c: Always initialize not_ok.
10251 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
10253 * string/bits/string2.h (memset): Avoid arithmetic overflow at
10254 compile time, which produces obnoxious warnings. If GCCv2 is
10255 in use, map __bzero to __builtin_memset to enable that
10258 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10260 * string/bits/string2.h: Add more memset optimizations.
10262 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10264 * resolv/inet_pton.c (inet_pton4): Little optimizations.
10265 (inet_pton6): Likewise.
10267 * nss/getXXbyYY_r.c: Include assert.h.
10268 * nss/getXXbyYY.c: Likewise.
10270 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10272 * termios/tcgetsid.c (tcgetsid): Rename variable to
10273 tiocgsid_does_not_work.
10275 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10277 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10279 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10281 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10282 This allows e.g. gethostbyname to accept "10.1234".
10283 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10285 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10286 non quad IPv4 numbers.
10288 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10290 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10292 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10294 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10295 * argp/argp-parse.c (_argp_hang): Likewise.
10296 * argp/argp-pv.c (argp_program_version): Likewise.
10297 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10298 * inet/ether_hton.c (ether_hton, startp): Likewise.
10299 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10300 * inet/getnetgrent_r.c (setup, startp): Likewise.
10301 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10302 * intl/localealias.c (string_space, string_space_act, string_space_max,
10303 nmap, maxmap): Likewise.
10304 * libio/iopopen.c (proc_file_chain): Likewise.
10305 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10306 * locale/lc-collate.c (__collate_table, __collate_extra,
10307 __collate_element_hash, __collate_element_strings,
10308 __collate_element_values): Likewise.
10309 * malloc/mcheck.c (mcheck_used): Likewise.
10310 * malloc/mtrace.c (added_atexit_handler): Likewise.
10311 * malloc/set-freeres.c (already_called): Likewise.
10312 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10313 * misc/syslog.c (LogStat, LogTag): Likewise.
10314 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10315 * nss/getXXbyYY_r.c (startp): Likewise.
10316 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10317 * posix/regex.c (init_syntax_once) [done]: Likewise.
10319 * string/strfry.c (init): Likewise.
10320 * sunrpc/svc_run.c (svc_top): Likewise.
10321 * posix/euidaccess.c (have_ids): Likewise.
10322 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10323 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10324 * time/getdate.c (getdate_err): Likewise.
10325 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10327 * time/tzset.c (old_tz, is_initialized): Likewise.
10329 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10330 of static data with zero.
10331 * signal/allocrtsig.c (init): Likewise.
10333 * string/Makefile (routines): Add strchrnul.
10334 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10335 * string/string.c: Add strchrnul prototype.
10336 * include/string.h: Add __strchrnul prototype.
10337 * sysdeps/generic/strchrnul.c: New file.
10338 * sysdeps/i386/strchrnul.S: New file.
10339 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10340 * sysdeps/i386/i486/bits/string.c: Likewise.
10341 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10342 * inet/ether_line.c (ether_line): Likewise.
10343 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10344 * nss/nsswitch.c (nss_parse_file): Likewise.
10345 * posix/execvp.c (execvp): Likewise.
10346 * posix/fnmatch.c (internal_fnmatch): Likewise.
10347 * resolv/res_hconf.c (_res_hconv_init): Likewise.
10348 * resolv/res_init.c (res_init): Likewise.
10349 * stdlib/fmtmsg.c (init): Likewise.
10350 * stdlib/getsubopt.c (getsubopt): Likewise.
10352 * catgets/catgets.c (catopen): Only allocate one memory block.
10353 (catclose): Only one free call necessary.
10355 * catgets/open_catalog.c (__open_catalog): Simplify handling of
10358 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10359 of real functions. Simplify _tolower and _toupper.
10361 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10364 * iconv/gconv.h (struct gconv_info): Change data element from pointer
10365 to array of size 0.
10366 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10367 * iconv/gconv_close.c (__gconv_close): Don't free data.
10369 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10372 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
10373 for error while inserting in tree.
10375 * include/time.h: Pretty print.
10377 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10378 in table and lots of relocations.
10379 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10380 string pointers in table and lots of relocations.
10382 * intl/finddomain.c: Remove definition of strchr macro.
10384 * io/ftw.c (nftw_arr, ftw_arr): Make const.
10386 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10388 * locale/localeinfo.h (_nl_category_names): Change into an array with
10389 fixed width char string elements.
10390 * locale/setlocale.c (_nl_category_names): Likewise.
10391 (_nl_current): Make global.
10392 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
10394 * malloc/Makefile (distribute): Add stackinfo.h.
10395 * sysdeps/generic/stackinfo.h: New file.
10396 * sysdeps/i386/stackinfo.h: New file.
10397 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10398 * posix/execle.c: Likewise.
10399 * posix/execlp.c: Likewise.
10401 * nis/nis_table.c (__create_ib_request): Always use realloc.
10403 * posix/execvp.c (execute): Rename to script_execute and keep only
10404 code to execute using shell.
10405 (execvp): Call execv directly and only fall back on script_execute.
10407 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10408 and always use xdigits instead.
10410 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10413 * stdlib/fpioconst.h (__tens): New declaration.
10414 (struct mp_power): Remove array, add arrayoff element.
10415 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10416 __tens array and add in _fpioconst_pow10 offsets into __tens.
10417 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10418 * stdlib/strtod.c: Likewise.
10420 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10422 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10424 * stdlib/atexit.c (__exit_funcs): Don't initialize.
10426 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10428 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10429 a single and an array with offsets.
10431 * sunrpc/des_soft.c (partab): Make it const.
10433 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10434 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10435 (__key_decryptsession_pk_LOCAL): Likewise.
10436 (__key_gendes_LOCAL): Likewise.
10437 (MESSENGER): Mark const.
10438 (key_call_private_main): Don't initialize with 0.
10439 (use_keyenvoy): Don't initialize with 0.
10440 (key_call): Rewrite to reverse logic of use_doors variable.
10442 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10443 (startp): Don't initialize with zero.
10445 * sunrpc/openchild.c (_openchild): Make first argument const.
10447 * sunrpc/pmap_rmt.c (timeout): Mark const.
10448 * sunrpc/xcrypt.c (hex): Likewise.
10450 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10451 initialization of global variables.
10452 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10453 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10454 * termios/tcgetsid.c: Likewise.
10456 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10459 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10460 block. Add function to free memory if wanted.
10461 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10463 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10465 * wcsmbs/wmemset.c: Little code optimization.
10467 1999-04-23 Paul Eggert <eggert@twinsun.com>
10469 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10472 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10474 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10475 implementation and just always fail with ENOSYS. This entry point is
10476 obsolete. Add link warning to that effect.
10478 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10480 * hurd/get-host.c: Include <hurd/lookup.h>.
10482 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10484 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10487 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10489 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10490 ISO C9x and Unix98.
10492 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10494 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10495 Patch by Peter Miller <millerp@canb.auug.org.au>.
10497 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10499 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10500 prefers loopback device.
10502 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10504 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10505 no_leading_period change.
10507 * posix/testfnm.c: More test cases.
10509 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10511 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10513 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10514 * sysdeps/unix/readdir_r.c: Likewise.
10515 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10516 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10517 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10518 __getdirentries. Remove fourth argument.
10519 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10520 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10521 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10522 Add getdirentries and getdirentries64.
10523 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10525 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10526 pointer in case of an invalid [[: expression.
10528 * posix/testfnm.c: Add more test cases.
10530 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10532 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10533 set, pass EXEC_SIGTRAP flag in exec RPC.
10535 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10537 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10538 extra parameter. Fix several more bugs involving wildcard and
10540 (fnmatch): New function. Call internal_fnmatch.
10542 * posix/testfnm.c: More test cases.
10544 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10546 * manual/install.texi (Configuring and compiling): Explain that
10547 files are changed in the source directory.
10548 Closes PR libc/981.
10549 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10550 in the source directory.
10552 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10554 * locale/programs/ld-ctype.c: Spelling fixes.
10555 (ctype_finish): Fix argument of error message format.
10556 * locale/programs/ld-messages.c: Spelling fixes.
10557 * locale/programs/ld-monetary.c: Spelling fixes.
10558 * locale/programs/ld-time.c (time_finish): Make sure that name and
10559 format of era_entries are adjacent.
10560 (time_output): Reduce the size of the io vector.
10562 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10564 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10567 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10569 * locale/programs/ld-collate.c (collate_output): Convert
10570 undefined_offset to an array index. Fix computation of other
10571 endian extra table.
10573 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
10575 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10576 return success with empty value.
10578 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10580 * posix/fnmatch.c: Include string.h also for glibc.
10581 (fnmatch, case '?'): Optimize if cascades a bit.
10582 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10584 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10586 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
10588 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10589 * iconv/gconv_int.h: Declare UTF16 functions.
10590 * iconv/gconv_simple.c: Add UTF16 conversion functions.
10592 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10594 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10595 be used correctly as parameter for parse_dollars/parse_tilde.
10597 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10599 * manual/conf.texi (Utility Limits): Remove duplicate description
10602 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
10604 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10605 outbufend for dst==NULL.
10607 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10609 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10611 Fixes PR libc/1084.
10613 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10614 Fixes PR libc/1083.
10616 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
10618 * sunrpc/Makefile: Remove special handling of bootparam.x,
10619 add rpcsvc/bootparam.h to headers.
10620 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10621 * sunrpc/rpcsvc/bootparam.x: Renamed to...
10622 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10624 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10626 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10627 detect and handle invalid descriptors.
10629 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
10631 * timezone/zic.c (dolink): Append complete path not only filename
10634 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10636 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10638 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
10640 * iconvdata/gconv-modules: Rename CP874 to IBM874.
10641 * iconvdata/Makefile: Likewise.
10642 * iconvdata/cp874.h: Removed.
10643 * iconvdata/cp874.c: Renamed to...
10644 * iconvdata/ibm874.c: ...this.
10646 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10648 * sysdeps/unix/sysv/linux/bits/types.h: Correct
10649 signed/unsigned-ness of blkcnt and fsblkcnt.
10650 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10651 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10653 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10654 SOL_AAL, and SOL_IRDA.
10656 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10658 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
10659 include "linux_fsinfo.h".
10660 Based on a patch by H.J. Lu <hjl@gnu.org>.
10662 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
10664 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10666 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10668 * nscd/cache.c (prune_cache): Only disable file checking for
10669 future if the file does not exist.
10670 Update file_mtime if cache was flushed.
10672 1999-04-15 David S. Miller <davem@redhat.com>
10674 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10675 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10677 1999-04-15 Scott Bambrough <scottb@netwinder.org>
10679 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10680 compilation of file.
10682 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10684 * Versions.def: Add GLIBC_2.1.1 to libpthread.
10686 * iconvdata/Makefile (modules): Add KOI8-U.
10687 (distribute): Add koi8-u.c.
10688 (gen-8bit-gap-modules): Add koi8-u.
10689 * iconvdata/gconv-modules: Add KOI8-U entries.
10690 * iconvdata/koi8-u.c: New file.
10692 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
10694 * sunrpc/auth_des.c: 64bit fixes, security fixes.
10695 * sunrpc/auth_none.c: Pretty print.
10696 * sunrpc/auth_unix.c: Likewise.
10697 * sunrpc/authdes_prot.c: Likewise.
10698 * sunrpc/authuxprot.c: Likewise.
10699 * sunrpc/bindrsvprt.c: Likewise.
10700 * sunrpc/clnt_gen.c: Likewise.
10701 * sunrpc/rpc/xdr.h: Likewise.
10702 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10703 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10704 * sunrpc/rtime.c: Use new rpc_timeval.
10705 * sunrpc/svc_authux.c: Don't use *long pointers.
10706 * sunrpc/svcauth_des.c: Likewise + security fixes.
10707 * sunrpc/xdr_mem.c: Don't use *long pointers.
10708 * sunrpc/xdr_rec.c: Likewise.
10709 * sunrpc/xdr_sizeof.c: Likewise.
10710 * sunrpc/xdr_stdio.c: Likewise.
10712 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10714 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10715 so that it is redone for each sending.
10717 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10719 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10721 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10723 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10724 known to not exist don't try to load shared objects.
10725 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10727 * nscd/cache.c (prune_cache): The table might not be unused. In
10728 this case do nothing.
10730 * catgets/gencat.c (read_input_file): Don't drop white spaces
10731 between number/identifier and string.
10732 Patch by Dima Barsky <dima@pwd.hp.com>.
10733 If no white space at all follows number/identifier remove existing
10734 message with the number/identifier.
10736 1999-04-14 H.J. Lu <hjl@gnu.org>
10738 * sunrpc/clnt_udp.c (is_network_up): New function.
10739 (clntudp_call): Call is_network_up () to check if any network
10740 interface is up in case of timeout.
10742 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10744 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10745 * wctype/Makefile (tests): Add test_wcfuncs.
10747 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
10749 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10751 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10753 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10754 instead of CFLAGS. For gnulib and string directories use
10755 -Wa,-Av9a gcc ASFLAGS.
10756 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10759 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10760 the same way as sparc-*.
10762 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
10764 * locale/programs/locfile.c (locfile_read): Fix typo.
10765 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10767 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10769 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10770 restarted after being interrupted by a signal. The parameters on
10771 the stack were corrupted by the signal handler.
10773 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10774 restarted after being interrupted by a signal. The parameters on
10775 the stack were corrupted by the signal handler.
10777 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10779 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10780 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10782 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
10784 * posix/wordexp-test.c: In field-splitting test cases where
10785 subshells were involved, unset IFS first: some shells (ash) use
10786 IFS even when no expansion is performed.
10788 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10790 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10791 the real end of the chunk, not some random point inbetween.
10792 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
10793 obstack when growing. Use fast version of obstack_blank when
10795 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10796 allocating the vtable pointer.
10797 (_IO_obstack_vprintf): Adjust for above change and avoid
10798 unnecessary casts. Use fast version of obstack_blank when
10800 Fixes PR libc/1075.
10802 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
10804 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
10805 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10807 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
10809 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10810 is seen, as well as fixing semantics. Don't reset the word count
10811 to zero when an invalid character is seen, but leave it as it was
10812 (this makes a difference with WRDE_APPEND).
10814 * posix/wordexp-test.c: More test cases.
10816 * posix/wordexp.c (parse_param): In words like ${var#pattern},
10817 always expand pattern when it is needed. Also, handle quoting in
10820 1999-04-12 Philip Blundell <philb@gnu.org>
10822 * elf/elf.h: Update ARM definitions to match current gas2.
10824 * sysdeps/arm/bits/endian.h: Support big endian operation.
10826 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10827 Don't bother range checking the port number.
10829 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10831 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10832 the syscall name in assembler output for ease of debugging.
10834 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10835 compiler behaviour.
10836 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10837 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10838 (sysdep_routines): Add sigrestorer.
10840 * string/tester.c (test_strcpy): Add new tests for unaligned
10842 * sysdeps/arm/bits/string.h: Delete inline implementations of
10845 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
10847 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10849 1999-04-10 Mark Kettenis <kettenis@gnu.org>
10851 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10853 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10855 * iconvdata/Makefile (modules): Add TIS-620.
10856 (distribute): Add tis-620.c.
10857 (gen-8bit-gap-modules): tis-620.
10858 * iconvdata/tis-620.c: New file.
10859 * iconvdata/gconv-modules: Add TIS-620 entries.
10861 * iconvdata/asmo_449.c: Correct comment.
10863 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10865 * manual/install.texi (Configuring and compiling): Comment out
10866 description of --disable-static since this doesn't work currently
10867 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10869 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10871 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10873 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10875 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10877 * scripts/test-installation.pl (installation_problem): Skip
10878 libnss1_* libraries from glibc-compat add-on.
10880 1999-04-07 H.J. Lu <hjl@gnu.org>
10882 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10884 * posix/Versions (__waitpid): Likewise.
10886 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10888 * manual/install.texi (Reporting Bugs): Add section about reported
10889 bugs and correct email address of glibcbug script.
10891 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
10893 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10894 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10895 xdr_u_longlong_t. Based on patch from Dan Shechter
10896 <damageboy@isdn.net.il>.
10897 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10898 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10900 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10902 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10904 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10905 directly if getdents returns with error set.
10907 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10909 * locale/langinfo.h (THOUSEP): Rename second occurence of
10910 THOUSANDS_SEP to THOUSEP.
10911 Reported by Roman Belenov <roman@nstl.nnov.ru>.
10913 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
10915 * hurd/STATUS: File removed. Moved items that are still relevant into
10916 TODO list in hurd source.
10918 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10920 * sysdeps/mach/hurd/bits/time.h: New file.
10921 * sysdeps/mach/hurd/getrusage.c: New file.
10922 * sysdeps/mach/hurd/clk_tck.c: New file.
10923 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10924 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10925 (sysdep_routines): Add clk_tck.
10926 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10929 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
10931 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10932 (closelog): But instead here.
10933 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10935 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10937 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10938 the source directory. Fixes PR libc/1059.
10940 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10943 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10945 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
10947 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10948 * iconvdata/testdata/ISO-8859-14: New file.
10949 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10950 * iconvdata/testdata/ISO-8859-15: New file.
10951 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10953 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10955 * iconvdata/testdata/CP1258: New file.
10956 * iconvdata/testdata/CP1258..UTF8: New file.
10957 * iconvdata/TESTS: Add CP1258 entry.
10959 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10961 * timezone/africa: Update from tzdata1999d.
10962 * timezone/europe: Likewise.
10963 * timezone/northamerica: Likewise.
10965 1999-03-31 Mark Kettenis <kettenis@gnu.org>
10967 * login/programs/pt_chown.c (main): Save effective user ID before
10968 dropping priviliges and use this to check if the program is
10969 properly installed.
10971 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10973 * iconvdata/testdata/CP1254: Update for charmap changes.
10974 * iconvdata/testdata/CP1254..UTF8: Likewise.
10975 * iconvdata/testdata/CP1255: Likewise.
10976 * iconvdata/testdata/CP1255..UTF8: Likewise.
10977 * iconvdata/testdata/CP1256: Likewise.
10978 * iconvdata/testdata/CP1256..UTF8: Likewise.
10979 * iconvdata/testdata/CP1257: Likewise.
10980 * iconvdata/testdata/CP1257..UTF8: Likewise.
10982 * iconvdata/Makefile (distribute): Remove cp1258.h.
10983 (gen-8bit-gap-modules): Add cp1258.
10984 * iconvdata/cp1258.h: Removed.
10986 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10988 * timezone/tst-timezone.c (tests): Add more cases.
10989 (check_tzvars): Mark errors clearer.
10992 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
10994 * login/programs/pt_chown.c: Drop privileges if invoked with
10995 arguments. Don't close the master pty.
10997 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10999 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11000 Minor optimization.
11002 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11004 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11005 relocation for SUID binaries.
11007 1999-03-29 Paul Eggert <eggert@twinsun.com>
11009 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11010 while in child process.
11012 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11014 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11015 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11016 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11017 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11018 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11020 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11021 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11022 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11023 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11024 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11025 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11026 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11027 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11028 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11029 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11030 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11031 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11032 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11033 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11034 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11035 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11036 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11037 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11038 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11039 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11040 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11041 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11042 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11043 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11044 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11047 * sysdeps/sparc/sparc32/bcopy.c: New file.
11048 * sysdeps/sparc/sparc32/bzero.c: New file.
11049 * sysdeps/sparc/sparc32/memchr.S: New file.
11050 * sysdeps/sparc/sparc32/memcpy.S: New file.
11051 * sysdeps/sparc/sparc32/memmove.c: New file.
11052 * sysdeps/sparc/sparc32/memset.S: New file.
11053 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11054 * sysdeps/sparc/sparc32/strchr.S: New file.
11055 * sysdeps/sparc/sparc32/strrchr.c: New file.
11056 * sysdeps/sparc/sparc32/strcpy.S: New file.
11057 * sysdeps/sparc/sparc32/strlen.S: New file.
11058 * sysdeps/sparc/sparc32/strcat.S: New file.
11059 * sysdeps/sparc/sparc32/strcmp.S: New file.
11061 * sysdeps/sparc/sparc64/bcopy.c: New file.
11062 * sysdeps/sparc/sparc64/bzero.c: New file.
11063 * sysdeps/sparc/sparc64/memchr.S: New file.
11064 * sysdeps/sparc/sparc64/memcmp.S: New file.
11065 * sysdeps/sparc/sparc64/memcpy.S: New file.
11066 * sysdeps/sparc/sparc64/memset.S: New file.
11067 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11068 * sysdeps/sparc/sparc64/strcat.S: New file.
11069 * sysdeps/sparc/sparc64/strchr.S: New file.
11070 * sysdeps/sparc/sparc64/strcmp.S: New file.
11071 * sysdeps/sparc/sparc64/strcpy.S: New file.
11072 * sysdeps/sparc/sparc64/strcspn.S: New file.
11073 * sysdeps/sparc/sparc64/strlen.S: New file.
11074 * sysdeps/sparc/sparc64/strncpy.S: New file.
11075 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11076 * sysdeps/sparc/sparc64/strrchr.c: New file.
11077 * sysdeps/sparc/sparc64/strspn.S: New file.
11078 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11079 * sysdeps/sparc/sparc64/strncmp.S: New file.
11081 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11082 Append -fPIC, don't replace.
11084 * configure.in: Recognize sparcv8plus / sparcv9.
11086 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11088 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11089 char * to avoid C++ warning.
11090 Patch by yasushi@cs.washington.edu [PR libc/1035].
11092 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11094 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11095 declared in stdlib.h, correct return value of mkstemp.
11096 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11098 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11101 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11103 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11106 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11107 inline functions. Closes PR libc/1049.
11109 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11111 * timezone/README: Update from tzdata1999c and tzcode1999c.
11113 * timezone/africa: Update from tzdata1999c.
11114 * timezone/antarctica: Likewise.
11115 * timezone/asia: Likewise.
11116 * timezone/australasia: Likewise.
11117 * timezone/europe: Likewise.
11118 * timezone/northamerica: Likewise.
11119 * timezone/southamerica: Likewise.
11120 * timezone/zone.tab: Likewise.
11122 * timezone/zic.c: Update from tzcode1999c.
11124 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11126 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11127 outside of ifndef avoid-generated.
11129 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11131 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11133 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11135 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11136 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11138 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11140 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11141 if we build the profiled library.
11143 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11145 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11146 Jaeger <aj@arthur.rhein-neckar.de>
11148 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11150 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11151 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11152 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11154 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11156 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11157 works properly in subdirs.
11159 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11161 * sysdeps/mach/hurd/Makefile: Undo last change.
11162 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11163 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11165 * mach/Machrules (+preinit, +postinit, +interp,
11166 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11167 linked just like other shared libraries.
11168 (interface.so): Fix typo in defn, so it works.
11169 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11171 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11173 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11174 $(link-rpcuserlibs).
11176 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11178 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11179 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11180 targets if not building shared libraries.
11182 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11184 * configure.in: Also look in $PATH when searching for
11185 install-info. Remove autoconf bug workaround and require autoconf
11188 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11190 * db/Makefile: Don't try to install shared library link if not
11191 building with shared libs.
11193 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11195 * rt/Makefile: Link against static library if no shared lib is
11198 * localedata/Makefile: The shells scripts implementing the test
11199 require the dynamic linker which is not available with
11200 --disable-shared. Skip the test if --disable-shared is given.
11202 * linuxthreads/Makefile: Link test against static libpthread if no
11203 shared lib is available.
11205 * iconvdata/Makefile (tests): Run iconv-test only if we're
11206 building shared libraries.
11207 * elf/Makefile (tests): Likewise for elf tests.
11209 * posix/Makefile: The test frameworks globtest and wordexp-test
11210 require the dynamic linker which is not available with
11211 --disable-shared. Skip the test if --disable-shared is given.
11213 * grp/Makefile (otherlibs): For static nss build link against
11216 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11218 * debug/Makefile (install-bin): Install and build catchsegv only
11219 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
11222 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11224 * time/tzfile.c (__tzfile_read): Handle the case where there are
11225 transitions but no DST.
11227 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
11229 * mach/Machrules (extra-libs-others): Add $(interface-library) here
11230 too, so it gets built in the others pass rather than the lib pass.
11231 This is necessary since the RPC libraries need to be linked against
11234 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
11236 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11239 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11240 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11241 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11242 versions of lib{mach,hurd}user.so without reference to libc.so,
11243 then link libc.so against that to get deps and symbol versions, then
11244 finally link real lib*user.so against libc.so.
11246 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11247 Support whole-file locking (only) by using the file_lock RPC. This
11248 has very wrong semantics, but is better than nothing for the time
11249 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
11250 protocols that will be somewhat hairy to specify.)
11252 1999-03-17 Mark Kettenis <kettenis@gnu.org>
11254 * sysdeps/mach/hurd/ptsname.c: New file.
11256 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11258 * timezone/asia: Fix rule in Asia/Nicosia entry.
11260 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11262 * manual/getopt.texi (Using Getopt): Explain "::" in option
11263 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
11265 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
11267 * sunrpc/clnt_unix.c: Fix creation of parameters for
11268 sendmsg/recvmsg on non intel platforms.
11269 * sunrpc/svc_unix.c: Likewise.
11271 1999-03-18 Philip Blundell <philb@gnu.org>
11273 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
11276 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11278 * timezone/africa: Update from tzdata1999b.
11279 * timezone/asia: Likewise.
11280 * timezone/australasia: Likewise.
11281 * timezone/europe: Likewise.
11282 * timezone/northamerica: Likewise.
11283 * timezone/southamerica: Likewise.
11284 * timezone/zone.tab: Likewise.
11286 * timezone/README: Mention tzdata1999b.
11288 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
11290 * sysdeps/generic/segfault.c (write_strsignal): New function.
11291 (catch_segfault): Use it instead of calling strsignal.
11293 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11295 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11296 char to avoid warning.
11298 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11300 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11302 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11303 outbuf to unsigned char to avoid warning.
11305 1999-03-11 David S. Miller <davem@redhat.com>
11307 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11309 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11311 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11313 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11315 (gconv_step_data): Likewise.
11316 * iconv/gconv_int.h (__gconv): Likewise.
11317 (__BUILINT_TRANS): Likewise.
11318 * iconv/gconv.c (__gconv): Likewise.
11319 * iconv/iconv.c (iconv): Add casts for call of __gconv.
11320 * iconv/skeleton.c: Change local parameters and variable from `char' to
11321 `unsigned char'. Remove casts from calls into modules.
11322 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11323 `char' to `unsigned char'.
11324 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11325 * wcsmbs/mbrtowc.c: Likewise.
11326 * wcsmbs/mbsnrtowcs.c: Likewise.
11327 * wcsmbs/mbsrtowcs.c: Likewise.
11328 * wcsmbs/wcrtomb.c: Likewise.
11329 * wcsmbs/wcsnrtombs.c: Likewise.
11330 * wcsmbs/wcsrtombs.c: Likewise.
11331 * wcsmbs/wctob.c: Likewise.
11333 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11335 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11336 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11337 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11338 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11339 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11340 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11342 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11344 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11345 _hurd_select if TIMEMOUT is -1.
11347 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11349 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11351 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11353 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11354 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11356 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11358 * manual/libc.texinfo: Undo last change for now.
11360 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11362 * intl/locale.alias: Add entries for Croatian.
11363 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11365 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11367 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11368 if the opened master pty really is a pty. `isatty' checks for
11369 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
11370 if we are out of pty's.
11372 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11374 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11375 opened file is closed on exec.
11376 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11379 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11381 * manual/llio.texi (File Position Primitive): Reformat @end
11382 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11384 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
11386 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11388 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11389 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11391 * locale/programs/localedef.c (main): Initialize `cat' to please
11394 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
11396 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11397 check for root-owned symlinks and reject them too.
11399 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11401 * stdio-common/printf_fphex.c: Move to ...
11402 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
11403 extended precision number.
11404 * sysdeps/m68k/printf_fphex.c: New file.
11406 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11408 * manual/stdio.texi: Fix typos.
11410 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
11412 * version.h (VERSION): Bump to 2.1.1.
11414 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
11416 * nis/ypclnt.c: Try only twice to connect to NIS server.
11418 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11420 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11422 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11424 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11425 (DENORM_EXP): New define. Use it as the exponent for a denormal.
11426 * stdlib/strtold.c: Moved to ...
11427 * sysdeps/generic/strtold.c: ... here.
11428 * sysdeps/m68k/strtold.c: New file.
11430 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11432 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11433 point if the precision is zero, even if the mantissa is non-zero.
11435 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11437 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11438 arguments into the request message buffer inside `send_rpc'
11439 subfunction. We must repeat the marshalling when retrying the RPC
11440 after a SIGTTOU delivery.
11442 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11443 path when there is no ctty port.
11444 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11445 Move sigstate check inside loop so we recheck after handling a signal.
11447 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11449 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11450 O_EXLOCK are BSD extensions.
11451 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11453 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
11455 * manual/signal.texi (Termination in Handler): Correct example.
11456 Install default handler before reraising the signal.
11457 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11459 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
11461 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11462 null, in which case send an empty string.
11464 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11466 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11467 backward compatibility EH functions to be linked when using
11468 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11470 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11473 /dev/pts status may change during runtime.
11475 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11477 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11478 change. /dev/pts status can change during runtime.
11480 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11482 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11483 poll reports error.
11484 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11485 add some more sanity checks.
11486 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11489 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11491 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11492 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11493 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11494 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11495 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11497 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11498 * nis/nis_print.c: Fix ctime argument for platforms where
11499 sizeof (time_t) != sizeof (int).
11501 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11503 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11504 CLOCKS_PER_SEC instead of CLK_TCK.
11506 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11508 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11509 whether /dev/pts is available.
11510 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11513 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11514 and hesiod directory to library path [PR libc/1007].
11516 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11518 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11519 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11521 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11523 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11524 DT_PLTGOT has already been relocated.
11525 (__elf_machine_fixup_plt): Likewise.
11528 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11530 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11532 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11534 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11535 and fold string to uppercase [PR libc/1005].
11537 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11539 * elf/dl-load.c (lose): Fix return type.
11541 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11543 * sysdeps/mach/hurd/bits/fcntl.h
11544 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11545 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11546 set O_NOTRANS as well.
11547 (__hurd_file_name_lookup_retry): At successful end of lookup,
11548 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11549 it is a translated node not owned by root.
11550 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11551 on the file name passed to LOOKUP.
11553 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11555 * manual/time.texi (High Resolution Timer): Correct computation in
11556 example. Reported by jjf@devel.cemsys.com.
11558 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11560 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11561 entry is already relocated.
11563 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11565 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11566 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11568 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11570 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11571 uc_link which is the right name according to Unix98.
11572 Reported by Craig Metz [PR libc/1001].
11573 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11574 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11575 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11576 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11577 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11580 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11582 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11585 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11587 * iconvdata/Makefile: Always include iconv-rules, but disable rule
11588 to regenerate it if avoid-generated.
11590 * Makeconfig: Always include sys-dirs, but disable rule to
11591 regenerate it when avoid-generated.
11593 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11594 rule to generate sysd-syscalls.
11596 * elf/Makefile (generated): Remove $(objpfx) from names.
11598 1999-02-28 Mark Kettenis <kettenis@gnu.org>
11600 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11601 actual length if the adress length is smaller than the input
11602 value. Change type of *LEN paramater to socklen_t.
11603 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11604 * sysdeps/mach/hurd/accept.c (accept): Likewise.
11605 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11606 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11607 paramater to socklen_t.
11609 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
11611 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11612 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11615 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11617 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11618 __get_phys_pages): Cast &HBI to silence warning.
11620 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11621 * hurd/hurdchdir.c: New file.
11622 * hurd/hurdfchdir.c: New file.
11623 * sysdeps/mach/hurd/chroot.c: Call
11624 _hurd_change_directory_port_from_name to do the work.
11625 * sysdeps/mach/hurd/chdir.c: Likewise.
11626 * sysdeps/mach/hurd/fchdir.c: Call
11627 _hurd_change_directory_port_from_fd to do the work.
11628 * hurd/fchroot.c: Likewise.
11629 * hurd/hurd.h: Declare them.
11631 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
11633 * elf/dl-load.c (lose): Add more comments to explain the `why'.
11634 (_dl_map_object): Remove redundant test.
11636 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11638 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11639 try to _hurd_port_free a lower-numbered descriptor that was not in any
11642 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11644 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11645 declaration for ____wcstod_l_internal.
11647 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11648 __strtod_internal prototype.
11649 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11650 (____strtold_l_internal): Add prototype declaration.
11651 (__strtold_l): Call correct function.
11653 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
11655 * elf/elf.h: Add 32bit HPPA definitions.
11657 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11659 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11660 non-checked heap is restored when malloc checking was requested by
11662 (struct malloc_state): Add using_malloc_checking.
11663 (MALLOC_STATE_VERSION): Increment minor.
11664 (using_malloc_checking, disallow_malloc_check): New variables.
11665 (__malloc_check_init): Use them.
11666 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11667 that it can the chunk is properly instrumented when malloc
11668 checking is enabled. Set the new using_malloc_checking field.
11669 (malloc_hook_ini): Correct signature when _LIBC is not defined.
11671 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11673 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11674 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11677 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11678 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11679 if ld.so is the main program.
11681 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
11683 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11684 large for work_buffer, allocate new buffer.
11685 (printf_unknown): Likewise. [PR libc/988]
11687 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11689 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11690 instead of stat and fstat.
11691 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11693 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11695 * elf/dl-error.c (_dl_signal_cerror): New function.
11696 (_dl_signal_error): Don't call receiver function.
11697 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11698 instead of _dl_signal_error when reporting references to undefined
11699 symbols or versions.
11700 (_dl_lookup_versioned_symbol): Likewise.
11701 (_dl_lookup_versioned_symbol_skip): Likewise.
11702 * elf/dl-version.c (match_symbol): Likewise.
11704 * elf/ldsodefs.h: Declare _dl_signal_cerror.
11706 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11708 * misc/getttyent.c (getttyent): Release lock on stream later to
11709 also protect global variable zapchar.
11711 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11712 __times [PR libc/990].
11714 1999-02-21 David S. Miller <davem@redhat.com>
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11717 parentheses in Feb 2 changes.
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11720 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11722 * sysdeps/generic/glob.c (glob): Save previous errno.
11724 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
11726 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11727 lookup functions if it is too small.
11729 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
11731 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11732 for tracing to the scope lists.
11733 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11734 DT_SYMTAB is always available according to ELF spec.
11736 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11737 call test whether there is any scope left.
11738 (_dl_lookup_versioned_symbol_skip): Likewise.
11740 * elf/Makefile (distribute): Add do-lookup.h.
11741 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
11742 * elf/dl-lookup.c: Move do_lookup function in separate file and
11743 include the file twice, for handling versioning and without it.
11745 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11746 entry is already relocated.
11747 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11748 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11749 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11754 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11757 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11758 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11759 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11760 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11761 rel and rela relocations can both happen and skip one test if this
11763 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11765 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11767 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11769 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11770 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11771 (_dl_map_object): DT_STRTAB entry is already relocated.
11772 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11774 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11776 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11777 DT_VERSYM entries are already relocated.
11778 (profile_fixup): Likewise.
11779 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
11781 (match_symbol): DT_STRTAB entry is already relocated.
11782 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
11783 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11784 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
11785 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11786 (find_needed): DT_STRTAB entry is already relocated.
11787 (dl_main): Pass extra argument to elf_get_dynamic_info.
11788 DT_STRTAB entry is already relocated.
11789 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11790 DT_PLTGOT entries are already relocated.
11791 (elf_machine_rela): Likewise for DT_SYMTAB.
11792 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11795 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11797 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11798 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11799 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11800 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11801 * sysdeps/mips/mips64/dl-machine.h: Likewise.
11803 * grp/initgroups.c (initgroups): If function in current module was
11804 successful don't stop but continue to process to get all the groups.
11806 * elf/dl-load.c (_dl_map_object_from_fd): Use global
11807 _dl_pf_to_proot array to convert p_flags value.
11808 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11810 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11811 loop to clear `info'.
11813 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11814 do the work and don't use inline assembler.
11816 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
11818 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11819 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11820 noreturn, and prevent it from being inlined.
11821 Define LOSE appropriately.
11822 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11823 Optimize decoding of p_flags for certain platforms.
11825 1999-02-19 Philip Blundell <pb@nexus.co.uk>
11827 * Makeconfig (link-libc): When doing a static link, make sure that
11828 libgcc.a is included both before and after libc.a.
11830 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
11832 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11833 sp_warn, sp_inact, sp_expire and sp_flag.
11835 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
11837 * elf/link.h (link_map): Add l_dev and l_ino.
11838 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11839 loaded shared object with all loaded objects. Initialize l_ino
11840 and l_dev in case it's new.
11841 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11843 * elf/Makefile: Compile and run new test.
11844 * elf/multiload.c: New file.
11846 * nss/nsswitch.h (service_user): Change name field from const char *
11848 (name_database_entry): Likewise.
11849 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11850 for change of `service_user'.
11851 (nss_getline): Adjust memory allocation for change of
11852 `name_database_entry'.
11854 * catgets/catgets.c: Correctly handle NLSPATH from environment
11857 * io/Makefile (routines): Add lock64.
11858 * io/Versions: Add lockf64 for GLIBC_2.1.1.
11859 * sysdeps/generic/lockf64.c: New file.
11861 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11863 * string/bits/string2.h: Only use strncmp optimization if count
11864 argument is constant.
11866 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
11868 * sysdeps/mach/hurd/revoke.c: New file.
11870 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11872 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11873 int to avoid warning about `ISO C restricts enumerator values to
11876 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11878 * elf/dlfcn.h: Fix typo.
11879 * sysdeps/generic/bits/dlfcn.h: Likewise.
11880 * sysdeps/mips/bits/dlfcn.h: Likewise.
11882 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11884 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11885 for the case N == 0.
11887 * db2/Makefile (distribute): Add LICENSE.
11889 1999-02-03 Jeff Bailey <jbailey@nisa.net>
11891 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11894 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11896 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11898 * time/mktime.c: Use ISO C form for function definitions and
11899 remove unnecessary prototypes.
11901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11903 * time/time.h: Avoid unneccesary #ifdef.
11905 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
11907 * stdio-common/_itoa.c (_itoa): Correct parameters to
11910 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11912 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11913 before (e.g. in glob.h).
11914 Closes PR libc/959.
11916 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11918 * sysdeps/mips/fpu_control.h: Fix typo.
11919 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11922 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
11924 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11925 the "unused" ends of the sockets. Let pipes be bidirectional.
11927 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11932 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11934 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
11935 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11937 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11938 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11940 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11942 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11944 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11946 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
11947 check for priority mask.
11949 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
11951 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11952 Reported by Craig Metz <cmetz@inner.net> .
11954 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11956 * stdio-common/Makefile (tests): tllformat added.
11958 * stdio-common/tllformat.c: New program, based on tiformat.c with
11959 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11961 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11963 * posix/test-vfork.c: Fix exit status test.
11965 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11967 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11968 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11970 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11972 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11973 of separare explicit comparisons.
11975 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11977 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11980 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11983 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11985 * po/el.po: Update from translation team.
11987 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11989 * intl/locale.alias: Fix slovenian entry [PR libc/948].
11991 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11993 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11994 * inet/ruserpass.c: Likewise.
11995 * locale/programs/stringtrans.c: Likewise.
11996 * locale/programs/localedef.c: Likewise.
11997 * nscd/grpcache.c: Likewise.
11998 * nss/nss_files/files-XXX.c: Likewise.
11999 * stdlib/canonicalize.c: Likewise.
12000 * sysdeps/posix/sigwait.c: Likewise.
12002 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12004 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12005 even on 64 bit platforms.
12007 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12008 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12010 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12012 * intl/dcgettext.c: Include locale.h is available.
12014 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12016 * po/nl.po: Update from translation team.
12018 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12020 * Makefile: Allow calling goals for po subdir.
12022 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12023 signal definitions.
12025 * po/el.po: New file.
12027 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12029 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12030 when processing DT_SYMBOLIC objects.
12032 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12034 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12035 program headers without PT_PHDR only require that they are
12036 contained within one of the loaded segments. Don't use assert,
12037 since that would be a bug in the object, not the dynamic linker.
12039 1999-02-08 Richard Henderson <rth@cygnus.com>
12041 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12042 restore all call-clobbered fp regs.
12044 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12046 * po/cs.po: New file.
12048 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12051 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12053 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12054 * include/signal.h: Declare __libc_allocate_rtsig here.
12056 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12057 point functions, not do_lookup since the later can be called more
12060 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12062 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12063 macro, so that architectures which need to add some special
12064 offset to stack pointer can share this file.
12066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12069 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12071 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12072 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12073 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12074 between sparc32 and sparc64.
12076 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12077 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12078 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12079 between sparc32 and sparc64.
12081 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12082 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12083 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12084 between sparc32 and sparc64.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12088 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12089 between sparc32 and sparc64.
12091 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12093 * Versions.def: New version GLIBC_2.1.1 for libc.
12094 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12095 * stdlib/labs.c: Moved to...
12096 * sysdeps/generic/labs.c: ...here.
12097 * stdlib/llabs.c: Moved to...
12098 * sysdeps/generic/llabs.c: ...here.
12099 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12100 header. Declare _Exit.
12101 * sysdeps/generic/_exit.c: Add alias _Exit.
12102 * sysdeps/mach/hurd/_exit.c: Likewise.
12103 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12104 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12105 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12106 * sysdeps/unix/_exit.c: Likewise.
12107 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12108 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12109 * sysdeps/wordsize-64/inttypes.h: Likewise.
12110 * sysdeps/wordsize-32/llabs.c: New file.
12111 * sysdeps/wordsize-32/lldiv.c: New file.
12112 * sysdeps/wordsize-64/labs.c: New file.
12113 * sysdeps/wordsize-64/ldiv.c: New file.
12114 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12115 * manual/startup.texi: Document _Exit.
12117 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12119 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12121 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12123 * Versions.def: Add versions for ld.so.
12124 * csu/Versions: Remove __libc_stack_end here.
12125 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12126 * elf/Makefile (ld-map): Change to ld.so.map.
12127 * scripts/versions.awk: Recognize dot in library names.
12129 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12130 Don't use __tolower and __toupper in inline functions.
12131 Add optimizing macros for tolower and toupper.
12132 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12133 (_toupper): Don't use __toupper.
12134 * ctype/ctype.c (tolower): Don't use __tolower.
12135 (toupper): Don't use toupper.
12137 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12139 * resolv/Versions (libresolv): Export __ns_name_unpack and
12141 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12142 make it global. Change all users. Similar for ns_name_ntop.
12143 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12144 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12145 directly to detect too small buffer.
12146 * resolv/nss_dns/dns-network.c: Likewise.
12148 * stdio-common/Makefile (tests): Add scanf12.
12149 * stdio-common/scanf12.c: New file.
12150 * stdio-common/scanf12.input: New file.
12151 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12152 floating-point correctly if the number is invalid.
12154 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12156 * stdio-common/printf_fp.c: Likewise.
12157 * stdio-common/printf_fphex.c: Likewise.
12158 * stdio-common/vfprintf.c: Likewise.
12161 See ChangeLog.9 for earlier changes.