1 1999-08-20 Andreas Schwab <schwab@suse.de>
3 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
7 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
8 all threads [PR libc/1223].
10 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
13 * configure.in: Search for programs with prefix gnu* and g* first.
16 * dirent/Makefile (routines): Add getdents64.
17 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
19 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
20 compiled with _FILE_OFFSET_BITS=64.
21 * sysdeps/generic/getdents64.c: New file.
22 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
23 __lseek for getdirentries64 definition.
25 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
27 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
30 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
33 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
34 after we have the lock.
36 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
37 Patch by Richard Henderson.
39 1999-08-19 Andreas Schwab <schwab@suse.de>
41 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
42 and call _IO_fwide, to get the wide stream state initialized
43 correctly. Don't set _IO_JUMPS.
44 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
45 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
46 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
49 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
51 * math/libm-test.c (jn_test): Fix typo in description.
52 (erfc_test): Add some more tests.
53 (erf_test): Add some more tests.
55 1999-08-19 Andreas Schwab <schwab@suse.de>
57 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
58 expression using $(exceptions).
60 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
62 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
64 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
65 allocated so far. [PR libc/1261].
67 * math/libm-test.c (j0_test): Adjust deltas for m68k.
70 * dirent/dirent.h: Only define ino64_t if not already done.
71 * posix/sys/types.h: Likewise.
73 * ctype/ctype.h: Avoid useless #endif #if pairs.
75 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
76 (seekdir): Fix type of second parameter.
77 * sysdeps/generic/seekdir.c: Likewise.
78 * sysdeps/mach/hurd/seekdir.c: Likewise.
79 * sysdeps/unix/seekdir.c: Likewise.
81 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
83 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
85 * manual/install.texi (Configuring and compiling): Clarify ix86
88 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
90 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
91 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
92 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
93 stdio_lim.h. Define LONG_BIT and WORD_BIT.
95 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
97 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
99 * misc/search.h: Don't define NULL.
101 * posix/sys/types.h: Define blksize_t if it hasn't happened.
102 Only define key_t and blkcnt_t if it hasn't happened before.
103 Define blksize_t if not happened before.
104 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
105 * sysdeps/generic/bits/types.h: Define __blksize_t.
106 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
107 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
108 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
109 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
110 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
111 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
113 (struct stat64): Likewise.
114 * sysdeps/unix/bsd/bits/stat.h: Likewise.
115 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
116 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
117 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
118 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
119 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
120 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
122 * stdlib/getsubopt.c: Correct type of second argument.
123 * stdlib/stdlib.h: Likewise.
125 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
128 * sysdeps/generic/putenv.c: Correct type of parameter.
129 * stdlib/stdlib.h: Likewise.
131 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
132 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
133 * sysvips/sys/msg.h: Likewise.
135 * sysdeps/generic/semop.c: Correct type of third parameter.
136 * sysdeps/unix/sysv/linux/semop.c: Likewise.
137 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
140 * sysdeps/generic/shmget.c: Correct type of second parameter.
141 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
142 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
143 Declare __getpagesize here.
145 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
147 * sysdeps/gnu/bits/ipc.h: Likewise.
148 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
149 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
150 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
151 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
154 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
156 * debug/versions: Export __cyg_profile_func_enter and
157 __cyg_profile_func_exit.
159 * math/bits/mathcalls.h: Pretty print.
161 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
163 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
166 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
168 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
169 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
170 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
171 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
173 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
175 * sysdeps/generic/ualarm.c (ualarm): Change return value and
176 parameter type to useconds_t.
177 * sysdeps/unix/bsd/ualarm.c: Likewise.
179 * sysdeps/generic/usleep.c (usleep): Change parameter type to
181 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
182 * sysdeps/mach/usleep.c: Likewise.
184 * locale/weight.h: Include <errno.h>.
186 * posix/sys/types.h: Define type useconds_t if not done already.
187 * posix/unistd.h: Likewise. Use this in ualarm and usleep
189 * sysdeps/generic/bits/types.h: Define type __useconds_t.
190 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
191 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
192 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
194 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
196 * dirent/dirent.h (telldir): Change return type to long int.
197 * sysdeps/generic/telldir.c: Likewise.
198 * sysdeps/mach/hurd/telldir.c: Likewise.
199 * sysdeps/unix/telldir.c: Likewise.
200 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
202 * locale/weight.h: Set errno if an invalid character is found.
204 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206 * math/libm-test.c (erfc_test): Add test for example from PR
208 (erf_test): Likewise.
210 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
212 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
213 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
215 * timezone/private.h: Update from tzcode1999e.
216 * timezone/zic.c: Likewise.
218 * timezone/africa: Update from tzdata1999e.
219 * timezone/antarctica: Likewise.
220 * timezone/asia: Likewise.
221 * timezone/australasia: Likewise.
222 * timezone/europe: Likewise.
223 * timezone/leapseconds: Likewise.
224 * timezone/northamerica: Likewise.
225 * timezone/southamerica: Likewise.
227 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
228 and write correct number of bytes in case of %ls with precision.
229 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
231 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
233 * nscd/nscd.init: Test for kernel version and make LSB compliant.
234 Patch by Christian Gafton.
236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
237 O_RSYNC. Patch by Christian Gafton.
239 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
240 possibly unterminated strings for %ls when a precision is
242 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
244 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
245 update_conversion_ptrs.
246 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
248 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
250 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
251 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
253 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
254 * wcsmbs/tst-wcsnlen.c: New file.
256 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
258 * libio/ioputs.c (_IO_puts): Add missing brace.
260 1999-07-20 Geoff Keating <geoffk@cygnus.com>
262 * math/libm-test.c: Tweak deltas for a clean run on ppc.
264 1999-08-10 H.J. Lu <hjl@gnu.org>
266 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
267 (vfprintf): Likewise.
268 * stdio-common/vfscanf.c (ORIENT): Likewise.
269 * libio/genops.c (__underflow): Likewise.
271 * libio/iofputs.c (_IO_fputs): Likewise.
272 * libio/ioftell.c (_IO_ftell): Likewise.
273 * libio/iofwrite.c (_IO_fwrite): Likewise.
274 * libio/ioputs.c (_IO_puts): Likewise.
275 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
276 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
278 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
280 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
282 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
284 * manual/job.texi (Process Group Functions): Document getpgid,
287 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
289 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
290 initialize si_pid from it.
291 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
293 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
294 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
295 (struct requestlist): Likewise.
296 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
297 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
299 (__aio_notify): Pass caller PID to __aio_notify_only.
300 * rt/aio_suspend.c: Initialize caller_pid.
301 * rt/lio_listio.c: Likewise.
302 * rt/lio_listio64.c: Likewise.
304 * rt/lio_listio.c: If nothing has to be done free mutex before
306 * rt/lio_listio64.c: Likewise.
308 1999-08-10 H.J. Lu <hjl@gnu.org>
310 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
313 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
315 * elf/elf.h: Define ElfXX_Versym.
316 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
319 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
320 for string output correctly in the wide character case.
321 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
323 * intl/locale.alias: Add catalan.
325 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
327 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
329 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
331 * po/pt_BR.po: New file.
333 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
335 * math/libm-test.c (yn_test): Adjust deltas for i386.
336 (ccosh_test): Likewise.
339 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
341 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
343 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
345 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
348 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
350 * configure.in: install-sh lives now in scripts subdir.
351 PR libc/1255 (bug 4).
353 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
355 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
360 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
362 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
364 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
366 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
369 1999-08-10 Andreas Schwab <schwab@suse.de>
371 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
374 1999-08-09 Scott Bambrough <scottb@netwinder.org>
376 * elf/elf.h: Added definition of ELFOSABI_ARM.
377 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
378 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
379 object's header and ABI values are acceptable.
380 (VALID_ELF_HEADER): New macro; provide default definition.
381 (VALID_ELF_OSABI): New macro; provide default definition.
382 (VALID_ELF_ABIVERSION): New macro; provide default definition.
383 * sysdeps/arm/dl-machine.h Define ARM specific versions of
384 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
386 1999-08-09 Andreas Schwab <schwab@suse.de>
388 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
390 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
392 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
394 1999-08-09 Andreas Schwab <schwab@suse.de>
396 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
398 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
400 * sysdeps/ieee754/ieee754.h: Handle platforms with special
401 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
403 * string/bits/string2.h: Mark void* operations as extensions.
404 * sysdeps/i386/i486/bits/string.h: Likewise.
406 * debug/Makefile (routines): Add noophooks.
407 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
408 * debug/noophooks.c: New file.
409 * debug/pcprofile.c: New file.
411 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
413 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
414 systems which allow using the functions also on non-seekable
417 * resolv/res_send.c (res_send): Recompute timeout for poll for
420 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
421 braces to avoid warnings.
422 (IN6ADDR_LOOPBACK_INIT): Likewise.
424 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
427 1999-08-06 H.J. Lu <hjl@gnu.org>
429 * malloc/malloc.c: Initialize __libc_pagesize early.
431 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
433 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
436 * inet/Makefile (tests): Add tst-ipnode.
437 * inet/tst-ipnode.c: New file.
439 1999-08-06 Andreas Schwab <schwab@suse.de>
441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
443 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
444 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
445 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
447 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
448 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
450 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
452 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
453 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
454 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
456 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
458 * resolv/res_send.c (res_send): Don't test file descriptor for
459 range, we use poll now. [PR libc/1240]
461 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
463 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
464 2.0 defined if they are not available.
466 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
468 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
471 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
473 * rt/aio_read.c: Fix return value.
474 * rt/aio_read64.c: Likewise.
475 Reported by Christian Gafton.
477 * rt/aio_write.c: Fix return value.
478 * rt/aio_write64.c: Likewise.
479 * rt/aio_fsync.c: Likewise.
481 * rt/aio_misc.c: Set errno at correct place.
483 * rt/aio_fsync.c: Test OP parameter for correct values.
485 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
487 1999-08-04 Andreas Schwab <schwab@suse.de>
489 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
490 Initialize result to one.
491 (GET_NPROCS_CONF_PARSER): Likewise.
493 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
495 * inet/ether_hton.c: Pass errno pointer to NSS function.
496 * inet/getnetgrent_r.c: Likewise.
497 Reported by Marty Leisner <leisner@rochester.rr.com>.
499 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
501 * nis/nis_callback.c: Fix port problem on big-endian machines
502 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
503 fields are always 32 bit.
504 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
506 * nis/nss_nis/nis-service.c: Remove htons, port is always in
508 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
510 1999-08-03 Andreas Schwab <schwab@suse.de>
512 * sysdeps/posix/sigset.c: Unblock the signal after setting its
513 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
514 avoid two calls to sigprocmask.
516 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
518 * sysdeps/generic/s_nexttowardf.c: Fix typo.
520 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
523 Only allow rt signal frames. No SA_SIGINFO signals will have the
524 siginfo_t just not filled out with SI_NOINFO code.
525 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
526 (register_dump): Take the above change into account.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
528 (rt_signal_frame): Likewise.
530 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
532 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
534 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
537 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
539 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
540 nexttoward so something else so that aliasing works.
542 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
544 * sysdeps/generic/math_ldbl.h: Fix typo.
545 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
546 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
548 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
550 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
552 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
554 * elf/Makefile (tests): Add resolvfail. Add rules to build the
556 * elf/resolvfail.c: New file.
558 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
559 pass it to _dl_lookup_symbol.
561 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
564 * dlfcn/dlerror.c: Make code thread-safe.
566 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
568 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
569 initializer in CHECK: a bit size, not the type code repeated!
571 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
573 * string/tester.c: Add tests with constant arguments for strcpy
576 1999-07-31 H.J. Lu <hjl@gnu.org>
578 * string/bits/string2.h (__strcpy_small): Fix a typo.
580 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
582 * Makeconfig (link-libc): Always define it, not only for shared
585 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
586 * sysdeps/i386/fpu/e_powf.S: Likewise.
587 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
589 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
590 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
592 1999-07-30 Andreas Schwab <schwab@suse.de>
594 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
596 (__get_nprocs): Use it.
597 (__get_nprocs_conf): Define as separate function if
598 GET_NPROCS_CONF_PARSER is defined.
599 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
601 * include/sys/sysinfo.h: New file.
602 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
604 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
606 1999-07-30 H.J. Lu <hjl@gnu.org>
608 * libio/iofflush.c (fflush_unlocked): Weak aliase if
609 _IO_MTSAFE_IO is not defined.
610 * libio/clearerr.c (clearerr_unlocked): Likewise.
611 * libio/feof.c (feof_unlocked): Likewise.
612 * libio/ferror.c (ferror_unlocked): Likewise.
613 * libio/fputc.c (fputc_unlocked): Likewise.
614 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
615 * libio/getchar.c (getchar_unlocked): Likewise.
616 * libio/putc.c (putc_unlocked): Likewise.
617 * libio/putchar.c (putchar_unlocked): Likewise.
619 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
621 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
622 svc_max_pollfd and svc_pollfd to GLIBC_2.2
623 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
624 for svc_run/poll interface.
625 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
626 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
628 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
629 rewrite other svc_getreq* functions to use svc_getreq_common.
630 * sunrpc/svc_run.c: Use poll().
632 1999-07-30 Andreas Schwab <schwab@suse.de>
634 * Makerules: Put sysd-versions and Versions.all on
635 postclean-generated instead of common-generated.
637 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
639 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
640 around and CLOCKS_PER_SEC is 1e6.
642 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
644 * configure.in: Add test for local label subtraction.
645 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
646 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
647 labels to reduce number of runtime relocations and move jump
648 tables in read-only seciton.
650 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
651 assignment cannot be moved.
653 1999-07-29 H.J. Lu <hjl@gnu.org>
655 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
656 if no threads are used.
658 * libio/iofwrite.c: Add weak alias for _unlocked function if not
660 * libio/iofread.c: Likewise.
661 * libio/iofgets.c: Likewise.
662 * libio/iofputs.c: Likewise.
664 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
667 * stdlib/mbtowc.c: Include <string.h>.
668 * stdlib/wctomb.c: Likewise.
669 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
670 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
672 * misc/mntent_r.c: Include <alloca.h>.
673 * elf/dl-runtime.c: Likewise.
675 1999-07-29 Andreas Schwab <schwab@suse.de>
677 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
678 all floating point formats supported by gcc. Error out for
679 unhandled precisions.
680 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
681 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
682 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
684 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
686 * sysdeps/generic/setenv.c: Move setenv code in new function
687 __add_to_environ. Add new parameter specifying already
688 constructed string for the environment.
689 (setenv): Call __add_to_environ with new parameter set to NULL.
690 (unsetenv): Really test all elements for duplicated name. Missed those
691 cases where the two are following each other.
692 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
693 * include/stdlib.h: Add prototype of __add_to_environ.
694 * stdlib/tst-environ.c: New file.
695 * stdlib/Makefile (tests): Add tst-environ.
697 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
699 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
700 argument in realloc call.
701 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
703 Reported by Danny Braniss <danny@cs.huji.ac.il>.
705 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
707 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
709 * misc/efgcvt_r.c: Likewise.
710 * misc/qefgcvt.c: Likewise.
711 * misc/qefgcvt_r.c: Likewise.
712 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
715 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
717 * manual/math.texi (FP Function Optimization): Mention drawbacks.
719 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
721 * stdlib/mblen.c: Use static state.
722 Reported by Bruno Haible <haible@ilog.fr>.
724 * stdlib/mbtowc.c: Reset state for s == NULL.
725 * stdlib/wctomb.c: Likewise.
726 Reported by Bruno Haible <haible@ilog.fr>.
728 * stdlib/mbstowcs.c: Do not use global state.
729 Reported by Bruno Haible <haible@ilog.fr>.
731 1999-07-28 Andeas Schwab <schwab@suse.de>
733 * iconvdata/Makefile: Don't try to run iconv tests when cross
736 1999-07-27 Mark Kettenis <kettenis@gnu.org>
738 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
739 assembler code to switch stacks and call init1 outside this
740 function. Inside `init' the code was optimized away by gcc
741 2.95 since it was "clearly" unreachable.
742 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
743 Do something similar for the trampoline code.
745 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
748 for the hinted protocol.
750 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
752 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
754 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
756 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
757 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
758 * elf/dl-load.c (_dl_map_object): Likewise.
759 * elf/do-lookup.h (do_lookup*): Likewise.
760 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
761 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
763 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
765 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
767 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
768 * sysdeps/generic/getpgrp.c: Likewise.
769 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
770 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
771 Patch by John Tobey <jtobey@banta-im.com>.
773 * sysdeps/posix/wait3.c: Help compiling in presence of
774 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
776 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
778 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
779 as much as possible. Declare them using .register pseudo-op if they
781 * sysdeps/sparc/sparc64/lshift.S: Likewise.
782 * sysdeps/sparc/sparc64/memchr.S: Likewise.
783 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
784 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
785 * sysdeps/sparc/sparc64/memset.S: Likewise.
786 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
787 * sysdeps/sparc/sparc64/rshift.S: Likewise.
788 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
789 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
790 * sysdeps/sparc/sparc64/strcat.S: Likewise.
791 * sysdeps/sparc/sparc64/strchr.S: Likewise.
792 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
793 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
794 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
795 * sysdeps/sparc/sparc64/strlen.S: Likewise.
796 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
797 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
798 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
799 * sysdeps/sparc/sparc64/strspn.S: Likewise.
800 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
801 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
802 Optimize trampoline code for .plt4-.plt32767.
803 Fix trampolines for .plt32768+.
805 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
807 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
809 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
810 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
811 libc's private use (as assembly routine clobber it anyway).
813 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
815 * README.template (configurations): The crypt add-on has a new
817 * manual/install.texi (Installation): Likewise.
819 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
821 * time/time.h: Add forward for struct sigevent. Unix98 maybe
822 requires to have a full definition but we wait for a bug report
823 based on the test suite.
825 * sysdeps/generic/clock_getres.c: New file.
826 * sysdeps/generic/clock_gettime.c: New file.
827 * sysdeps/generic/clock_settime.c: New file.
828 * sysdeps/generic/timer_create.c: New file.
829 * sysdeps/generic/timer_delete.c: New file.
830 * sysdeps/generic/timer_getoverr.c: New file.
831 * sysdeps/generic/timer_gettime.c: New file.
832 * sysdeps/generic/timer_settime.c: New file.
834 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
835 CLOCK_REALTIME, and TIMER_ABSTIME.
836 * sysdeps/mach/hurd/bits/time.h: Likewise.
837 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
838 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
840 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
842 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
845 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
847 * time/Makefile (routines): Add clock_getres, clock_gettime,
848 clock_setres, timer_create, timer_delete, timer_getoverr,
849 timer_gettime, and timer_settime.
851 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
852 POSIX.1b. Add prototypes for clock and timer functions.
854 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
856 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
857 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
859 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
861 * stdlib/wcstombs.c: Do not use global state.
862 Reported by Bruno Haible <haible@ilog.fr>.
864 * wcsmbs/wctob.c: Avoid sign extension when returning character.
865 Reported by Bruno Haible <haible@ilog.fr>.
867 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
868 of wide characters to convert do it right and don't overestimate
869 by multiplying with MB_CUR_MAX.
870 Reported by Bruno Haible <haible@ilog.fr>.
872 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
874 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
875 (__stpcpy_small): Likewise.
876 Union has no __uc member but __c.
878 1999-07-26 Andreas Schwab <schwab@suse.de>
880 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
882 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
884 * libio/iofclose.c (_IO_new_fclose): Only fall back on
885 _IO_old_fclose if doing versioning.
887 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
889 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
891 * misc/mntent_r.c: Allow spaces and tabs in entry names by
892 encoding these characters.
893 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
895 * string/bits/string2.h: Fix aliasing problems.
896 * sysdeps/i386/i486/bits/string.h: Likewise.
897 * sysdeps/i386/bits/string.h: Likewise.
899 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
901 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
902 * elf/rtld.c (dl_main): Don't call malloc() between
903 re-relocating the dynamic linker and running the application's crt0.
905 1999-07-21 Paul D. Smith <psmith@gnu.org>
907 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
908 glob.h to get __P() macro.
910 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
912 (__strchrnul): This won't exist outside GLIBC, so create one.
914 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
916 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
917 __ino64_t should be 32bit unsigned type on sparc32.
918 Define __off64_t to __quad_t instead of __int64_t.
919 Make __pic_pid_t unsigned on sparc32.
921 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
923 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
926 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
928 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
929 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
931 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
933 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
936 * resolv/res_send.c: Add locks for res_send and res_close use.
938 * elf/Makefile (dl-routines): Add preinit.
939 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
940 * elf/link.h (struct link_map): Add new field l_preinitcount.
941 * elf/dl-preinit.c: New file.
942 * elf/dynamic-link.h: Initialize l_preinitcount.
943 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
945 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
946 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
948 * elf/dl-init.c: Handle DT_INIT_ARRAY.
949 * elf/dynamic-link.h: Change parameters. Now only get link_map
950 pointer. Calculate l_initcount.
952 * elf/link.h (struct link_map): Add l_runpath_dirs.
953 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
954 * elf/dl-load.c: Pretty print.
955 (decompose_rpath): Take new parameter with info from where the path
956 comes. Pass it the fillin_rpath.
957 (_dl_init_paths): Initialize l_runpath_dirs.
958 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
959 Search using RUNPATH after LD_LIBRARY_PATH.
960 * elf/dl-support.c: Adjust comment.
961 * elf/rtld.c: Adjust help message.
963 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
965 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
968 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
970 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
971 match BSD value; previous value of 1<<8 was a typo. I bet nothing
972 ever used this, so I'm not going to worry about compatibility.
973 [__USE_GNU] (IUCLC, OLCUC): New macros.
975 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
977 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
979 * elf/elf.h: Add ET_LOOS and ET_HIOS.
980 Add various EM_* constants.
981 Add SHN_LOOS and SHN_HIOS.
982 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
983 Add SHF_MERGE and SHF_STRINGS.
984 (ElfXX_Sym): Update description of st_other field.
986 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
988 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
989 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
990 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
992 * posix/unistd.h: Move declaration of __libc_enable_secure to...
993 * include/unistd.h: ...here.
995 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
996 * elf/dl-deps.c (expand_dst): Likewise.
998 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
999 based on DT_FLAGS value.
1001 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
1002 Add test for symbols marked STV_HIDDEN.
1003 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
1004 add undef_map. Compute reference_name locally. Update call to
1006 (_dl_lookup_symbol_skip): Likewise.
1007 (_dl_lookup_versioned_symbol): Likewise.
1008 (_dl_lookup_versioned_symbol_skip): Likewise.
1009 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
1010 * elf/dl-runtime.c: Likewise.
1011 * elf/dl-sym.c: Likewise.
1012 * elf/dl-symbol.c: Likewise.
1013 * elf/ldsodefs.h: Adjust prototypes.
1015 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
1016 handle appropriately. Add comment about DT_TEXTREL.
1017 * elf/dl-runtime.c: Likewise.
1019 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
1021 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
1022 * elf/ldsodefs.h: Declare it.
1023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
1025 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
1026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1027 (elf_machine_lazy_rel): Likewise.
1028 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
1029 (elf_machine_lazy_rel): Likewise.
1030 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
1031 (elf_machine_lazy_rel): Likewise.
1032 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1033 (elf_machine_lazy_rel): Likewise.
1034 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1035 (elf_machine_lazy_rel): Likewise.
1036 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
1037 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
1038 (elf_machine_lazy_rel): Likewise.
1039 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1040 (elf_machine_lazy_rel): Likewise.
1041 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
1042 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
1043 _dl_reloc_bad_type instead of _dl_signal_error.
1044 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1046 1999-07-20 Mark Kettenis <kettenis@gnu.org>
1048 * sysdeps/mach/_strerror.c: Include <libintl.h>.
1050 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
1052 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
1053 hurd_signal_preemptor matches but its `preemptor' field is null, use
1054 its `handler' field directly. This is to comply with behavior
1055 documented in <hurd/sigpreempt.h>.
1057 1999-07-21 Andreas Schwab <schwab@suse.de>
1059 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
1060 when reading from write-only stream.
1061 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
1062 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1064 1999-07-21 Andreas Schwab <schwab@suse.de>
1066 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
1069 1999-07-21 Mark Kettenis <kettenis@gnu.org>
1071 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
1073 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
1075 (__libc_write): Call __pwrite instead of __pread.
1077 1999-07-20 Mark Kettenis <kettenis@gnu.org>
1079 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
1080 __vm_allocate calls.
1082 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
1083 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
1085 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
1086 _hurd_fd_read with new OFFSET argument set to -1.
1087 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
1090 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
1092 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
1093 descriptor table sent in the RPC.
1095 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1097 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
1098 bill@taniwha.org [PR libc/1211].
1100 1999-07-19 Andreas Schwab <schwab@suse.de>
1102 * libio/Makefile (routines): Add fwprintf.
1104 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
1105 * math/w_sqrt.c: Moved to ...
1106 * sysdeps/generic/w_sqrt.c: ... here.
1107 * math/w_sqrtf.c: Moved to ...
1108 * sysdeps/generic/w_sqrtf.c: ... here.
1110 * Make-dist (generic-dirs): New variable.
1111 (try-sysdeps, +sysdep-names): Use it.
1112 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
1113 instead of $(lib)-routines.
1114 * elf/Makefile (distribute): Add dl-cache.h.
1115 * db2/Makefile (distribute): Add all new files.
1116 * iconvdata/Makefile (distribute): Don't distribute CVS
1118 * math/Makefile (distribute): Remove machine/endian.h, add
1120 * stdio-common/Makefile (distribute): Add _itowa.h.
1121 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
1122 * sysdeps/gnu/Dist: Add eval.c
1123 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
1124 dlfcn]: Add to this instead of libdl-routines.
1125 * sysdeps/ieee754/ldbl-128/Dist: New file.
1126 * sysdeps/mach/hurd/Dist: Add siglist.h
1127 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
1129 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
1131 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
1133 * inet/Makefile (routines): Add getipnodebyad and freehostent.
1134 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
1135 * inet/freehostent.c: New file.
1136 * inet/getipnodebyad.c: New file.
1137 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
1138 and getipnodebyname. The latter comes soon.
1139 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
1140 Add support for getipnode* functions.
1142 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
1143 Set h_aliases to NULL and not to a pointer to an array with a NULL
1144 pointer following XNS 5.2.
1146 * posix/sched.h: Remove internal interfaces.
1147 * include/sched.h: Add internal interfaces.
1149 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
1151 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
1153 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
1154 and return an error in this case.
1155 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
1158 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1160 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
1161 1999-07-17 and adjust len parameter.
1162 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
1163 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
1164 * manual/socket.texi (Host Names): Likewise.
1165 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
1166 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1168 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1169 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1170 (ht_gethostbyaddr): Likewise.
1171 (_gethtbyaddr): Likewise.
1173 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
1175 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
1177 * include/netdb.h: Likewise.
1178 * inet/gethstbyad.c: Correct type of len parameter.
1179 * inet/gethstbyad_r.c: Likewise.
1181 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1183 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
1185 * include/libc-symbol.h: Clean up definitions of weak_alias,
1186 strong_alias, symbol_version, etc. etc.
1187 * posix/getopt.h: Use ctype.h to get features.h included, and don't
1188 include it at all if __GNU_LIBRARY__ is already defined.
1190 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
1192 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
1194 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
1196 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
1197 type for tv_usec element.
1198 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
1199 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
1200 * sysdeps/generic/bits/time.h: Likewise.
1201 * sysdeps/mach/hurd/bits/time.h: Likewise.
1202 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1203 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1204 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1205 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1206 * sysdeps/generic/bits/types.h: Likewise.
1207 * posix/sys/types.h: Define suseconds_t for X/Open.
1209 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1211 * stdio-common/bug1.c: Avoid memory leak.
1213 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
1214 program deterministic.
1215 * sysdeps/i386/fpu/e_powf.S: Likewise.
1216 * sysdeps/i386/fpu/e_powl.S: Likewise.
1218 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
1220 * math/Makefile: Add t_sincosl and k_sincosl support routines.
1221 * math/math_private.h (__kernel_sincosl): New declaration.
1222 * sysdeps/generic/t_sincosl.c: New file.
1223 * sysdeps/generic/k_sincosl.c: New file.
1224 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
1225 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
1226 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
1227 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
1228 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
1229 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
1231 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
1234 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1236 * posix/unistd.h: Use __PMT for exit.
1238 1999-07-15 Philip Blundell <pb@nexus.co.uk>
1240 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
1241 _outw, _outl): Added to GLIBC_2.1.2.
1243 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1245 * posix/fnmatch.h: Use __name instead of __string in prototype to
1246 allow use outside glibc.
1248 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
1250 * time/tst-strptime.c (main): Add one more test case. Produce
1251 output even when result is ok.
1253 * time/strptime.c (get_number): Handle number parsing more
1254 consistent with strftime. Only parse a given number of digits.
1255 (get_alt_number): Fix implementation. Was broken.
1256 (strptime_internal): Add third parameter to get_number and
1257 get_alt_number calls.
1259 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
1261 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
1262 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
1263 try both 32bit and 64bit dynamic linker.
1264 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
1265 script on all sparc targets.
1267 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
1269 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
1272 1999-07-13 Andreas Schwab <schwab@suse.de>
1274 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
1275 inlining. Fixes PR libc/1198.
1277 1999-07-14 Andreas Schwab <schwab@suse.de>
1279 * Makerules (common-generated): Don't prepend $(common-objpfx).
1281 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
1283 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
1284 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
1285 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
1286 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
1288 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1290 * sysdeps/arm/Implies: Likewise.
1291 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
1292 ieee754/ldbl-96 instead of ieee754.
1293 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
1294 * sysdeps/generic/e_atanhl.c: New file.
1295 * sysdeps/generic/e_coshl.c: New file.
1296 * sysdeps/generic/e_sinhl.c: New file.
1297 * sysdeps/generic/e_gammal_r.c: New file.
1298 * sysdeps/generic/e_hypotl.c: New file.
1299 * sysdeps/generic/s_cbrtl.c: New file.
1300 * sysdeps/generic/s_asinhl.c: New file.
1301 * sysdeps/generic/s_tanhl.c: New file.
1302 * sysdeps/generic/w_expl.c: New file.
1303 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1305 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
1306 ieee754/ldbl-96 instead of ieee754.
1307 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
1308 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
1310 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1312 * sysdeps/mips/mips64/Implies: Likewise.
1313 * sysdeps/powerpc/Implies: Likewise.
1314 * sysdeps/sparc/Implies: Remove.
1315 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
1317 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
1318 and ieee754/ldbl-128.
1320 * sysdeps/sparc/bits/wordsize.h: Remove.
1321 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
1322 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
1324 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
1325 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
1326 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
1327 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1328 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
1331 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
1332 of carries. Optimize.
1334 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
1335 * sysdeps/generic/e_exp10.c: ...here.
1336 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
1337 * sysdeps/generic/e_exp10f.c: ...here.
1338 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
1339 * sysdeps/generic/e_exp10l.c: ...here.
1340 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
1341 * sysdeps/generic/e_scalb.c: ...here.
1342 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
1343 * sysdeps/generic/e_scalbf.c: ...here.
1344 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
1345 * sysdeps/generic/e_scalbl.c: ...here.
1346 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
1347 * sysdeps/generic/s_cacos.c: ...here.
1348 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
1349 * sysdeps/generic/s_cacosf.c: ...here.
1350 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
1351 * sysdeps/generic/s_cacosh.c: ...here.
1352 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
1353 * sysdeps/generic/s_cacoshf.c: ...here.
1354 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
1355 * sysdeps/generic/s_cacoshl.c: ...here.
1356 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
1357 * sysdeps/generic/s_cacosl.c: ...here.
1358 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
1359 * sysdeps/generic/s_casin.c: ...here.
1360 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
1361 * sysdeps/generic/s_casinf.c: ...here.
1362 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
1363 * sysdeps/generic/s_casinh.c: ...here.
1364 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
1365 * sysdeps/generic/s_casinhf.c: ...here.
1366 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
1367 * sysdeps/generic/s_casinhl.c: ...here.
1368 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
1369 * sysdeps/generic/s_casinl.c: ...here.
1370 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
1371 * sysdeps/generic/s_catan.c: ...here.
1372 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
1373 * sysdeps/generic/s_catanf.c: ...here.
1374 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
1375 * sysdeps/generic/s_catanh.c: ...here.
1376 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
1377 * sysdeps/generic/s_catanhf.c: ...here.
1378 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
1379 * sysdeps/generic/s_catanhl.c: ...here.
1380 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
1381 * sysdeps/generic/s_catanl.c: ...here.
1382 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
1383 * sysdeps/generic/s_ccos.c: ...here.
1384 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
1385 * sysdeps/generic/s_ccosf.c: ...here.
1386 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
1387 * sysdeps/generic/s_ccosh.c: ...here.
1388 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
1389 * sysdeps/generic/s_ccoshf.c: ...here.
1390 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
1391 * sysdeps/generic/s_ccoshl.c: ...here.
1392 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
1393 * sysdeps/generic/s_ccosl.c: ...here.
1394 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
1395 * sysdeps/generic/s_cexp.c: ...here.
1396 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
1397 * sysdeps/generic/s_cexpf.c: ...here.
1398 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
1399 * sysdeps/generic/s_cexpl.c: ...here.
1400 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
1401 * sysdeps/generic/s_clog.c: ...here.
1402 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
1403 * sysdeps/generic/s_clog10.c: ...here.
1404 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
1405 * sysdeps/generic/s_clog10f.c: ...here.
1406 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
1407 * sysdeps/generic/s_clog10l.c: ...here.
1408 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
1409 * sysdeps/generic/s_clogf.c: ...here.
1410 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
1411 * sysdeps/generic/s_clogl.c: ...here.
1412 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
1413 * sysdeps/generic/s_cpow.c: ...here.
1414 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
1415 * sysdeps/generic/s_cpowf.c: ...here.
1416 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
1417 * sysdeps/generic/s_cpowl.c: ...here.
1418 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
1419 * sysdeps/generic/s_cproj.c: ...here.
1420 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
1421 * sysdeps/generic/s_cprojf.c: ...here.
1422 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
1423 * sysdeps/generic/s_cprojl.c: ...here.
1424 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
1425 * sysdeps/generic/s_csin.c: ...here.
1426 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
1427 * sysdeps/generic/s_csinf.c: ...here.
1428 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
1429 * sysdeps/generic/s_csinh.c: ...here.
1430 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
1431 * sysdeps/generic/s_csinhf.c: ...here.
1432 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
1433 * sysdeps/generic/s_csinhl.c: ...here.
1434 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
1435 * sysdeps/generic/s_csinl.c: ...here.
1436 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
1437 * sysdeps/generic/s_csqrt.c: ...here.
1438 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
1439 * sysdeps/generic/s_csqrtf.c: ...here.
1440 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
1441 * sysdeps/generic/s_csqrtl.c: ...here.
1442 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
1443 * sysdeps/generic/s_ctan.c: ...here.
1444 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
1445 * sysdeps/generic/s_ctanf.c: ...here.
1446 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
1447 * sysdeps/generic/s_ctanh.c: ...here.
1448 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
1449 * sysdeps/generic/s_ctanhf.c: ...here.
1450 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
1451 * sysdeps/generic/s_ctanhl.c: ...here.
1452 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
1453 * sysdeps/generic/s_ctanl.c: ...here.
1454 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
1455 * sysdeps/generic/s_fdim.c: ...here.
1456 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
1457 * sysdeps/generic/s_fdimf.c: ...here.
1458 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
1459 * sysdeps/generic/s_fdiml.c: ...here.
1460 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
1461 * sysdeps/generic/s_fma.c: ...here.
1462 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
1463 * sysdeps/generic/s_fmaf.c: ...here.
1464 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
1465 * sysdeps/generic/s_fmal.c: ...here.
1466 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
1467 * sysdeps/generic/s_fmax.c: ...here.
1468 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
1469 * sysdeps/generic/s_fmaxf.c: ...here.
1470 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
1471 * sysdeps/generic/s_fmaxl.c: ...here.
1472 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
1473 * sysdeps/generic/s_fmin.c: ...here.
1474 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
1475 * sysdeps/generic/s_fminf.c: ...here.
1476 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
1477 * sysdeps/generic/s_fminl.c: ...here.
1478 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
1479 * sysdeps/generic/s_ldexp.c: ...here.
1480 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
1481 * sysdeps/generic/s_ldexpf.c: ...here.
1482 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
1483 * sysdeps/generic/s_ldexpl.c: ...here.
1484 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
1485 * sysdeps/generic/s_nan.c: ...here.
1486 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
1487 * sysdeps/generic/s_nanf.c: ...here.
1488 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
1489 * sysdeps/generic/s_nanl.c: ...here.
1490 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
1491 * sysdeps/generic/s_significand.c: ...here.
1492 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
1493 * sysdeps/generic/s_significandf.c: ...here.
1494 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
1495 * sysdeps/generic/s_significandl.c: ...here.
1496 Avoid conversion from int to double and then to long double.
1497 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
1498 * math/w_acos.c: ...here.
1499 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
1500 * math/w_acosf.c: ...here.
1501 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
1502 * math/w_acosh.c: ...here.
1503 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
1504 * math/w_acoshf.c: ...here.
1505 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
1506 * math/w_acoshl.c: ...here.
1507 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
1508 * math/w_acosl.c: ...here.
1509 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
1510 * math/w_asin.c: ...here.
1511 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
1512 * math/w_asinf.c: ...here.
1513 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
1514 * math/w_asinl.c: ...here.
1515 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
1516 * math/w_atan2.c: ...here.
1517 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
1518 * math/w_atan2f.c: ...here.
1519 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
1520 * math/w_atan2l.c: ...here.
1521 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
1522 * math/w_atanh.c: ...here.
1523 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
1524 * math/w_atanhf.c: ...here.
1525 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
1526 * math/w_atanhl.c: ...here.
1527 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
1528 * math/w_cosh.c: ...here.
1529 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
1530 * math/w_coshf.c: ...here.
1531 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
1532 * math/w_coshl.c: ...here.
1533 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
1534 * math/w_drem.c: ...here.
1535 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
1536 * math/w_dremf.c: ...here.
1537 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
1538 * math/w_dreml.c: ...here.
1539 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
1540 * math/w_exp10.c: ...here.
1541 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
1542 * math/w_exp10f.c: ...here.
1543 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
1544 * math/w_exp10l.c: ...here.
1545 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
1546 * math/w_exp2.c: ...here.
1547 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
1548 * math/w_exp2f.c: ...here.
1549 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
1550 * math/w_exp2l.c: ...here.
1551 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
1552 * math/w_fmod.c: ...here.
1553 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
1554 * math/w_fmodf.c: ...here.
1555 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
1556 * math/w_fmodl.c: ...here.
1557 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
1558 * math/w_hypot.c: ...here.
1559 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
1560 * math/w_hypotf.c: ...here.
1561 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
1562 * math/w_hypotl.c: ...here.
1563 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
1564 * math/w_j0.c: ...here.
1565 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
1566 * math/w_j0f.c: ...here.
1567 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
1568 * math/w_j0l.c: ...here.
1569 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
1570 * math/w_j1.c: ...here.
1571 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
1572 * math/w_j1f.c: ...here.
1573 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
1574 * math/w_j1l.c: ...here.
1575 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
1576 * math/w_jn.c: ...here.
1577 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
1578 * math/w_jnf.c: ...here.
1579 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
1580 * math/w_jnl.c: ...here.
1581 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
1582 * math/w_lgamma.c: ...here.
1583 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
1584 * math/w_lgamma_r.c: ...here.
1585 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
1586 * math/w_lgammaf.c: ...here.
1587 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
1588 * math/w_lgammaf_r.c: ...here.
1589 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
1590 * math/w_lgammal.c: ...here.
1591 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
1592 * math/w_lgammal_r.c: ...here.
1593 * sysdeps/libm-ieee754/w_log.c: Moved to ...
1594 * math/w_log.c: ...here.
1595 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
1596 * math/w_log10.c: ...here.
1597 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
1598 * math/w_log10f.c: ...here.
1599 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
1600 * math/w_log10l.c: ...here.
1601 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
1602 * math/w_logf.c: ...here.
1603 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
1604 * math/w_logl.c: ...here.
1605 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
1606 * math/w_pow.c: ...here.
1607 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
1608 * math/w_powf.c: ...here.
1609 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
1610 * math/w_powl.c: ...here.
1611 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
1612 * math/w_remainder.c: ...here.
1613 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
1614 * math/w_remainderf.c: ...here.
1615 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
1616 * math/w_remainderl.c: ...here.
1617 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
1618 * math/w_scalb.c: ...here.
1619 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
1620 * math/w_scalbf.c: ...here.
1621 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
1622 * math/w_scalbl.c: ...here.
1623 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
1624 * math/w_sinh.c: ...here.
1625 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
1626 * math/w_sinhf.c: ...here.
1627 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
1628 * math/w_sinhl.c: ...here.
1629 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
1630 * math/w_sqrt.c: ...here.
1631 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
1632 * math/w_sqrtf.c: ...here.
1633 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
1634 * math/w_sqrtl.c: ...here.
1635 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
1636 * math/w_tgamma.c: ...here.
1637 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
1638 * math/w_tgammaf.c: ...here.
1639 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
1640 * math/w_tgammal.c: ...here.
1641 * sysdeps/libm-i387/e_acos.S: Moved to ...
1642 * sysdeps/i386/fpu/e_acos.S: ...here.
1643 * sysdeps/libm-i387/e_acosf.S: Moved to ...
1644 * sysdeps/i386/fpu/e_acosf.S: ...here.
1645 * sysdeps/libm-i387/e_acosh.S: Moved to ...
1646 * sysdeps/i386/fpu/e_acosh.S: ...here.
1647 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
1648 * sysdeps/i386/fpu/e_acoshf.S: ...here.
1649 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
1650 * sysdeps/i386/fpu/e_acoshl.S: ...here.
1651 * sysdeps/libm-i387/e_acosl.S: Moved to ...
1652 * sysdeps/i386/fpu/e_acosl.S: ...here.
1653 * sysdeps/libm-i387/e_asin.S: Moved to ...
1654 * sysdeps/i386/fpu/e_asin.S: ...here.
1655 * sysdeps/libm-i387/e_asinf.S: Moved to ...
1656 * sysdeps/i386/fpu/e_asinf.S: ...here.
1657 * sysdeps/libm-i387/e_asinl.S: Moved to ...
1658 * sysdeps/i386/fpu/e_asinl.S: ...here.
1659 * sysdeps/libm-i387/e_atan2.S: Moved to ...
1660 * sysdeps/i386/fpu/e_atan2.S: ...here.
1661 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
1662 * sysdeps/i386/fpu/e_atan2f.S: ...here.
1663 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
1664 * sysdeps/i386/fpu/e_atan2l.S: ...here.
1665 * sysdeps/libm-i387/e_atanh.S: Moved to ...
1666 * sysdeps/i386/fpu/e_atanh.S: ...here.
1667 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
1668 * sysdeps/i386/fpu/e_atanhf.S: ...here.
1669 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
1670 * sysdeps/i386/fpu/e_atanhl.S: ...here.
1671 * sysdeps/libm-i387/e_exp.S: Moved to ...
1672 * sysdeps/i386/fpu/e_exp.S: ...here.
1673 * sysdeps/libm-i387/e_exp10.S: Moved to ...
1674 * sysdeps/i386/fpu/e_exp10.S: ...here.
1675 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
1676 * sysdeps/i386/fpu/e_exp10f.S: ...here.
1677 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
1678 * sysdeps/i386/fpu/e_exp10l.S: ...here.
1679 * sysdeps/libm-i387/e_expf.S: Moved to ...
1680 * sysdeps/i386/fpu/e_expf.S: ...here.
1681 * sysdeps/libm-i387/e_expl.S: Moved to ...
1682 * sysdeps/i386/fpu/e_expl.S: ...here.
1683 * sysdeps/libm-i387/e_fmod.S: Moved to ...
1684 * sysdeps/i386/fpu/e_fmod.S: ...here.
1685 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
1686 * sysdeps/i386/fpu/e_fmodf.S: ...here.
1687 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
1688 * sysdeps/i386/fpu/e_fmodl.S: ...here.
1689 * sysdeps/libm-i387/e_hypot.S: Moved to ...
1690 * sysdeps/i386/fpu/e_hypot.S: ...here.
1691 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
1692 * sysdeps/i386/fpu/e_hypotf.S: ...here.
1693 * sysdeps/libm-i387/e_log.S: Moved to ...
1694 * sysdeps/i386/fpu/e_log.S: ...here.
1695 * sysdeps/libm-i387/e_log10.S: Moved to ...
1696 * sysdeps/i386/fpu/e_log10.S: ...here.
1697 * sysdeps/libm-i387/e_log10f.S: Moved to ...
1698 * sysdeps/i386/fpu/e_log10f.S: ...here.
1699 * sysdeps/libm-i387/e_log10l.S: Moved to ...
1700 * sysdeps/i386/fpu/e_log10l.S: ...here.
1701 * sysdeps/libm-i387/e_logf.S: Moved to ...
1702 * sysdeps/i386/fpu/e_logf.S: ...here.
1703 * sysdeps/libm-i387/e_logl.S: Moved to ...
1704 * sysdeps/i386/fpu/e_logl.S: ...here.
1705 * sysdeps/libm-i387/e_pow.S: Moved to ...
1706 * sysdeps/i386/fpu/e_pow.S: ...here.
1707 * sysdeps/libm-i387/e_powf.S: Moved to ...
1708 * sysdeps/i386/fpu/e_powf.S: ...here.
1709 * sysdeps/libm-i387/e_powl.S: Moved to ...
1710 * sysdeps/i386/fpu/e_powl.S: ...here.
1711 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
1712 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
1713 * sysdeps/libm-i387/e_remainder.S: Moved to ...
1714 * sysdeps/i386/fpu/e_remainder.S: ...here.
1715 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
1716 * sysdeps/i386/fpu/e_remainderf.S: ...here.
1717 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
1718 * sysdeps/i386/fpu/e_remainderl.S: ...here.
1719 * sysdeps/libm-i387/e_scalb.S: Moved to ...
1720 * sysdeps/i386/fpu/e_scalb.S: ...here.
1721 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
1722 * sysdeps/i386/fpu/e_scalbf.S: ...here.
1723 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
1724 * sysdeps/i386/fpu/e_scalbl.S: ...here.
1725 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
1726 * sysdeps/i386/fpu/e_sqrt.S: ...here.
1727 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
1728 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
1729 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
1730 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
1731 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
1732 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
1733 * sysdeps/libm-i387/s_asinh.S: Moved to ...
1734 * sysdeps/i386/fpu/s_asinh.S: ...here.
1735 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
1736 * sysdeps/i386/fpu/s_asinhf.S: ...here.
1737 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
1738 * sysdeps/i386/fpu/s_asinhl.S: ...here.
1739 * sysdeps/libm-i387/s_atan.S: Moved to ...
1740 * sysdeps/i386/fpu/s_atan.S: ...here.
1741 * sysdeps/libm-i387/s_atanf.S: Moved to ...
1742 * sysdeps/i386/fpu/s_atanf.S: ...here.
1743 * sysdeps/libm-i387/s_atanl.S: Moved to ...
1744 * sysdeps/i386/fpu/s_atanl.S: ...here.
1745 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1746 * sysdeps/i386/fpu/s_cbrt.S: ...here.
1747 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1748 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1749 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1750 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1751 * sysdeps/libm-i387/s_ceil.S: Moved to ...
1752 * sysdeps/i386/fpu/s_ceil.S: ...here.
1753 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1754 * sysdeps/i386/fpu/s_ceilf.S: ...here.
1755 * sysdeps/libm-i387/s_ceill.S: Moved to ...
1756 * sysdeps/i386/fpu/s_ceill.S: ...here.
1757 * sysdeps/libm-i387/s_cexp.S: Moved to ...
1758 * sysdeps/i386/fpu/s_cexp.S: ...here.
1759 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1760 * sysdeps/i386/fpu/s_cexpf.S: ...here.
1761 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1762 * sysdeps/i386/fpu/s_cexpl.S: ...here.
1763 * sysdeps/libm-i387/s_copysign.S: Moved to ...
1764 * sysdeps/i386/fpu/s_copysign.S: ...here.
1765 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1766 * sysdeps/i386/fpu/s_copysignf.S: ...here.
1767 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1768 * sysdeps/i386/fpu/s_copysignl.S: ...here.
1769 * sysdeps/libm-i387/s_cos.S: Moved to ...
1770 * sysdeps/i386/fpu/s_cos.S: ...here.
1771 * sysdeps/libm-i387/s_cosf.S: Moved to ...
1772 * sysdeps/i386/fpu/s_cosf.S: ...here.
1773 * sysdeps/libm-i387/s_cosl.S: Moved to ...
1774 * sysdeps/i386/fpu/s_cosl.S: ...here.
1775 * sysdeps/libm-i387/s_exp2.S: Moved to ...
1776 * sysdeps/i386/fpu/s_exp2.S: ...here.
1777 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1778 * sysdeps/i386/fpu/s_exp2f.S: ...here.
1779 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1780 * sysdeps/i386/fpu/s_exp2l.S: ...here.
1781 * sysdeps/libm-i387/s_expm1.S: Moved to ...
1782 * sysdeps/i386/fpu/s_expm1.S: ...here.
1783 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1784 * sysdeps/i386/fpu/s_expm1f.S: ...here.
1785 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1786 * sysdeps/i386/fpu/s_expm1l.S: ...here.
1787 * sysdeps/libm-i387/s_fdim.S: Moved to ...
1788 * sysdeps/i386/fpu/s_fdim.S: ...here.
1789 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1790 * sysdeps/i386/fpu/s_fdimf.S: ...here.
1791 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1792 * sysdeps/i386/fpu/s_fdiml.S: ...here.
1793 * sysdeps/libm-i387/s_finite.S: Moved to ...
1794 * sysdeps/i386/fpu/s_finite.S: ...here.
1795 * sysdeps/libm-i387/s_finitef.S: Moved to ...
1796 * sysdeps/i386/fpu/s_finitef.S: ...here.
1797 * sysdeps/libm-i387/s_finitel.S: Moved to ...
1798 * sysdeps/i386/fpu/s_finitel.S: ...here.
1799 * sysdeps/libm-i387/s_floor.S: Moved to ...
1800 * sysdeps/i386/fpu/s_floor.S: ...here.
1801 * sysdeps/libm-i387/s_floorf.S: Moved to ...
1802 * sysdeps/i386/fpu/s_floorf.S: ...here.
1803 * sysdeps/libm-i387/s_floorl.S: Moved to ...
1804 * sysdeps/i386/fpu/s_floorl.S: ...here.
1805 * sysdeps/libm-i387/s_fma.S: Moved to ...
1806 * sysdeps/i386/fpu/s_fma.S: ...here.
1807 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1808 * sysdeps/i386/fpu/s_fmaf.S: ...here.
1809 * sysdeps/libm-i387/s_fmal.S: Moved to ...
1810 * sysdeps/i386/fpu/s_fmal.S: ...here.
1811 * sysdeps/libm-i387/s_fmax.S: Moved to ...
1812 * sysdeps/i386/fpu/s_fmax.S: ...here.
1813 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1814 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1815 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1816 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1817 * sysdeps/libm-i387/s_fmin.S: Moved to ...
1818 * sysdeps/i386/fpu/s_fmin.S: ...here.
1819 * sysdeps/libm-i387/s_fminf.S: Moved to ...
1820 * sysdeps/i386/fpu/s_fminf.S: ...here.
1821 * sysdeps/libm-i387/s_fminl.S: Moved to ...
1822 * sysdeps/i386/fpu/s_fminl.S: ...here.
1823 * sysdeps/libm-i387/s_frexp.S: Moved to ...
1824 * sysdeps/i386/fpu/s_frexp.S: ...here.
1825 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1826 * sysdeps/i386/fpu/s_frexpf.S: ...here.
1827 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1828 * sysdeps/i386/fpu/s_frexpl.S: ...here.
1829 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1830 * sysdeps/i386/fpu/s_ilogb.S: ...here.
1831 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1832 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1833 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1834 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1835 * sysdeps/libm-i387/s_llrint.S: Moved to ...
1836 * sysdeps/i386/fpu/s_llrint.S: ...here.
1837 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1838 * sysdeps/i386/fpu/s_llrintf.S: ...here.
1839 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1840 * sysdeps/i386/fpu/s_llrintl.S: ...here.
1841 * sysdeps/libm-i387/s_log1p.S: Moved to ...
1842 * sysdeps/i386/fpu/s_log1p.S: ...here.
1843 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1844 * sysdeps/i386/fpu/s_log1pf.S: ...here.
1845 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1846 * sysdeps/i386/fpu/s_log1pl.S: ...here.
1847 * sysdeps/libm-i387/s_log2.S: Moved to ...
1848 * sysdeps/i386/fpu/s_log2.S: ...here.
1849 * sysdeps/libm-i387/s_log2f.S: Moved to ...
1850 * sysdeps/i386/fpu/s_log2f.S: ...here.
1851 * sysdeps/libm-i387/s_log2l.S: Moved to ...
1852 * sysdeps/i386/fpu/s_log2l.S: ...here.
1853 * sysdeps/libm-i387/s_logb.S: Moved to ...
1854 * sysdeps/i386/fpu/s_logb.S: ...here.
1855 * sysdeps/libm-i387/s_logbf.S: Moved to ...
1856 * sysdeps/i386/fpu/s_logbf.S: ...here.
1857 * sysdeps/libm-i387/s_logbl.S: Moved to ...
1858 * sysdeps/i386/fpu/s_logbl.S: ...here.
1859 * sysdeps/libm-i387/s_lrint.S: Moved to ...
1860 * sysdeps/i386/fpu/s_lrint.S: ...here.
1861 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1862 * sysdeps/i386/fpu/s_lrintf.S: ...here.
1863 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1864 * sysdeps/i386/fpu/s_lrintl.S: ...here.
1865 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1866 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1867 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1868 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1869 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1870 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1871 * sysdeps/libm-i387/s_remquo.S: Moved to ...
1872 * sysdeps/i386/fpu/s_remquo.S: ...here.
1873 * sysdeps/libm-i387/s_remquof.S: Moved to ...
1874 * sysdeps/i386/fpu/s_remquof.S: ...here.
1875 * sysdeps/libm-i387/s_remquol.S: Moved to ...
1876 * sysdeps/i386/fpu/s_remquol.S: ...here.
1877 * sysdeps/libm-i387/s_rint.S: Moved to ...
1878 * sysdeps/i386/fpu/s_rint.S: ...here.
1879 * sysdeps/libm-i387/s_rintf.S: Moved to ...
1880 * sysdeps/i386/fpu/s_rintf.S: ...here.
1881 * sysdeps/libm-i387/s_rintl.S: Moved to ...
1882 * sysdeps/i386/fpu/s_rintl.S: ...here.
1883 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1884 * sysdeps/i386/fpu/s_scalbn.S: ...here.
1885 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1886 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1887 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1888 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1889 * sysdeps/libm-i387/s_significand.S: Moved to ...
1890 * sysdeps/i386/fpu/s_significand.S: ...here.
1891 * sysdeps/libm-i387/s_significandf.S: Moved to ...
1892 * sysdeps/i386/fpu/s_significandf.S: ...here.
1893 * sysdeps/libm-i387/s_significandl.S: Moved to ...
1894 * sysdeps/i386/fpu/s_significandl.S: ...here.
1895 * sysdeps/libm-i387/s_sin.S: Moved to ...
1896 * sysdeps/i386/fpu/s_sin.S: ...here.
1897 * sysdeps/libm-i387/s_sincos.S: Moved to ...
1898 * sysdeps/i386/fpu/s_sincos.S: ...here.
1899 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1900 * sysdeps/i386/fpu/s_sincosf.S: ...here.
1901 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1902 * sysdeps/i386/fpu/s_sincosl.S: ...here.
1903 * sysdeps/libm-i387/s_sinf.S: Moved to ...
1904 * sysdeps/i386/fpu/s_sinf.S: ...here.
1905 * sysdeps/libm-i387/s_sinl.S: Moved to ...
1906 * sysdeps/i386/fpu/s_sinl.S: ...here.
1907 * sysdeps/libm-i387/s_tan.S: Moved to ...
1908 * sysdeps/i386/fpu/s_tan.S: ...here.
1909 * sysdeps/libm-i387/s_tanf.S: Moved to ...
1910 * sysdeps/i386/fpu/s_tanf.S: ...here.
1911 * sysdeps/libm-i387/s_tanl.S: Moved to ...
1912 * sysdeps/i386/fpu/s_tanl.S: ...here.
1913 * sysdeps/libm-i387/s_trunc.S: Moved to ...
1914 * sysdeps/i386/fpu/s_trunc.S: ...here.
1915 * sysdeps/libm-i387/s_truncf.S: Moved to ...
1916 * sysdeps/i386/fpu/s_truncf.S: ...here.
1917 * sysdeps/libm-i387/s_truncl.S: Moved to ...
1918 * sysdeps/i386/fpu/s_truncl.S: ...here.
1919 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1920 * sysdeps/ieee754/k_standard.c: ...here.
1921 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1922 * sysdeps/ieee754/s_lib_version.c: ...here.
1923 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1924 * sysdeps/ieee754/s_matherr.c: ...here.
1925 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1926 * sysdeps/ieee754/s_signgam.c: ...here.
1927 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1928 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1929 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1930 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1931 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1932 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1933 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1934 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1935 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1936 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1937 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1938 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1939 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1940 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1941 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1942 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1943 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1944 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1945 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1946 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1947 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1948 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1949 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1950 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1951 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1952 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1953 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1954 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1955 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1956 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1957 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1958 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1959 * sysdeps/libm-ieee754/e_log.c: Moved to ...
1960 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1961 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1962 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1963 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1964 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1965 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1966 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1967 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1968 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1969 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1970 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1971 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1972 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1973 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1974 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1975 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1976 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1977 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1978 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1979 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1980 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1981 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1982 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1983 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1984 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1985 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1986 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1987 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1988 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1989 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1990 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1991 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1992 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1993 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1994 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1995 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1996 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1997 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1998 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1999 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
2000 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
2001 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
2002 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
2003 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
2004 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
2005 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
2006 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
2007 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
2008 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
2009 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
2010 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
2011 (__isnan): Comment above function says it returns 0 or 1, but it
2012 used to return 0 or -1.
2013 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
2014 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
2015 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
2016 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
2017 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
2018 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
2019 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
2020 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
2021 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
2022 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
2023 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
2024 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
2025 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
2026 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
2027 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
2028 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
2029 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
2030 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
2031 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
2032 * sysdeps/generic/s_nextafter.c: ...here.
2033 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
2034 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
2035 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
2036 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
2037 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
2038 * sysdeps/libm-ieee754/s_round.c: Moved to ...
2039 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
2040 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
2041 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
2042 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
2043 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
2044 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
2045 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
2046 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
2047 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
2048 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
2049 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
2050 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
2051 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
2052 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
2053 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
2054 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
2055 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
2056 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
2057 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
2058 * sysdeps/ieee754/mpn2flt.c: Moved to ...
2059 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
2060 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
2061 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
2062 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
2063 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
2064 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
2065 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
2066 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
2067 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
2068 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
2069 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
2070 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
2071 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
2072 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
2073 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
2074 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
2075 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
2076 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
2077 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
2078 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
2079 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
2080 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
2081 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
2082 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
2083 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
2084 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
2085 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
2086 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
2087 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
2088 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
2089 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
2090 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
2091 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
2092 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
2093 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
2094 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
2095 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
2096 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
2097 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
2098 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
2099 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
2100 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
2101 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
2102 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
2103 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
2104 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
2105 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
2106 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
2107 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
2108 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
2109 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
2110 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
2111 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
2112 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
2113 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
2114 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
2115 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
2116 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
2117 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
2118 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
2119 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
2120 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
2121 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
2122 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
2123 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
2124 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
2125 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
2126 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
2127 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
2128 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
2129 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
2130 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
2131 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
2132 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
2133 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
2134 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
2135 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
2136 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
2137 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
2138 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
2139 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
2140 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
2141 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
2142 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
2143 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
2144 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
2145 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
2146 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
2147 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
2148 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
2149 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
2150 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
2151 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
2152 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
2153 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
2154 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
2155 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
2156 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
2157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
2158 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
2159 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
2160 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
2161 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
2162 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
2163 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
2164 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
2165 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
2166 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
2167 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
2168 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
2169 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
2170 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
2171 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
2172 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
2173 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
2174 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
2175 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
2176 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
2177 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
2178 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
2179 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
2180 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
2181 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
2182 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
2183 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
2184 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
2185 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
2186 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
2187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
2188 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
2189 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
2190 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
2191 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
2192 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
2193 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
2194 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
2195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
2196 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
2197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
2198 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
2199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
2200 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
2201 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
2202 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
2203 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
2204 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
2205 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
2206 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
2207 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
2208 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
2209 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
2210 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
2211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
2212 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
2213 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
2214 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
2215 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
2216 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
2217 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
2218 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
2219 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
2220 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
2221 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
2222 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
2223 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
2224 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
2225 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
2226 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
2227 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
2228 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
2229 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
2230 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
2231 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
2232 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
2233 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
2234 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
2236 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
2237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
2238 (__nearbyintl): Fix for exponents 2^30.
2239 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
2240 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
2241 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
2242 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
2243 (__rintl): Fix for exponents 2^30.
2244 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
2245 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
2246 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
2247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
2248 (__scalbnl): Fix exponent for subnormal result.
2249 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
2250 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
2251 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
2252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
2253 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
2254 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
2255 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
2256 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
2257 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
2258 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
2259 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
2260 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
2261 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
2262 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
2263 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
2264 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
2265 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
2266 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
2267 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
2268 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
2269 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
2270 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
2271 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
2272 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
2273 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
2274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
2275 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
2276 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
2277 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
2278 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
2279 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
2280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
2281 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
2282 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
2283 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
2284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
2285 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
2286 * sysdeps/i386/fpu/s_scalbln.c: ...here.
2287 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
2288 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
2289 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
2290 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
2291 * sysdeps/libm-i387/t_exp.c: Moved to ...
2292 * sysdeps/i386/fpu/t_exp.c: ...here.
2293 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
2294 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
2295 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
2296 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
2297 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
2298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
2299 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
2300 * sysdeps/i386/fpu/s_isinfl.c: ...here.
2301 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
2302 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
2303 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
2304 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
2305 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
2306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
2307 Fix exponent for subnormal result.
2308 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
2309 * sysdeps/generic/s_nexttowardl.c: ...here.
2310 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
2311 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
2312 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
2313 * sysdeps/i386/fpu/s_isnanl.c: ...here.
2314 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
2315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
2316 Comment above function says it returns 0 or 1, but it used to return
2318 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
2319 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
2320 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
2321 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
2322 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
2323 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
2324 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
2325 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
2326 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
2327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
2328 Cannot compare exponents with different biases without adjusting.
2329 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
2330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
2331 Cannot compare exponents with different biases without adjusting.
2332 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
2333 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
2334 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
2335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
2336 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
2337 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
2338 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
2339 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
2340 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
2341 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
2342 * sysdeps/libm-ieee754/Dist: Split into ...
2343 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
2344 * sysdeps/ieee754/flt-32/Dist: ...this file.
2346 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
2347 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
2348 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
2349 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
2350 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
2351 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
2352 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
2353 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
2354 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
2355 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
2356 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
2357 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
2358 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
2359 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
2360 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
2361 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
2362 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
2363 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
2364 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
2365 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
2366 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
2367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
2368 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
2369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
2370 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
2371 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
2372 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
2373 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
2374 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
2375 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
2376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
2377 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
2378 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
2379 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
2380 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
2381 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
2382 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
2383 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
2384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
2385 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
2386 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
2387 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
2388 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
2389 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
2390 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
2391 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
2392 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
2394 * sysdeps/generic/math_ldbl.h: New file.
2395 * sysdeps/generic/s_nexttowardf.c: New file.
2396 * sysdeps/generic/strtold.c: New file.
2397 * sysdeps/generic/ldbl2mpn.c: New file.
2399 * math/machine/endian.h: Remove.
2400 * sysdeps/i386/fpu/Implies: Remove.
2401 * sysdeps/ieee754/Implies: Remove.
2403 * math/math_private.h: Move long double macros to math_ldbl.h
2406 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
2408 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
2409 connections without a hostname set address to localhost address.
2411 1999-07-11 H.J. Lu <hjl@gnu.org>
2413 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
2414 nscd's own strong version of the get[a-z]*_r function.
2415 * nscd/hstcache.c: Likewise.
2416 * nscd/pwdcache.c: Likewise.
2418 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
2420 * configure.in: Recognize 2.95 as gcc version number.
2421 Patch by Joel Klecker <jk@espy.org>.
2423 1999-07-12 Andreas Schwab <schwab@suse.de>
2425 * elf/rtld.c (dl_main): When putting back the interpreter object
2426 handle the case where a missing object might occur in the list of
2427 objects but not in the search list when in trace mode.
2429 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
2431 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
2432 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
2433 _nss_hesiod_initgroups.
2435 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
2437 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
2438 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
2439 Initialize it from &__data_start if defined, or else &_end.
2441 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
2443 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
2444 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
2446 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
2448 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
2450 1999-07-09 H.J. Lu <hjl@gnu.org>
2452 * Versions.def (GLIBC_2.1.2): Added.
2454 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
2455 old one as GLIBC_2.0.
2456 * nss/getXXbyYY_r.c: Likewise.
2458 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
2460 * inet/Versions (getaliasbyname_r, getaliasent_r,
2461 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
2462 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
2463 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
2464 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
2465 getservbyname_r): Likewise.
2466 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
2467 * shadow/Versions (getspent_r, getspnam_r): Likewise.
2469 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
2471 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
2473 (__memset_cc): Likewise.
2475 * sysdeps/generic/libc-start.c: For SUID binaries check whether
2476 the standard file descriptors are open.
2477 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2479 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
2480 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
2481 range of mmap. If not fail.
2482 Patches by Daniel Jacobowitz <dan@debian.org>.
2484 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
2485 before the relocation happened.
2486 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2488 * Versions.def (libnsl): Add GLIBC_2.2.
2489 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
2491 1999-07-08 Cristian Gafton <gafton@redhat.com>
2493 * nis/yp_xdr.c (xdr_ypall): New function.
2495 1999-07-09 Andreas Schwab <schwab@suse.de>
2497 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
2499 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
2501 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
2503 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
2504 * hesiod/hesiod-grp.c: Add initgroups support.
2505 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
2507 1999-07-08 Andreas Schwab <schwab@suse.de>
2509 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
2511 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
2514 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
2516 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
2518 1999-07-08 Andreas Schwab <schwab@suse.de>
2520 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
2522 1999-07-08 Andreas Schwab <schwab@suse.de>
2524 * libio/fileno.c: Return -1 instead of EOF and set errno if the
2525 stream is not a real file stream.
2527 1999-07-08 Andreas Schwab <schwab@suse.de>
2529 * manual/charset.texi: Fix typos.
2531 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
2533 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
2535 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
2537 * dlfcn: New directory. Move the following files from elf:
2538 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
2539 dlopenold.c, dlsym.c, dlvsym.c.
2540 * dlfcn/Makefile: New file.
2541 * dlfcn/Versions: New file.
2542 * dlfcn/dlsym.c: All ELF-specific code split out to new
2544 * dlfcn/dlvsym.c: All ELF-specific code split out to new
2546 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
2549 * dlfcn/dladdr.c: Remove all references to ELF data structures
2551 * dlfcn/dlclose.c: Likewise.
2552 * dlfcn/dlerror.c: Likewise.
2553 * dlfcn/dlopen.c: Likewise.
2554 * dlfcn/dlopenold.c: Likewise.
2556 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
2557 yes, empty otherwise.
2558 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
2559 depending on build-shared.
2560 (subdirs): Add $(dlfcn).
2561 (rpath-dirs): Add dlfcn.
2562 * elf/Makefile: Remove all references to libdl or its
2563 components, except the ones relating to the test cases.
2564 (routines): Add dl-sym.
2565 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
2568 * elf/dl-close.c (_dl_close): Change argument to void *.
2569 * elf/dl-open.c (_dl_open): Change return type to void *.
2570 * elf/eval.c: Removed.
2571 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
2572 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
2573 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
2575 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
2576 Include real header from dlfcn directory.
2577 * include/ldsodefs.h: Removed.
2579 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
2580 * nss/getXXbyYY_r.c: Likewise.
2581 * nss/getXXent_r.c: Likewise.
2582 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
2583 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
2584 * iconv/skeleton.c: Don't include ldsodefs.h.
2585 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
2587 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
2589 * sysdeps/generic/setenv.c: Describe problem.
2591 * malloc/malloc.c (request2size): Also set errno if failing.
2593 * malloc/malloc.c (request2size): Take care of overflow in
2596 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
2597 (NULL, != 0) correctly.
2599 * elf/dl-load.c: Use a few more __builtin_expect.
2601 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
2604 1999-07-07 Andreas Schwab <schwab@suse.de>
2606 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
2607 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
2608 (_PATH_DEVPTMX): Use _PATH_DEV.
2610 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2612 * malloc/tst-malloc.c: New file. Tests some basic functionality.
2613 * malloc/Makefile (tests): Add tst-malloc.
2615 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
2617 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
2620 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
2622 Patch by Jay Estabrook.
2624 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
2626 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
2627 Patch by Cristian Gafton.
2629 1999-07-02 Cristian Gafton <gafton@redhat.com>
2631 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
2632 instead of "return NULL" to make C++ happy.
2634 1999-07-04 Mark Kettenis <kettenis@gnu.org>
2636 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
2637 allowed by the file access mode of the open file.
2639 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
2641 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
2644 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
2646 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
2647 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
2648 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2649 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
2651 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2653 * malloc/malloc.c (request2size): Check for overflow and return
2654 NULL whenever it is encountered.
2656 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
2658 * sysdeps/posix/tempname.c (__gen_tempname): Add
2659 ability to create directories. Replace OPENIT and LARGEFILE
2660 args with a single flags parameter.
2661 * sysdeps/generic/tempname.c: Likewise.
2662 * include/stdio.h: Adjust prototype of __gen_tempname to
2663 match. Define symbolic constants for second argument.
2665 * misc/mkdtemp.c: New file, provides new function mkdtemp().
2666 * stdlib/stdlib.h: Prototype it.
2667 * misc/Versions: Export it.
2668 * misc/Makefile (routines): Add mktemp.
2669 * manual/filesys.texi: Document it.
2671 * misc/mktemp.c: Adjust call of __gen_tempname to match new
2673 * misc/mkstemp.c: Likewise.
2674 * stdio-common/tempnam.c: Likewise.
2675 * stdio-common/tmpfile.c: Likewise.
2676 * stdio-common/tmpfile64.c: Likewise.
2677 * stdio-common/tmpnam.c: Likewise.
2678 * stdio-common/tmpnam_r.c: Likewise.
2680 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
2682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
2683 R_SPARC_OLO10 relocations.
2684 * elf/elf.h (R_SPARC_OLO10): Fix comment.
2686 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
2688 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
2689 doesn't belong in the tests, but in the wordexp implementation.
2691 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
2694 1999-07-01 Cristian Gafton <gafton@redhat.com>
2696 * time/strptime.c (strptime): Initialize the tm struct first to avoid
2697 returning bogus results on incomplete data.
2698 (strptime_internal): day_of_the_week() requres bith tm_mon and
2699 tm_mday to be initializaed.
2700 Computer them first if they are not given.
2701 (strptime_internal): (have_mon, have_mday): New variables.
2703 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2705 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
2707 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2709 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
2710 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2712 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2714 * posix/wordexp.c (parse_tilde): Handle failing call to
2715 get.*_r functions correctly for non-existing entry.
2716 * sysdeps/posix/cuserid.c (cuserid): Likewise.
2717 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
2719 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
2721 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
2722 getxxbyYY_r functions correctly for non-existing entry.
2723 * sunrpc/getrpcport.c: Likewise.
2724 * sunrpc/clnt_simp.c: Likewise.
2725 * inet/rexec.c: Likewise.
2726 * sunrpc/clnt_gen.c: Likewise.
2727 * inet/rcmd.c: Likewise.
2728 * sysdeps/generic/glob.c: Likewise.
2730 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2732 * pwd/Makefile (tests): Add rules for tst-getpw.
2734 * pwd/tst-getpw.c: New program to test getpw.
2736 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2738 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2741 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2743 * manual/arith.texi (System V Number Conversion): Fix the
2744 description which confused pointer and value to pointer.
2745 Reported by Andries.Brouwer@cwi.nl.
2747 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2749 * pwd/getpw.c (__getpw): Check for NULL result pointer.
2751 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2753 * manual/users.texi (Lookup User): Document POSIX return
2754 semantics for getpwuid_r and getgrgid_r.
2756 * manual/socket.texi (Host Names): Document that the result
2757 pointer is null in case of error or host not found and fix a
2758 typo. Give a small example.
2760 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
2762 * pwd/getpw.c: Add warning since no buffer size is given and
2763 therefore no overrun tests are possible.
2765 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2767 * pwd/pwd.h: Add getpw prototype declaration.
2769 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
2771 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2772 * wcsmbs/wcschr.c: Likewise.
2774 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
2776 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2778 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2779 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2780 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2782 * elf/dl-dst.h: Fix typo.
2783 * elf/dl-open.c: Likewise.
2785 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
2787 * elf/dl-libc.c: New file, provides three functions:
2788 __libc_dlopen, __libc_dlclose, __libc_dlsym.
2789 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
2790 * elf/Makefile (routines): Add dl-libc.c.
2791 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2793 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2795 * iconv/gconv.c: Include dlfcn.h.
2796 * iconv/gconv_db.c: Likewise.
2797 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
2799 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2800 `handle' to a void *.
2801 (__gconv_find_func): Delete prototype.
2803 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
2804 dlerror_run and related functions and structs. Use
2805 __libc_dlopen, __libc_dlsym, __libc_dlclose.
2806 * nss/nsswitch.c: Likewise.
2808 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
2810 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2813 * sunrpc/getrpcport.c: Test for gethostbyname_r function
2816 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2818 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2819 functions correctly.
2821 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2823 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
2826 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2828 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2830 * manual/string.texi (Copying and Concatenation): Mention that
2831 strndup is a GNU extension.
2833 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2835 * pwd/getpw.c (__getpw): Fix check for error return.
2837 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2839 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2840 occurence of the aux object start with the current list entry, not
2841 the new one. Adjust tail pointer in the unique list. Explain how
2842 the meaning of the variables changes [PR libc/1168].
2844 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2846 * sysdeps/m68k/fpu/Dist: New file.
2848 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2850 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2852 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
2853 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2854 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2855 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2856 * sysdeps/m68k/fpu/e_pow.c: Likewise.
2857 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2858 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2859 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2860 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2861 * sysdeps/m68k/fpu/s_csin.c: Likewise.
2862 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2863 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2864 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2865 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2866 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2867 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2869 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
2871 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2872 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2873 _EXTERN_INLINE, use a macro specific to each file,
2874 _HURD_FD_H_EXTERN_INLINE and the like.
2875 * hurd/Makefile (inline-headers): New variable.
2876 (routines): Remove hurdinline. Add $(inlines).
2877 (inlines): New variable.
2878 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2879 (generated): Append those here.
2880 * hurd/hurdinline.c: File removed.
2882 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2884 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2886 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2888 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2890 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
2892 * string/bits/string2.h (strnlen): Remove extra prototype.
2894 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2896 * manual/filesys.texi (Working on Directory Trees): Fix typos.
2897 Reported by Andries.Brouwer@cwi.nl.
2899 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
2901 * nscd/connections.c (handle_request): Use correct type for optlen
2904 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2905 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2907 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
2909 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2910 * nscd/pwdcache.c: Likewise.
2911 * nscd/hstcache.c: Likewise.
2913 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
2915 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2917 * posix/getopt.h: Include stdio.h.
2919 * manual/arith.texi: Document restriction of ndigit parameter of
2921 * misc/efgcvt.c: Define NDIGIT_MAX.
2922 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2923 Do not dynamically allocate the static buffers. They are small enough.
2924 * misc/efgcvt_r.c: Define NDIGIT_MAX.
2925 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2926 * misc/qefgcvt.c: Define NDIGIT_MAX.
2927 * misc/qefgcvt_r.c: Likewise.
2928 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2930 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
2932 * libio/stdio.h: Define stdin, stdout, stderr as macros.
2933 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2934 These are *pragmas* not macros.
2935 * wcsmbs/wchar.h: Fix comment.
2937 * grp/grp.h: Use __foo_t_defined convention to typedef things
2939 * io/sys/stat.h: Likewise.
2940 * libio/stdio.h: Likewise.
2941 * posix/unistd.h: Likewise.
2942 * posix/sys/types.h: Likewise.
2943 * posix/sys/wait.h: Likewise.
2944 * pwd/pwd.h: Likewise.
2945 * signal/signal.h: Likewise.
2946 * sysdeps/generic/stdint.h: Likewise.
2947 * sysdeps/gnu/utmpx.h: Likewise.
2948 * termios/termios.h: Likewise.
2950 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
2952 * stdio/fputc.c: Don't define alias if fputc is defined as a
2954 * stdio/putc.c: Define weak alias here since it is not done
2957 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2959 * assert/assert.h: Don't produce `defined' as part of macro
2962 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
2964 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2965 OFFSET argument of (off_t) -1.
2966 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2967 OFFSET argument of (off_t) -1.
2969 * sysdeps/mach/hurd/pwrite.c: New file.
2970 * sysdeps/mach/hurd/pread.c: New file.
2972 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2973 pass it in the RPC instead of always -1.
2974 * hurd/fd-write.c (_hurd_fd_write): Likewise.
2975 * hurd/hurd/fd.h: Update decls.
2977 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2979 * libio/wscanf.c: Include <wchar.h> for prototype.
2981 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
2983 * manual/io.texi. Fix typos.
2984 * manual/stdio.texi: Likewise.
2985 Patches by Brian Youmans <3diff@gnu.org>.
2987 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
2989 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2990 bits of two words differ.
2992 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2994 * libio/Makefile (routines): Add putwchar and putwchar_u.
2996 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2997 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
2998 stdout. Fix parameter name.
3000 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
3001 * libio/getchar_u.c: Likewise.
3003 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
3005 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3007 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
3008 macro expansion---it's undefined. Properly parenthesize
3009 substituted parameters.
3010 (__GLIBC_PREREQ): Likewise.
3012 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
3014 * Makeconfig (CPPFLAGS): Revert last change. It has too many
3017 * stdlib/longlong.h: Provide __P definition if not already
3020 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
3022 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
3024 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
3026 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3028 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
3030 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3032 * stdio-common/vfprintf.c (group_member): Make parameters and
3033 return types pointers to CHAR_T instead of UCHAR_T.
3034 (vfprintf): Change type of work_buffer, workend and string to
3035 CHAR_T pointer/array.
3036 (process_arg, process_string_arg): Adjust/remove casts. Add
3037 missing use of L_ macro.
3038 (printf_unknown): Add missing uses of L_ macro.
3040 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3042 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
3045 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3047 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
3048 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
3049 (__wunderflow): Likewise.
3050 (_IO_switch_to_wget_mode): Likewise.
3051 (_IO_init_wmarker): Likewise.
3053 * libio/wfileops.c (_IO_wfile_seekoff): Call
3054 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
3055 (_IO_wfile_jumps): Fix pbackfail entry.
3057 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
3058 function if the stream is currently unoriented.
3060 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
3062 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
3063 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
3064 __gnuc_va_list in v*w(printf|scanf) prototypes.
3066 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3068 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
3069 1999-03-29 to iopopen also here.
3070 Reported by Richard Braakman <dark@xs4all.nl>.
3072 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3074 * include/features.h: Use __GNUC_PREREQ.
3075 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
3077 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3079 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
3080 Change EOF to WEOF and remove cast.
3081 (UNGETC): Remove macro.
3082 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
3083 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
3084 Change ISASCII to isascii and MBRLEN to mbrlen.
3085 (parse_one_spec): Compare info.spec always against wchar_t
3087 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
3088 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
3089 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
3091 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3093 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
3094 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
3095 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
3096 oldiofsetpos64 only if doing versioning.
3098 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
3100 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
3102 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3104 * libio/libio.h: Fix last patch.
3106 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
3108 * libio/libio.h (_IO_putwc): Correct type of first argument.
3109 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
3110 putwc_unlocked, putwchar_unlocked): Likewise.
3111 * libio/fputwc.c: Likewise.
3112 * libio/fputwc_unlocked.c: Likewise.
3113 * libio/putwc.c: Likewise.
3114 * libio/putwc_unlocked.c: Likewise.
3115 * libio/putwchar.c: Likewise.
3116 * libio/putwchar_unlocked.c: Likewise.
3118 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
3120 * sysdeps/gnu/siglist.h: File moved to ...
3121 * sysdeps/generic/siglist.h: ... here. This file should be usable for
3122 any platform, since it just associates the SIG* macros with text names
3123 and descriptions. For any signal macros do not exist on every
3124 platform, we can use #ifdef tests here and still use this single
3125 common file for all platforms.
3126 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
3127 should be usable for all platforms after the binary compatibility
3128 stuff in the current sysdeps/gnu version is no longer required.
3129 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
3130 * sysdeps/generic/make_siglist.c: File removed.
3131 * sysdeps/mach/hurd/siglist.h: Use #include_next.
3132 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
3134 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
3136 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
3137 * sysdeps/gnu/siglist.c: ... here.
3138 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
3139 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
3140 * sysdeps/gnu/siglist.h: New file, contents from linux version.
3141 Add entry for SIGLOST protected by #ifdef.
3142 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
3143 and define OLD_SIGLIST_SIZE_STR.
3144 * sysdeps/mach/hurd/siglist.h: New file, likewise.
3146 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
3148 * include/features.h: Define new macros __GNUC_PREREQ and
3149 __GLIBC_PREREQ which can be used to test the version of gcc
3150 and glibc respectively.
3152 * assert/assert.h: Use __GNUC_PREREQ.
3153 * intl/libintl.h: Likewise.
3154 * math/complex.h: Likewise.
3155 * math/tgmath.h: Likewise.
3156 * misc/sys/cdefs.h: Likewise.
3157 * posix/sys/types.h: Likewise.
3158 * socket/sys/socket.h: Likewise.
3159 * string/bits/string2.h: Likewise.
3160 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3161 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3163 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
3165 * include/libintl.h: Declare _libc_intl_domainname here.
3166 Define _ and N_ here.
3167 * include/libc-symbols.h: Don't include <libintl.h>. Don't
3168 define _ and N_. Don't declare _libc_intl_domainname.
3169 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
3171 * db2/config.h: Don't include sys/stat.h or define
3172 HAVE_ST_BLKSIZE here...
3173 * db2/compat.h: ...do it here.
3175 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
3177 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
3178 * iconv/iconv.c: Include stddef.h for NULL.
3179 * malloc/malloc.h: Include features.h.
3180 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
3182 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
3183 into the generated file.
3184 * sysdeps/gnu/errlist.awk: Likewise.
3185 * sysdeps/gnu/errlist.c: Rebuilt.
3187 * assert/assert-perr.c: Include libintl.h.
3188 * assert/assert.c: Likewise.
3189 * elf/dl-open.c: Likewise.
3190 * elf/dlsym.c: Likewise.
3191 * elf/dlvsym.c: Likewise.
3192 * iconv/iconv_prog.c: Likewise.
3193 * inet/rcmd.c: Likewise.
3194 * inet/ruserpass.c: Likewise.
3195 * locale/programs/charset.c: Likewise.
3196 * locale/programs/ld-collate.c: Likewise.
3197 * locale/programs/ld-ctype.c: Likewise.
3198 * locale/programs/ld-messages.c: Likewise.
3199 * locale/programs/ld-monetary.c: Likewise.
3200 * locale/programs/ld-numeric.c: Likewise.
3201 * locale/programs/ld-time.c: Likewise.
3202 * locale/programs/locfile.c: Likewise.
3203 * locale/programs/repertoire.c: Likewise.
3204 * login/programs/database.c: Likewise.
3205 * login/programs/request.c: Likewise.
3206 * malloc/mcheck.c: Likewise.
3207 * misc/error.c: Likewise.
3208 * nis/nis_call.c: Likewise.
3209 * nis/nis_callback.c: Likewise.
3210 * nis/nis_error.c: Likewise.
3211 * nis/nis_local_names.c: Likewise.
3212 * nis/nis_print.c: Likewise.
3213 * nis/nis_print_group_entry.c: Likewise.
3214 * nis/ypclnt.c: Likewise.
3215 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3216 * nscd/cache.c: Likewise.
3217 * nscd/connections.c: Likewise.
3218 * nscd/grpcache.c: Likewise.
3219 * nscd/hstcache.c: Likewise.
3220 * nscd/nscd_conf.c: Likewise.
3221 * nscd/nscd_stat.c: Likewise.
3222 * nscd/pwdcache.c: Likewise.
3223 * posix/id.c: Likewise.
3224 * resolv/herror.c: Likewise.
3225 * stdio-common/psignal.c: Likewise.
3226 * string/strsignal.c: Likewise.
3227 * sunrpc/auth_unix.c: Likewise.
3228 * sunrpc/clnt_perr.c: Likewise.
3229 * sunrpc/clnt_raw.c: Likewise.
3230 * sunrpc/clnt_tcp.c: Likewise.
3231 * sunrpc/clnt_udp.c: Likewise.
3232 * sunrpc/clnt_unix.c: Likewise.
3233 * sunrpc/get_myaddr.c: Likewise.
3234 * sunrpc/pm_getmaps.c: Likewise.
3235 * sunrpc/pmap_clnt.c: Likewise.
3236 * sunrpc/pmap_rmt.c: Likewise.
3237 * sunrpc/rpc_main.c: Likewise.
3238 * sunrpc/rpc_scan.c: Likewise.
3239 * sunrpc/svc_run.c: Likewise.
3240 * sunrpc/svc_simple.c: Likewise.
3241 * sunrpc/svc_tcp.c: Likewise.
3242 * sunrpc/svc_udp.c: Likewise.
3243 * sunrpc/svc_unix.c: Likewise.
3244 * sunrpc/xdr_rec.c: Likewise.
3245 * sunrpc/xdr_ref.c: Likewise.
3246 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
3247 * sysdeps/posix/gai_strerror.c: Likewise.
3248 * sysdeps/unix/siglist.c: Likewise.
3249 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
3250 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
3251 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
3252 * timezone/zic.c: Likewise.
3254 1999-06-18 H.J. Lu <hjl@gnu.org>
3256 * localedata/Makefile (charmaps): Exclude SCCS.
3257 (locales): Likewise.
3258 (repertoiremaps): Likewise.
3260 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
3262 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
3263 * sysdeps/generic/bsd-setjmp.c: Likewise.
3265 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
3267 * iconv/gconv_open.c: Include string.h for memset prototype.
3269 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
3272 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
3273 assignment to avoid warning on 64bit platforms.
3275 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3277 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
3279 * nss/getXXbyYY_r.c: Return error code not -1.
3280 * nss/getXXent_r.c: Likewise.
3281 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
3283 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
3284 value > 0 for error.
3285 * nscd/nscd_gethst_r.c: Likewise.
3286 * nscd/nscd_getpw_r.c: Likewise.
3288 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3290 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
3293 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3295 * nscd/nscd_nischeck.c: Fix typos.
3297 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
3300 always when oact is NULL.
3301 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
3303 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3305 * math/libm-test.c (jn_test): Adjust delta.
3307 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3309 * libio/vwprintf.c: Include <wchar.h> for prototypes.
3310 * libio/wprintf.c: Likewise.
3312 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3314 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
3315 to not write beyond allocated memory.
3316 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
3318 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3320 * malloc/mtrace.c: Keep lock while printing output lines.
3321 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
3323 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
3325 * configure.in: Add warnings about broken code.
3327 * Versions.def: Add GLIBC_2.2 for libc.
3329 * iconv/gconv.h: Make header suitable for inclusion in public header
3330 by protecting all names with __.
3331 * iconv/gconv.c: Adapt for symbol name changes.
3332 * iconv/gconv.h: Likewise.
3333 * iconv/gconv_builtin.c: Likewise.
3334 * iconv/gconv_close.c: Likewise.
3335 * iconv/gconv_db.c: Likewise.
3336 * iconv/gconv_dl.c: Likewise.
3337 * iconv/gconv_int.h: Likewise.
3338 * iconv/gconv_open.c: Likewise.
3339 * iconv/gconv_simple.c: Likewise.
3340 * iconv/iconv.c: Likewise.
3341 * iconv/iconv_close.c: Likewise.
3342 * iconv/iconv_open.c: Likewise.
3343 * iconv/loop.c: Likewise.
3344 * iconv/skeleton.c: Likewise.
3345 * iconvdata/8bit-gap.c: Likewise.
3346 * iconvdata/8bit-generic.c: Likewise.
3347 * iconvdata/ansi_x3.110.c: Likewise.
3348 * iconvdata/big5.c: Likewise.
3349 * iconvdata/cns11643.h: Likewise.
3350 * iconvdata/cns11643l1.h: Likewise.
3351 * iconvdata/euc-cn.c: Likewise.
3352 * iconvdata/euc-jp.c: Likewise.
3353 * iconvdata/euc-kr.c: Likewise.
3354 * iconvdata/euc-tw.c: Likewise.
3355 * iconvdata/gb2312.h: Likewise.
3356 * iconvdata/iso-2022-jp.c: Likewise.
3357 * iconvdata/iso-2022-kr.c: Likewise.
3358 * iconvdata/iso646.c: Likewise.
3359 * iconvdata/iso8859-1.c: Likewise.
3360 * iconvdata/iso_6937-2.c: Likewise.
3361 * iconvdata/iso_6937.c: Likewise.
3362 * iconvdata/jis0201.h: Likewise.
3363 * iconvdata/jis0208.h: Likewise.
3364 * iconvdata/jis0212.h: Likewise.
3365 * iconvdata/johab.c: Likewise.
3366 * iconvdata/ksc5601.h: Likewise.
3367 * iconvdata/sjis.c: Likewise.
3368 * iconvdata/t.61.c: Likewise.
3369 * iconvdata/uhc.c: Likewise.
3370 * stdlib/mblen.c: Likewise.
3371 * stdlib/mbtowc.c: Likewise.
3372 * stdlib/wctomb.c: Likewise.
3373 * wcsmbs/btowc.c: Likewise.
3374 * wcsmbs/mbrtowc.c: Likewise.
3375 * wcsmbs/mbsnrtowcs.c: Likewise.
3376 * wcsmbs/mbsrtowcs.c: Likewise.
3377 * wcsmbs/wchar.h: Likewise.
3378 * wcsmbs/wcrtomb.c: Likewise.
3379 * wcsmbs/wcsmbsload.c: Likewise.
3380 * wcsmbs/wcsmbsload.h: Likewise.
3381 * wcsmbs/wcsnrtombs.c: Likewise.
3382 * wcsmbs/wcsrtombs.c: Likewise.
3383 * wcsmbs/wctob.c: Likewise.
3385 * include/limits.h (MB_LEN_MAX): Increase to 16.
3387 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
3389 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3390 * include/wchar.h: Change mbstate_t to __mbstate_t.
3392 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
3393 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
3394 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
3395 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
3396 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
3397 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
3399 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
3400 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
3401 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
3402 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
3403 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
3404 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
3405 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
3406 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
3408 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
3409 Extend _IO_file contain pointer to codecvt, widedata and mode.
3410 (_IO_getwc_unlocked): New macro.
3411 (_IO_putwc_unlocked): New macro.
3412 (_IO_fwide): New macro.
3413 * libio/libioP.h: Add new prototypes and adjust existing declarations.
3414 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
3415 buffers based on mode.
3416 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
3418 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
3419 flag to be enough to signal unallocated buffer. For wide oriented
3420 stream don't make it linebuffered. Don't use _IO_do_flush, use
3421 _IO_new_do_write directly.
3422 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
3423 (_IO_file_seek): Likewise.
3424 * libio/genops.c (_IO_least_marker): Make global.
3425 (__underflow): Orient stream if not already done.
3426 (__uflow): Likewise.
3427 (_IO_default_seekpos): Change to type _IO_off64_t.
3428 (_IO_default_seekoff): Likewise.
3429 (_IO_default_seek): Likewise.
3430 (_IO_no_init): New function. Similar to _IO_init but allows to orient
3432 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
3434 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
3436 * libio/ftello64.c: Likewise.
3437 * libio/ioftell.c: Likewise.
3438 * libio/iofopncook.c: Likewise.
3439 * libio/ioseekoff.c: Likewise.
3440 * libio/ioseekpos.c: Likewise.
3441 * libio/oldfileops.c: Likewise.
3442 * libio/iofgetpos.c: Store state of conversion if necessary.
3443 * libio/iofgetpos64.c: Likewise.
3444 * libio/iofsetpos.c: Restore conversion state if necessary.
3445 * libio/iofsetpos64.c: Likewise.
3446 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
3447 * libio/iofopen.c: Likewise.
3448 * libio/iofopen64.c: Likewise.
3449 * libio/iopopen.c: Likewise.
3450 * libio/iovdprintf.c: Likewise.
3451 * libio/iovsprintf.c: Likewise.
3452 * libio/iovsscanf.c: Likewise.
3453 * libio/memstream.c: Likewise.
3454 * libio/obprintf.c: Likewise.
3455 * libio/iofputs.c: Orient stream if not already happened.
3456 * libio/iofputs_u.c: Likewise.
3457 * libio/iofwrite.c: Likewise.
3458 * libio/iofwrite_u.c: Likewise.
3459 * libio/ioputs.c: Likewise.
3460 * libio/iosetbuffer.c: Handle not yet oriented stream.
3461 * libio/iosetvbuf.c: Likewise.
3462 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
3463 * libio/stdfiles.c: Likewise.
3464 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
3466 (_IO_str_seekoff): Use _IO_off64_t.
3467 * libio/vasprintf.c: Pre-orient stream.
3468 * libio/vsnprintf.c: Likewise.
3469 * libio/fputwc.c: New file.
3470 * libio/fputwc_u.c: New file.
3471 * libio/fwprintf.c: New file.
3472 * libio/fwscanf.c: New file.
3473 * libio/getwc.c: New file.
3474 * libio/getwc_u.c: New file.
3475 * libio/getwchar.c: New file.
3476 * libio/getwchar_u.c: New file.
3477 * libio/iofgetws.c: New file.
3478 * libio/iofgetws_u.c: New file.
3479 * libio/iofputws.c: New file.
3480 * libio/iofputws_u.c: New file.
3481 * libio/iofwide.c: New file.
3482 * libio/iogetwline.c: New file.
3483 * libio/ioungetwc.c: New file.
3484 * libio/iovswscanf.c: New file.
3485 * libio/iowpadn.c: New file.
3486 * libio/oldiofgetpos.c: New file.
3487 * libio/oldiofgetpos64.c: New file.
3488 * libio/oldiofsetpos.c: New file.
3489 * libio/oldiofsetpos64.c: New file.
3490 * libio/putwc.c: New file.
3491 * libio/putwc_u.c: New file.
3492 * libio/putwchar.c: New file.
3493 * libio/putwchar_u.c: New file.
3494 * libio/swprintf.c: New file.
3495 * libio/swscanf.c: New file.
3496 * libio/tst_swprintf.c: New file.
3497 * libio/tst_swscanf.c: New file.
3498 * libio/tst_wprintf.c: New file.
3499 * libio/tst_wscanf.c: New file.
3500 * libio/tst_wscanf.input: New file.
3501 * libio/vswprintf.c: New file.
3502 * libio/vwprintf.c: New file.
3503 * libio/vwscanf.c: New file.
3504 * libio/wfiledoalloc.c: New file.
3505 * libio/wfileops.c: New file.
3506 * libio/wgenops.c: New file.
3507 * libio/wprintf.c: New file.
3508 * libio/wscanf.c: New file.
3509 * libio/wstrops.c: New file.
3510 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
3511 vfwprintf, and vfwscanf.
3512 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
3514 * stdio-common/_itowa.c: New file.
3515 * stdio-common/_itowa.h: New file.
3516 * stdio-common/itoa-digits.c: Minimal optimization.
3517 * stdio-common/itowa-digits.c: New file.
3518 * stdio-common/printf-parse.h: Allow use in wide character context.
3519 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
3520 * stdio-common/printf.h (printf_info): Add wide bit.
3521 * stdio-common/printf_fp.c: Determine from wide bit whether stream
3522 is wide oriented or not.
3523 * stdio-common/printf_size.c: Likewise.
3524 * sysdeps/generic/printf_fphex.c: Likewise.
3525 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
3526 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
3528 * stdio-common/vfscand.c: Likewise.
3529 * stdio-common/vfwprintf.c: New file.
3530 * stdio-common/vfwscanf.c: New file.
3532 * time/Makefile (routines): Add wcsftime.
3533 (tests): Add tst_wcsftime.
3534 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
3535 * time/strftime.c: Make usable as wcsftime.
3536 * time/wcsftime.c: New file.
3537 * time/tst_wcsftime.c: New file.
3539 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
3540 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
3541 * wcsmbs/wcschrnul.c: New file.
3542 * wcsmbs/wmemcpy.c: New file.
3543 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
3544 * wcsmbs/wmemmove.c: Likewise for wmemmove.
3546 * manual/stdio.texi: Document is_char and wide element if printf_info.
3548 * manual/time.texi: Document wcsftime.
3550 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
3551 __wmemmove, __wcschrnul, and __vfwscanf.
3553 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
3554 * locale/C-time.c: Adapt for above change.
3555 * locale/categories.def: Likewise.
3556 * locale/localeinfo.h: Likewise.
3557 * localedata/Makefile: Don't run tests for now.
3559 * manual/errno.texi: Fix typos.
3560 * manual/memory.texi: Likewise.
3561 * manual/ctype.texi: Likewise.
3562 Patches by Brian Youmans <3diff@gnu.org>.
3564 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3566 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
3568 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3570 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
3572 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
3573 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
3575 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3577 * db2/db/db.c: Restore __nss_db_open alias.
3578 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
3580 * db2/os/os_rw.c (__os_write): Maintain const correctness.
3581 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
3583 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
3585 * stdio-common/printf-parse.h (parse_one_spec): Don't set
3586 is_longlong if not necessary.
3588 1999-06-15 H.J. Lu <hjl@gnu.org>
3590 * Make-dist (sysdep_dirs): Exclude SCCS.
3591 * MakeTAGS (sysdep_dirs): Likewise.
3593 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
3595 * posix/regex.c (re_error_msgid): Remove extra commas.
3597 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
3599 * stdlib/tst-strtoll.c: New file.
3600 * stdlib/Makefile (tests): Add tst-strtoll.c
3601 * stdlib/strtol.c: It is not generally true that if
3602 (unsigned)a*(unsigned)b overflows, then the result is
3605 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
3607 * nscd/connections.c (handle_request): Only root is allowed to
3608 send GETSTAT request in non secure mode.
3609 * nscd/nscd.c: Print error message if other then root try to
3612 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3614 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
3616 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3618 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
3619 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
3621 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3623 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
3624 for character to search, to help the compiler.
3625 * sysdeps/generic/strchrnul.c: Likewise.
3626 * sysdeps/generic/memchr.c: Likewise.
3627 * sysdeps/generic/memccpy.c: Likewise.
3628 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
3630 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3632 * sysdeps/m68k/memchr.S: New file.
3633 * sysdeps/m68k/rawmemchr.S: New file.
3634 * sysdeps/m68k/strchr.S: New file.
3635 * sysdeps/m68k/strchrnul.S: New file.
3637 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
3639 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
3640 add `memory' clobber; optimise for constant `val'.
3641 (atomic_add): Likewise.
3642 (test_and_set): Remove `volatile'; add `memory' clobber; be more
3643 like the original `test_and_set'.
3644 (compare_and_swap): Remove `volatile'; add `memory' clobber;
3645 optimise for constant `oldval'.
3646 (always_swap): Remove `volatile'; add `memory' clobber.
3648 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3650 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
3651 functions for gcc <= 2.7.x.
3653 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
3655 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
3658 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
3660 * db2/Makefile (distribute): Remove files which do not exist
3663 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
3664 definitions to calm down gcc.
3666 * db2/db.h: Update from db 2.7.5.
3667 * db2/db_185.h: Likewise.
3668 * db2/db_int.h: Likewise.
3669 * db2/btree/bt_compare.c: Likewise.
3670 * db2/btree/bt_conv.c: Likewise.
3671 * db2/btree/bt_curadj.c: Likewise.
3672 * db2/btree/bt_cursor.c: Likewise.
3673 * db2/btree/bt_delete.c: Likewise.
3674 * db2/btree/bt_open.c: Likewise.
3675 * db2/btree/bt_page.c: Likewise.
3676 * db2/btree/bt_put.c: Likewise.
3677 * db2/btree/bt_rec.c: Likewise.
3678 * db2/btree/bt_recno.c: Likewise.
3679 * db2/btree/bt_rsearch.c: Likewise.
3680 * db2/btree/bt_search.c: Likewise.
3681 * db2/btree/bt_split.c: Likewise.
3682 * db2/btree/bt_stat.c: Likewise.
3683 * db2/btree/btree_auto.c: Likewise.
3684 * db2/common/db_appinit.c: Likewise.
3685 * db2/common/db_apprec.c: Likewise.
3686 * db2/common/db_err.c: Likewise.
3687 * db2/common/db_region.c: Likewise.
3688 * db2/common/db_salloc.c: Likewise.
3689 * db2/db/db.c: Likewise.
3690 * db2/db/db.src: Likewise.
3691 * db2/db/db_am.c: Likewise.
3692 * db2/db/db_auto.c: Likewise.
3693 * db2/db/db_dispatch.c: Likewise.
3694 * db2/db/db_dup.c: Likewise.
3695 * db2/db/db_iface.c: Likewise.
3696 * db2/db/db_join.c: Likewise.
3697 * db2/db/db_overflow.c: Likewise.
3698 * db2/db/db_pr.c: Likewise.
3699 * db2/db/db_rec.c: Likewise.
3700 * db2/db/db_ret.c: Likewise.
3701 * db2/db185/db185.c: Likewise.
3702 * db2/dbm/dbm.c: Likewise.
3703 * db2/hash/hash.c: Likewise.
3704 * db2/hash/hash_auto.c: Likewise.
3705 * db2/hash/hash_dup.c: Likewise.
3706 * db2/hash/hash_page.c: Likewise.
3707 * db2/hash/hash_rec.c: Likewise.
3708 * db2/hash/hash_stat.c: Likewise.
3709 * db2/include/btree.h: Likewise.
3710 * db2/include/btree_ext.h: Likewise.
3711 * db2/include/clib_ext.h: Likewise.
3712 * db2/include/common_ext.h: Likewise.
3713 * db2/include/db_am.h: Likewise.
3714 * db2/include/db_auto.h: Likewise.
3715 * db2/include/db_cxx.h: Likewise.
3716 * db2/include/db_ext.h: Likewise.
3717 * db2/include/db_join.h: Likewise.
3718 * db2/include/db_page.h: Likewise.
3719 * db2/include/hash.h: Likewise.
3720 * db2/include/hash_ext.h: Likewise.
3721 * db2/include/lock.h: Likewise.
3722 * db2/include/lock_ext.h: Likewise.
3723 * db2/include/log.h: Likewise.
3724 * db2/include/log_ext.h: Likewise.
3725 * db2/include/mp.h: Likewise.
3726 * db2/include/mp_ext.h: Likewise.
3727 * db2/include/os.h: Likewise.
3728 * db2/include/os_ext.h: Likewise.
3729 * db2/include/os_func.h: Likewise.
3730 * db2/include/txn.h: Likewise.
3731 * db2/include/txn_auto.h: Likewise.
3732 * db2/include/txn_ext.h: Likewise.
3733 * db2/include/xa.h: Likewise.
3734 * db2/include/xa_ext.h: Likewise.
3735 * db2/lock/lock.c: Likewise.
3736 * db2/lock/lock_conflict.c: Likewise.
3737 * db2/lock/lock_deadlock.c: Likewise.
3738 * db2/lock/lock_region.c: Likewise.
3739 * db2/lock/lock_util.c: Likewise.
3740 * db2/log/log.c: Likewise.
3741 * db2/log/log_archive.c: Likewise.
3742 * db2/log/log_auto.c: Likewise.
3743 * db2/log/log_findckp.c: Likewise.
3744 * db2/log/log_get.c: Likewise.
3745 * db2/log/log_put.c: Likewise.
3746 * db2/log/log_rec.c: Likewise.
3747 * db2/log/log_register.c: Likewise.
3748 * db2/mp/mp_bh.c: Likewise.
3749 * db2/mp/mp_fget.c: Likewise.
3750 * db2/mp/mp_fopen.c: Likewise.
3751 * db2/mp/mp_fput.c: Likewise.
3752 * db2/mp/mp_fset.c: Likewise.
3753 * db2/mp/mp_open.c: Likewise.
3754 * db2/mp/mp_pr.c: Likewise.
3755 * db2/mp/mp_region.c: Likewise.
3756 * db2/mp/mp_sync.c: Likewise.
3757 * db2/mutex/mutex.c: Likewise.
3758 * db2/mutex/uts4_cc.s: Likewise.
3759 * db2/os/os_abs.c: Likewise.
3760 * db2/os/os_alloc.c: Likewise.
3761 * db2/os/os_config.c: Likewise.
3762 * db2/os/os_dir.c: Likewise.
3763 * db2/os/os_fid.c: Likewise.
3764 * db2/os/os_fsync.c: Likewise.
3765 * db2/os/os_map.c: Likewise.
3766 * db2/os/os_oflags.c: Likewise.
3767 * db2/os/os_open.c: Likewise.
3768 * db2/os/os_rw.c: Likewise.
3769 * db2/os/os_seek.c: Likewise.
3770 * db2/os/os_sleep.c: Likewise.
3771 * db2/os/os_spin.c: Likewise.
3772 * db2/os/os_stat.c: Likewise.
3773 * db2/os/os_tmpdir.c: Likewise.
3774 * db2/os/os_unlink.c: Likewise.
3775 * db2/progs/db_archive/db_archive.c: Likewise.
3776 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3777 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3778 * db2/progs/db_dump/db_dump.c: Likewise.
3779 * db2/progs/db_load/db_load.c: Likewise.
3780 * db2/progs/db_printlog/README: Likewise.
3781 * db2/progs/db_printlog/commit.awk: Likewise.
3782 * db2/progs/db_printlog/count.awk: Likewise.
3783 * db2/progs/db_printlog/db_printlog.c: Likewise.
3784 * db2/progs/db_printlog/pgno.awk: Likewise.
3785 * db2/progs/db_printlog/range.awk: Likewise.
3786 * db2/progs/db_printlog/status.awk: Likewise.
3787 * db2/progs/db_printlog/txn.awk: Likewise.
3788 * db2/progs/db_recover/db_recover.c: Likewise.
3789 * db2/progs/db_stat/db_stat.c: Likewise.
3790 * db2/txn/txn.c: Likewise.
3791 * db2/txn/txn.src: Likewise.
3792 * db2/txn/txn_auto.c: Likewise.
3793 * db2/txn/txn_rec.c: Likewise.
3794 * db2/xa/xa.c: Likewise.
3795 * db2/xa/xa_db.c: Likewise.
3796 * db2/xa/xa_map.c: Likewise.
3798 * db2/btree/bt_close.c: Removed.
3799 * db2/db/db_thread.c: Likewise.
3800 * db2/hash/hash_debug.c: Likewise.
3801 * db2/include/db.h.src: Likewise.
3802 * db2/include/db_int.h.src: Likewise.
3803 * db2/include/os_jump.h: Likewise.
3804 * db2/mutex/alpha.dec: Likewise.
3805 * db2/mutex/alpha.gcc: Likewise.
3806 * db2/mutex/parisc.hp: Likewise.
3807 * db2/mutex/uts4.cc.s: Likewise.
3809 * db2/Makefile: Add new routines, remove old for 2.7.5.
3810 * db2/Versions: Add internal function names for the helper programs.
3811 * db2/makedb.c: Update for new cursor callback.
3812 * Versions.def: Define versions for libdb.
3814 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
3816 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3817 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3818 * nscd/nscd_nischeck.c: New file.
3819 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3821 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3823 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3824 MSG_* flags from Linux 2.2.9.
3826 1999-06-12 Mark Kettenis <kettenis@gnu.org>
3828 * Makeconfig (static-start-installed-name): Set to
3829 $(start-installed-name) if not defined.
3830 (+link-static): Use $(static-start-installed-name) instead of
3831 $(start-installed-name).
3832 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3835 1999-06-12 Mark Kettenis <kettenis@gnu.org>
3837 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3838 inserting a send right into the child instead of unconditionally
3839 copying the send right.
3841 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
3843 * locale/lc-time.c: Add free_mem function to free if necessary
3844 statically allocated memory.
3846 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
3848 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3849 bias from the raw exponent.
3851 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
3853 * inet/arpa/tftp.h: Move attribute declaration in right position.
3855 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
3857 * nscd/nscd.c: Add -S options for separate caching of data for
3858 every user. So one user couldn't see the data another user
3859 has gotten with his credentials.
3860 * nscd/nscd.h: Add new prototypes.
3861 * nscd/cache.c: Compare owner of cache entry if in secure mode.
3862 * nscd/connections.c: Check on shutdown if caller really was root.
3863 In secure mode get uid of caller.
3864 * nscd/grpcache.c: Add support for new secure group mode.
3865 * nscd/hstcache.c: Add support for new secure hosts mode.
3866 * nscd/pwdcache.c: Add support for new secure passwd mode.
3868 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
3870 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3871 of user-provided buffer.
3873 1999-06-11 Mark Kettenis <kettenis@gnu.org>
3875 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3876 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3878 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
3880 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3883 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3884 returning after last entry.
3885 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3887 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
3889 * misc/sysexits.h: Remove advertising clause of copyright.
3890 * resolv/getnetnamadr.c: Likewise.
3891 * sysdeps/vax/bcopy.s: Likewise.
3892 * sysdeps/vax/bzero.s: Likewise.
3893 * sysdeps/vax/ffs.s: Likewise.
3894 * sysdeps/vax/memchr.s: Likewise.
3895 * sysdeps/vax/memcmp.s: Likewise.
3896 * sysdeps/vax/memmove.s: Likewise.
3897 * sysdeps/vax/memset.s: Likewise.
3898 * sysdeps/vax/strcat.s: Likewise.
3899 * sysdeps/vax/strchr.s: Likewise.
3900 * sysdeps/vax/strcmp.s: Likewise.
3901 * sysdeps/vax/strcpy.s: Likewise.
3902 * sysdeps/vax/strcspn.s: Likewise.
3903 * sysdeps/vax/strlen.s: Likewise.
3904 * sysdeps/vax/strncat.s: Likewise.
3905 * sysdeps/vax/strncmp.s: Likewise.
3906 * sysdeps/vax/strncpy.s: Likewise.
3907 * sysdeps/vax/strpbrk.s: Likewise.
3908 * sysdeps/vax/strrchr.s: Likewise.
3909 * sysdeps/vax/strsep.s: Likewise.
3910 * sysdeps/vax/strspn.s: Likewise.
3911 * sysdeps/vax/strstr.s: Likewise.
3913 * libio/iofopncook.c: Adjust for renaming of structure elements.
3914 * libio/libio.h: Define cookie functions with all the names.
3916 * pwd/fgetpwent_r.c: Set errno in the correct way.
3917 * shadow/fgetspent_r.c: Likewise.
3918 * pwd/fgetpwent.c: Handle long lines correctly. Little
3919 optimizations. Free static buffer when debugging memory handling.
3920 * shadow/fgetspent.c: Likewise.
3922 * grp/fgetgrent.c: Little optimization in loop.
3924 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3926 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3929 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
3931 * stdlib/longlong.h: gas changed sethi handling when without
3932 %hi(). Fix assembly.
3933 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3934 port specific cache id checks.
3935 * sysdeps/generic/dl-cache.h: New file.
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3938 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
3940 * gmon/gmon.c: Remove advertising clause of copyright.
3941 * gmon/mcount.c: Likewise.
3942 * gmon/sys/gmon.h: Likewise.
3943 * inet/arpa/ftp.h: Likewise.
3944 * inet/arpa/telnet.h: Likewise.
3945 * inet/arpa/tftp.h: Likewise.
3946 * inet/inet_lnaof.c: Likewise.
3947 * inet/inet_mkadr.c: Likewise.
3948 * inet/inet_net.c: Likewise.
3949 * inet/inet_netof.c: Likewise.
3950 * inet/protocols/routed.h: Likewise.
3951 * inet/protocols/rwhod.h: Likewise.
3952 * inet/protocols/talkd.h: Likewise.
3953 * inet/protocols/timed.h: Likewise.
3954 * inet/rcmd.c: Likewise.
3955 * inet/rexec.c: Likewise.
3956 * inet/ruserpass.c: Likewise.
3957 * io/fts.c: Likewise.
3958 * io/fts.h: Likewise.
3959 * login/login_tty.c: Likewise.
3960 * misc/fstab.h: Likewise.
3961 * misc/getttyent.c: Likewise.
3962 * misc/getusershell.c: Likewise.
3963 * misc/sys/queue.h: Likewise.
3964 * misc/sys/syslog.h: Likewise.
3965 * misc/syslog.c: Likewise.
3966 * misc/ttyent.h: Likewise.
3967 * misc/ttyslot.c: Likewise.
3968 * resolv/arpa/nameser.h: Likewise.
3969 * resolv/gethnamaddr.c: Likewise.
3970 * resolv/herror.c: Likewise.
3971 * resolv/inet_addr.c: Likewise.
3972 * resolv/mapv4v6addr.h: Likewise.
3973 * resolv/mapv4v6hostent.h: Likewise
3974 * resolv/nss_dns/dns-host.c: Likewise.
3975 * resolv/nss_dns/dns-network.c: Likewise.
3976 * resolv/res_comp.c: Likewise.
3977 * resolv/res_data.c: Likewise.
3978 * resolv/res_debug.c: Likewise.
3979 * resolv/res_init.c: Likewise.
3980 * resolv/res_mkquery.c: Likewise.
3981 * resolv/res_query.c: Likewise.
3982 * resolv/res_send.c: Likewise.
3983 * resolv/resolv.h: Likewise.
3984 * sysdeps/generic/div.c: Likewise.
3985 * sysdeps/generic/netinet/ip.h: Likewise.
3986 * sysdeps/generic/netinet/tcp.h: Likewise.
3987 * sysdeps/generic/paths.h: Likewise.
3988 * sysdeps/generic/prof-freq.c: Likewise.
3989 * sysdeps/generic/sys/ttydefaults.h: Likewise.
3990 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3991 * sysdeps/gnu/netinet/tcp.h: Likewise.
3992 * sysdeps/ieee754/support.c: Likewise.
3993 * sysdeps/mach/hurd/sys/param.h: Likewise.
3994 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3995 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3996 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3997 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3998 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3999 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
4000 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
4001 * sysdeps/unix/sysv/linux/paths.h: Likewise.
4002 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
4004 * sysdeps/vax/DEFS.h: Likewise.
4005 * termios/sys/ttychars.h: Likewise.
4006 * misc/daemon.c: Likewise. Call fork.
4008 * grp/fgetgrent.c (buffer): Make file local variable.
4009 (free_mem): New function. Call for malloc debugging.
4011 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
4013 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4015 * grp/Makefile: Add rules for tst_fgetgrent.
4017 * grp/tst_fgetgrent.c: Rewritten to read only one file.
4019 * grp/tst_fgetgrent.sh: New file.
4021 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
4023 * grp/Makefile (tests): Add tst_fgetgrent.
4024 * grp/tst_fgetgrent.c: New file.
4025 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4027 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
4029 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
4030 be POSIX compliant. Prior definition was broken for Hurd.
4031 Reported by Mark Kettenis <kettenis@gnu.org>.
4033 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
4035 * ctype/ctype.h: Protect __tobody code by __extension__.
4037 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4039 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
4040 reading and reset in case the buffer was too small.
4042 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
4045 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4047 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
4048 another SIOGIFNAME typo.
4050 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4052 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
4054 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
4057 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4059 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
4060 the precision if the mantissa is zero.
4062 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4064 * manual/lang.texi (Floating Point Parameters): GCC already
4065 supports long double for a long time.
4067 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4069 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
4070 yn_test): Increase some epsilons.
4072 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4074 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
4077 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
4079 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4080 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
4081 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
4082 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
4084 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
4085 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
4086 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
4087 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4088 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
4089 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
4090 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4091 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
4092 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
4094 * stdio-common/vfprintf.c: Correct typos.
4096 * math/libm-test.c (jn_test): Adjust delta.
4097 (y1_test): Likewise.
4098 (yn_test): Likewise.
4100 * elf/do-lookup.h: It should never happen that if we expect a versioned
4101 symbol from a file the file has no version table. This should have
4102 been checked in dl-version.c.
4103 * elf/dl-lookup.c: Include assert.h.
4105 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
4108 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
4110 1999-06-06 Andi Kleen <ak@muc.de>
4112 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
4115 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4117 * math/libm-test.c (yn_test): Change one delta.
4118 (jn_test): Likewise.
4119 (j1_test): Likewise.
4120 (y0_test): Likewise.
4122 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
4124 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
4125 avoid multiple calls to getpagesize() which might be a syscall.
4127 1999-06-06 Philip Blundell <philb@gnu.org>
4129 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
4131 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4133 * manual/install.texi (Running make install): Correct typo in
4134 dynamic linker invocation.
4136 1999-06-05 Philip Blundell <philb@gnu.org>
4138 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
4139 problems with GOT addressing.
4141 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4143 * malloc/malloc.c (check_action): Change into bitmap so that both
4144 diagnostic and abort can be requested by setting it to 3.
4145 (mALLOC_SET_STATe): Disable malloc checking if necessary.
4147 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
4149 * configure.in: Few changes for HPUX.
4151 * scripts/config.guess: Update from latest version.
4152 * scripts/config.sub: Likewise.
4154 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4156 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
4157 map files. Closes PR libc/1147.
4159 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4161 * math/libm-test.c (main): Add new test functions.
4162 (jn_test): New tests.
4163 (j1_test): Add some more tests.
4164 (j0_test): Add some more tests.
4165 (y0_test): Add some more tests.
4166 (y1_test): Add some more tests.
4168 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4170 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
4171 Patch by mhagger@dera.gov.uk [PR libc/1145].
4173 * math/libm-test.c (y1_test): New tests.
4174 (y0_test): Likewise.
4175 (j1_test): Likewise.
4176 (j0_test): Likewise.
4177 (main): Added new tests.
4179 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
4181 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
4182 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
4185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
4186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
4188 1999-06-02 David S. Miller <davem@redhat.com>
4190 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
4193 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
4195 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
4196 and elide compatibility code if possible.
4198 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
4200 * manual/llio.texi: Remove menu entry for removed section.
4202 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4204 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
4207 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4209 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
4212 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
4214 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
4216 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4218 * manual/stdio.texi: Fix some typos.
4220 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4222 * malloc/malloc.h: Properly handle future GCC versions.
4224 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4226 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
4227 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
4228 text of error message.
4230 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
4232 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
4234 * manual/filesys.texi: Extend (f)truncate documentation.
4235 * manual/llio.texi: Remove duplicate (f)truncate definition.
4237 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4239 * manual/stdio.texi (Formatted Output Functions): Mention
4240 semantics of snprintf in glibc 2.0.
4241 Reported by Ben Pfaff <pfaffben@msu.edu>.
4243 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
4245 * include/features.h (__GLIBC_MINOR__): Bump to 2.
4247 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
4249 * math/libm-test.c: Adjust a few more deltas for the poor ARM
4252 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4254 * configure.in: Fix typo.
4256 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4258 * manual/socket.texi (Host Names): Remove statement that h_errno
4259 needs to be declared since this isn't true anymore.
4260 Closes PR libc/1138.
4262 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
4264 * config.h.in: Add __LINUX_KERNEL_VERSION.
4265 * configure.in: Recognize --enable-kernel.
4266 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
4267 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
4269 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
4270 given perform runtime test.
4272 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
4273 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
4274 minimal supported kernel is known to have the feature.
4275 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4276 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4277 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4278 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4279 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4280 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
4281 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4282 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4283 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4284 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4285 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4286 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
4287 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
4288 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4289 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4291 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
4293 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
4295 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
4297 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
4299 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
4300 Optimized sparc64 routines.
4302 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
4304 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
4305 they are the same as ints.
4306 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4308 * version.h (VERSION): Bump to 2.1.90.
4309 (RELEASE): Mark as development.
4311 * stdio-common/vfprintf.c (vfprintf): Don't implement special
4312 handling for long long if it is the same as long.
4313 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4315 * stdlib/strtol.c: Moved to ...
4316 * sysdeps/generic/strtol.c: ...here.
4317 * stdlib/strtoul.c: Moved to ...
4318 * sysdeps/generic/strtoul.c: ...here.
4319 * stdlib/strtoll.c: Moved to ...
4320 * sysdeps/generic/strtoll.c: ...here.
4321 * stdlib/strtoull.c: Moved to ...
4322 * sysdeps/generic/strtoull.c: ...here.
4323 * stdlib/strtol_l.c: Moved to ...
4324 * sysdeps/generic/strtol_l.c: ...here.
4325 * stdlib/strtoul_l.c: Moved to ...
4326 * sysdeps/generic/strtoul_l.c: ...here.
4327 * stdlib/strtoll_l.c: Moved to ...
4328 * sysdeps/generic/strtoll_l.c: ...here.
4329 * stdlib/strtoull_l.c: Moved to ...
4330 * sysdeps/generic/strtoull_l.c: ...here.
4332 * sysdeps/wordsize-64/strtol.c: New file.
4333 * sysdeps/wordsize-64/strtoul.c: New file.
4334 * sysdeps/wordsize-64/strtoll.c: New file.
4335 * sysdeps/wordsize-64/strtoull.c: New file.
4336 * sysdeps/wordsize-64/strtol_l.c: New file.
4337 * sysdeps/wordsize-64/strtoul_l.c: New file.
4338 * sysdeps/wordsize-64/strtoll_l.c: New file.
4339 * sysdeps/wordsize-64/strtoull_l.c: New file.
4341 * wcsmbs/wcstol.c: Moved to ...
4342 * sysdeps/generic/wcstol.c: ...here.
4343 * wcsmbs/wcstoul.c: Moved to ...
4344 * sysdeps/generic/wcstoul.c: ...here.
4345 * wcsmbs/wcstoll.c: Moved to ...
4346 * sysdeps/generic/wcstoll.c: ...here.
4347 * wcsmbs/wcstoull.c: Moved to ...
4348 * sysdeps/generic/wcstoull.c: ...here.
4349 * wcsmbs/wcstol_l.c: Moved to ...
4350 * sysdeps/generic/wcstol_l.c: ...here.
4351 * wcsmbs/wcstoul_l.c: Moved to ...
4352 * sysdeps/generic/wcstoul_l.c: ...here.
4353 * wcsmbs/wcstoll_l.c: Moved to ...
4354 * sysdeps/generic/wcstoll_l.c: ...here.
4355 * wcsmbs/wcstoull_l.c: Moved to ...
4356 * sysdeps/generic/wcstoull_l.c: ...here.
4358 * sysdeps/wordsize-64/wcstol.c: New file.
4359 * sysdeps/wordsize-64/wcstoul.c: New file.
4360 * sysdeps/wordsize-64/wcstoll.c: New file.
4361 * sysdeps/wordsize-64/wcstoull.c: New file.
4362 * sysdeps/wordsize-64/wcstol_l.c: New file.
4363 * sysdeps/wordsize-64/wcstoul_l.c: New file.
4364 * sysdeps/wordsize-64/wcstoll_l.c: New file.
4365 * sysdeps/wordsize-64/wcstoull_l.c: New file.
4367 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
4369 * sysdeps/sparc/bits/wordsize.h: New file.
4370 * sysdeps/sparc/fpu/bits/fenv.h: New file.
4371 * sysdeps/sparc/fpu/fpu_control.h: New file.
4372 * sysdeps/sparc/gmp-mparam.h: New file.
4374 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
4375 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
4376 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
4377 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
4378 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
4379 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
4381 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
4382 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
4383 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
4384 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
4387 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
4392 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
4394 * login/openpty.c (openpty): Make sure pty does not because
4397 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
4399 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
4401 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
4402 Do proper error return.
4404 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4406 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
4407 of __P in the rest of glibc; define __MALLOC_PMT and use it.
4408 Reported by Stephan Kulow <coolo@kde.org>.
4410 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
4412 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
4414 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
4416 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4418 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
4419 names to protect from user's macro namespace.
4420 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
4421 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
4422 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
4423 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
4424 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
4426 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
4427 sysdeps/arm/fpu/fesetenv.c: Likewise.
4428 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
4429 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
4430 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4431 * sysdeps/mips/fesetenv.c: Likewise.
4433 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
4435 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
4437 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
4439 * configure.in: Recognize and allow gcc 2.95.
4441 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
4443 * sysdeps/generic/bits/elfclass.h: Version common to
4444 wordsize-32 and wordsize-64.
4445 * sysdeps/generic/bits/environments.h: Ditto.
4446 * sysdeps/generic/stdint.h: Ditto.
4447 * sysdeps/generic/inttypes.h: Ditto.
4449 * sysdeps/generic/bits/wordsize.h: New file.
4450 * stdlib/Makefile: Add bits/wordsize.h to headers.
4452 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
4454 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
4455 headers to be used for 32bit and 64bit ABI compilations.
4456 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
4458 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
4460 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
4462 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
4463 * sysdeps/wordsize-64/bits/environments.h: Remove.
4464 * sysdeps/wordsize-64/stdint.h: Remove.
4465 * sysdeps/wordsize-64/inttypes.h: Remove.
4466 * sysdeps/wordsize-64/bits/wordsize.h: New file.
4468 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
4469 * sysdeps/wordsize-32/bits/environments.h: Remove.
4470 * sysdeps/wordsize-32/stdint.h: Remove.
4471 * sysdeps/wordsize-32/inttypes.h: Remove.
4472 * sysdeps/wordsize-32/bits/wordsize.h: New file.
4474 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
4476 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
4477 __align_cpy_16): New functions.
4478 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
4480 * sysdeps/sparc/sparc32/Versions: New file.
4481 * sysdeps/sparc/sparc64/Versions: New file.
4482 * sysdeps/sparc/Versions: Remove.
4484 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
4486 * sysdeps/unix/sysv/linux/configure.in:
4487 On sparc64-*-linux*, set slibdir to /lib64 if prefix
4488 is /usr, plus set libdir to ${exec_prefix}/lib64.
4489 * sysdeps/unix/sysv/linux/configure: Regenerated.
4490 * config.make.in: Propagate libdir settings from configure
4492 * shlib-versions: sparc64-*-linux* dynamic linker is
4493 /lib64/ld-linux.so.2.
4495 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
4497 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
4500 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
4502 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
4503 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
4505 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
4506 contains garbage in bits 8-63.
4507 * sysdeps/sparc/sparc64/memset.S: Ditto.
4508 * sysdeps/sparc/sparc64/strchr.S: Ditto.
4510 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
4512 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
4514 1999-05-17 David S. Miller <davem@redhat.com>
4516 * sysdeps/sparc/sparc32/atomicity.h: New file.
4517 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
4518 * sysdeps/sparc/sparc64/atomicity.h: New file.
4519 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
4522 1999-05-18 Richard Henderson <rth@twiddle.net>
4524 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
4526 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
4528 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
4529 posix/sys/types.h: Handle the case of __GNUC__=3,
4530 __GNUC_MINOR__=(anything).
4532 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4534 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
4537 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
4539 * elf/Makefile (distribute): Remove dl-origin.h.
4540 Add dl-dst.h and gen-trusted-dirs.awk.
4542 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4544 * sysdeps/i386/i486/Versions: New file with inline functions from
4545 sysdeps/i386/i486/bits/string.h for now.
4547 * sysdeps/i386/Versions: Add inline functions from
4548 sysdeps/i386/bits/string.h.
4550 * string/Versions: Add inline functions from <bits/string2.h>.
4552 * string/Makefile (routines): Add string-inlines.
4553 * string/string-inlines.c: New file, used for implementation of
4554 extern inline functions.
4556 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
4557 non inlined versions of functions.
4558 * string/bits/string2.h: Likewise.
4559 * sysdeps/i386/bits/string.h: Likewise.
4561 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
4563 * inet/arpa/tftp.h: Add second packed attribute.
4565 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4567 * malloc/malloc.c: Cleanup to bring in line with released
4568 stand-alone version `ptmalloc'. Update some comments.
4569 (internal_function): Move fallback definition so that the source
4570 compiles outside of libc, and use it in more places.
4571 (malloc_atfork): Fix when malloc_check is in use.
4573 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4575 * stdlib/tst-strtod.c: Fix typo.
4577 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4579 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
4580 const incorrectness.
4582 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
4584 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
4586 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
4588 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
4589 * sunrpc/key_call.c: Fix memory leak, close file handle.
4590 * nis/nis_creategroup.c: Use malloc instead of calloc,
4591 set ctime and mtime.
4592 * nis/nis_subr.c: Check for realloc result.
4593 * nis/nis_file.c: Fix memory leak.
4594 * nis/nis_table.c: Pretty print.
4595 * nis/nis_getservlist.c: Likewise.
4596 * nis/nis_ismember.c: Likewise.
4597 * nis/nis_lookup.c: Likewise.
4598 * nis/nis_ping.c: Likewise.
4599 * nis/nis_removemember.c: Likewise.
4600 * nis/nis_util.c: Likewise, check calloc result.
4602 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
4604 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
4605 * sysdeps/generic/sys/socketvar.h: ... here.
4606 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
4607 * sysdeps/generic/netinet/in_systm.h: ... here.
4608 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
4610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
4611 * inet/Makefile (headers): Add netinet/in_systm.h here.
4612 * socket/Makefile (headers): Add sys/socketvar.h here.
4614 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
4616 * stdlib/strtol.c: Optimize inner loop of long long versions.
4618 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
4619 Unix98. Add forward declaration of struct utmp.
4621 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
4623 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
4626 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
4627 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
4628 memory allocation results.
4630 1999-05-14 Mark Kettenis <kettenis@gnu.org>
4632 * sysdeps/generic/getutmp.c: Include <string.h>
4633 (getutmp): Rewrite to only copy those members that are really
4634 present in `struct utmp'.
4635 * sysdeps/generic/getutmpx.c: Likewise.
4637 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
4639 * nss/getXXbyYY.c: Add free_mem function which disposes all
4640 statically allocated memory when debugging.
4641 * nss/getXXent.c: Likewise.
4642 * nss/nsswitch.c: Likewise.
4644 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
4646 * sysdeps/gnu/getutmpx.c: New file.
4647 * sysdeps/gnu/getutmp.c: New file.
4649 1999-05-13 H.J. Lu <hjl@gnu.org>
4651 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
4652 (getutmp): Likewise.
4654 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
4657 * sysdeps/gnu/utmpx.h (getutmp): Added.
4658 (getutmpx): Likewise.
4660 * sysdeps/generic/getutmp.c: New file.
4662 * sysdeps/generic/getutmpx.c: New file.
4664 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4666 * glibcbug.in (BUGGLIBC): Change address to
4667 libc-alpha@sourceware.cygnus.com.
4669 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4671 * resolv/arpa/nameser.h: Add C++ protectors.
4673 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4675 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
4676 Elad Tsur <eladts@post.tau.ac.il>.
4678 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
4680 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
4681 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
4682 lazily if LD_BIND_NOW is not set.
4683 * elf/dl-support.c (_dl_lazy): New variable.
4684 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
4685 * elf/rtld.c (_dl_lazy): new global variable.
4686 ( dl_main): Remove lazy, replace it by _dl_lazy.
4688 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4690 * locale/setlocale.c (new_composite_name): Check also whether the
4691 first category name differs.
4693 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4695 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
4698 1999-05-11 Philip Blundell <pb@nexus.co.uk>
4700 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
4701 structure; storage suitable for any socket address.
4702 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
4704 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
4705 sockaddr_storage): Likewise.
4707 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
4710 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
4712 * hesiod/Versions: Change _nss_hesiod_getpwuid and
4713 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
4714 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
4716 1999-05-09 Mark Kettenis <kettenis@gnu.org>
4718 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
4719 if the file is empty.
4721 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
4723 * elf/do-lookup.h: Fix typo in comment.
4725 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
4726 f_bsize to help some broken programs.
4728 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
4730 * stdio-common/vfprintf.c: Fix typo.
4732 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
4734 * elf/link.h (struct link_map): New field l_phdr_allocated.
4735 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
4736 the program header being part of any loaded segment. If it is not
4737 allocate memory and set l_phdr_allocated flag.
4738 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
4740 * nss/digits_dots.c: Correct return value interpretation of
4741 inet_ntoa. Fix PR libc/1109.
4743 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
4745 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
4747 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
4749 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
4750 * stdlib/fpioconst.c: Move #endif before end of struct.
4752 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
4754 * Versions.def (ld.so): Add GLIBC_2.1.1.
4755 * elf/Makefile (routines): Add dl-origin.
4756 (tests): Add origtest. Add dependencies for the program.
4757 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
4758 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
4759 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
4760 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
4761 DT_AUXILIARY, and DT_FILTER filenames.
4762 * elf/dl-load.c (expand_dynamic_string_token): Explode into
4763 two functions and three macros.
4764 (_dl_dst_count, _dl_dst_substitute): New functions.
4765 * elf/dl-dst.h: New file.
4766 * elf/dl-open.c (_dl_open): Take extra parameter with address of
4767 caller. Pass address in args structure.
4768 (dl_open_worker): Recognize and expand DSTs in filename.
4769 * elf/ldsodefs.h (_dl_open): Adapt prototype.
4770 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
4771 (__dlopen_check): Pass caller address to dlopen_doit in args.
4772 * elf/dlopendoit.c: Likewise.
4773 * iconv/gconv_dl.c: Adapt call of _dl_open.
4774 * nss/nsswitch.c: Likewise.
4775 * elf/origtest.c: New file.
4776 * sysdeps/generic/dl-origin.h: Moved to...
4777 * sysdeps/generic/dl-origin.c: ...here.
4778 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
4779 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
4781 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
4782 with specific bases and only few bits set in second word.
4784 * timezone/Makefile (install-others): Create target directory
4785 before creating tzfiles.
4787 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
4789 * nis/nis_file.c (readColdStartFile): Allocate memory only after
4790 the file is opened successfully.
4792 * nis/nis_table.c: Fix some memory leaks.
4794 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
4796 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
4799 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
4800 around DST. Correctly ignore ORIGIN IN SUID binaries.
4802 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
4804 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
4805 * sysdeps/generic/strtok.c: Likewise.
4807 * string/tester.c: Add test of rawmemchr.
4809 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
4810 specification. It's not necessary.
4812 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
4813 * elf/gen-trusted-dirs.awk: New file.
4814 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
4815 from SYSTEM_DIRS macro.
4816 (system_dirs_len): New variable. Contains lengths of system_dirs
4818 (fillin_rpath): Rewrite for systems_dirs being a simple string.
4819 Improve string comparisons. Change parameter trusted to be a flag.
4821 (_dt_init_paths): Improve using new format for system_dirs.
4823 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
4824 $ORIGIN for SUID binaries.
4826 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
4828 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4830 * sunrpc/Makefile: Generate dependencies for all flavors of
4832 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
4835 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4837 * elf/dlopenold.c: Move #if down after includes to get
4840 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4842 * sysdeps/generic/bzero.c: Undefine __bzero.
4844 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
4846 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
4847 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
4848 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
4849 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
4851 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
4852 parameter to struct gaih_servtuple *. Adapt appropriately.
4853 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
4854 This fixes a memory leak.
4855 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
4857 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
4858 and fpregset_t definition. They are defined in ucontext.h.
4860 1999-04-14 Scott Bambrough <scottb@netwinder.org>
4862 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
4863 and struct ether_header must be packed on the ARM. The default
4864 alignment constraints add padding to the end of the structures.
4866 1999-04-14 Scott Bambrough <scottb@netwinder.org>
4868 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
4869 default alignment constraints add padding to the end of the
4870 structure and between members.
4872 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
4874 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
4875 _dl_cache_libcmp instead of strcmp.
4877 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
4879 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
4881 1998-03-30 Joel Klecker <espy@debian.org>
4883 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
4884 (sysdep-others,install-bin): Add lddlibc4.
4886 1999-05-02 H.J. Lu <hjl@gnu.org>
4888 * timezone/zic.c (dolink): Remove the symlink destination first.
4890 * catgets/open_catalog.c (__open_catalog): Set catalog->status
4891 to "nonexisting" if failed to open the file.
4893 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
4895 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
4898 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
4899 Prevent warnings from multiplication with 0x01010101 by another cast.
4901 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4903 * string/bits/string2.h (memset): Revert to previous version if
4904 unaligned writes are not available.
4906 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
4908 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
4909 better code in presence of the asm.
4911 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4913 * stdlib/fmtmsg.c (keywords): Increase array size for faster
4916 * locale/localeinfo.h (_nl_category_names): Increase array element
4917 size for faster indexing.
4918 * locale/setlocale.c (_nl_category_names): Adjusted.
4920 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4922 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
4924 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4926 * sysdeps/m68k/stackinfo.h: New file.
4928 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
4930 * string/tester.c (test_strchrnul): New function.
4931 (test_memset): Test one more special case.
4933 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
4936 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
4939 * string/bits/string2.h: Fix bugs I introduced in last change.
4941 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
4943 Extend memset optimization.
4944 Correct i686 version of memchr.
4946 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
4948 * sysdeps/i386/bzero.c: Add #undef __bzero.
4950 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
4951 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
4952 exec server simulated a SIGTRAP before we even started up, so gdb is
4955 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
4957 * nss/digits_dots.c: Always initialize not_ok.
4959 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
4961 * string/bits/string2.h (memset): Avoid arithmetic overflow at
4962 compile time, which produces obnoxious warnings. If GCCv2 is
4963 in use, map __bzero to __builtin_memset to enable that
4966 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
4968 * string/bits/string2.h: Add more memset optimizations.
4970 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
4972 * resolv/inet_pton.c (inet_pton4): Little optimizations.
4973 (inet_pton6): Likewise.
4975 * nss/getXXbyYY_r.c: Include assert.h.
4976 * nss/getXXbyYY.c: Likewise.
4978 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4980 * termios/tcgetsid.c (tcgetsid): Rename variable to
4981 tiocgsid_does_not_work.
4983 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
4985 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
4987 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4989 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
4990 This allows e.g. gethostbyname to accept "10.1234".
4991 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
4993 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
4994 non quad IPv4 numbers.
4996 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4998 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
5000 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5002 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
5003 * argp/argp-parse.c (_argp_hang): Likewise.
5004 * argp/argp-pv.c (argp_program_version): Likewise.
5005 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
5006 * inet/ether_hton.c (ether_hton, startp): Likewise.
5007 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
5008 * inet/getnetgrent_r.c (setup, startp): Likewise.
5009 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
5010 * intl/localealias.c (string_space, string_space_act, string_space_max,
5011 nmap, maxmap): Likewise.
5012 * libio/iopopen.c (proc_file_chain): Likewise.
5013 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
5014 * locale/lc-collate.c (__collate_table, __collate_extra,
5015 __collate_element_hash, __collate_element_strings,
5016 __collate_element_values): Likewise.
5017 * malloc/mcheck.c (mcheck_used): Likewise.
5018 * malloc/mtrace.c (added_atexit_handler): Likewise.
5019 * malloc/set-freeres.c (already_called): Likewise.
5020 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
5021 * misc/syslog.c (LogStat, LogTag): Likewise.
5022 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5023 * nss/getXXbyYY_r.c (startp): Likewise.
5024 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
5025 * posix/regex.c (init_syntax_once) [done]: Likewise.
5027 * string/strfry.c (init): Likewise.
5028 * sunrpc/svc_run.c (svc_top): Likewise.
5029 * posix/euidaccess.c (have_ids): Likewise.
5030 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
5031 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
5032 * time/getdate.c (getdate_err): Likewise.
5033 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
5035 * time/tzset.c (old_tz, is_initialized): Likewise.
5037 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
5038 of static data with zero.
5039 * signal/allocrtsig.c (init): Likewise.
5041 * string/Makefile (routines): Add strchrnul.
5042 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
5043 * string/string.c: Add strchrnul prototype.
5044 * include/string.h: Add __strchrnul prototype.
5045 * sysdeps/generic/strchrnul.c: New file.
5046 * sysdeps/i386/strchrnul.S: New file.
5047 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
5048 * sysdeps/i386/i486/bits/string.c: Likewise.
5049 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
5050 * inet/ether_line.c (ether_line): Likewise.
5051 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
5052 * nss/nsswitch.c (nss_parse_file): Likewise.
5053 * posix/execvp.c (execvp): Likewise.
5054 * posix/fnmatch.c (internal_fnmatch): Likewise.
5055 * resolv/res_hconf.c (_res_hconv_init): Likewise.
5056 * resolv/res_init.c (res_init): Likewise.
5057 * stdlib/fmtmsg.c (init): Likewise.
5058 * stdlib/getsubopt.c (getsubopt): Likewise.
5060 * catgets/catgets.c (catopen): Only allocate one memory block.
5061 (catclose): Only one free call necessary.
5063 * catgets/open_catalog.c (__open_catalog): Simplify handling of
5066 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
5067 of real functions. Simplify _tolower and _toupper.
5069 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
5072 * iconv/gconv.h (struct gconv_info): Change data element from pointer
5074 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
5075 * iconv/gconv_close.c (__gconv_close): Don't free data.
5077 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
5080 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
5081 for error while inserting in tree.
5083 * include/time.h: Pretty print.
5085 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
5086 in table and lots of relocations.
5087 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
5088 string pointers in table and lots of relocations.
5090 * intl/finddomain.c: Remove definition of strchr macro.
5092 * io/ftw.c (nftw_arr, ftw_arr): Make const.
5094 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
5096 * locale/localeinfo.h (_nl_category_names): Change into an array with
5097 fixed width char string elements.
5098 * locale/setlocale.c (_nl_category_names): Likewise.
5099 (_nl_current): Make global.
5100 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
5102 * malloc/Makefile (distribute): Add stackinfo.h.
5103 * sysdeps/generic/stackinfo.h: New file.
5104 * sysdeps/i386/stackinfo.h: New file.
5105 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
5106 * posix/execle.c: Likewise.
5107 * posix/execlp.c: Likewise.
5109 * nis/nis_table.c (__create_ib_request): Always use realloc.
5111 * posix/execvp.c (execute): Rename to script_execute and keep only
5112 code to execute using shell.
5113 (execvp): Call execv directly and only fall back on script_execute.
5115 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
5116 and always use xdigits instead.
5118 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
5121 * stdlib/fpioconst.h (__tens): New declaration.
5122 (struct mp_power): Remove array, add arrayoff element.
5123 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
5124 __tens array and add in _fpioconst_pow10 offsets into __tens.
5125 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
5126 * stdlib/strtod.c: Likewise.
5128 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
5130 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
5132 * stdlib/atexit.c (__exit_funcs): Don't initialize.
5134 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
5136 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
5137 a single and an array with offsets.
5139 * sunrpc/des_soft.c (partab): Make it const.
5141 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
5142 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
5143 (__key_decryptsession_pk_LOCAL): Likewise.
5144 (__key_gendes_LOCAL): Likewise.
5145 (MESSENGER): Mark const.
5146 (key_call_private_main): Don't initialize with 0.
5147 (use_keyenvoy): Don't initialize with 0.
5148 (key_call): Rewrite to reverse logic of use_doors variable.
5150 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
5151 (startp): Don't initialize with zero.
5153 * sunrpc/openchild.c (_openchild): Make first argument const.
5155 * sunrpc/pmap_rmt.c (timeout): Mark const.
5156 * sunrpc/xcrypt.c (hex): Likewise.
5158 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
5159 initialization of global variables.
5160 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5161 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5162 * termios/tcgetsid.c: Likewise.
5164 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
5167 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
5168 block. Add function to free memory if wanted.
5169 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
5171 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
5173 * wcsmbs/wmemset.c: Little code optimization.
5175 1999-04-23 Paul Eggert <eggert@twinsun.com>
5177 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
5180 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
5182 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
5183 implementation and just always fail with ENOSYS. This entry point is
5184 obsolete. Add link warning to that effect.
5186 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
5188 * hurd/get-host.c: Include <hurd/lookup.h>.
5190 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5192 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
5195 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5197 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
5200 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5202 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
5203 Patch by Peter Miller <millerp@canb.auug.org.au>.
5205 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
5207 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
5208 prefers loopback device.
5210 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5212 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
5213 no_leading_period change.
5215 * posix/testfnm.c: More test cases.
5217 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
5219 * include/dirent.h: Remove __getdirentries declaration, add __getdents
5221 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
5222 * sysdeps/unix/readdir_r.c: Likewise.
5223 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5224 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5225 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
5226 __getdirentries. Remove fourth argument.
5227 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
5228 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
5229 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
5230 Add getdirentries and getdirentries64.
5231 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
5233 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
5234 pointer in case of an invalid [[: expression.
5236 * posix/testfnm.c: Add more test cases.
5238 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
5240 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
5241 set, pass EXEC_SIGTRAP flag in exec RPC.
5243 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
5245 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
5246 extra parameter. Fix several more bugs involving wildcard and
5248 (fnmatch): New function. Call internal_fnmatch.
5250 * posix/testfnm.c: More test cases.
5252 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5254 * manual/install.texi (Configuring and compiling): Explain that
5255 files are changed in the source directory.
5257 (Configuring and compiling): Explain situation with PARALLELMFLAGS
5258 in the source directory.
5260 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5262 * locale/programs/ld-ctype.c: Spelling fixes.
5263 (ctype_finish): Fix argument of error message format.
5264 * locale/programs/ld-messages.c: Spelling fixes.
5265 * locale/programs/ld-monetary.c: Spelling fixes.
5266 * locale/programs/ld-time.c (time_finish): Make sure that name and
5267 format of era_entries are adjacent.
5268 (time_output): Reduce the size of the io vector.
5270 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5272 * manual/filesys.texi (Attribute Meanings): Move a misplaced
5275 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5277 * locale/programs/ld-collate.c (collate_output): Convert
5278 undefined_offset to an array index. Fix computation of other
5281 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
5283 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
5284 return success with empty value.
5286 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
5288 * posix/fnmatch.c: Include string.h also for glibc.
5289 (fnmatch, case '?'): Optimize if cascades a bit.
5290 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
5292 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
5294 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
5296 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
5297 * iconv/gconv_int.h: Declare UTF16 functions.
5298 * iconv/gconv_simple.c: Add UTF16 conversion functions.
5300 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5302 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
5303 be used correctly as parameter for parse_dollars/parse_tilde.
5305 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5307 * manual/conf.texi (Utility Limits): Remove duplicate description
5310 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
5312 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
5313 outbufend for dst==NULL.
5315 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
5317 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
5321 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
5324 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
5326 * sunrpc/Makefile: Remove special handling of bootparam.x,
5327 add rpcsvc/bootparam.h to headers.
5328 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
5329 * sunrpc/rpcsvc/bootparam.x: Renamed to...
5330 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
5332 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
5334 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
5335 detect and handle invalid descriptors.
5337 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
5339 * timezone/zic.c (dolink): Append complete path not only filename
5342 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5344 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
5346 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
5348 * iconvdata/gconv-modules: Rename CP874 to IBM874.
5349 * iconvdata/Makefile: Likewise.
5350 * iconvdata/cp874.h: Removed.
5351 * iconvdata/cp874.c: Renamed to...
5352 * iconvdata/ibm874.c: ...this.
5354 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
5356 * sysdeps/unix/sysv/linux/bits/types.h: Correct
5357 signed/unsigned-ness of blkcnt and fsblkcnt.
5358 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5359 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5361 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
5362 SOL_AAL, and SOL_IRDA.
5364 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5366 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
5367 include "linux_fsinfo.h".
5368 Based on a patch by H.J. Lu <hjl@gnu.org>.
5370 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
5372 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
5374 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
5376 * nscd/cache.c (prune_cache): Only disable file checking for
5377 future if the file does not exist.
5378 Update file_mtime if cache was flushed.
5380 1999-04-15 David S. Miller <davem@redhat.com>
5382 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
5383 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
5385 1999-04-15 Scott Bambrough <scottb@netwinder.org>
5387 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
5388 compilation of file.
5390 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
5392 * Versions.def: Add GLIBC_2.1.1 to libpthread.
5394 * iconvdata/Makefile (modules): Add KOI8-U.
5395 (distribute): Add koi8-u.c.
5396 (gen-8bit-gap-modules): Add koi8-u.
5397 * iconvdata/gconv-modules: Add KOI8-U entries.
5398 * iconvdata/koi8-u.c: New file.
5400 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
5402 * sunrpc/auth_des.c: 64bit fixes, security fixes.
5403 * sunrpc/auth_none.c: Pretty print.
5404 * sunrpc/auth_unix.c: Likewise.
5405 * sunrpc/authdes_prot.c: Likewise.
5406 * sunrpc/authuxprot.c: Likewise.
5407 * sunrpc/bindrsvprt.c: Likewise.
5408 * sunrpc/clnt_gen.c: Likewise.
5409 * sunrpc/rpc/xdr.h: Likewise.
5410 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
5411 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
5412 * sunrpc/rtime.c: Use new rpc_timeval.
5413 * sunrpc/svc_authux.c: Don't use *long pointers.
5414 * sunrpc/svcauth_des.c: Likewise + security fixes.
5415 * sunrpc/xdr_mem.c: Don't use *long pointers.
5416 * sunrpc/xdr_rec.c: Likewise.
5417 * sunrpc/xdr_sizeof.c: Likewise.
5418 * sunrpc/xdr_stdio.c: Likewise.
5420 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
5422 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
5423 so that it is redone for each sending.
5425 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5427 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
5429 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
5431 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
5432 known to not exist don't try to load shared objects.
5433 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
5435 * nscd/cache.c (prune_cache): The table might not be unused. In
5436 this case do nothing.
5438 * catgets/gencat.c (read_input_file): Don't drop white spaces
5439 between number/identifier and string.
5440 Patch by Dima Barsky <dima@pwd.hp.com>.
5441 If no white space at all follows number/identifier remove existing
5442 message with the number/identifier.
5444 1999-04-14 H.J. Lu <hjl@gnu.org>
5446 * sunrpc/clnt_udp.c (is_network_up): New function.
5447 (clntudp_call): Call is_network_up () to check if any network
5448 interface is up in case of timeout.
5450 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5452 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
5453 * wctype/Makefile (tests): Add test_wcfuncs.
5455 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
5457 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
5459 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
5461 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
5462 instead of CFLAGS. For gnulib and string directories use
5463 -Wa,-Av9a gcc ASFLAGS.
5464 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
5465 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
5467 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
5468 the same way as sparc-*.
5470 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
5472 * locale/programs/locfile.c (locfile_read): Fix typo.
5473 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
5475 1999-04-14 Scott Bambrough <scottb@netwinder.org>
5477 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
5478 restarted after being interrupted by a signal. The parameters on
5479 the stack were corrupted by the signal handler.
5481 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
5482 restarted after being interrupted by a signal. The parameters on
5483 the stack were corrupted by the signal handler.
5485 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5487 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
5488 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
5490 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
5492 * posix/wordexp-test.c: In field-splitting test cases where
5493 subshells were involved, unset IFS first: some shells (ash) use
5494 IFS even when no expansion is performed.
5496 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5498 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
5499 the real end of the chunk, not some random point inbetween.
5500 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
5501 obstack when growing. Use fast version of obstack_blank when
5503 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
5504 allocating the vtable pointer.
5505 (_IO_obstack_vprintf): Adjust for above change and avoid
5506 unnecessary casts. Use fast version of obstack_blank when
5510 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
5512 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
5513 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
5515 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
5517 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
5518 is seen, as well as fixing semantics. Don't reset the word count
5519 to zero when an invalid character is seen, but leave it as it was
5520 (this makes a difference with WRDE_APPEND).
5522 * posix/wordexp-test.c: More test cases.
5524 * posix/wordexp.c (parse_param): In words like ${var#pattern},
5525 always expand pattern when it is needed. Also, handle quoting in
5528 1999-04-12 Philip Blundell <philb@gnu.org>
5530 * elf/elf.h: Update ARM definitions to match current gas2.
5532 * sysdeps/arm/bits/endian.h: Support big endian operation.
5534 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
5535 Don't bother range checking the port number.
5537 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
5539 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
5540 the syscall name in assembler output for ease of debugging.
5542 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
5544 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
5545 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
5546 (sysdep_routines): Add sigrestorer.
5548 * string/tester.c (test_strcpy): Add new tests for unaligned
5550 * sysdeps/arm/bits/string.h: Delete inline implementations of
5553 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
5555 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
5557 1999-04-10 Mark Kettenis <kettenis@gnu.org>
5559 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
5561 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
5563 * iconvdata/Makefile (modules): Add TIS-620.
5564 (distribute): Add tis-620.c.
5565 (gen-8bit-gap-modules): tis-620.
5566 * iconvdata/tis-620.c: New file.
5567 * iconvdata/gconv-modules: Add TIS-620 entries.
5569 * iconvdata/asmo_449.c: Correct comment.
5571 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5573 * manual/install.texi (Configuring and compiling): Comment out
5574 description of --disable-static since this doesn't work currently
5575 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
5577 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
5579 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
5581 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5583 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5585 * scripts/test-installation.pl (installation_problem): Skip
5586 libnss1_* libraries from glibc-compat add-on.
5588 1999-04-07 H.J. Lu <hjl@gnu.org>
5590 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
5592 * posix/Versions (__waitpid): Likewise.
5594 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5596 * manual/install.texi (Reporting Bugs): Add section about reported
5597 bugs and correct email address of glibcbug script.
5599 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
5601 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
5602 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
5603 xdr_u_longlong_t. Based on patch from Dan Shechter
5604 <damageboy@isdn.net.il>.
5605 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
5606 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
5608 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
5610 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5612 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
5613 directly if getdents returns with error set.
5615 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5617 * locale/langinfo.h (THOUSEP): Rename second occurence of
5618 THOUSANDS_SEP to THOUSEP.
5619 Reported by Roman Belenov <roman@nstl.nnov.ru>.
5621 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
5623 * hurd/STATUS: File removed. Moved items that are still relevant into
5624 TODO list in hurd source.
5626 1999-03-26 Mark Kettenis <kettenis@gnu.org>
5628 * sysdeps/mach/hurd/bits/time.h: New file.
5629 * sysdeps/mach/hurd/getrusage.c: New file.
5630 * sysdeps/mach/hurd/clk_tck.c: New file.
5631 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
5632 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
5633 (sysdep_routines): Add clk_tck.
5634 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
5637 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
5639 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
5640 (closelog): But instead here.
5641 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
5643 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5645 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5646 the source directory. Fixes PR libc/1059.
5648 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5650 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
5651 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5653 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
5655 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
5656 * iconvdata/testdata/ISO-8859-14: New file.
5657 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
5658 * iconvdata/testdata/ISO-8859-15: New file.
5659 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
5661 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
5663 * iconvdata/testdata/CP1258: New file.
5664 * iconvdata/testdata/CP1258..UTF8: New file.
5665 * iconvdata/TESTS: Add CP1258 entry.
5667 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
5669 * timezone/africa: Update from tzdata1999d.
5670 * timezone/europe: Likewise.
5671 * timezone/northamerica: Likewise.
5673 1999-03-31 Mark Kettenis <kettenis@gnu.org>
5675 * login/programs/pt_chown.c (main): Save effective user ID before
5676 dropping priviliges and use this to check if the program is
5679 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
5681 * iconvdata/testdata/CP1254: Update for charmap changes.
5682 * iconvdata/testdata/CP1254..UTF8: Likewise.
5683 * iconvdata/testdata/CP1255: Likewise.
5684 * iconvdata/testdata/CP1255..UTF8: Likewise.
5685 * iconvdata/testdata/CP1256: Likewise.
5686 * iconvdata/testdata/CP1256..UTF8: Likewise.
5687 * iconvdata/testdata/CP1257: Likewise.
5688 * iconvdata/testdata/CP1257..UTF8: Likewise.
5690 * iconvdata/Makefile (distribute): Remove cp1258.h.
5691 (gen-8bit-gap-modules): Add cp1258.
5692 * iconvdata/cp1258.h: Removed.
5694 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
5696 * timezone/tst-timezone.c (tests): Add more cases.
5697 (check_tzvars): Mark errors clearer.
5700 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
5702 * login/programs/pt_chown.c: Drop privileges if invoked with
5703 arguments. Don't close the master pty.
5705 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
5707 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
5710 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
5712 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
5713 relocation for SUID binaries.
5715 1999-03-29 Paul Eggert <eggert@twinsun.com>
5717 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
5718 while in child process.
5720 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
5722 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
5723 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
5724 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
5725 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
5726 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
5728 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
5729 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
5730 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
5731 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
5732 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
5733 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
5734 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
5735 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
5736 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
5737 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
5738 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
5739 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
5740 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
5741 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
5742 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
5743 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
5744 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
5745 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
5746 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
5747 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
5748 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
5749 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
5750 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
5751 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
5752 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
5753 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
5755 * sysdeps/sparc/sparc32/bcopy.c: New file.
5756 * sysdeps/sparc/sparc32/bzero.c: New file.
5757 * sysdeps/sparc/sparc32/memchr.S: New file.
5758 * sysdeps/sparc/sparc32/memcpy.S: New file.
5759 * sysdeps/sparc/sparc32/memmove.c: New file.
5760 * sysdeps/sparc/sparc32/memset.S: New file.
5761 * sysdeps/sparc/sparc32/stpcpy.S: New file.
5762 * sysdeps/sparc/sparc32/strchr.S: New file.
5763 * sysdeps/sparc/sparc32/strrchr.c: New file.
5764 * sysdeps/sparc/sparc32/strcpy.S: New file.
5765 * sysdeps/sparc/sparc32/strlen.S: New file.
5766 * sysdeps/sparc/sparc32/strcat.S: New file.
5767 * sysdeps/sparc/sparc32/strcmp.S: New file.
5769 * sysdeps/sparc/sparc64/bcopy.c: New file.
5770 * sysdeps/sparc/sparc64/bzero.c: New file.
5771 * sysdeps/sparc/sparc64/memchr.S: New file.
5772 * sysdeps/sparc/sparc64/memcmp.S: New file.
5773 * sysdeps/sparc/sparc64/memcpy.S: New file.
5774 * sysdeps/sparc/sparc64/memset.S: New file.
5775 * sysdeps/sparc/sparc64/stpcpy.S: New file.
5776 * sysdeps/sparc/sparc64/strcat.S: New file.
5777 * sysdeps/sparc/sparc64/strchr.S: New file.
5778 * sysdeps/sparc/sparc64/strcmp.S: New file.
5779 * sysdeps/sparc/sparc64/strcpy.S: New file.
5780 * sysdeps/sparc/sparc64/strcspn.S: New file.
5781 * sysdeps/sparc/sparc64/strlen.S: New file.
5782 * sysdeps/sparc/sparc64/strncpy.S: New file.
5783 * sysdeps/sparc/sparc64/strpbrk.S: New file.
5784 * sysdeps/sparc/sparc64/strrchr.c: New file.
5785 * sysdeps/sparc/sparc64/strspn.S: New file.
5786 * sysdeps/sparc/sparc64/stpncpy.S: New file.
5787 * sysdeps/sparc/sparc64/strncmp.S: New file.
5789 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
5790 Append -fPIC, don't replace.
5792 * configure.in: Recognize sparcv8plus / sparcv9.
5794 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5796 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
5797 char * to avoid C++ warning.
5798 Patch by yasushi@cs.washington.edu [PR libc/1035].
5800 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5802 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
5803 declared in stdlib.h, correct return value of mkstemp.
5804 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
5806 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
5809 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5811 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
5814 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
5815 inline functions. Closes PR libc/1049.
5817 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5819 * timezone/README: Update from tzdata1999c and tzcode1999c.
5821 * timezone/africa: Update from tzdata1999c.
5822 * timezone/antarctica: Likewise.
5823 * timezone/asia: Likewise.
5824 * timezone/australasia: Likewise.
5825 * timezone/europe: Likewise.
5826 * timezone/northamerica: Likewise.
5827 * timezone/southamerica: Likewise.
5828 * timezone/zone.tab: Likewise.
5830 * timezone/zic.c: Update from tzcode1999c.
5832 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5834 * Makerules: Add $(common-objpfx)Versions.all to common-generated
5835 outside of ifndef avoid-generated.
5837 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
5839 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
5841 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
5843 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
5844 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
5846 1999-03-26 Mark Kettenis <kettenis@gnu.org>
5848 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
5849 if we build the profiled library.
5851 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5853 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
5854 Jaeger <aj@arthur.rhein-neckar.de>
5856 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
5858 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
5859 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
5860 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
5862 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
5864 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
5865 works properly in subdirs.
5867 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
5869 * sysdeps/mach/hurd/Makefile: Undo last change.
5870 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
5871 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
5873 * mach/Machrules (+preinit, +postinit, +interp,
5874 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
5875 linked just like other shared libraries.
5876 (interface.so): Fix typo in defn, so it works.
5877 ($(objpfx)$(interface.so)): Make it depend on libc.so.
5879 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
5881 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
5882 $(link-rpcuserlibs).
5884 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5886 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
5887 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
5888 targets if not building shared libraries.
5890 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5892 * configure.in: Also look in $PATH when searching for
5893 install-info. Remove autoconf bug workaround and require autoconf
5896 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5898 * db/Makefile: Don't try to install shared library link if not
5899 building with shared libs.
5901 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5903 * rt/Makefile: Link against static library if no shared lib is
5906 * localedata/Makefile: The shells scripts implementing the test
5907 require the dynamic linker which is not available with
5908 --disable-shared. Skip the test if --disable-shared is given.
5910 * linuxthreads/Makefile: Link test against static libpthread if no
5911 shared lib is available.
5913 * iconvdata/Makefile (tests): Run iconv-test only if we're
5914 building shared libraries.
5915 * elf/Makefile (tests): Likewise for elf tests.
5917 * posix/Makefile: The test frameworks globtest and wordexp-test
5918 require the dynamic linker which is not available with
5919 --disable-shared. Skip the test if --disable-shared is given.
5921 * grp/Makefile (otherlibs): For static nss build link against
5924 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5926 * debug/Makefile (install-bin): Install and build catchsegv only
5927 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
5930 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5932 * time/tzfile.c (__tzfile_read): Handle the case where there are
5933 transitions but no DST.
5935 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
5937 * mach/Machrules (extra-libs-others): Add $(interface-library) here
5938 too, so it gets built in the others pass rather than the lib pass.
5939 This is necessary since the RPC libraries need to be linked against
5942 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
5944 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
5947 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
5948 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
5949 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
5950 versions of lib{mach,hurd}user.so without reference to libc.so,
5951 then link libc.so against that to get deps and symbol versions, then
5952 finally link real lib*user.so against libc.so.
5954 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
5955 Support whole-file locking (only) by using the file_lock RPC. This
5956 has very wrong semantics, but is better than nothing for the time
5957 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
5958 protocols that will be somewhat hairy to specify.)
5960 1999-03-17 Mark Kettenis <kettenis@gnu.org>
5962 * sysdeps/mach/hurd/ptsname.c: New file.
5964 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5966 * timezone/asia: Fix rule in Asia/Nicosia entry.
5968 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5970 * manual/getopt.texi (Using Getopt): Explain "::" in option
5971 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
5973 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
5975 * sunrpc/clnt_unix.c: Fix creation of parameters for
5976 sendmsg/recvmsg on non intel platforms.
5977 * sunrpc/svc_unix.c: Likewise.
5979 1999-03-18 Philip Blundell <philb@gnu.org>
5981 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
5984 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5986 * timezone/africa: Update from tzdata1999b.
5987 * timezone/asia: Likewise.
5988 * timezone/australasia: Likewise.
5989 * timezone/europe: Likewise.
5990 * timezone/northamerica: Likewise.
5991 * timezone/southamerica: Likewise.
5992 * timezone/zone.tab: Likewise.
5994 * timezone/README: Mention tzdata1999b.
5996 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
5998 * sysdeps/generic/segfault.c (write_strsignal): New function.
5999 (catch_segfault): Use it instead of calling strsignal.
6001 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6003 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
6004 char to avoid warning.
6006 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6008 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
6010 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
6011 outbuf to unsigned char to avoid warning.
6013 1999-03-11 David S. Miller <davem@redhat.com>
6015 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
6017 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
6019 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6021 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
6023 (gconv_step_data): Likewise.
6024 * iconv/gconv_int.h (__gconv): Likewise.
6025 (__BUILINT_TRANS): Likewise.
6026 * iconv/gconv.c (__gconv): Likewise.
6027 * iconv/iconv.c (iconv): Add casts for call of __gconv.
6028 * iconv/skeleton.c: Change local parameters and variable from `char' to
6029 `unsigned char'. Remove casts from calls into modules.
6030 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
6031 `char' to `unsigned char'.
6032 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
6033 * wcsmbs/mbrtowc.c: Likewise.
6034 * wcsmbs/mbsnrtowcs.c: Likewise.
6035 * wcsmbs/mbsrtowcs.c: Likewise.
6036 * wcsmbs/wcrtomb.c: Likewise.
6037 * wcsmbs/wcsnrtombs.c: Likewise.
6038 * wcsmbs/wcsrtombs.c: Likewise.
6039 * wcsmbs/wctob.c: Likewise.
6041 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6043 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
6044 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
6045 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
6046 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
6047 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
6048 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
6050 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6052 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
6053 _hurd_select if TIMEMOUT is -1.
6055 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6057 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
6059 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6061 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
6062 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
6064 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6066 * manual/libc.texinfo: Undo last change for now.
6068 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6070 * intl/locale.alias: Add entries for Croatian.
6071 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
6073 1999-03-13 Mark Kettenis <kettenis@gnu.org>
6075 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
6076 if the opened master pty really is a pty. `isatty' checks for
6077 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
6078 if we are out of pty's.
6080 1999-03-13 Mark Kettenis <kettenis@gnu.org>
6082 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
6083 opened file is closed on exec.
6084 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
6087 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6089 * manual/llio.texi (File Position Primitive): Reformat @end
6090 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
6092 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
6094 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
6096 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6097 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6099 * locale/programs/localedef.c (main): Initialize `cat' to please
6102 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
6104 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
6105 check for root-owned symlinks and reject them too.
6107 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6109 * stdio-common/printf_fphex.c: Move to ...
6110 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
6111 extended precision number.
6112 * sysdeps/m68k/printf_fphex.c: New file.
6114 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6116 * manual/stdio.texi: Fix typos.
6118 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
6120 * version.h (VERSION): Bump to 2.1.1.
6122 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
6124 * nis/ypclnt.c: Try only twice to connect to NIS server.
6126 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
6128 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
6130 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6132 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
6133 (DENORM_EXP): New define. Use it as the exponent for a denormal.
6134 * stdlib/strtold.c: Moved to ...
6135 * sysdeps/generic/strtold.c: ... here.
6136 * sysdeps/m68k/strtold.c: New file.
6138 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6140 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
6141 point if the precision is zero, even if the mantissa is non-zero.
6143 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
6145 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
6146 arguments into the request message buffer inside `send_rpc'
6147 subfunction. We must repeat the marshalling when retrying the RPC
6148 after a SIGTTOU delivery.
6150 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
6151 path when there is no ctty port.
6152 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6153 Move sigstate check inside loop so we recheck after handling a signal.
6155 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6157 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
6158 O_EXLOCK are BSD extensions.
6159 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
6161 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
6163 * manual/signal.texi (Termination in Handler): Correct example.
6164 Install default handler before reraising the signal.
6165 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
6167 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
6169 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
6170 null, in which case send an empty string.
6172 1999-03-02 Mark Kettenis <kettenis@gnu.org>
6174 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
6175 backward compatibility EH functions to be linked when using
6176 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
6178 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
6181 /dev/pts status may change during runtime.
6183 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
6186 change. /dev/pts status can change during runtime.
6188 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
6190 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
6192 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
6193 add some more sanity checks.
6194 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
6197 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
6199 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
6200 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
6201 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
6202 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
6203 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
6205 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
6206 * nis/nis_print.c: Fix ctime argument for platforms where
6207 sizeof (time_t) != sizeof (int).
6209 1999-03-07 Mark Kettenis <kettenis@gnu.org>
6211 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
6212 CLOCKS_PER_SEC instead of CLK_TCK.
6214 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
6216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
6217 whether /dev/pts is available.
6218 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
6221 * posix/globtest.sh: Make common_objpfx path absolute and and db2
6222 and hesiod directory to library path [PR libc/1007].
6224 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6226 * resolv/inet_addr.c (inet_aton): Don't allow componets >
6227 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
6229 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
6231 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6232 DT_PLTGOT has already been relocated.
6233 (__elf_machine_fixup_plt): Likewise.
6236 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
6238 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
6240 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
6242 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
6243 and fold string to uppercase [PR libc/1005].
6245 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6247 * elf/dl-load.c (lose): Fix return type.
6249 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
6251 * sysdeps/mach/hurd/bits/fcntl.h
6252 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
6253 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
6254 set O_NOTRANS as well.
6255 (__hurd_file_name_lookup_retry): At successful end of lookup,
6256 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
6257 it is a translated node not owned by root.
6258 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
6259 on the file name passed to LOOKUP.
6261 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
6263 * manual/time.texi (High Resolution Timer): Correct computation in
6264 example. Reported by jjf@devel.cemsys.com.
6266 1999-03-02 Philip Blundell <pb@nexus.co.uk>
6268 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
6269 entry is already relocated.
6271 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6273 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
6274 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
6276 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6278 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
6279 uc_link which is the right name according to Unix98.
6280 Reported by Craig Metz [PR libc/1001].
6281 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
6282 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
6283 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
6284 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
6285 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
6286 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
6288 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6290 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
6293 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6295 * iconvdata/Makefile: Always include iconv-rules, but disable rule
6296 to regenerate it if avoid-generated.
6298 * Makeconfig: Always include sys-dirs, but disable rule to
6299 regenerate it when avoid-generated.
6301 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
6302 rule to generate sysd-syscalls.
6304 * elf/Makefile (generated): Remove $(objpfx) from names.
6306 1999-02-28 Mark Kettenis <kettenis@gnu.org>
6308 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
6309 actual length if the adress length is smaller than the input
6310 value. Change type of *LEN paramater to socklen_t.
6311 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
6312 * sysdeps/mach/hurd/accept.c (accept): Likewise.
6313 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
6314 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
6315 paramater to socklen_t.
6317 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
6319 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
6320 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
6323 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
6325 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
6326 __get_phys_pages): Cast &HBI to silence warning.
6328 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
6329 * hurd/hurdchdir.c: New file.
6330 * hurd/hurdfchdir.c: New file.
6331 * sysdeps/mach/hurd/chroot.c: Call
6332 _hurd_change_directory_port_from_name to do the work.
6333 * sysdeps/mach/hurd/chdir.c: Likewise.
6334 * sysdeps/mach/hurd/fchdir.c: Call
6335 _hurd_change_directory_port_from_fd to do the work.
6336 * hurd/fchroot.c: Likewise.
6337 * hurd/hurd.h: Declare them.
6339 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
6341 * elf/dl-load.c (lose): Add more comments to explain the `why'.
6342 (_dl_map_object): Remove redundant test.
6344 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
6346 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
6347 try to _hurd_port_free a lower-numbered descriptor that was not in any
6350 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6352 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
6353 declaration for ____wcstod_l_internal.
6355 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
6356 __strtod_internal prototype.
6357 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
6358 (____strtold_l_internal): Add prototype declaration.
6359 (__strtold_l): Call correct function.
6361 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
6363 * elf/elf.h: Add 32bit HPPA definitions.
6365 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6367 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
6368 non-checked heap is restored when malloc checking was requested by
6370 (struct malloc_state): Add using_malloc_checking.
6371 (MALLOC_STATE_VERSION): Increment minor.
6372 (using_malloc_checking, disallow_malloc_check): New variables.
6373 (__malloc_check_init): Use them.
6374 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
6375 that it can the chunk is properly instrumented when malloc
6376 checking is enabled. Set the new using_malloc_checking field.
6377 (malloc_hook_ini): Correct signature when _LIBC is not defined.
6379 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6381 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6382 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
6385 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
6386 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
6387 if ld.so is the main program.
6389 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
6391 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
6392 large for work_buffer, allocate new buffer.
6393 (printf_unknown): Likewise. [PR libc/988]
6395 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
6397 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
6398 instead of stat and fstat.
6399 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6401 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6403 * elf/dl-error.c (_dl_signal_cerror): New function.
6404 (_dl_signal_error): Don't call receiver function.
6405 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
6406 instead of _dl_signal_error when reporting references to undefined
6407 symbols or versions.
6408 (_dl_lookup_versioned_symbol): Likewise.
6409 (_dl_lookup_versioned_symbol_skip): Likewise.
6410 * elf/dl-version.c (match_symbol): Likewise.
6412 * elf/ldsodefs.h: Declare _dl_signal_cerror.
6414 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
6416 * misc/getttyent.c (getttyent): Release lock on stream later to
6417 also protect global variable zapchar.
6419 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
6420 __times [PR libc/990].
6422 1999-02-21 David S. Miller <davem@redhat.com>
6424 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
6425 parentheses in Feb 2 changes.
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
6428 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6430 * sysdeps/generic/glob.c (glob): Save previous errno.
6432 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
6434 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
6435 lookup functions if it is too small.
6437 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
6439 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
6440 for tracing to the scope lists.
6441 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
6442 DT_SYMTAB is always available according to ELF spec.
6444 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
6445 call test whether there is any scope left.
6446 (_dl_lookup_versioned_symbol_skip): Likewise.
6448 * elf/Makefile (distribute): Add do-lookup.h.
6449 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
6450 * elf/dl-lookup.c: Move do_lookup function in separate file and
6451 include the file twice, for handling versioning and without it.
6453 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
6454 entry is already relocated.
6455 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6456 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6457 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
6458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6462 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
6465 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
6466 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
6467 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
6468 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
6469 rel and rela relocations can both happen and skip one test if this
6471 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
6473 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
6475 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
6477 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
6478 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
6479 (_dl_map_object): DT_STRTAB entry is already relocated.
6480 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
6482 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
6484 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
6485 DT_VERSYM entries are already relocated.
6486 (profile_fixup): Likewise.
6487 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
6489 (match_symbol): DT_STRTAB entry is already relocated.
6490 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
6491 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
6492 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
6493 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
6494 (find_needed): DT_STRTAB entry is already relocated.
6495 (dl_main): Pass extra argument to elf_get_dynamic_info.
6496 DT_STRTAB entry is already relocated.
6497 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
6498 DT_PLTGOT entries are already relocated.
6499 (elf_machine_rela): Likewise for DT_SYMTAB.
6500 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
6502 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6503 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6506 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
6507 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
6508 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
6509 * sysdeps/mips/mips64/dl-machine.h: Likewise.
6511 * grp/initgroups.c (initgroups): If function in current module was
6512 successful don't stop but continue to process to get all the groups.
6514 * elf/dl-load.c (_dl_map_object_from_fd): Use global
6515 _dl_pf_to_proot array to convert p_flags value.
6516 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6518 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
6519 loop to clear `info'.
6521 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
6522 do the work and don't use inline assembler.
6524 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
6526 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
6527 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
6528 noreturn, and prevent it from being inlined.
6529 Define LOSE appropriately.
6530 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
6531 Optimize decoding of p_flags for certain platforms.
6533 1999-02-19 Philip Blundell <pb@nexus.co.uk>
6535 * Makeconfig (link-libc): When doing a static link, make sure that
6536 libgcc.a is included both before and after libc.a.
6538 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
6540 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
6541 sp_warn, sp_inact, sp_expire and sp_flag.
6543 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
6545 * elf/link.h (link_map): Add l_dev and l_ino.
6546 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
6547 loaded shared object with all loaded objects. Initialize l_ino
6548 and l_dev in case it's new.
6549 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
6551 * elf/Makefile: Compile and run new test.
6552 * elf/multiload.c: New file.
6554 * nss/nsswitch.h (service_user): Change name field from const char *
6556 (name_database_entry): Likewise.
6557 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
6558 for change of `service_user'.
6559 (nss_getline): Adjust memory allocation for change of
6560 `name_database_entry'.
6562 * catgets/catgets.c: Correctly handle NLSPATH from environment
6565 * io/Makefile (routines): Add lock64.
6566 * io/Versions: Add lockf64 for GLIBC_2.1.1.
6567 * sysdeps/generic/lockf64.c: New file.
6569 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
6571 * string/bits/string2.h: Only use strncmp optimization if count
6572 argument is constant.
6574 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
6576 * sysdeps/mach/hurd/revoke.c: New file.
6578 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
6580 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
6581 int to avoid warning about `ISO C restricts enumerator values to
6584 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6586 * elf/dlfcn.h: Fix typo.
6587 * sysdeps/generic/bits/dlfcn.h: Likewise.
6588 * sysdeps/mips/bits/dlfcn.h: Likewise.
6590 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
6592 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
6593 for the case N == 0.
6595 * db2/Makefile (distribute): Add LICENSE.
6597 1999-02-03 Jeff Bailey <jbailey@nisa.net>
6599 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
6602 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
6604 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
6606 * time/mktime.c: Use ISO C form for function definitions and
6607 remove unnecessary prototypes.
6609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
6611 * time/time.h: Avoid unneccesary #ifdef.
6613 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
6615 * stdio-common/_itoa.c (_itoa): Correct parameters to
6618 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6620 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
6621 before (e.g. in glob.h).
6624 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6626 * sysdeps/mips/fpu_control.h: Fix typo.
6627 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
6630 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
6632 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
6633 the "unused" ends of the sockets. Let pipes be bidirectional.
6635 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
6637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
6640 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6642 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
6643 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
6645 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
6646 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
6648 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
6650 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
6652 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6654 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
6655 check for priority mask.
6657 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
6659 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
6660 Reported by Craig Metz <cmetz@inner.net> .
6662 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6664 * stdio-common/Makefile (tests): tllformat added.
6666 * stdio-common/tllformat.c: New program, based on tiformat.c with
6667 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6669 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6671 * posix/test-vfork.c: Fix exit status test.
6673 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6675 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
6676 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
6678 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6680 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
6681 of separare explicit comparisons.
6683 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6685 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
6688 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
6691 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
6693 * po/el.po: Update from translation team.
6695 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6697 * intl/locale.alias: Fix slovenian entry [PR libc/948].
6699 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6701 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
6702 * inet/ruserpass.c: Likewise.
6703 * locale/programs/stringtrans.c: Likewise.
6704 * locale/programs/localedef.c: Likewise.
6705 * nscd/grpcache.c: Likewise.
6706 * nss/nss_files/files-XXX.c: Likewise.
6707 * stdlib/canonicalize.c: Likewise.
6708 * sysdeps/posix/sigwait.c: Likewise.
6710 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6712 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
6713 even on 64 bit platforms.
6715 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6716 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
6718 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
6720 * intl/dcgettext.c: Include locale.h is available.
6722 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
6724 * po/nl.po: Update from translation team.
6726 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
6728 * Makefile: Allow calling goals for po subdir.
6730 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
6733 * po/el.po: New file.
6735 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6737 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
6738 when processing DT_SYMBOLIC objects.
6740 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6742 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
6743 program headers without PT_PHDR only require that they are
6744 contained within one of the loaded segments. Don't use assert,
6745 since that would be a bug in the object, not the dynamic linker.
6747 1999-02-08 Richard Henderson <rth@cygnus.com>
6749 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
6750 restore all call-clobbered fp regs.
6752 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
6754 * po/cs.po: New file.
6756 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
6759 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
6761 * signal/signal.h: Don't declare __libc_allocate_rtsig.
6762 * include/signal.h: Declare __libc_allocate_rtsig here.
6764 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
6765 point functions, not do_lookup since the later can be called more
6768 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
6770 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
6771 macro, so that architectures which need to add some special
6772 offset to stack pointer can share this file.
6774 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
6775 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
6776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
6777 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
6779 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
6780 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
6781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
6782 between sparc32 and sparc64.
6784 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
6785 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
6786 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
6787 between sparc32 and sparc64.
6789 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
6790 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
6791 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
6792 between sparc32 and sparc64.
6794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
6795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
6796 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
6797 between sparc32 and sparc64.
6799 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
6801 * Versions.def: New version GLIBC_2.1.1 for libc.
6802 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
6803 * stdlib/labs.c: Moved to...
6804 * sysdeps/generic/labs.c: ...here.
6805 * stdlib/llabs.c: Moved to...
6806 * sysdeps/generic/llabs.c: ...here.
6807 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
6808 header. Declare _Exit.
6809 * sysdeps/generic/_exit.c: Add alias _Exit.
6810 * sysdeps/mach/hurd/_exit.c: Likewise.
6811 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
6812 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
6813 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
6814 * sysdeps/unix/_exit.c: Likewise.
6815 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
6816 imaxdiv and imaxabs. Declare lldiv_t if necessary.
6817 * sysdeps/wordsize-64/inttypes.h: Likewise.
6818 * sysdeps/wordsize-32/llabs.c: New file.
6819 * sysdeps/wordsize-32/lldiv.c: New file.
6820 * sysdeps/wordsize-64/labs.c: New file.
6821 * sysdeps/wordsize-64/ldiv.c: New file.
6822 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
6823 * manual/startup.texi: Document _Exit.
6825 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6827 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
6829 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
6831 * Versions.def: Add versions for ld.so.
6832 * csu/Versions: Remove __libc_stack_end here.
6833 * elf/Versions: Split libc definitions in libc and ld.so definitions.
6834 * elf/Makefile (ld-map): Change to ld.so.map.
6835 * scripts/versions.awk: Recognize dot in library names.
6837 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
6838 Don't use __tolower and __toupper in inline functions.
6839 Add optimizing macros for tolower and toupper.
6840 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
6841 (_toupper): Don't use __toupper.
6842 * ctype/ctype.c (tolower): Don't use __tolower.
6843 (toupper): Don't use toupper.
6845 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
6847 * resolv/Versions (libresolv): Export __ns_name_unpack and
6849 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
6850 make it global. Change all users. Similar for ns_name_ntop.
6851 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
6852 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
6853 directly to detect too small buffer.
6854 * resolv/nss_dns/dns-network.c: Likewise.
6856 * stdio-common/Makefile (tests): Add scanf12.
6857 * stdio-common/scanf12.c: New file.
6858 * stdio-common/scanf12.input: New file.
6859 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
6860 floating-point correctly if the number is invalid.
6862 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
6864 * stdio-common/printf_fp.c: Likewise.
6865 * stdio-common/printf_fphex.c: Likewise.
6866 * stdio-common/vfprintf.c: Likewise.
6869 See ChangeLog.9 for earlier changes.