1 2000-02-25 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/powerpc/bzero.S: Moved to...
4 * sysdeps/powerpc/elf/bzero.S: ...here. New file.
6 2000-02-25 Andreas Jaeger <aj@suse.de>
8 * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been
9 fixed, we don't need to disable the warnings anymore, remove them.
10 * elf/Makefile (CFLAGS-dl-load.c): Likewise.
12 * posix/Makefile (CFLAGS-regex.c): Remove not needed warning
15 * posix/regex.c (regex_compile): Remove unused variables.
17 2000-02-25 Andreas Jaeger <aj@suse.de>
19 * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use
21 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
22 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24 2000-02-25 Andreas Jaeger <aj@suse.de>
26 * locale/programs/ld-ctype.c (allocate_arrays): Add missing
29 2000-02-25 Ulrich Drepper <drepper@redhat.com>
31 * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h",
32 "sys/ipc.h", "syslog.h", and "stropts.h".
33 Handle / in header names correctly.
34 * conform/data/stropts.h-data: New file.
35 * conform/data/syslog.h-data: New file.
36 * conform/data/sys/ipc.h-data: New file.
37 * conform/data/sys/mman.h-data: New file.
38 * conform/data/sys/msg.h-data: New file.
40 * misc/sys/mman.h: Define off_t and mode_t if not already done.
42 * streams/stropts.h: Define gid_t and uid_t if not already done.
44 * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU.
45 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
46 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
48 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
51 * sysvipc/sys/msg.h: Don't include sys/types.h.
52 Define time_t, pid_t, and ssize_t if not already done.
53 (struct msgbuf): Define only if __USE_GNU.
55 * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h.
56 (MSG_EXCEPT): Only define if __USE_GNU.
57 Define msgqnum_t and msglen_t and use them in struct msqid_ds
59 * sysdeps/gnu/bits/msq.h: Likewise.
60 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
61 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
62 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
64 * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET.
65 (FLUSHBAND): Only define is __USE_GNU.
66 (RPROTMASK): Likewise.
68 (MUXID_ALL): Likewise.
69 (struct strrecvfd): Rename fill to __fill.
71 2000-02-24 Ulrich Drepper <drepper@redhat.com>
73 * stdlib/stdlib.h: Move definition X/Open compatibility stuff
74 inside the main #ifdef.
76 2000-02-24 Geoff Clare <gwc@unisoft.com>
78 * posix/wordexp-test.c: Updated to include tests for all the
79 problems fixed by the last changes to wordexp.c.
81 2000-02-24 Ulrich Drepper <drepper@redhat.com>
83 * posix/sys/wait.h: Handle definitions duplicated in stdlib.h
85 * stdlib/stdlib.h: Handle definition of wait macros correctly.
87 * posix/sys/wait.h: Add missing #endif.
89 * stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
90 * stdlib/random_r.c: Change parameter types for initstate_t and
92 * include/stdlib.h: Change parameter types for __initstate_t and
95 2000-02-24 Andreas Jaeger <aj@suse.de>
97 * include/stdlib.h: Fix prototypes of __initstate and __setstate.
99 * manual/time.texi (Precision Time): Fix typo.
100 Patch by John Tobey <jtobey@ne.mediaone.net>, PR libc/1576.
102 2000-02-24 Ulrich Drepper <drepper@redhat.com>
104 * conform/conformtest.pl (@headers): Add string.h and strings.h.
105 * conform/data/string.h-data: New file.
106 * conform/data/strings.h-data: New file.
108 * string/string.h [__USE_XOPEN]: Don't declare functions from
109 <strings.h> here as well.
111 2000-02-23 Ulrich Drepper <drepper@redhat.com>
113 * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be
115 * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
116 * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
117 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
118 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
119 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
120 * sysdeps/generic/bits/waitstatus.h: Likewise.
122 * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one
123 error in expansion of ~user; correct handling of WRDE_APPEND and
124 WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command
125 substitutions; limit removal of newlines to those that are
126 really `trailing'; allow for current word to continue after
127 a command substitution (e.g. "a$(echo b)c"); restore pwordexp
128 members properly on error returns.
129 Patch by Geoff Clare <gwc@unisoft.com>.
131 * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
132 of width table is 4-byte aligned.
133 (ctype_output): Write out the entire width array.
135 * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
137 2000-02-23 Andreas Jaeger <aj@suse.de>
139 * dlfcn/dlopen.c: Include <stddef.h> for NULL.
140 * dlfcn/dlopenold.c: Likewise.
141 * dlfcn/dlsym.c: Likewise.
142 * dlfcn/dlvsym.c: Likewise.
143 * iconv/gconv.c: Likewise.
145 2000-02-23 Ulrich Drepper <drepper@redhat.com>
147 * conform/conformtest.pl (@headers): Add stdlib.h.
148 * conform/data/stdlib.h-data: New file.
150 2000-02-22 Ulrich Drepper <drepper@redhat.com>
152 * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
154 * iconv/iconv.h (iconv): Fix prototype.
156 * misc/libgen.h: When using gcc using renaming feature to get XPG
157 definition of basename.
159 * misc/search.h (struct entry): Fix type of element data.
161 * posix/unistd.h (getpagesize): Declare as const function.
163 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
164 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
165 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
166 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
168 * signal/signal.h [__USE_XOPEN]: Define uid_t.
169 (sigstack): Correct type of first parameter.
170 * sysdeps/generic/sigstack.c (sigstack): Likewise.
171 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
173 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of
174 old sysdeps/unix/sysv/linux/bits/siginfo.h.
175 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
176 * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
177 Change type to `long int'.
179 * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
181 * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
182 * sysdeps/posix/sigpause.c: Likewise.
184 * conform/conformtest.pl: Correct bugs. Add more functionality.
185 * conform/data/dlfcn.h-data: Correct typos.
186 * conform/data/ftw.h-data: Likewise.
187 * conform/data/iconv.h-data: Likewise.
188 * conform/data/nl_types.h-data: Likewise.
189 * conform/data/search.h-data: Likewise.
190 * conform/data/semaphore.h-data: New file.
191 * conform/data/setjmp.h-data: New file.
192 * conform/data/signal.h-data: New file.
193 * conform/data/stdarg.h-data: New file.
194 * conform/data/stddef.h-data: New file.
195 * conform/data/stdio.h-data: New file.
197 * po/de.po: Update from translation team.
199 1999-12-31 Martin Buchholz <martin@xemacs.org>
201 * argp/argp-help.c: Fix typos.
202 * argp/argp.h: Likewise.
203 * elf/dl-object.c: Likewise.
204 * elf/dl-open.c: Likewise.
205 * elf/elf.h: Likewise.
206 * elf/rtld.c: Likewise.
207 * iconv/gconv_open.c: Likewise.
208 * localedata/tst-fmon.data: Likewise.
209 * localedata/tst-rpmatch.sh: Likewise.
210 * login/programs/xtmp.h: Likewise.
211 * manual/arith.texi: Likewise.
212 * manual/charset.texi: Likewise.
213 * manual/creature.texi: Likewise.
214 * manual/llio.texi: Likewise.
215 * manual/search.texi: Likewise.
216 * manual/signal.texi: Likewise.
217 * manual/stdio.texi: Likewise.
218 * manual/string.texi: Likewise.
219 * manual/sysinfo.texi: Likewise.
220 * manual/users.texi: Likewise.
221 * manual/examples/argp-ex2.c: Likewise.
222 * manual/examples/argp-ex3.c: Likewise.
223 * manual/examples/argp-ex4.c: Likewise.
224 * manual/examples/mkfsock.c: Likewise.
225 * math/test-fenv.c: Likewise.
226 * nscd/nscd_gethst_r.c: Likewise.
227 * nss/test-netdb.c: Likewise.
228 * posix/regex.c: Likewise.
229 * scripts/test-installation.pl: Likewise.
230 * stdlib/canonicalize.c: Likewise.
231 * stdlib/fmtmsg.c: Likewise.
232 * string/argz-replace.c: Likewise.
233 * string/argz.h: Likewise.
234 * string/bits/string2.h: Likewise.
235 * sysdeps/generic/glob.c: Likewise.
236 * sysdeps/generic/setenv.c: Likewise.
237 * sysdeps/i386/memcmp.S: Likewise.
238 * sysdeps/posix/waitid.c: Likewise.
239 * time/tzset.c: Likewise.
241 2000-02-21 Ulrich Drepper <drepper@redhat.com>
243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
245 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
247 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
248 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
250 * elf/elf.h (ELF32_ST_OTHER): Removed.
251 (ELF64_ST_OTHER): Likewise.
253 * sysdeps/alpha/fpu/fpu_control.h: Update comment.
255 * malloc/Makefile (tests): Add tst-valloc.
256 * malloc/tst-valloc.c: New file.
258 2000-02-21 Andreas Jaeger <aj@suse.de>
260 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
261 IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
262 IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
263 * sysdeps/generic/bits/in.h: Likewise.
265 2000-02-21 Ulrich Drepper <drepper@redhat.com>
267 * po/gl.po: Update from translation team.
269 * timezone/antarctica: Update from tzdata2000b.
270 * timezone/asia: Likewise.
271 * timezone/australasia: Likewise.
272 * timezone/europe: Likewise.
274 * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
275 call to initialize malloc_getpagesize.
278 2000-02-20 Ulrich Drepper <drepper@redhat.com>
280 * po/it.po: Update from translation team.
282 2000-02-20 Philip Blundell <philb@gnu.org>
284 * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
286 2000-02-20 Ulrich Drepper <drepper@redhat.com>
288 * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
290 * po/de.po: Update from translation team.
292 2000-02-19 Ulrich Drepper <drepper@redhat.com>
294 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
295 _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
296 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
298 (prfpregset_t): Define using elf_fpregset_t.
300 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
301 definition compatible with definition in 2.1.2 and before.
302 (struct ucontext): Use fpregset_t.
303 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
304 as pointer to fpregset_t.
306 2000-02-18 Ulrich Drepper <drepper@redhat.com>
308 * string/bits/string2.h (strnlen): Add cast to prevent warning.
310 * nscd/connections.c (handle_request): Don't abort() if unknown
313 2000-02-17 Ulrich Drepper <drepper@redhat.com>
315 * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
316 if more than one IP address is available.
318 2000-02-17 Jakub Jelinek <jakub@redhat.com>
320 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
322 2000-02-16 Ulrich Drepper <drepper@redhat.com>
324 * locale/programs/charmap.c (charmap_read): Find charmap also in
325 the standard directory.
327 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
330 * sysdeps/unix/sysv/linux/execve.c: Pretty print.
332 * po/it.po: New file.
333 * po/pl.po: Update from translation team.
335 2000-02-16 Andreas Jaeger <aj@suse.de>
337 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
340 2000-02-16 Andreas Jaeger <aj@suse.de>
342 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
345 2000-02-15 Andreas Jaeger <aj@suse.de>
347 * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
349 2000-02-15 Andreas Jaeger <aj@suse.de>
351 * math/libm-test.inc (nearbyint_test): Add some tests.
352 (rint_test): Likewise.
354 2000-02-14 Ulrich Drepper <drepper@redhat.com>
356 * locale/programs/repertoire.c (repertoire_new_char): NUL
357 terminated names of character in range.
359 * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
360 Define and initialize use_outdigits in the inner loops.
362 * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
363 not exist. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
365 * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
366 enable it. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
367 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
368 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
370 2000-02-14 Andreas Jaeger <aj@suse.de>
372 * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
374 2000-02-14 Ulrich Drepper <drepper@redhat.com>
376 * manual/job.texi: Fix typos.
377 * manual/process.texi: Likewise.
378 * manual/signal.texi: Likewise.
380 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
383 2000-02-14 Scott Bambrough <scottb@netwinder.org>
385 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
386 Rebel-NetWinder to platform table so _ioperm platform lookup via
387 /proc/cpuinfo works on later version NetWinders.
389 2000-02-13 Ulrich Drepper <drepper@redhat.com>
391 * locale/programs/charmap.c (charmap_read): Remove erronous free
394 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
395 so test for overflow and handle it.
396 * sysdeps/i386/fpu/s_sinf.S: Likewise.
397 * sysdeps/i386/fpu/s_tanf.S: Likewise.
398 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
400 * iconvdata/Makefile (modules): Add UTF-16.
401 (distribute): Add utf-16.c.
402 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
404 * iconvdata/utf-16.c: New file.
405 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
406 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
407 PR libc/1580 and libc/1581.
409 * iconv/skeleton.c: Increment __invocation_counter after every call
412 2000-02-12 Andreas Jaeger <aj@suse.de>
414 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
415 declaration to place where it's needed to avoid compiler warning.
416 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
418 2000-02-12 Ulrich Drepper <drepper@redhat.com>
420 * locale/weightwc.h (findidx): Correct find index value.
422 * locale/nl_langinfo.h: Add casts to prevent warnings.
424 * wctype/iswctype_l.c: Use correct types for mapped data.
425 * wctype/wcfuncs.c: Add one more comment for clarification.
426 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
427 * wctype/wctrans.c: Likewise.
429 2000-02-12 Andreas Jaeger <aj@suse.de>
431 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
433 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
434 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
435 file and make dependend on RESOLVE.
436 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
437 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
439 2000-02-11 Ulrich Drepper <drepper@redhat.com>
441 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
443 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
444 alias for CURRENCY_SYMBOL.
445 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
446 information. [PR libc/1583].
448 2000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
450 * locale/weightwc.h: Fix problem with collating-element.
452 * locale/programs/ld-collate.c (collate_finish): Output wide
453 character collating-symbol, which has no wide strings.
455 * locale/programs/ld-collate.c (collate_output): Fix problem with
456 wide character collating-element.
458 2000-02-09 Andreas Jaeger <aj@suse.de>
460 * time/strptime.c (strptime_internal): Fix pointer dereference.
461 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
464 2000-02-08 Jakub Jelinek <jakub@redhat.com>
466 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
467 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
468 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
469 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
470 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
471 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
472 and oldshmctl to sysdep-routines.
474 2000-02-08 Andreas Jaeger <aj@suse.de>
476 * locale/programs/locale.c (write_locales): Fix handling of
478 Fixes PR libc/1588, reported by Miroslav Holcak
479 <miroslav.holcak@vitkovice.cz>.
481 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
483 * config.make.in: Add infodir.
484 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
487 2000-02-11 Ulrich Drepper <drepper@redhat.com>
489 * posix/getopt.c: Suppress messages if first character of
490 optstring is a colon (PR libc/1584).
492 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
493 and elf_* types to interpret values passed up from the kernel.
494 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
496 * locale/nl_langinfo.c: Correct return value in error case. Don't
497 set errno (PR libc/1582).
498 * manual/locale.texi: Update to reflect change.
500 2000-02-02 Andreas Schwab <schwab@suse.de>
502 * malloc/Makefile (distribute): Add memprof.h.
503 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
505 * sysdeps/generic/memprof.h: New file.
506 * sysdeps/alpha/memprof.h: New file.
507 * sysdeps/i386/memprof.h: New file.
508 * sysdeps/m68k/memprof.h: New file.
509 * sysdeps/mips/memprof.h: New file.
510 * sysdeps/powerpc/memprof.h: New file.
511 * sysdeps/sparc/memprof.h: New file.
513 2000-02-01 Jakub Jelinek <jakub@redhat.com>
515 * sysdeps/unix/sysv/linux/getresgid.c: Move...
516 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
517 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
519 * sysdeps/unix/sysv/linux/getresuid.c: Move...
520 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
521 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
523 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
524 __libc_missing_32bit_uids.
525 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
527 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
528 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
529 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
530 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
531 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
532 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
533 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
534 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
535 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
536 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
537 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
538 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
539 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
540 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
541 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
542 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
543 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
544 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
545 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
546 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
547 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
548 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
549 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
550 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
551 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
552 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
553 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
554 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
555 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
556 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
558 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
560 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
561 Make syscall directly, no stubs needed.
562 (getresgid): Likewise.
563 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
565 (getresgid): Likewise.
567 2000-02-11 Ulrich Drepper <drepper@redhat.com>
569 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
570 Reported by Bruno Haible <haible@ilog.fr>.
572 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
574 * stdio-common/printf_fp.c: Truely support wide characater output.
575 Finally handle decimal points and thousands separator characters
576 correctly for multibyte output.
577 * stdio-common/printf_size.c: Likewise.
578 * sysdeps/generic/printf_fphex.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
581 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
582 locale dependent digits.
584 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
585 decimal point and thousands separator values to wide characters from
586 wide character strings.
587 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
589 * locale/indigitswc.h: Dereference wcdigits array elements.
591 2000-02-03 Jakub Jelinek <jakub@redhat.com>
593 * stdlib/canonicalize.c (canonicalize): Zero terminate
594 path to copy on error.
596 2000-02-01 Cristian Gafton <gafton@redhat.com>
598 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
600 2000-01-31 Philip Blundell <philb@gnu.org>
602 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
604 2000-01-31 Andreas Jaeger <aj@suse.de>
606 * intl/Makefile (generated): msgs.h is generated.
608 * localedata/Makefile (generated-dirs): Add de_DE.437.
610 2000-01-31 Jakub Jelinek <jakub@redhat.com>
612 * config.make.in: Allow default localedir to come from configure.
613 * configure.in: Export libc_cv_localedir.
614 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
615 stuff into $exec_prefix/lib/locale because it can be shared between
616 32bit and 64bit libraries.
617 * configure: Rebuilt.
618 * sysdeps/unix/sysv/linux/configure: Rebuilt.
620 2000-01-31 Andreas Jaeger <aj@suse.de>
622 * inet/tst-network.c: New file.
623 * inet/Makefile (tests): Add tst-network.
625 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
626 to great last digits.
628 2000-02-10 Andreas Jaeger <aj@suse.de>
630 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
631 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
633 2000-02-09 Andreas Jaeger <aj@suse.de>
635 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
637 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
639 2000-02-08 Andreas Jaeger <aj@suse.de>
641 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
643 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
646 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
647 c_ispeed and c_ospeed which are not implemented.
649 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
650 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
651 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
652 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
653 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
655 2000-02-05 Andreas Jaeger <aj@suse.de>
657 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
658 work - set to 4 in accordance with changes made in the Linux/MIPS
659 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
662 2000-02-04 Andreas Jaeger <aj@suse.de>
664 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
667 2000-02-03 Andreas Jaeger <aj@suse.de>
669 * sysdeps/mips/abort-instr.h: New file.
671 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
673 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
675 * sysdeps/mips/stackinfo.h: New file.
677 2000-02-01 Andreas Jaeger <aj@suse.de>
679 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
681 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
683 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
685 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
686 Baechle <ralf@gnu.org>.
688 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
690 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
692 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
694 2000-01-31 Andreas Jaeger <aj@suse.de>
696 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
699 2000-01-30 Ulrich Drepper <drepper@redhat.com>
701 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
703 * sysdeps/alpha/fpu/fesetround.c: Likewise.
704 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
705 * sysdeps/arm/fpu/fesetround.c: Likewise.
706 * sysdeps/generic/feholdexcpt.c: Likewise.
707 * sysdeps/generic/fesetround.c: Likewise.
708 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
709 * sysdeps/i386/fpu/fesetround.c: Likewise.
710 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
711 * sysdeps/m68k/fpu/fesetround.c: Likewise.
712 * sysdeps/mips/fpu/fesetround.c: Likewise.
713 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
714 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
715 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
716 * sysdeps/sparc/fpu/fesetround.c: Likewise.
717 Patch by Miloslav Trmac <mitr@volny.cz>.
719 * locale/programs/ld-collate.c (struct locale_collate_t): Change
720 type of plane_size and plane_cnt to uint32_t.
721 Reported by Jakub Jelinek.
723 2000-01-29 Jakub Jelinek <jakub@redhat.com>
725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
726 (SYSCALL_ERROR_HANDLER): Optimize.
727 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
728 Include linux/sparc/sysdep.h.
729 Use a different guard define than linux/sparc/sysdep.h.
730 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
731 stubs for inlined syscalls.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
733 (SYSCALL_ERROR_HANDLER): Optimize.
734 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
735 Include linux/sparc/sysdep.h.
736 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
737 stubs for inlined syscalls.
738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
741 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
743 2000-01-29 Ulrich Drepper <drepper@redhat.com>
745 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
746 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
747 (_nl_unload_locale): If locale data was mmapped use munmap.
749 2000-01-29 Andreas Jaeger <aj@suse.de>
751 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
752 _EXTERN_INLINE, compile inline assembler functions only with gcc.
754 2000-01-29 Ulrich Drepper <drepper@redhat.com>
756 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
757 * catgets/gencat.c (read_input_file): Remove messages correctly.
758 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
759 adjacent colons correctly. Correct loops to read territory and
761 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
763 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
765 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
767 2000-01-28 Jakub Jelinek <jakub@redhat.com>
769 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
770 interface with symbol version GLIBC_2.2.
771 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
773 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
774 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
776 2000-01-27 Scott Bambrough <scottb@netwinder.org>
778 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
780 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
781 versioning setrlimit and getrlimit.
783 2000-01-27 Andreas Jaeger <aj@suse.de>
785 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
786 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
788 2000-01-27 Ruediger Oertel <ro@suse.de>
790 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
792 2000-01-29 Ulrich Drepper <drepper@redhat.com>
794 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
795 correct place to avoid uninitialized memory passed to writev.
797 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
798 long string in definition.Only enable returning wide character
799 strings if really needed.
800 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
802 * configure.in: Add check for recent enough sed version.
804 2000-01-28 Ulrich Drepper <drepper@redhat.com>
806 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
807 _i18n_itoa): Fix parameter lists.
809 * locale/C-monetary.c: Add initializers for new fields.
810 * locale/C-numeric.c: Likewise.
811 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
812 outdigits.h, and outdigitswc.h.
813 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
814 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
815 and _NL_NUMERIC_THOUSANDS_SEP_WC.
816 * locale/indigits.h: New file.
817 * locale/indigitswc.h: New file.
818 * locale/outdigits.h: New file.
819 * locale/outdigitswc.h: New file.
820 * locale/programs/ld-monetary.c: Write out decimal point and
821 thousands separator info in wide character form.
822 * locale/programs/ld-numeric.c: Likewise.
823 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
824 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
825 * stdio-common/_i18n_itoa.c: New file.
826 * stdio-common/_i18n_itoa.h: New file.
827 * stdio-common/_i18n_itowa.c: New file.
828 * stdio-common/_i18n_itowa.h: New file.
829 * stdio-common/printf-parse.h: Parse 'I' flag.
830 * stdio-common/printf.h (struct printf_info): Add i18n field.
831 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
834 2000-01-27 Geoff Keating <geoffk@cygnus.com>
836 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
839 * sysdeps/unix/sysv/linux/kernel-features.h
840 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
841 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
844 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
845 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
846 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
847 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
848 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
849 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
850 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
851 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
852 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
854 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
855 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
857 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
858 __curbrk off the small data area register. Reported by
859 Andrew Haley <aph@pasanda.cygnus.co.uk>.
861 2000-01-26 Andreas Jaeger <aj@suse.de>
863 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
865 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
867 * locale/Makefile (distribute): Remove nonexisting files.
868 * sysdeps/powerpc/Dist: Move FPU specific files to...
869 * sysdeps/powerpc/fpu/Dist: ...here. New file.
870 * nss/Makefile: Distribute files for new libdb interface.
871 * math/Makefile (distribute): Add README.libm-test.
872 Patch by Andreas Jaeger.
874 2000-01-26 David McCann <david.mccann@alcatel.at>
876 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
878 2000-01-25 Andreas Jaeger <aj@suse.de>
880 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
881 version check since we're using cpp.
883 2000-01-26 Jakub Jelinek <jakub@redhat.com>
885 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
888 2000-01-26 Andreas Jaeger <aj@suse.de>
890 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
891 about unitialised variable kbuf.
892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
893 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
895 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
897 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
899 (collate_read): Remove unnecessary `if'.
901 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
903 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
904 and load appropriate conversions.
905 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
907 * libio/libioP.h: Declare __libio_codecvt.
908 * manual/stdio.texi: Document ,ccs= option for fopen.
909 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
910 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
912 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
914 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
916 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
918 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
919 * posix/testfnm.c: Add a few more tests. Rearrange test output.
921 2000-01-25 Andreas Schwab <schwab@suse.de>
923 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
924 FNM_FILE_NAME consistently.
926 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
928 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
930 * posix/fnmatch_loop.c: Undefine STRCOLL.
932 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
933 kernels with stat64 support.
934 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
935 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
936 Patch by SL Baur <steve@xemacs.org>.
938 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
940 2000-01-24 Paul Eggert <eggert@twinsun.com>
942 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
943 deciding whether a character falls within a character range.
945 2000-01-24 Paul Eggert <eggert@twinsun.com>
947 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
950 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
954 2000-01-23 Paul Eggert <eggert@twinsun.com>
956 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
958 2000-01-23 Paul Eggert <eggert@twinsun.com>
960 * posix/regex.c (compile_range): When matching a character
961 range, use the current collating sequence, as POSIX requires.
963 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
965 * string/argz-stringify.c: Handle case of missing \0 at the end of
968 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
970 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
973 * locale/programs/ld-collate.c (collate_output): Also handle
974 IGNOREd characters in the simple way when generating the multibyte
977 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
979 (ctype_finish): ...here. Check for missing codeset name.
981 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
982 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
984 2000-01-24 Jakub Jelinek <jakub@redhat.com>
986 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
987 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
988 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
989 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
990 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
991 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
992 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
993 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
994 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
995 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
996 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
997 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
998 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
999 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1002 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1006 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
1007 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1008 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1009 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1010 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1011 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1012 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1013 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1015 2000-01-24 Jakub Jelinek <jakub@redhat.com>
1017 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
1018 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
1019 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1021 * sysdeps/unix/sysv/linux/arm/Versions: Remove
1022 setrlimit64@GLIBC_2.1.3.
1023 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
1024 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
1025 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
1026 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1027 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
1029 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
1031 setrlimit): Remove syscall stubs, add normal syscalls.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
1033 Remove syscall stub.
1035 2000-01-22 Andreas Jaeger <aj@suse.de>
1037 * localedata/tst-locale.sh: Enable test for de_DE.437.
1039 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1041 * string/Versions: Export __strndup.
1043 2000-01-23 Philip Blundell <philb@gnu.org>
1045 Add basic support for RPC over IPv6:
1046 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
1048 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
1050 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
1051 clntudp6_bufcreate): New prototypes.
1052 * inet/netinet/in.h (bindresport6): Likewise.
1053 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
1054 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
1055 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
1056 bindresvport6 for GLIBC_2.2.
1057 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
1058 * sunrpc/rpc_svcout.c: Likewise.
1059 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
1060 simple assignment when copying addresses.
1061 * sunrpc/svc_udp.c (cache_get): Likewise.
1062 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
1063 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
1064 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
1066 2000-01-05 Philip Blundell <philb@gnu.org>
1068 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
1070 2000-01-23 Andreas Jaeger <aj@suse.de>
1072 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
1073 parameter to fstat calls.
1075 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
1077 * sysdeps/generic/bits/socket.h
1078 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
1079 version, replacing old type name `__ss_align'.
1081 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1083 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
1084 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
1085 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
1086 (__lseek, lseek): Make these weak aliases for __libc_lseek.
1087 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
1088 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
1089 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
1090 (__open, open): Make these weak aliases for __libc_open.
1092 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
1094 (anonymous enum for MSG_*): Likewise.
1095 (anonymous enum for SO_*): Likewise.
1097 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1099 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
1102 2000-01-08 Mark Kettenis <kettenis@gnu.org>
1104 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
1105 (setitimer_locked): Use it to quantize the timer values. Use
1106 quantized timer values to check if the timeout changed.
1108 2000-01-22 Andreas Jaeger <aj@suse.de>
1110 * sunrpc/rpc/svc.h: Fix description for svc_register.
1112 2000-01-23 Mark Kettenis <kettenis@gnu.org>
1114 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
1116 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1118 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
1119 fixes part 2 of bug 1549.
1120 * sunrpc/rpc_des.h: Remove unused defines.
1122 2000-01-22 Mark Kettenis <kettenis@gnu.org>
1124 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
1126 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
1129 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
1130 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
1131 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1132 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
1133 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
1134 and other inline functions for port access.
1135 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
1138 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1140 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
1141 Patch by Bruno Haible <haible@ilog.fr>.
1143 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1145 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
1146 them all at the end, eliding the final comma.
1147 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1149 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
1151 * intl/libintl.h: Add format_arg attributes to declarations of new
1154 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1155 ngettext, and plural.
1156 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1157 (test-srcs): Add tst-gettext.
1158 (before-compile): Add $(objpfx)msgs.h.
1159 Add rules for plural.c and msgs.h generation and running tst-gettext.\
1160 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1162 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
1163 dcigettext with appropriate parameters.
1164 * intl/dcigettext.c: New file.
1165 * intl/dcngettext.c: New file.
1166 * intl/dngettext.c: New file.
1167 * intl/ngettext.c: New file.
1168 * intl/gettextP.h (struct expression): Define.
1169 (struct loaded_domain): Add plural and nplurals members.
1170 Add prototypes for new internal functions.
1171 * intl/libintl.h: Declare new functions. Add optimizations for them.
1172 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1173 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1174 header entry and parse and store the expression.
1175 * intl/plural.y: New file.
1176 * intl/po2test.sed: New file.
1177 * intl/tst-gettext.c: New file.
1178 * intl/tst-gettext.sh: New file.
1179 * manual/message.texi: Document new interfaces.
1181 * intl/gettext.c: Call __dcgettext directly.
1183 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
1185 * manual/getopt.texi (Using the getopt function): Fix description of
1186 return value for format string starting with '-' (PR libc/1551).
1187 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1189 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1190 Patch by jens.moeller@westgeo.com (PR libc/1550).
1192 * locale/programs/ld-collate.c (struct element_t): Add wclast
1193 and compute it where necessary.
1194 (collate_output): Insert indirect references in the right order.
1196 * math/Makefile (tests): Add test-misc.
1197 * math/test-misc.c: New file.
1199 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
1201 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1202 with exponent >31 and < 63 (PR libc/1548).
1204 * locale/programs/ld-collate.c (output_weightwc): Return index
1205 measured in words, not bytes. Don't write out words for ignored
1207 (collate_output): Correct various problems with alignment in the
1209 * locale/weight.h: Adjust for last change in ld-collate.c of adding
1212 * stdlib/strfmon.c: Don't report an error if final NUL is at the
1213 end of the buffer. Set errno correctly if floating-point number
1214 would overflow buffer.
1216 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1218 * locale/weight.h (findidx): Little optimization. Correctly return
1219 offset in indirect table.
1220 * locale/programs/ld-collate.c (struct element_t): Add mblast
1221 and compute it where necessary.
1222 (insert_weights): Correctly handle missing weights in ellipsis
1224 (handle_ellipsis): Correctly enqueue new element.
1225 (collate_output): Insert indirect references in the right order.
1227 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1229 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1231 * wcsmbs/mbsrtowcs.c: Likewise.
1232 * wcsmbs/wcrtomb.c: Likewise.
1233 * wcsmbs/wcsrtombs.c: Likewise.
1235 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1238 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1241 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1242 incomplete but correct.
1244 * locale/programs/charmap.c: NUL-terminate names of generated
1245 entries for ellipsis.
1247 2000-01-18 Andreas Jaeger <aj@suse.de>
1249 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1250 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1251 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1252 _STAT_VER_KERNEL handling up; don't save errno.
1253 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1254 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1255 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1256 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1257 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1258 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1259 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1260 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1263 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1265 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1266 Remove done variable and all uses.
1267 * iconv/skeleton.c: Update comment for *written modification.
1268 * iconv/gconv_int.h (__gconv): Update comment.
1269 Reported by Bruno Haible.
1271 2000-01-18 Bruno Haible <haible@ilog.fr>
1273 * posix/fnmatch.c (ISWCTYPE): New macro.
1274 (__wcschrnul): New function.
1275 (BTOWC): New macro. Define it instead of __btowc.
1276 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1277 wcsrtombs. Call wctype, not __wctype.
1278 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1279 BTOWC instead of __btowc.
1281 2000-01-18 Andreas Jaeger <aj@suse.de>
1283 * inet/Versions: Add new functions added on 2000-01-17.
1285 2000-01-18 Jakub Jelinek <jakub@redhat.com>
1287 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1289 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1291 * timezone/antarctica: Update from tzdata2000a.
1292 * timezone/asia: Likewise.
1293 * timezone/australasia: Likewise.
1294 * timezone/backward: Likewise.
1295 * timezone/northamerica: Likewise.
1296 * timezone/southamerica: Likewise.
1297 * timezone/zone.tab: Likewise.
1299 * nscd/connections.c (dbs): Use
1300 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1303 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1304 address. Suggested by Philip Blundell.
1306 * posix/TESTS: Fix expected result for test cases with * with no
1309 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1310 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
1311 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1312 open call would require read permission.
1313 Patch by James Antill <james@and.org>.
1315 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1317 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1318 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1319 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1321 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1322 * posix/regex.c (regex_compile): Return appropriate errors for
1323 unterminated brace expressions. Detect invalid characters
1324 in brace expressions.
1325 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1326 * sysdeps/posix/sysconf.c: Include regex.h.
1327 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1329 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1331 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1332 AI_NUMERICHOST flag is set, return an error.
1333 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1335 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1337 * inet/rexec.c: Implement rexec_af.
1338 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1340 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1343 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1345 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1346 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1347 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1348 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1349 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1350 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1351 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1352 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1353 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1354 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1355 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1356 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1358 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1359 Renamed from msgctl.
1360 (__new_msgctl): New function.
1361 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1362 Renamed from semctl.
1363 (__new_semctl): New function.
1364 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1365 Renamed from shmctl.
1366 (__new_shmctl): New function.
1368 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1369 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1370 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1371 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1372 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1373 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1374 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1375 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1377 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1381 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1383 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1388 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1392 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1393 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1395 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1396 available on sparc since 2.3.39.
1398 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1400 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1402 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1404 (__real_chown): Return EINVAL if owner or group are out of the range
1406 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1407 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1408 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1409 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1410 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1411 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1412 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1413 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1415 Don't include non-existant header.
1416 (__chown): Return EINVAL if owner or group are out of the range
1418 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1419 setresgid): Inherit standard linux/syscalls.list definitions.
1420 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1422 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1425 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1427 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1428 from 1989 change in ISO 639.
1430 2000-01-12 Andreas Jaeger <aj@suse.de>
1432 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1433 function; needed for 32bit uid support.
1435 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1438 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1440 * intl/locale.alias: Add entries for galician.
1442 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1443 try to get sequence from charmap with Uxxxxxxxx name.
1444 (charclass_ucs4_ellipsis): Likewise.
1445 (charclass_charcode_ellipsis): Allow byte sequence missing.
1446 (read_writestring): Free allocated memory in case of an error.
1447 (set_class_defaults): Don't search repertoire map for wide character
1448 default values; we know it's UCS4.
1450 * locale/programs/repertoire.c (repertoire_find_value): Just return an
1451 error if no repertoire map was loaded.
1452 (repertoire_find_symbol): Likewise.
1453 (repertoire_find_seq): Likewise.
1455 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
1456 twice, to define singlebyte and multibyte version.
1457 (fnmatch): Differentiate between singlebyte and multibyte locale and
1458 call appropriate internal function.
1459 * posix/fnmatch_loop.c: New file.
1460 * posix/Makefile (distribute): Add fnmatch_loop.c.
1462 * locale/programs/repertoire.c (repertoire_read): Don't print
1463 error message when repertoire map is missing.
1464 (repertoire_complain): Print error message for missing map, but only
1466 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1468 * locale/programs/linereader.c (get_string): Prefer getting names
1469 from charseq entries. Try finding Uxxxxxxxx names in charmap
1470 before trying to map from repertoire.
1472 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1475 error in last change.
1476 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1478 * stdlib/longlong.h: Fix typo in last patch.
1480 2000-01-12 Andreas Jaeger <aj@suse.de>
1482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1483 Added for Linux 2.3.39+.
1485 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1487 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1488 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1489 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1490 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1491 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1492 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1493 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1494 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1496 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1497 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1500 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1501 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1503 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1504 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1505 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1506 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1507 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1508 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1509 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1510 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1511 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1512 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1513 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1514 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1515 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1516 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1517 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1518 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1519 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1520 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1521 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1522 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1524 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1526 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1528 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1530 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1532 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1534 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1536 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1538 * sysdeps/generic/backtrace.c: Include signal.h which
1539 sigcontextinfo.h headers are used to expect.
1540 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1541 (register_dump): Fix a typo in the printout.
1542 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1544 (ADVANCE_STACK_FRAME): Likewise.
1546 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1547 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1548 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1551 to make it clear this file depends on __WORDSIZE.
1552 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1553 Renamed from have_no_truncate64.
1554 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1557 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1559 * Makeconfig (rpath-dirs): Remove db2.
1560 (dbojdir): Remove variable.
1562 * locale/programs/locfile.h (handle_copy): Take repertoire map
1563 name as parameter, not pointer to repertoire structure.
1564 * locale/programs/ld-address.c: Change caller.
1565 * locale/programs/ld-ctype.c: Likewise.
1566 * locale/programs/ld-identification.c: Likewise.
1567 * locale/programs/ld-measurement.c: Likewise.
1568 * locale/programs/ld-messages.c: Likewise.
1569 * locale/programs/ld-monetary.c: Likewise.
1570 * locale/programs/ld-name.c: Likewise.
1571 * locale/programs/ld-numeric.c: Likewise.
1572 * locale/programs/ld-paper.c: Likewise.
1573 * locale/programs/ld-telephone.c: Likewise.
1574 * locale/programs/ld-time.c: Likewise.
1576 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1578 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1579 mmap2 is available when compiling but no at runtime.
1581 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1583 * iconvdata/iso-ir-165.c: New file.
1584 * iconvdata/iso-ir-165.h: New file.
1585 * iconvdata/Makefile: Add rules to build libISOIR165.
1587 * Makefile (install): Correct passing -r parameter to ldconfig.
1589 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1590 Reported by Bruno Haible <haible@ilog.fr>.
1592 2000-01-11 Andreas Schwab <schwab@suse.de>
1594 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1596 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1598 * nss/getent.c: Add ipv6 support for hosts.
1600 2000-01-05 Philip Blundell <pb@futuretv.com>
1602 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1603 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1604 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1606 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1607 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1608 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1609 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1610 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1611 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1613 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1614 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1615 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1617 2000-01-09 Andreas Jaeger <aj@suse.de>
1619 * manual/install.texi (Tools for Compilation): Update required
1621 (Configuring and compiling): Restore old comments about
1622 configparms; modify to reflect current usage.
1624 2000-01-09 Philip Blundell <philb@gnu.org>
1626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1627 resolution if the hints included AI_NUMERICHOST.
1629 2000-01-11 Andreas Schwab <schwab@suse.de>
1631 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1632 infinite loop to avoid pulling in stdio in the dynamic linker.
1633 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1635 2000-01-10 Andreas Jaeger <aj@suse.de>
1637 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1638 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1640 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1642 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1643 gregset_t, fpregset_t, and NGREG definitions.
1645 * sysdeps/mips/Implies: Add wordsize-32.
1647 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1650 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1653 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1654 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1655 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1656 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1657 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1658 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1659 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1661 2000-01-09 Philip Blundell <philb@gnu.org>
1663 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1664 (dl_platform_init): Allow _dl_platform to be NULL.
1666 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1669 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1671 * nscd/connections.c (handle_request): Handle systems without
1673 (nscd_run): Likewise.
1675 2000-01-07 Andreas Jaeger <aj@suse.de>
1677 Add support for Berkeley db 3.0.x and merge db support:
1678 * nss/nss_db/dummy-db.h (struct db30): New.
1679 (struct dbc30): New.
1682 * nss/makedb.c: Move all database routines to db-open.c.
1683 (main): Adjust to interface changes.
1684 Load database early to initialize version dependend variables.
1686 * nss/db-open.c: Merge database routines from makedb.c.
1687 Define version dependend constansts as variables.
1688 (load_db): Check also for db 3.
1689 (internal_setent): Call dbopen.
1690 (db_cursor): New function from makedb; handles db 3 now.
1691 (dbopen): New function from makedb; handles db 3.
1693 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1694 different in different DB versions.
1696 * nss/nss_db/nss_db.h: Add version dependend constants as
1697 variables, add exportet interfaces from db-open.c.
1699 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1701 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
1703 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1704 Reported by Jim Meyering.
1706 * time/strftime.c: Pretty printing.
1708 2000-01-07 Andreas Jaeger <aj@suse.de>
1710 * manual/socket.texi (Host Names): Fix example.
1711 Reported by Marco Budde <budde@telos.de>.
1713 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
1715 * localedata/Makefile (install-locales): Create locale directory
1716 if it does not exist.
1718 * locale/programs/charmap.c (charmap_read): Call lr_open here and
1719 not in parse_charmap. Try also the directories on the I18NPATH.
1720 (parse_charmap): Change accordingly.
1722 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1724 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1725 and oldsetrlimit64.c.
1727 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1730 * manual/texinfo.tex: Updated from latest official version.
1732 * debug/Makefile (distribute): Add frame.h.
1734 2000-01-05 Philip Blundell <philb@gnu.org>
1736 * sysdeps/arm/frame.h: New file.
1737 * sysdeps/generic/frame.h: Likewise.
1738 * sysdeps/generic/segfault.c (struct layout): Delete definition;
1739 include the above file instead.
1740 * sysdeps/generic/backtrace.c (struct layout): Likewise.
1741 (__backtrace): Use ADVANCE_STACK_FRAME.
1742 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1743 (ADVANCE_STACK_FRAME): New macro.
1744 (GET_FRAME): Apply above to returned value.
1746 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1748 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1750 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1751 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1753 * io/ftw.c (process_entry): Cache object dev/inode only for
1754 directories (PR libc/1514).
1756 2000-01-05 Andreas Schwab <schwab@suse.de>
1758 * locale/programs/charmap.c (charmap_read): Fix typo.
1760 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1762 * locale/programs/charset.c: Removed.
1764 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1765 * iconvdata/gconv-modules: Likewise.
1766 * iconvdata/iso8859-16.c: New file.
1768 2000-01-05 Andreas Schwab <schwab@suse.de>
1770 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1772 2000-01-05 Andreas Jaeger <aj@suse.de>
1774 * intl/locale.alias: Add lithunian entry.
1775 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1777 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1779 * locale/programs/stringtrans.c: Removed.
1780 * locale/programs/stringtrans.h: Removed.
1781 * locale/programs/linereader.c: Remove #include of stringtrans.h.
1783 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1784 _POSIX_MAPPED_FILES is not defined.
1786 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1789 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1790 _nl_POSIX_name instead of "C" and "POSIX" strings.
1792 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1793 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1794 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
1795 reuse the _nl_C_LC_CTYPE_tolower table.
1796 (_nl_C_LC_CTYPE_toupper32): Likewise.
1797 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1800 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1802 (_nl_C_LC_CTYPE_class32): Likewise.
1804 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1806 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1807 after the operation is done. Let them linger for a user-definable
1809 * rt/aio_cancel.c: Likewise.
1810 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1812 * sysdeps/i386/i686/add_n.S: New file.
1814 2000-01-02 Philip Blundell <philb@gnu.org>
1816 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1817 to obtain port mapping information. Avoid use of mprotect.
1819 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1822 definition from 2.3.36.
1824 2000-01-04 Andreas Jaeger <aj@suse.de>
1826 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1827 (struct db27): Add missing fields byteswapped, join and flags;
1828 remove wrong member handleq.
1829 (struct dbc27): Correct lock field.
1831 * nss/makedb.c: Remove __P.
1833 2000-01-04 Andreas Jaeger <aj@suse.de>
1835 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1836 success, fix a memory leak and clean up function.
1838 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1840 * Makefile (install): Pass $(install_root) to ldconfig.
1841 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1843 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1845 * soft-fp/op-1.h: Fix division for machines using not normalizing
1846 version of udiv_qrnnd in longlong.h.
1847 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1848 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1849 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1850 Patch by Eddie C. Dost <ecd@skynet.be>.
1852 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1854 2000-01-03 Andreas Schwab <schwab@suse.de>
1856 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1857 needed for change in common symbol handing in newer binutils.
1859 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1861 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1862 kernel without mmap2 syscall.
1864 2000-01-03 Philip Blundell <philb@gnu.org>
1866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1867 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1868 ARM for kernels >= 2.3.35.
1870 2000-01-03 Philip Blundell <philb@gnu.org>
1872 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1873 Optimise error handling a little.
1874 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1876 2000-01-03 Andreas Jaeger <aj@suse.de>
1878 * include/resolv.h: Remove declarations for __ns_name_ntop and
1879 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1881 2000-01-03 Andreas Jaeger <aj@suse.de>
1883 * time/tst-strptime.c (test_tm): Add tests for all fields of
1886 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1888 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1890 2000-01-03 Andreas Jaeger <aj@suse.de>
1892 * string/tester.c (test_strsep): Add one more test.
1894 2000-01-03 Philip Blundell <philb@gnu.org>
1896 * string/tester.c (test_mempcpy): New function.
1898 (test_memcpy): Test unaligned cases too.
1900 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1902 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1904 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1906 * posix/Makefile (tests): Add tst-mmap.
1907 * posix/tst-mmap.c: New file.
1909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1910 call before handling error.
1912 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1913 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1915 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1917 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1918 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1920 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1921 * iconvdata/testdata/ISO-2022-KR: Likewise.
1923 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1925 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1927 * iconvdata/Makefile (distribute): Remove baltic.c.
1928 (modules): Remove BALTIC.
1929 (gen-8bit-gap-modules): Remove baltic.
1930 * iconvdata/baltic.c: Removed.
1932 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1934 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1937 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1938 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1940 * nss/Makefile: Add rules to build makedb.
1941 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1942 * nss/nss_db/dummy-db.h: Likewise.
1943 * nss/makedb.c: New file. Copied from file in db2, modified to not
1944 depend on being linked against libdb.
1946 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1948 * Makeconfig (all-subdirs): Remove db and db2.
1952 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1953 functions from here...
1954 * nss/db-alias.c: ...and here...
1955 * nss/db-netgrp.c: ...and here...
1956 * nss/nss_db/db-open.c: ...to here. New file.
1957 * nss/nss_db/dummy-db.h: New file.
1958 * nss/nss_db/nss_db.h: New file.
1959 * nss/Depend: Depend in dlfcn, not db2.
1960 * nss/Makefile (libnss_db-routines): Add db-open.
1961 (distribute): Add nss_db.h dummy-db.h.
1962 (libnss_db.so): Replace libdb dependency by $(libdl).
1963 Based on a patch by Zack Weinberg.
1965 * locale/programs/ld-ctype.c: Implement rest of transliteration
1967 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1968 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1970 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1972 * locale/programs/ld-collate.c (collate_output): Emit correct
1973 information for collation elements.
1974 Don't write over end of array idx.
1975 * posix/regex.c: Handle also collation elements at end of range.
1977 * posix/PTESTS: Fix a few typos.
1979 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1980 no idea where this came from.
1981 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1983 1999-12-31 Andreas Jaeger <aj@suse.de>
1985 * libio/strfile.h: Remove K&R compatibility.
1986 * locale/langinfo.h: Likewise.
1987 * locale/localeconv.c (localeconv): Likewise.
1988 * locale/programs/simple-hash.h: Likewise.
1989 * nis/nis_xdr.h: Likewise.
1990 * nis/rpcsvc/nislib.h: Likewise.
1991 * nis/rpcsvc/nis_callback.h: Likewise.
1992 * nis/rpcsvc/nis.h: Likewise.
1993 * nis/ypclnt.c: Likewise.
1994 * nscd/nscd_proto.h: Likewise.
1995 * nscd/nscd.c: Likewise.
1996 * sysdeps/generic/inttypes.h: Likewise.
1997 * sysdeps/gnu/utmpx.h: Likewise.
1999 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
2000 * sunrpc/rpcsvc/rusers.x: Likewise.
2002 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
2004 * elf/dl-misc.c: Remove __libc_write prototype since it's already
2005 in include/unistd.h.
2006 * elf/dl-profile.c: Likewise.
2007 * elf/dl-load.c: Likewise for __libc_read.
2009 * elf/dl-profile.c: Remove __P.
2010 * elf/sprof.c: Likewise.
2011 * elf/sln.c: Likewise.
2013 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
2015 * locale/langinfo.h: Add constants for wide character collation
2017 * locale/categories.def: Add appropriate entries for collate symbol
2019 * locale/C-collate.c: Add initializers for new entries.
2020 Remove commented out code.
2021 * locale/elem-hash.h: New file.
2022 * locale/Makefile (distribute): Add elem-hash.h.
2023 * locale/programs/ld-collate.c: Implement output of collate symbol
2026 * posix/regex.c: Implement collation class handling.
2028 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2030 * posix/regex.c (regex_compile): Implement equivalence class handling.
2032 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
2034 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
2035 (OPCODE_LWZU): New macro.
2036 (OPCODE_ADDIS_HI): New macro.
2037 (OPCODE_LIS_HI): New macro.
2038 (__elf_machine_runtime_setup): Change PLT code-generation scheme
2039 for thread safety even with very large PLTs, better efficiency,
2040 and to fix a cache-flushing bug. Also support the Motorola
2041 8xx processors which have a different cache line size than all
2043 (__elf_machine_fixup_plt): Likewise.
2044 (__process_machine_rela): Don't use elf_machine_fixup_plt.
2046 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2048 * wcsmbs/wcscoll.c: Use multibyte character version.
2049 * wcsmbs/wcsxfrm.c: Likewise.
2050 * string/strcoll.c: Prepare to be used for the wide character version.
2051 * string/strxfrm.c: Likewise.
2052 * locale/weightwc.h: New file.
2054 1999-12-30 Geoff Keating <geoffk@cygnus.com>
2056 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
2057 the (void) casts as now feraiseexcept returns a value.
2058 (feclearexcept): Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
2061 it interferes with the macros for AIX.
2063 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2065 * locale/programs/ld-collate.c (collate_finish): Always define
2066 weight for UNDEFINED if not defined by the user but don't complain
2067 unless it is needed in the multibyte character table.
2068 (collate_output): Add extra dummy elements in wide char tables in the
2069 same way done for multibyte. Always output undefined entry in
2070 wide character table.
2072 * locale/Makefile (categories): Remove commented-out old definition.
2074 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
2075 to new_element if the wide char is not valid.
2076 (handle_ellipsis): Likewise.
2077 (collate_read): It's no problem if the string in the collating element
2078 definition cannot be represented as multibyte or wide char string.
2080 1999-12-13 Andreas Jaeger <aj@suse.de>
2082 * resolv/resolv.h: Remove K&R compatibility.
2084 * resolv/res_libc.c: Move definition of _res after res_init,
2085 res_init should use the threaded specific context.
2087 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
2090 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
2092 * locale/langinfo.h: Add constants for wide character collation data.
2093 * locale/categories.def: Add appropriate entries for collate entries.
2094 * locale/C-collate.c: Add initializers for new entries.
2095 * locale/programs/ld-collate.c: Implement output of wide character
2098 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
2099 compute wide character table size a bit: it now gives up a bit of
2100 total table size for fewer levels.
2102 * soft-fp/*: Tons of new files to implement floating-point arithmetic
2104 Contributed by Richard Henderson, Jakub Jelinek and others.
2106 1999-12-29 Andreas Jaeger <aj@suse.de>
2108 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
2109 <asm/io.h>; remove K&R compatibility; add missing ints.
2111 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
2114 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
2116 1999-12-29 Andreas Jaeger <aj@suse.de>
2118 * manual/getopt.texi (Using Getopt): Document ordering of options.
2120 1999-12-29 Andreas Jaeger <aj@suse.de>
2122 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
2123 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2125 1999-12-14 Andreas Jaeger <aj@suse.de>
2127 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2130 1999-12-28 Jakub Jelinek <jakub@redhat.com>
2132 * elf/sprof.c (load_shobj): Fix error message.
2133 (generate_call_graph): Cast %*s length argument to int.
2134 * locale/programs/localedef.c (construct_output_path): Likewise.
2135 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
2137 (ctype_class_new): Likewise.
2138 * locale/programs/ld-time.c (time_finish): Likewise.
2139 * sunrpc/svc_simple.c (register_rpc): Likewise.
2140 * nscd/connections.c (nscd_run, start_threads): Use long instead of
2141 int to avoid cast warnings.
2142 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
2144 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
2147 * time/strftime.c (my_strftime): Provide wide era string when
2150 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2151 Separate into 32bit and 64bit versions.
2153 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
2155 * iconvdata/Makefile (modules): Add ISO-2022-CN.
2156 Add link rules for this module.
2157 (distribute): Add iso-2022-cn.c and cns11643l2.h.
2158 * iconvdata/cns11643l2.h: New file.
2159 * iconvdata/iso-2022-cn.c: New file.
2160 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2162 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2164 (ucs4_to_cns11643l1): Likewise.
2165 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2167 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2169 Optimize recognition of escape sequences a bit.
2171 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2172 and oldsetrlimit definitions.
2174 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2176 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2177 identifying errors more easily.
2179 * iconvdata/testdata/EUC-CN..UTF8: New file.
2180 * iconvdata/testdata/GBK..UTF8: New file.
2182 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2183 mappings. Fix last patch.
2184 * iconvdata/TESTS: Add GBK.
2185 * iconvdata/testdata/GBK: New file.
2187 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2188 0x2312, and 0x2500..0x254b.
2189 * iconvdata/TESTS: Add EUC-CN.
2190 * iconvdata/testdata/EUC-CN: New file.
2192 * iconvdata/gbgbk.c: New file.
2193 * iconvdata/Makefile (modules): Add GBGBK.
2194 (distribute): Add gbgbk.c.
2195 * iconvdata/gconv-modules: Add entries for GBGBK modules.
2197 * iconvdata/euc-cn.c: Fix comment.
2199 * iconvdata/gbk.c: Optimize the switch statement in the conversion
2202 * locale/programs/charmap.c (charmap_new_char): Recognize special
2203 character names Uxxxx and Pxxxx and initialize the UCS4 value from
2206 1999-12-17 Andreas Jaeger <aj@suse.de>
2208 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2210 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2212 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2213 * stdlib/exit.h (flavor): Add ef_cxa.
2214 (exit_function): Add cxa variant.
2215 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2216 * stdlib/cxa_atexit.c: New file.
2217 * stdlib/cxa_finalize.c: New file.
2219 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2221 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2224 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2226 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2228 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2229 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2231 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2232 of <asm/resource.h>.
2234 1999-12-26 Philip Blundell <philb@gnu.org>
2236 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
2237 argument count for `syscall' to 7.
2238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2239 with more than five arguments.
2240 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2242 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2244 * locale/programs/ld-collate.c (collate_output): Don't start with empty
2245 extrapool and indirectpool obstacks since we need the offsets to be
2247 (collate_read): Call load_locale, not find_locale.
2248 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2249 wasn't defined in the file also initialize repertoire if possible.
2250 * locale/programs/ld-time.c (time_finish): Fix message string.
2251 * locale/programs/linereader.c: Cast parameters of lr_error to
2252 correct type to prevnet warning.
2253 * locale/programs/localedef.c (load_locale): New file.
2254 * locale/programs/localedef.h: Add its prototype.
2255 * locale/programs/repertoire.c (repertoire_new_char): Add missing
2256 parameters to lr_error call.
2258 * localedata/Makefile: Enable running tests again.
2259 * localedata/tests/test2.def: Adjust syntax to new specification.
2260 * localedata/tests/test3.def: Likewise.
2261 * localedata/tst-trans.sh: Redirect output of program into file.
2263 * string/strcoll.c: Fix many error in new implementation to make it
2264 pass (at least) the test suite.
2266 * locale/Makefile: Don't link localedef statically anymore.
2268 * locale/ld-collate.c (struct element_t): Add field is_character and
2269 use it to distinguish real character from collating elements and
2271 (new_element): Take new parameter to initialize is_character. Change
2273 (handle_ellipsis): Use is_character field to make sure ellipsis is
2274 only used with characters.
2275 (collate_read): Fix reading of collating elements.
2277 * string/strxfrm.c: Correct loop end detection and memory access
2278 in the little optimization at the end.
2280 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2281 emit warnings. Provide default value for mon_decimal_point.
2283 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2284 category wasn't defined.
2285 (collate_output): Likewise.
2287 * locale/programs/ld-address.c: Don't emit message about not defined
2288 category if be_quiet.
2289 * locale/programs/ld-ctype.c: Likewise.
2290 * locale/programs/ld-identification.c: Likewise.
2291 * locale/programs/ld-measurement.c: Likewise.
2292 * locale/programs/ld-messages.c: Likewise.
2293 * locale/programs/ld-monetary.c: Likewise.
2294 * locale/programs/ld-name.c: Likewise.
2295 * locale/programs/ld-numeric.c: Likewise.
2296 * locale/programs/ld-paper.c: Likewise.
2297 * locale/programs/ld-telephone.c: Likewise.
2298 * locale/programs/ld-time.c: Likewise.
2300 * locale/programs/locfile.c (write_locale_data): Correct memory
2301 allocation for fname.
2303 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
2305 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2306 (collate_finish): Test that position is used in all sections for
2309 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
2310 of the index returned by findidx.
2312 * string/strcoll.c: Complete rewrite for new collate implementation.
2313 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2316 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2318 * locale/langinfo.h: Likewise.
2319 * locale/categories.def: Likewise. Remove reference to postload
2321 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
2322 __collate_tablemb, __collate_weightmb, and __collate_extramb.
2323 * locale/localeinfo.h: Remove declaration for removed variables above.
2324 Remove prototype for _nl_get_era_entry.
2325 * locale/weight.h: Complete rewrite for new collate implementation.
2326 * locale/programs/ld-collate.c: Many changes to make output file
2327 usable in strxfrm/strcoll.
2328 * string/strxfrm.c: Complete rewrite for new collate implementation.
2329 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2332 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2334 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2335 transformation values for chars >255.
2336 * wctype/wctrans.c: Return pointer unmodified.
2338 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
2340 * sysdeps/posix/system.c (__libc_system): Check whether command
2341 processor is available if LINE is NULL. Don't return immediately
2342 if wait call returned with EINTR.
2343 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2345 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
2347 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2350 * locale/programs/ld-collate.c: Implement writing out multibyte
2353 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2354 * locale/localeinfo.h: Declare variables only for currently implemented
2355 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2356 * locale/lc-collate.c: Define variables only for currently implemented
2358 * locale/langinfo.h: Define symbols only for currently implemented
2360 * locale/categories.def: Define elements for currently implemented
2362 * locale/C-collate.c: Comment out definitions of arrays with symbol
2363 name definitions etc.
2364 (_nl_C_LC_COLLATE): Update for currently defined information.
2366 * intl/libintl.h: Remove dcgettext macro definition.
2367 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2369 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
2371 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2372 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
2374 1999-12-22 Jakub Jelinek <jakub@redhat.com>
2376 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2377 for __fenv_stfsr argument.
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2379 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2381 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2383 (XSTAT_IS_XSTAT64): Define.
2384 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2385 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2386 and __libc_pwrite64.
2387 Remove oldgetrlimit and oldsetrlimit.
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2390 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2392 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2393 pointer to the syscall, not address of that pointer.
2394 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2395 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2396 (__syscall_stat64): Provide proper prototype.
2398 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2399 has_no_truncate64 between truncate64 and ftruncate64.
2400 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2402 * sysdeps/unix/sysv/linux/kernel-features.h
2403 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2404 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2406 1999-12-22 Andreas Jaeger <aj@suse.de>
2408 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2409 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2411 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2413 * locale/lc-time.c: Extend structure era_entry.
2414 * locale/localeinfo.h: Likewise.
2415 * locale/lc-time.c: Handle '-' direction used in locale's era part
2417 * time/strptime.c: Likewise.
2418 * time/strftime.c: Likewise.
2419 * locale/programs/ld-time.c: Consider negative values in era part
2421 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2422 %E[CyY] implementation.
2424 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
2426 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2427 of recursive() call.
2428 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2431 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2433 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2434 Patch by Scott Bambrough <scottb@netwinder.org>.
2436 1999-12-21 Andreas Schwab <schwab@suse.de>
2438 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2440 * include/unistd.h: Declare __libc_lseek.
2442 1999-12-21 Andreas Jaeger <aj@suse.de>
2444 * stdlib/longlong.h: Remove __P.
2446 1999-12-21 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/powerpc/fpu/libm-ulps: New file.
2450 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2452 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2453 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2455 1999-12-21 Andreas Jaeger <aj@suse.de>
2457 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2458 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2461 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2462 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2463 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2464 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2466 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2467 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2470 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2472 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2473 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2474 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2475 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2476 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2477 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2478 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2479 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2480 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2481 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2482 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2483 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2484 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2485 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2486 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2487 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2488 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2491 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2493 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2494 before testing for __ASSUME_STAT64_SYSCALL.
2495 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2496 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2498 1999-12-20 Andreas Schwab <schwab@suse.de>
2500 * manual/install.texi (Running make install): Clearify that
2501 install_root should be an absolute file name.
2503 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2505 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2507 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2508 buffer is given to place conversion descriptor in initial state.
2509 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2511 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2512 (according to IANA registry).
2513 Reported by Bruno Haible <haible@ilog.fr>.
2515 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2517 * locale/categories.def: Remove most of the collate definitions.
2518 * locale/langinfo.h: Comment out corresponding definitions.
2519 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2521 * locale/programs/ld-collate.c: Correct and optimize computation of
2522 weights. Set up list of all definitions correctly. Start writing
2523 function to generate output file.
2525 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2526 loop to compute default mapping.
2528 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2530 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2531 cancelation wrapper.
2532 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2534 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2536 1999-12-19 Andreas Jaeger <aj@suse.de>
2538 * sysdeps/generic/libc-start.c: Remove declaration of
2539 __libc_open. Move declaration of __libc_fcntl to ...
2540 * include/fcntl.h: ...here.
2542 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2543 * include/fcntl.h: ...here.
2545 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2548 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2551 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2553 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2556 1999-12-19 Andreas Jaeger <aj@suse.de>
2558 * include/string.h: Mark __strndup with __attribute_malloc__.
2560 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2562 * locale/langinfo.h: Always define CODESET.
2563 (CODESET): Define also as macro.
2565 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2566 generate mantissa output in using malloc if it is larger than
2568 Reported by Jim Meyering <meyering@ascend.com>.
2570 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2572 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2573 available gcc version.
2574 * string/string.h: Mark strdup, __strdup, and strndup with
2575 __attribute_malloc__.
2576 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2577 __attribute_malloc__.
2578 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2579 and __default_morecore with __attribute_malloc__.
2580 Provide default definition for __attribute_malloc__.
2581 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2583 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2584 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2585 * io/Versions: Export __libc_open64 and __libc_lseek64.
2586 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2587 and __libc_pwrite64.
2588 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2590 * sysdeps/generic/pread.c: Likewise.
2591 * sysdeps/generic/pread64.c: Likewise.
2592 * sysdeps/generic/pwrite.c: Likewise.
2593 * sysdeps/generic/pwrite64.c: Likewise.
2594 * sysdeps/posix/open64.c: Likewise.
2595 * sysdeps/posix/pread.c: Likewise.
2596 * sysdeps/posix/pread64.c: Likewise.
2597 * sysdeps/posix/pwrite.c: Likewise.
2598 * sysdeps/posix/pwrite64.c: Likewise.
2599 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2600 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2601 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2602 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2603 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2604 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2605 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2606 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2607 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2609 * sysdeps/posix/open64.c: Help gcc generating better code.
2611 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2614 1999-12-11 H.J. Lu <hjl@gnu.org>
2616 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2619 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2621 * iconvdata/isiri-3342.c: New file.
2622 * iconvdata/Makefile (modules): Add ISIRI-3342.
2623 (distribute): Add isiri-3342.c.
2624 (gen-8bit-gap-modules): Add isiri-3342.
2625 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2627 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2629 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2630 result if necessary.
2632 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2633 unreliable kernel headers.
2634 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2635 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2636 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2637 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2639 1999-12-18 Andreas Jaeger <aj@suse.de>
2641 * config.make.in (datadir): Added.
2642 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2644 1999-12-18 Andreas Jaeger <aj@suse.de>
2646 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2648 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2650 1999-12-18 Andreas Jaeger <aj@suse.de>
2652 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2653 syscall if available.
2654 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2655 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2657 * sysdeps/unix/sysv/linux/kernel-features.h
2658 (__ASSUME_STAT64_SYSCALL): New.
2660 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2662 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2664 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2665 after .text segment fixups.
2667 1999-12-16 Andreas Jaeger <aj@suse.de>
2669 * rt/aio.h: Remove erroneous __restrict declarations.
2671 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2673 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2674 do the job if it is there neither.
2675 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2677 1999-12-16 Andreas Jaeger <aj@suse.de>
2679 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2680 duplicate definition with function __nan.
2681 Closes PR libc/1487 reported by <diana@kai.com>.
2683 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2685 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2687 * locale/programs/ld-collate.c: Implement handling of absolute
2688 ellipsis. Parsing of file and constructing the internal data
2689 structures should now be complete.
2690 (collate_finish): Start adding support to generate the data
2691 structures which are written out to the file.
2693 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2694 instead of in the dcgettext macro.
2695 * intl/libintl.h (dcgettext): Don't define for systems using this
2696 glibc or systems with tsearch.
2698 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2699 against double inclusion.
2700 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2701 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2702 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2703 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2705 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2708 1999-12-17 Andreas Jaeger <aj@suse.de>
2710 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2713 * rt/Makefile (tests): Added tst-aio64.
2714 Added dependency rules for tst-aio64.
2716 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2719 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
2721 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2722 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2723 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2724 old value (signed long).
2725 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2727 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2728 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2729 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2731 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2732 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2733 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2734 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2735 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2736 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2737 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2738 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2739 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2743 1999-12-17 Andreas Jaeger <aj@suse.de>
2745 * elf/ldconfig.c: Add new option -l to manualy link shared
2747 (options): Added option.
2748 (parse_opt): Set option.
2749 (main): Handle option.
2750 (manual_link): New function.
2752 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
2754 * string/bits/string2.h: Fix patch from 1999-12-07.
2756 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
2758 * sysdeps/generic/strsep.c: If delim string has only one character
2759 don't run over end of string.
2761 * locale/programs/ld-collate.c (insert_weights): Also update next
2762 pointer of last cursor element.
2763 (insert_value): Return nonzero value if nothing got inserted.
2764 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2766 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2768 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2771 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2774 Copy sa_flags into kernel sigaction structure.
2776 1999-12-14 Andreas Jaeger <aj@suse.de>
2778 * string/tester.c (test_strsep): More tests for access beyond
2779 the final NUL. The first two tests come from PR libc/1486 by
2780 martinea@iro.umontreal.ca.
2782 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
2784 * nis/ypclnt.c: Correct handling of cached client handles.
2785 (__xdr_ypresp_all): Call callback function for errors, too,
2787 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2788 * nis/nss_compat/compat-initgroups.c: Likewise.
2789 * nis/nss_compat/compat-spwd.c: Likewise.
2790 * nis/nss_nis/nis-alias.c: Likewise.
2791 * nis/nss_nis/nis-ethers.c: Likewise.
2792 * nis/nss_nis/nis-grp.c: Likewise.
2793 * nis/nss_nis/nis-hosts.c: Likewise.
2794 * nis/nss_nis/nis-netgrp.c: Likewise.
2795 * nis/nss_nis/nis-publickey.c: Likewise.
2796 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2797 Map if available, optimize query if name/port and protocol is known.
2799 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
2801 * locale/programs/ld-collate.c (collate_read): Make symbolic
2802 ellipsis work. Remove old and unused code.
2804 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2806 * locale/programs/ld-collate.c (collate_read): Implement
2807 reorder-section handling.
2809 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2811 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2813 * locale/programs/ld-collate.c (collate_read): Add handling of
2816 * locale/programs/ld-collate.c: Many changes to implement parsing
2817 of collation definition (still not complete).
2819 1999-12-09 Andreas Jaeger <aj@suse.de>
2821 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2822 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2823 Reported by Christian Starkjohann <cs@obdev.at>.
2825 1999-12-09 Andreas Jaeger <aj@suse.de>
2827 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2829 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2831 * stdlib/longlong.h: Update from latest egcs version.
2833 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2835 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2836 has to preceede __attribute__, otherwise g++ barfs.
2838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2845 1999-12-05 Wolfram Gloger <wg@malloc.de>
2847 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2848 try to generate a minimal one and hope for mmap_chunk() to succeed
2851 1999-11-07 Wolfram Gloger <wg@malloc.de>
2853 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2854 mutex_t work as an `in-use' flag even without threads.
2855 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2856 for multiple arenas separately from NO_THREADS.
2857 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2858 fall back to an mmap()ed arena when sbrk() has failed.
2860 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2862 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2863 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2864 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2865 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2866 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2867 oldgetrlimit and oldsetrlimit.
2868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2870 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2871 oldsetrlimit rules into 32-bit arch subdirs.
2872 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2874 * locale/programs/ld-collate.c (insert_value): If this is the
2875 first symbol the cursor can be the same as the next pointer.
2877 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2879 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2881 (allocate_arrays): Allocate memory for map32. Correctly install
2882 default values in it and install defined mappings.
2884 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2885 value for mon_grouping.
2887 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2888 headers are not clean enough.
2890 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2892 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2893 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2895 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2896 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2897 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2898 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2900 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2901 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2902 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2903 _nl_C_LC_CTYPE_tolower32 tables.
2904 Don't compile it names of 14652 classes and maps.
2905 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2906 _NL_CTYPE_TOLOWER32.
2907 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2908 and __ctype32_tolower.
2909 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2910 (ctype_output): Write out map32 values.
2911 (allocate_arrays): Compute mapping tables correctly.
2912 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2913 (towupper): Use __ctype32_toupper.
2914 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2916 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2917 determine tolower mapping for 8bit table if the tolower keyword is
2920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2921 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2923 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2925 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2926 __stpcpy_small): Cast switch expressions to int to shut up compiler
2929 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2931 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2934 1999-12-06 Andreas Schwab <schwab@suse.de>
2936 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2937 ugetrlimit syscall exists.
2939 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2941 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2943 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2945 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2946 pointers if character is illegal.
2947 Reported by Bruno Haible <haible@ilog.fr>.
2949 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2950 (increment_counter): New function. Broken out of find_derivation.
2951 (find_derivation): No need for a lock. Increment counter only when
2952 the derivation was already available.
2953 * iconv/gconv_dl.c: Add debugging functions.
2954 (known_compare): We have to use strcmp.
2955 Reported by Bruno Haible <haible@ilog.fr>.
2957 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2959 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2960 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2961 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2962 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2964 Reported by Bruno Haible <haible@ilog.fr>.
2966 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2968 1999-12-03 Andreas Jaeger <aj@suse.de>
2970 * nss/getXXbyYY.c: Include <resolv.h>
2971 (FUNCTION_NAME): Use res_ninit instead of res_init.
2973 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2974 declaration and prototypes.
2975 Remove extra _res declaration.
2976 (INTERNAL): Use thread aware res_ninit function.
2978 * inet/gethstbyad_r.c: Include <resolv.h>.
2980 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2981 res_libc.c. Disabled unneeded functions.
2983 * resolv/res_libc.c: New file.
2985 * Versions.def: Add version GLIBC_2.2 for libpthread.
2986 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2988 * include/resolv.h: Add internal interfaces.
2990 * resolv/Makefile (routines): Add new files.
2991 (libresolv-routines): Likewise.
2992 (distribute): Likewise.
2994 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2995 * resolv/nss_dns/dns-host.c: Likewise.
2996 * resolv/nss_dns/dns-network.c: Likewise.
2998 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2999 * resolv/nsap_addr.c: Likewise.
3000 * resolv/res_comp.c: Likewise.
3001 * resolv/res_debug.c: Likewise.
3002 * resolv/res_init.c: Likewise.
3003 * resolv/res_mkquery.c: Likewise.
3004 * resolv/res_query.c: Likewise.
3005 * resolv/res_send.c: Likewise.
3006 * resolv/resolv.h: Likewise.
3008 * resolv/Versions: Add __res_state and __res_ninit with version
3010 Add new interfaces with version GLIBC_2.2 to libresolv.
3012 * resolv/Banner: Update.
3014 * include/arpa/nameser_compat.h: New file.
3016 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
3017 * resolv/ns_netint.c: Likewise.
3018 * resolv/ns_parse.c: Likewise.
3019 * resolv/ns_print.c: Likewise.
3020 * resolv/ns_samedomain.c: Likewise.
3021 * resolv/ns_ttl.c: Likewise.
3022 * resolv/arpa/nameser_compat.h: Likewise.
3023 * resolv/res_debug.h: Likewise.
3025 Some patches are based on work done by Adam D. Bradley
3026 <artdodge@cs.bu.edu>.
3028 1999-11-30 Andreas Jaeger <aj@suse.de>
3031 * elf/Makefile (extra-objs): Added ldconfig-modules.
3032 (ldconfig-modules): New.
3033 Added vpath for xstrdup and xmalloc.
3034 Check for use-ldconfig instead of has-ldconfig.
3035 ($(objpfx)ldconfig): New rule with dependencies.
3036 (distribute): Add new files.
3038 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
3039 developed together with Jakub Jelinek <jakub@redhat.com>.
3040 * sysdeps/generic/readelflib.c: Likewise.
3042 * elf/cache.c: New file.
3043 * elf/ldconfig.c: New file.
3044 * elf/ldconfig.h: New file.
3045 * elf/readlib.c: New file.
3047 * Makefile (install): Remove flag -d in ldconfig call.
3049 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
3052 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
3055 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
3056 set always use_ldconfig instead.
3058 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
3060 * sysdeps/generic/bits/stropts.h: Update with LiS types and
3061 values. Patch by David Grothe <dave@gcom.com>.
3063 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
3065 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3066 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3067 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3069 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
3071 * locale/lc-time.c (_nl_get_era_entry): Separate eras
3072 initialization as _nl_init_era_entry().
3073 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
3074 * locale/lc-time.c (_nl_get_era_year_offset): New function.
3075 * locale/lc-time.c (_nl_get_era_year_start): New function.
3076 * locale/localeinfo.h: Declare new functions.
3077 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
3080 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
3082 * posix/regex.c (SYNTAX): Make more portable.
3083 Patch by Aharon Robbins <arnold@skeeve.com>.
3085 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
3087 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
3088 nonzero, use cthread_fork to create the signal thread.
3089 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
3090 _hurd_msgport_thread here (to self).
3091 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
3092 is zero, instead compute child signal thread's starting SP from parent
3093 signal thread's current SP and the threadvar_stack variables.
3094 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
3095 These are now referenced weakly by _hurdsig_init.
3097 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
3098 &_hurd_itimer_thread not &_hurd_msgport_thread.
3100 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
3102 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
3103 without HURD_DPORT_USE to clean up warnings.
3104 * hurd/dtable.c (get_dtable_port): Likewise.
3106 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
3107 (install_ctty): Do the changing of the cttyid port cell here, inside
3108 the critical section while we holding the dtable lock.
3109 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
3110 the port cell and calling rectty_dtable.
3111 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
3112 (install_ctty): Use it inside a critical section, with the lock held.
3113 * sysdeps/mach/hurd/setsid.c (__setsid): Use
3114 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
3115 after proc_setsid, having held the dtable lock throughout.
3116 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
3117 cttyid port for null and bail out early if so. The dtable lock
3118 serializes us after any cttyid change and its associated dtable update.
3120 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
3122 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
3123 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
3124 We don't install this file for users.
3125 * sysdeps/mach/hurd/Dist: Add it.
3126 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
3127 Append nfs/nfs.h here.
3129 1999-12-01 Andreas Jaeger <aj@suse.de>
3131 * sysdeps/generic/if_index.c (__protocol_available): Add missing
3134 * stdio/stdio.h: Fix typo.
3135 Patches by Marcus G. Daniels <mgd@santafe.edu>.
3137 1999-12-01 Andreas Jaeger <aj@suse.de>
3139 * scripts/test-installation.pl (installation_problem): Filter out
3142 1999-12-01 Andreas Schwab <schwab@suse.de>
3144 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
3145 __rlim_t and __rlim64_t.
3146 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3147 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3149 1999-12-01 Andreas Schwab <schwab@suse.de>
3151 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3152 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3153 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3154 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3155 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3156 new kernel version. Add symbol versions.
3157 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3159 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3160 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3161 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3163 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3164 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3165 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3166 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3167 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3169 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3170 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3176 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
3178 * sysdeps/generic/usleep.c: Fix typo.
3180 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3182 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3185 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3188 * malloc/set-freeres.c: Really use already_called variable.
3190 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3191 function call directly.
3192 * libio/iosetvbuf.c: Likewise.
3194 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3196 * configure.in: Add AIX 4.3 support.
3198 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
3199 standard was issued in 1992.
3200 Reported by Bruno Haible <haible@ilog.fr>.
3202 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3204 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3207 1999-11-29 Andreas Jaeger <aj@suse.de>
3209 * manual/time.texi (Basic CPU Time): Better describe wrap around.
3210 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3212 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3214 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3215 Patch by Bruno Haible <haible@ilog.fr>.
3217 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3219 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3221 1999-11-29 Andreas Schwab <schwab@suse.de>
3223 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3224 __v to __bswap_32_v.
3225 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3226 and __bswap_64_r to avoid clash with __bswap_32 macro.
3228 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
3230 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3233 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
3235 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3236 patch. Use wch instead of idx to compute index.
3237 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3239 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3241 * locale/iso-3166.def: Update from latest official list.
3243 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
3245 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3246 asm/ptrace.h, since this will not be done with 2.3.xx automatically
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3249 1999-11-26 Andreas Jaeger <aj@suse.de>
3251 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3253 1999-11-26 Andreas Jaeger <aj@suse.de>
3255 * inet/rcmd.c: Include stdlib for declaration of free.
3258 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3260 * iconv/gconv.c (__gconv): Always initialize
3261 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3263 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3265 * iconvdata/iso-2022-jp.c: Likewise.
3267 1999-11-25 H.J. Lu <hjl@gnu.org>
3269 * stdlib/exit.c (exit): Run funtions only if
3270 __exit_funcs->idx > 0.
3272 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3274 * manual/charset.texi (iconv Examples): Add iconv call to flush
3275 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
3277 1999-11-25 Andreas Jaeger <aj@suse.de>
3279 * manual/install.texi (Running make install): Better describe
3281 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3283 1999-11-25 Andreas Jaeger <aj@suse.de>
3285 * include/sys/mman.h: Remove K&R compatibility.
3287 1999-11-15 Andreas Jaeger <aj@suse.de>
3289 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3292 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3294 * iconv/iconv_prog.c (process_block): For stateful charsets write
3295 out byte sequence to get to initial state at the end of the file.
3297 1999-11-25 Andreas Schwab <schwab@suse.de>
3299 * Makeconfig: Include sys-dirs and sys-sorted earlier.
3300 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3301 ($(common-objpfx)sysd-sorted): Emit marker when this file is
3304 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
3306 * manual/setjmp.texi: Many changes to correct bad English introduced
3308 * manual/time.texi: Likewise.
3309 Patches by Neil Booth <neil@rosenet.ne.jp>.
3311 * include/string.h: Remove K&R compatibility.
3313 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3315 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3317 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3319 * string/stratcliff.c: Add one more strchr test for something
3320 which was reported to not work (which proofed to be wrong).
3322 * iconv/skeleton.c: It's __is_last, not is_last.
3324 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3326 (allocate_arrays): Likewise.
3327 (find_idx): Correctly increase array size.
3328 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3330 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
3332 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3335 1999-11-23 Andreas Jaeger <aj@suse.de>
3337 * include/sys/select.h: Remove K&R compatibility.
3338 * include/sys/statfs.h: Likewise.
3339 * include/gnu/libc-version.h: Likewise.
3340 * include/db_185.h: Likewise.
3341 * include/dlfcn.h: Likewise.
3342 * include/search.h: Likewise.
3343 * include/setjmp.h: Likewise.
3344 * include/signal.h: Likewise.
3345 * include/stdio.h: Likewise.
3346 * include/unistd.h: Likewise.
3348 1999-11-23 Andreas Jaeger <aj@suse.de>
3350 * include/aio.h: Remove __THROW from internal interfaces. __THROW
3351 is only need in external header files that might be compiled by a
3353 * include/alloca.h: Likewise.
3354 * include/db.h: Likewise.
3355 * include/dirent.h: Likewise.
3356 * include/execinfo.h: Likewise.
3357 * include/fpu_control.h: Likewise.
3358 * include/glob.h: Likewise.
3359 * include/grp.h: Likewise.
3360 * include/libintl.h: Likewise.
3361 * include/math.h: Likewise.
3362 * include/math.h: Likewise.
3363 * include/mntent.h: Likewise.
3364 * include/mntent.h: Likewise.
3365 * include/netdb.h: Likewise.
3366 * include/pwd.h: Likewise.
3367 * include/sched.h: Likewise.
3368 * include/shadow.h: Likewise.
3369 * include/stdlib.h: Likewise.
3370 * include/sys/file.h: Likewise.
3371 * include/sys/gmon.h: Likewise.
3372 * include/sys/ioctl.h: Likewise.
3373 * include/sys/socket.h: Likewise.
3374 * include/sys/stat.h: Likewise.
3375 * include/sys/sysinfo.h: Likewise.
3376 * include/sys/time.h: Likewise.
3377 * include/sys/times.h: Likewise.
3378 * include/sys/uio.h: Likewise.
3379 * include/sys/wait.h: Likewise.
3380 * include/termios.h: Likewise.
3381 * include/time.h: Likewise.
3382 * include/ulimit.h: Likewise.
3383 * include/utmp.h: Likewise.
3384 * include/wchar.h: Likewise.
3386 1999-11-22 Andreas Jaeger <aj@suse.de>
3388 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3389 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
3392 1999-11-22 Jakub Jelinek <jakub@redhat.com>
3394 * sysdeps/generic/siglist.h: Avoid declaring the same field
3395 twice if SIGPWR is defined to SIGLOST.
3396 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3397 not signed, so we should not special case it for negative args.
3398 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3399 memmove, use the one provided in memcpy.S.
3400 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3401 copies like memmove, while the previous version worked like memcpy.
3402 Implement optimized assembly memmove.
3403 * sysdeps/sparc/sparc64/memmove.c: New file.
3405 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3407 * po/cs.po: Update from translators.
3409 1999-11-23 Andreas Jaeger <aj@suse.de>
3411 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3412 (elf_machine_got): Removed, not needed anymore.
3413 (ELF_MACHINE_RELOC_NOPLT): Removed.
3414 (ELF_MACHINE_JMP_SLOT): Added.
3415 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3416 (_RTLD_EPILOGUE): Likewise.
3417 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3418 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3419 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3420 Ralf Baechle <baechle@uni-koblenz.de>.
3422 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3424 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
3426 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3427 name from the locale name. Only use the value in the LC_CTYPE
3430 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3431 file be equal to file size.
3433 * stdlib/longlong.h: Add count_trailing_zeros back.
3435 * stdlib/longlong.h: Update from latest egcs version.
3437 1999-11-22 Andreas Jaeger <aj@suse.de>
3439 * locale/programs/ld-collate.c (insert_value): Correct order of
3440 arguments for lr_error call.
3442 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3443 __syscall_setrlimit.
3445 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3447 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3449 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
3451 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3454 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3455 14652-style definition of new maps and classes.
3457 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3459 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3460 individual error message if nothing is defined.
3462 * locale/programs/ld-time.c (time_startup): Test for lr being
3465 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3466 decimal_point is not defined.
3468 * wctype/wctrans.c (wctrans): Use correct base index to access
3469 extra mapping tables.
3471 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3472 entries from file and not the fixed (minimal number from the
3475 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3478 1999-11-18 Paul Eggert <eggert@twinsun.com>
3480 * time/strftime.c (my_strftime): Some old compilers object to
3481 '\a', so don't bother optimizing for it.
3483 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3485 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3486 the rlimits structure passed in.
3488 1999-11-19 Andreas Jaeger <aj@suse.de>
3490 * include/sys/resource.h (__setrlimit): Add prototype.
3492 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3494 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3495 entries for rtld_search_dirs[0].
3496 Patch by David Mosberger <davidm@hpl.hp.com>.
3498 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3500 * locale/programs/ld-ctype.c: Don't predefine the character
3501 classes and mappings of ISO 14652.
3503 * locale/programs/ld-ctype.c: Punt if character class definitions
3504 to not consists of tok_bsymbol (for now).
3506 * time/strptime.c (day_of_the_week): Make sure result is never
3508 (strptime_internal): Allow %C without %y.
3510 1999-11-18 Andreas Jaeger <aj@suse.de>
3512 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3515 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3516 of defining *_SUPER_MAGIC.
3517 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3519 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3521 * locale/programs/locale.c: Don't handle LC_ALL together with the
3522 other categories when printing the value.
3523 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3525 * locale/locale.h: Correct comment about LC_ALL.
3527 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3529 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3530 nelems. Correctly compute index for additional character classes.
3531 (ctype_read): Handle charclass and charconv definitions. Also
3532 recognize arbitrary strings as mapping names.
3533 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3534 character era strings.
3535 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3536 and format for wide characters.
3537 * time/strftime.c: Correctly determine era information for wide
3539 * wctype/wctrans.c: Fix after removal of second endianess table.
3540 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3541 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3543 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3544 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3546 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3547 gregset_t, fpregset_t, and NGREG definitions.
3549 * locale/programs/ld-ctype.c: Implement character width information
3552 1999-11-09 Andreas Jaeger <aj@suse.de>
3554 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3556 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3557 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3559 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3561 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3563 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3565 1999-11-07 Andreas Jaeger <aj@suse.de>
3567 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3568 defines from Linux scsi_ioctl.h header.
3570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3572 * sysdeps/unix/sysv/linux/Dist: Likewise.
3574 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3577 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3578 sync with Linux 2.3.26.
3580 1999-11-17 Andreas Jaeger <aj@suse.de>
3582 * shlib-versions: Allow mipsel for libm.
3583 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3585 1999-11-16 Andreas Jaeger <aj@suse.de>
3587 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3589 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3591 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3592 value for alpha and alnum correctly.
3594 * locale/programs/ld-address.c (address_output): Fix output of
3597 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3599 * timezone/asia: Update from tzdata1999j.
3600 * timezone/australasia: Likewise.
3601 * timezone/europe: Likewise.
3602 * timezone/northamerica: Likewise.
3603 * timezone/southamerica: Likewise.
3604 * timezone/zone.tab: Likewise.
3606 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3608 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3609 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3610 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3611 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3612 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3614 1999-11-15 Andreas Jaeger <aj@suse.de>
3616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3617 __syscall_setrlimit.
3618 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3620 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3622 * scripts/versions.awk: Don't expect to read predecessor versions,
3624 * Versions.def: Remove predecessors. They now get computed.
3626 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3628 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3629 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3631 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3632 * sysdeps/powerpc/stackinfo.h: New file.
3633 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3635 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3637 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3640 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3642 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3643 hurd_directory_name_split.
3644 * Versions.def (libc): Add GLIBC_2.1.3.
3646 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3648 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3649 to return the location of the null byte written into the string.
3650 (describe_number): Likewise.
3651 (describe_number): Remove assert, not always used with #.
3652 If FLAVOR is null, don't use it.
3653 (describe_number): Take signed argument and print a - if negative.
3654 (_S_msg_report_wait): Report system call number for system calls that
3655 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3656 matches SS->intr_port, bracket port description with [...] to indicate
3657 a Hurd interruptible RPC; if destination port is null, examine the
3658 receive port and report that state; if receive port is also null,
3659 check for timeout and report its value.
3660 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3661 zero iff we managed to examine the stack; take new args RCV_NAME,
3662 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3664 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3665 MACH_PORT_DEAD specially.
3667 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3669 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3670 (__directory_name_split): New function.
3671 * hurd/hurd.h: Declare them.
3672 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3673 __file_name_split, so we ignore trailing slashes properly.
3674 * sysdeps/mach/hurd/rename.c: Likewise.
3676 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3678 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3679 from current kernel headers.
3681 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3682 SO_PASSCRED defined.
3684 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3686 * locale/C-ctype.c: Fix typo in char class name.
3688 * configure.in: Allow user so specify --enable-kernel=current.
3690 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3692 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3694 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3696 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3697 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3699 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3701 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3703 * intl/locale.alias: Add Estonian entries.
3704 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3706 1999-11-02 Andreas Jaeger <aj@suse.de>
3708 * Versions.def: Add version GLIBC_2.2 for libm.
3709 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3711 * sysdeps/generic/feenablxcpt.c: Stub file.
3712 * sysdeps/generic/fedisblxcpt.c: Stub file.
3713 * sysdeps/generic/fegetexcept.c: Stub file.
3714 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3715 * sysdeps/i386/fpu/feenablxcpt.c: New file.
3716 * sysdeps/i386/fpu/fegetexcept.c: New file.
3717 * math/Makefile (libm-support): Add new files.
3718 * math/Versions: Add new functions with version GLIBC_2.2.
3719 * manual/arith.texi (Control Functions): Document fegetexcept,
3720 feenableexcept and fedisableexcept.
3722 1999-11-01 Wolfram Gloger <wg@malloc.de>
3724 * malloc/malloc.h: Describe __malloc_initialize_hook.
3725 * manual/memory.texi: Document __malloc_initialize_hook.
3727 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
3729 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3731 1999-11-09 Andreas Jaeger <aj@suse.de>
3733 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3734 implementation for ttyname_r call; fix inverted condition; return
3736 Closes PR libc/1438.
3738 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3740 * math/fenv.h: Include bits/fenvinline.h if optimizing.
3741 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
3742 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
3743 * sysdeps/generic/bits/fenv.h: New file.
3745 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3747 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3750 1999-11-10 Andreas Jaeger <aj@suse.de>
3752 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3754 1999-11-10 Andreas Jaeger <aj@suse.de>
3756 * string/strsignal.c (strsignal): Correct check for snprintf
3758 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3760 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3761 according to changed snprintf return value.
3762 Reported by Lawrence K. Chen <lchen@opentext.com>.
3764 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3765 for ecvt_r and fcvt_r.
3767 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3769 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3770 directory with the reference since this is as secure as using the
3771 object with the dependency.
3772 (_dl_dst_substitute): Likewise.
3774 * elf/dl-load.c (_dl_dst_count): Change strings in first two
3775 strncmp calls to allow reuse.
3776 (_dl_dst_substitute): Likewise.
3778 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
3780 * posix/regex.c (init_syntax_once): move below definition of
3781 ISALNUM etc., then use ISALNUM to init the table, so that
3782 the word ops will work if i18n'ed.
3783 (SYNTAX): And subscript with 0xFF for 8bit character sets.
3785 1999-11-09 Andreas Jaeger <aj@suse.de>
3787 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3788 implementation for ttyname_r call; fix inverted condition; return
3789 ut_user. Closes PR libc/1438.
3791 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3793 * timezone/checktab.awk: Update from tzcode1999h.
3794 * timezone/africa: Update from tzdata1999i.
3795 * timezone/asia: Likewise.
3796 * timezone/australasia: Likewise.
3797 * timezone/backward: Likewise.
3798 * timezone/europe: Likewise.
3799 * timezone/northamerica: Likewise.
3800 * timezone/southamerica: Likewise.
3801 * timezone/iso3166.tab: Likewise.
3802 * timezone/zone.tab: Likewise.
3804 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3805 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3807 1999-11-09 Andreas Jaeger <aj@suse.de>
3809 * posix/Makefile (tests): Added tst-getlogin.
3811 * posix/tst-getlogin.c: New file, contains simple tests for
3812 getlogin and getlogin_r.
3814 1999-11-09 Andreas Schwab <schwab@suse.de>
3816 * misc/syslog.c: For LOG_PERROR only append a newline if
3819 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3821 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3824 1999-11-08 Andreas Jaeger <aj@suse.de>
3826 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3827 this fixes a memory leak (closes PR libc/1435).
3829 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3830 reflect memory allocation.
3832 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3833 allocation in _nl_explode_name.
3835 1999-11-06 Andreas Jaeger <aj@suse.de>
3837 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3839 Reported by wes@surety.com, closes PR libc/1432.
3841 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3843 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3844 enumerator lists (-pedantic complains).
3845 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3846 test for 'one bit set'.
3847 (feclearexcept): Likewise.
3849 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3851 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3853 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3855 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3858 1999-10-04 Tim Waugh <twaugh@redhat.com>
3860 * posix/wordexp-test.c: More tests.
3862 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3864 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3866 * locale/programs/linereader.c (get_string): Correct type of buf2
3868 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3869 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3870 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3871 _NL_CTYPE_OUTDIGIT*_WC.
3872 (allocate_arrays): Completely initialize mapping tables.
3873 * locale/programs/ld-time.c (time_startup): We need the wide car
3875 (time_finish): Correct handling of era.
3876 (time_output): Fix a few array indeces.
3877 (time_read): Pass the repertoire map to lr_token.
3879 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3881 * Versions.def: Add version for libthread_db.
3883 1999-11-02 Andreas Jaeger <aj@suse.de>
3885 * manual/header.texi (Library Summary): The command @indexfonts
3886 doesn't exist anymore, use @smallfonts instead.
3888 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3890 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3891 instead of duplicating definitions.
3893 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3895 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3897 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3898 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3899 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3901 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3903 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3905 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3907 * sysdeps/unix/sysv/linux/kernel-features.h
3908 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3911 * manual/texinfo.tex: Updated.
3913 1999-11-01 Andreas Jaeger <aj@suse.de>
3915 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3917 * inet/gethstbynm2_r.c: Reorder addresses.
3919 1999-09-11 Paul Eggert <eggert@twinsun.com>
3921 * posix/glob.h (glob): If #defining to glob64, do this before
3922 declaring it, so that all declarations and uses match, and do not
3923 declare glob64, to avoid a declaration clash.
3924 (globfree): Likewise with globfree64.
3926 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3928 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3929 Keep the trailing slash unless DIRNAME is just "x:/".
3931 1999-10-11 Andreas Jaeger <aj@suse.de>
3933 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3934 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3935 Closes PR libc/1384.
3937 1999-10-20 Andreas Schwab <schwab@suse.de>
3939 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3940 (generated): Add it here.
3941 (before-compile): Add libm-test.c.
3942 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3944 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3947 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3949 * Makefile (pdf): New goal.
3950 * manual/Makefile: Add definitions and rules for PDF generation.
3952 * Versions.def (libm): Add GLIBC_2.1.3.
3954 ISO C99 TR1 changes various fe* functions to return an error value.
3955 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3956 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3957 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3958 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3959 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3960 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3961 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3962 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3963 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3964 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3965 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3966 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3967 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3968 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3969 * sysdeps/generic/fclrexcpt.c: Likewise.
3970 * sysdeps/generic/fegetenv.c: Likewise.
3971 * sysdeps/generic/fesetenv.c: Likewise.
3972 * sysdeps/generic/feupdateenv.c: Likewise.
3973 * sysdeps/generic/fgetexcptflg.c: Likewise.
3974 * sysdeps/generic/fraiseexcpt.c: Likewise.
3975 * sysdeps/generic/fsetexcptflg.c: Likewise.
3976 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3977 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3978 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3979 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3980 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3981 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3982 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3983 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3984 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3985 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3986 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3987 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3988 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3989 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3990 * sysdeps/mips/fclrexcpt.c: Likewise.
3991 * sysdeps/mips/fegetenv.c: Likewise.
3992 * sysdeps/mips/fesetenv.c: Likewise.
3993 * sysdeps/mips/feupdateenv.c: Likewise.
3994 * sysdeps/mips/fgetexcptflg.c: Likewise.
3995 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3996 * sysdeps/powerpc/fegetenv.c: Likewise.
3997 * sysdeps/powerpc/fesetenv.c: Likewise.
3998 * sysdeps/powerpc/feupdateenv.c: Likewise.
3999 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
4000 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
4001 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
4002 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
4003 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4004 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4005 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4006 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4007 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4008 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4009 * math/fenv.h: Adjust prototypes.: Likewise.
4010 * manual/arith.texi: Adjust documentation for these changes.
4012 * manual/arith.texi: Document feraiseexcept.
4014 * sysdeps/powerpc/fegetenv.c: Moved to...
4015 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
4016 * sysdeps/powerpc/fegetround.c: Moved to...
4017 * sysdeps/powerpc/fpu/fegetround.c: ...here.
4018 * sysdeps/powerpc/feholdexcpt.c: Moved to...
4019 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
4020 * sysdeps/powerpc/fesetenv.c: Moved to...
4021 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
4022 * sysdeps/powerpc/fenv_libc.h: Moved to...
4023 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
4024 * sysdeps/powerpc/feupdateenv.c: Moved to...
4025 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
4026 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
4027 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
4028 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
4029 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
4030 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
4031 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
4032 * sysdeps/powerpc/ftestexcept.c: Moved to...
4033 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
4034 * sysdeps/powerpc/fesetround.c: Moved to...
4035 * sysdeps/powerpc/fpu/fesetround.c: ...here
4036 * sysdeps/powerpc/fenv_const.c: Moved to...
4037 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
4039 * sysdeps/mips/fclrexcpt.c: Moved to...
4040 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
4041 * sysdeps/mips/fegetenv.c: Moved to...
4042 * sysdeps/mips/fpu/fegetenv.c: ...here.
4043 * sysdeps/mips/fegetround.c: Moved to...
4044 * sysdeps/mips/fpu/fegetround.c: ...here.
4045 * sysdeps/mips/fesetenv.c: Moved to...
4046 * sysdeps/mips/fpu/fesetenv.c: ...here.
4047 * sysdeps/mips/fesetround.c: Moved to...
4048 * sysdeps/mips/fpu/fesetround.c: ...here.
4049 * sysdeps/mips/feupdateenv.c: Moved to...
4050 * sysdeps/mips/fpu/feupdateenv.c: ...here.
4051 * sysdeps/mips/fgetexcptflg.c: Moved to...
4052 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
4053 * sysdeps/mips/ftestexcept.c: Moved to...
4054 * sysdeps/mips/fpu/ftestexcept.c: ...here.
4056 1999-10-29 Jakub Jelinek <jakub@redhat.com>
4058 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
4059 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
4060 libraries from statically linked programs.
4061 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
4062 fix for sigaction on SPARC.
4063 Patches by David S. Miller <davem@redhat.com>.
4065 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
4066 gregset_t and other required structures and defines for SPARC 64bit
4067 ABI as well, not only 32bit ABI.
4069 1999-10-31 Andreas Jaeger <aj@suse.de>
4071 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
4072 by __USE_ISOC99 and update comments.
4074 * math/complex.h: Update comments for ISO C99.
4075 * math/fenv.h: Likewise.
4076 * math/test-fenv.c: Likewise.
4077 * math/tgmath.h: Likewise.
4078 * libio/stdio.h: Likewise.
4079 * posix/sys/types.h: Likewise.
4080 * sysdeps/generic/inttypes.h: Likewise.
4081 * sysdeps/generic/stdint.h: Likewise.
4083 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
4085 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
4087 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
4088 recognize _ISOC99_SOURCE.
4089 * libio/stdio.h: Likewise.
4090 * math/math.h: Likewise.
4091 * math/bits/mathcalls.h: Likewise.
4092 * math/stdio.h: Likewise.
4093 * stdlib/stdlib.h: Likewise.
4094 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
4095 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4096 * sysdeps/arm/bits/huge_val.h: Likewise.
4097 * sysdeps/generic/bits/mathdef.h: Likewise.
4098 * sysdeps/i386/bits/huge_val.h: Likewise.
4099 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
4100 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4101 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4102 * sysdeps/m68k/bits/huge_val.h: Likewise.
4103 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
4104 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4105 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4106 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4107 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
4108 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4109 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4110 * wcsmbs/wchar.h: Likewise.
4112 * sysdeps/powerpc/bits/mathdef.h: Moved to...
4113 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
4114 * sysdeps/powerpc/bits/mathinline.h: Moved to...
4115 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
4116 * sysdeps/powerpc/bits/fenv.h: Moved to...
4117 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
4119 1999-10-31 Andreas Jaeger <aj@suse.de>
4121 * manual/math.texi (Errors in Math Functions): Correct TeX code.
4123 1999-10-31 Andreas Jaeger <aj@suse.de>
4125 * math/libm-test.inc: Change comments to use ISO C99 instead of
4127 * math/w_lgamma.c: Likewise.
4128 * math/w_lgammaf.c: Likewise.
4129 * math/w_lgammal.c: Likewise.
4130 * math/test-fenv.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4133 * sysdeps/generic/printf_fphex.c: Likewise.
4135 1999-10-31 Andreas Jaeger <aj@suse.de>
4137 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
4139 * manual/math.texi: Change ISO C9x to ISO C99.
4140 * manual/startup.texi: Likewise.
4141 * manual/stdio.texi: Likewise.
4143 1999-10-31 Andreas Jaeger <aj@suse.de>
4145 * manual/arith.texi: Change ISO C9x to ISO C99.
4146 * manual/time.texi (Low-Level Time String Parsing): Likewise.
4148 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
4150 * socket/Makefile (distribute): Add ifreq.h.
4152 * manual/time.texi (Formatting Date and Time): Revise comments about
4153 origins of the formats with ISO C99 references.
4155 1999-10-30 Andreas Jaeger <aj@suse.de>
4157 * sysdeps/unix/sysv/linux/ifreq.h: New file.
4159 1999-10-29 Andreas Jaeger <aj@suse.de>
4161 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4162 input format; mention that strtof and strtold are part of ISO C99.
4164 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4166 * manual/math.texi (Errors in Math Functions): New section.
4167 * math/libm-err-tab.pl: Moved to...
4168 * manual/libm-err-tab.pl: ...here.
4169 * manual/Makefile: Add rules for math function error table generation.
4171 * stdlib/tst-strtod.c: Add more hexadecimal tests.
4173 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4174 != 1 correctly and more than one digit before decimal point..
4176 1999-10-27 Andreas Jaeger <aj@suse.de>
4178 * sysdeps/generic/ifreq.h: New file.
4180 * resolv/res_hconf.c: Add missing includes to get all prototypes.
4181 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
4182 Reported by John DiMarco <jdd@cs.toronto.edu>.
4184 (_res_hconf_reorder_addrs): Made thread safe.
4185 (free_mem): New function, needed for malloc debugging.
4187 1999-10-29 Andreas Jaeger <aj@suse.de>
4189 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4190 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4191 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4192 opensock to use __opensock.
4194 * socket/Makefile (routines): Add opensock.
4196 * include/sys/socket.h (__opensock): Add prototype declaration.
4198 1999-10-29 Andreas Jaeger <aj@suse.de>
4200 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4204 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4205 new constant from Linux 2.3.25pre1.
4207 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4209 1999-10-29 Andreas Jaeger <aj@suse.de>
4211 * math/libm-err-tab.pl: New file to generate a table of
4212 libm-test-ulps values.
4214 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4217 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4218 struct sigcontext* object as second parameter for profil_counter.
4219 Patches by Jakub Jelinek <jakub@redhat.com>.
4221 1999-10-29 Andreas Jaeger <aj@suse.de>
4223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4224 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4226 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4227 efs, qnx4 and reiser file systems.
4229 1999-10-29 Andreas Jaeger <aj@suse.de>
4231 * locale/Makefile (others): Set to localedef and locale for make
4234 * debug/Makefile (generated): Add xtrace for make clean to work.
4236 1999-10-29 Andreas Jaeger <aj@suse.de>
4238 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4240 1999-10-25 Andreas Jaeger <aj@suse.de>
4242 * math/libm-test.inc: Added code to ignore the given max ulps.
4243 (print_max_error): Check for ignore_max_ulp.
4244 (check_float_internal): Likewise.
4245 (parse_opt): Parse --ignore-max-ulp.
4246 (main): Initialize ignore_max_ulp.
4248 1999-10-26 Andreas Jaeger <aj@suse.de>
4250 * stdlib/msort.c: Include <alloca.h> for prototype.
4251 Remove K&R compatibility and _quicksort prototype.
4253 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4255 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4256 Remove K&R compatibility.
4257 Move prototype declaration to include/stdlib.h.
4258 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4260 * include/stdlib.h: Prototype declaration for _quicksort.
4262 1999-10-27 Andreas Jaeger <aj@suse.de>
4264 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4265 shifted a bit too much.
4266 Reported by Eugen Dedu <dedu@ese-metz.fr>.
4268 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4270 * resolv/gethnamaddr.c: Account bytes needed for alignment in
4271 buflen. Patch by Olaf Kirch <okir@lst.de>.
4273 * md5-crypt/md5test.c: Correct names of MD5 functions after
4274 removing of public names.
4276 * configure.in: Don't allow --enable-kernel without parameter.
4278 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4280 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4283 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
4285 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
4286 only used internally.
4287 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4288 remove weak alias for public names.
4289 * md5-crypt/md5.c: Remove weak aliase.
4291 1999-10-25 Andreas Jaeger <aj@suse.de>
4293 * math/README.libm-test: New file, documents libm-test.inc.
4295 1999-10-25 Andreas Jaeger <aj@suse.de>
4297 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4299 (print_ulps_file): Fix loops to not read @tests and @functions
4300 since those are not initialized with -n now.
4301 (parse_ulps): Set $results{..}{"kind"}.
4303 1999-10-25 Andreas Jaeger <aj@suse.de>
4305 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4307 * math/libm-test.inc (check_float_internal): Don't print ulps for
4310 1999-10-20 Andreas Jaeger <aj@suse.de>
4312 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4314 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4316 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
4318 * math/libm-test.inc: Disable some boundary case tests for inline
4321 * math/math.h: Pretty printing.
4323 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4326 * sysdeps/i386/fpu/e_log10.S: Likewise.
4327 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4328 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4329 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4330 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4331 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4332 * sysdeps/i386/fpu/s_log2.S: Likewise.
4333 * sysdeps/i386/fpu/s_log2f.S: Likewise.
4334 * sysdeps/i386/fpu/s_log2l.S: Likewise.
4336 * sysdeps/i386/fpu/libm-test-ulps: New file.
4338 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4340 (pow): Correct case x == 0.
4341 (__sgn1l): Correct handling of -0.0.
4343 1999-10-22 Andreas Jaeger <aj@suse.de>
4345 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4346 (atan_test): Likewise.
4347 (atanh_test): Likewise.
4348 (atan2_test): Likewise.
4349 (carg_test): Likewise.
4350 (ceil_test): Likewise.
4351 (cos_test): Likewise.
4352 (cosh_test): Likewise.
4353 (cpow_test): Likewise.
4354 (erf_test): Likewise.
4355 (erfc_test): Likewise.
4356 (exp_test): Likewise.
4357 (exp10_test): Likewise.
4358 (exp2_test): Likewise.
4359 (expm1_test): Likewise.
4360 (fabs_test): Likewise.
4361 (floor_test): Likewise.
4362 (fmod_test): Likewise.
4363 (gamma_test): Likewise.
4364 (lgamma_test): Likewise.
4365 (log10_test): Likewise.
4366 (log1p_test): Likewise.
4367 (log2_test): Likewise.
4368 (logb_test): Likewise.
4369 (nearbyint_test): Likewise.
4370 (remainder_test): Likewise.
4371 (remquo_test): Likewise.
4372 (sin_test): Likewise.
4373 (sincos_test): Likewise.
4374 (sinh_test): Likewise.
4375 (sqrt_test): Likewise.
4376 (tan_test): Likewise.
4377 (tanh_test): Likewise.
4378 (tgamma_test): Likewise.
4380 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
4382 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4384 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4386 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4387 for -Inf and return NaN.
4389 * configure.in: Correct test for Cygnus gcc versions.
4391 1999-10-21 Andreas Jaeger <aj@suse.de>
4393 * math/libm-test.inc (cimag_test): New function, tests cimag.
4394 (creal_test): New function, tests creal.
4395 (conj_test): New function, tests conj.
4396 (main): Add new functions.
4398 1999-10-20 Andreas Jaeger <aj@suse.de>
4400 * math/libm-test.inc: Rewrite to allow different deltas for real
4401 and imaginary part of complex functions.
4402 * math/gen-libm-test.pl: Likewise.
4404 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
4406 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4411 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4412 for -Inf and return NaN.
4414 * math/gen-libm-test.pl: Fix program name in help message.
4416 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4418 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4420 * sysdeps/i386/Implies: Correct order of libm directories.
4422 1999-10-19 Andreas Jaeger <aj@suse.de>
4424 * include/bits/ipc.h: Remove K&R compatibility.
4425 * include/libintl.h: Likewise.
4426 * include/math.h: Likewise.
4427 * include/mntent.h: Likewise
4428 * include/netdb.h: Likewise.
4429 * include/pwd.h: Likewise.
4430 * include/sched.h: Likewise.
4431 * include/shadow.h: Likewise
4432 * include/stdlib.h: Likewise.
4433 * include/sys/file.h: Likewise.
4434 * include/sys/gmon.h: Likewise.
4435 * include/sys/ioctl.h: Likewise.
4436 * include/sys/mman.h: Likewise.
4437 * include/sys/resource.h: Likewise.
4438 * include/sys/socket.h: Likewise.
4439 * include/sys/stat.h: Likewise.
4440 * include/sys/sysinfo.h: Likewise.
4441 * include/sys/time.h: Likewise.
4442 * include/sys/times.h: Likewise.
4443 * include/sys/uio.h: Likewise.
4444 * include/sys/wait.h: Likewise.
4445 * include/termios.h: Likewise.
4446 * include/time.h: Likewise.
4447 * include/ulimit.h: Likewise.
4448 * include/utmp.h: Likewise.
4449 * include/wchar.h: Likewise.
4450 * include/wctype.h: Likewise.
4452 1999-10-19 Andreas Jaeger <aj@suse.de>
4454 * math/libm-test.inc: Remove one K&R compatibility.
4455 (main): Enable nexttoward_test.
4457 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4458 libm-test-ulps.h; pretty print output a bit.
4460 1999-10-19 Andreas Jaeger <aj@suse.de>
4462 * iconv/iconv_prog.c (main): Set exit value in case that reading
4463 from stdin failed [PR libc/1404].
4465 1999-10-18 Andreas Jaeger <aj@suse.de>
4467 Added improved math testsuite:
4468 * math/libm-test.inc: New file, contains all tests from
4469 libm-test.c but in a different form.
4470 * math/libm-test.c: Removed.
4471 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4472 * math/gen-libm-test.pl: New file: Preprocessor.
4473 * math/test-double.c: Adopted to new testsuite.
4474 * math/test-idouble.c: Likewise.
4475 * math/test-float.c: Likewise.
4476 * math/test-ifloat.c: Likewise.
4477 * math/test-ldouble.c: Likewise.
4478 * math/test-ildoubl.c: Likewise.
4479 * math/Makefile: Added rules to generate new suite.
4481 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4483 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4484 Patch by J. Richard Sladkey <jrs@world.std.com>.
4486 * scripts/config.sub: Update from latest autoconf version.
4487 * scripts/config.guess: Likewise.
4489 1999-10-18 Andreas Jaeger <aj@suse.de>
4491 * inet/arpa/inet.h: Remove K&R compatibility.
4492 * math/fenv.h: Likewise.
4494 1999-10-18 Andreas Jaeger <aj@suse.de>
4496 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4497 kernel_sigaction): Remove K&R compatibility.
4498 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4499 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4500 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4501 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4503 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4504 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4505 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4507 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4508 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4509 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4510 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4511 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4514 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4516 1999-10-18 Andreas Jaeger <aj@suse.de>
4518 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4519 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4521 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4523 * po/gl.po: New file.
4525 1999-10-18 Andreas Schwab <schwab@suse.de>
4527 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4528 namespace selection.
4530 1999-10-18 Andreas Schwab <schwab@suse.de>
4532 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4533 clash with the TERM environment variable.
4535 1999-10-18 Andreas Jaeger <aj@suse.de>
4537 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4538 returns now NaN + i NaN.
4539 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4540 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4542 1999-10-18 Andreas Jaeger <aj@suse.de>
4544 * include/aio.h: Remove K&R compatiblity.
4545 * include/alloca.h: Likewise.
4546 * include/db.h: Likewise.
4547 * include/dirent.h: Likewise.
4548 * include/fcntl.h: Likewise.
4549 * include/fpu_control.h: Likewise.
4550 * include/glob.h: Likewise.
4551 * include/grp.h: Likewise.
4552 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4553 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4554 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4555 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4557 * include/execinfo.h: Add __THROW.
4559 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4561 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4562 * sysdeps/mips/mips3/Implies: Add it here.
4564 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4566 * elf/elf.h: Add various platform and architecture extensions.
4568 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4569 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4572 * socket/sys/socket.h: Remove K&R compatibility.
4574 1999-10-16 Andreas Jaeger <aj@suse.de>
4576 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4578 1999-10-15 Andreas Jaeger <aj@suse.de>
4580 * stdlib/Makefile (tests): Added tst-xpg-basename.
4582 * stdlib/tst-xpg-basename.c: New test file.
4584 1999-10-14 Cristian Gafton <gafton@redhat.com>
4586 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4588 1999-10-14 Andreas Jaeger <aj@suse.de>
4590 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4591 endian version works for both endiannesses.
4593 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4596 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4598 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4599 register names unconditionally, only if __USE_GNU.
4601 * debug/Makefile: Fix rules to generate pcprofiledump.
4603 * include/ucontext.h: New file.
4605 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4607 1999-10-12 Andreas Jaeger <aj@suse.de>
4609 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4611 * math/basic-test.c: Fix typo.
4613 * locale/programs/xstrdup.c: Include string.h for glibc
4614 compilation to get string prototypes.
4616 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4617 gregset_t and fpregset_t.
4619 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4620 warnings. Correct value for x == 0.
4622 * argp/argp-help.c: Remove broken definition of flockfile and
4625 1999-10-12 Andreas Schwab <schwab@suse.de>
4627 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4628 generic Linux version.
4630 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4632 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4634 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4636 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4637 and fpregset_t definitions.
4639 * malloc/memprof.c (GETSP): Define for PowerPC.
4640 (GETTIME): Fix generic version.
4642 1999-10-10 Philip Blundell <philb@gnu.org>
4644 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4647 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4649 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4650 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4651 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4654 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4656 * sysdeps/powerpc/e_sqrt.c: Moved to...
4657 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4658 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4659 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4661 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4662 * sysdeps/powerpc/sub_n.S: Likewise.
4663 * sysdeps/powerpc/strlen.S: Likewise.
4664 * sysdeps/powerpc/strcpy.S: Likewise.
4665 * sysdeps/powerpc/strcmp.S: Likewise.
4666 * sysdeps/powerpc/strchr.S: Likewise.
4667 * sysdeps/powerpc/stpcpy.S: Likewise.
4668 * sysdeps/powerpc/setjmp.S: Likewise.
4669 * sysdeps/powerpc/rshift.S: Likewise.
4670 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4671 * sysdeps/powerpc/mul_1.S: Likewise.
4672 * sysdeps/powerpc/memset.S: Likewise.
4673 * sysdeps/powerpc/lshift.S: Likewise.
4674 * sysdeps/powerpc/dl-start.S: Likewise.
4675 * sysdeps/powerpc/bzero.S: Likewise.
4676 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4677 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4678 * sysdeps/powerpc/addmul_1.S: Likewise.
4679 * sysdeps/powerpc/add_n.S: Likewise.
4680 * sysdeps/powerpc/__longjmp.S: Likewise.
4681 * sysdeps/powerpc/elf/start.S: Likewise.
4683 1999-10-11 Cristian Gafton <gafton@redhat.com>
4685 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4688 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4690 * stdlib/atexit.c (initial): New variable. Use to initialize
4692 * stdlib/exit.c (exit): Beware to not free statically allocated
4693 list element [PR libc/1305].
4695 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4696 slash before the basename [PR libc/1383].
4698 * argp/argp.h: Fix typo in last patch.
4700 * sysdeps/powerpc/sysdep.h: New file.
4701 * sysdeps/unix/powerpc/sysdep.h: New file.
4702 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4703 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4704 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4705 instead of bare numbers.
4706 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4707 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4708 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4710 * sysdeps/hppa/sysdep.h: New file.
4712 1999-10-10 Andreas Jaeger <aj@suse.de>
4714 * misc/sgtty.h: Fix typo in last patch.
4716 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
4718 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4719 * sysdeps/powerpc/s_copysign.S: Move to...
4720 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
4721 * sysdeps/powerpc/s_copysignf.S: Move to...
4722 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4723 * sysdeps/powerpc/s_fabs.S: Move to...
4724 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
4725 * sysdeps/powerpc/s_fabsf.S: Move to...
4726 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4727 * sysdeps/powerpc/s_fdim.c: Move to...
4728 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4729 * sysdeps/powerpc/s_fdimf.c: Move to...
4730 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4731 * sysdeps/powerpc/s_fmax.S: Move to...
4732 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
4733 * sysdeps/powerpc/s_fmaxf.S: Move to...
4734 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4735 * sysdeps/powerpc/s_fmin.S: Move to...
4736 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
4737 * sysdeps/powerpc/s_fminf.S: Move to...
4738 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4739 * sysdeps/powerpc/s_isnan.S: Move to...
4740 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4741 * sysdeps/powerpc/s_isnanf.S: Move to...
4742 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4743 * sysdeps/powerpc/s_llrint.c: Move to...
4744 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4745 * sysdeps/powerpc/s_llrintf.c: Move to...
4746 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4747 * sysdeps/powerpc/s_llround.c: Move to...
4748 * sysdeps/powerpc/fpu/s_llround.c: ...here.
4749 * sysdeps/powerpc/s_llroundf.c: Move to...
4750 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4751 * sysdeps/powerpc/s_lrint.c: Move to...
4752 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4753 * sysdeps/powerpc/s_lrintf.S: Move to...
4754 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4755 * sysdeps/powerpc/s_lround.c: Move to...
4756 * sysdeps/powerpc/fpu/s_lround.c: ...here.
4757 * sysdeps/powerpc/s_lroundf.c: Move to...
4758 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4759 * sysdeps/powerpc/s_rint.c: Move to...
4760 * sysdeps/powerpc/fpu/s_rint.c: ...here.
4761 * sysdeps/powerpc/s_rintf.c: Move to...
4762 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4763 * sysdeps/powerpc/t_sqrt.c: Move to...
4764 * sysdeps/powerpc/fpu/t_sqrt: ...here.
4765 * sysdeps/powerpc/w_sqrt.c: Move to...
4766 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4767 * sysdeps/powerpc/w_sqrtf.c: Move to...
4768 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4769 * configure.in: Support platforms which have no .text pseudo-op.
4770 Patches partly by Jimi X <jimix@pobox.com>.
4772 * Makeconfig: Look also in all subdirs for shlib-versions files.
4774 * malloc/memprof.sh: Fix --help string a bit.
4776 * argp/argp.h: Remove K&R compatiblity.
4777 * assert/assert.h: Likewise.
4778 * catgets/nl_types.h: Likewise.
4779 * ctype/ctype.h: Likewise.
4780 * db/db.h: Likewise.
4781 * db/ndbm.h: Likewise.
4782 * db2/db.h: Likewise.
4783 * db2/db_185.h: Likewise.
4784 * debug/execinfo.h: Likewise.
4785 * dirent/dirent.h: Likewise.
4786 * dlfcn/dlfcn.h: Likewise.
4787 * gmon/sys/gmon.h: Likewise.
4788 * grp/grp.h: Likewise.
4789 * iconv/gconv.h: Likewise.
4790 * iconv/iconv.h: Likewise.
4791 * include/execinfo.h: Likewise.
4792 * inet/aliases.h: Likewise.
4793 * inet/netinet/ether.h: Likewise.
4794 * inet/netinet/in.h: Likewise.
4795 * intl/libintl.h: Likewise.
4796 * io/fcntl.h: Likewise.
4797 * io/fts.h: Likewise.
4798 * io/ftw.h: Likewise.
4799 * io/utime.h: Likewise.
4800 * io/sys/poll.h: Likewise.
4801 * io/sys/stat.h: Likewise.
4802 * io/sys/statfs.h: Likewise.
4803 * io/sys/statvfs.h: Likewise.
4804 * libio/libio.h: Likewise.
4805 * libio/stdio.h: Likewise.
4806 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4807 * locale/locale.h: Likewise.
4808 * login/pty.h: Likewise.
4809 * login/utmp.h: Likewise.
4810 * malloc/mcheck.h: Likewise.
4811 * math/complex.h: Likewise.
4812 * math/math.h: Likewise.
4813 * math/math_private.h: Likewise.
4814 * misc/err.h: Likewise.
4815 * misc/fstab.h: Likewise.
4816 * misc/libgen.h: Likewise.
4817 * misc/mntent.h: Likewise.
4818 * misc/regexp.h: Likewise.
4819 * misc/search.h: Likewise.
4820 * misc/sgtty.h: Likewise.
4821 * misc/ttyent.h: Likewise.
4822 * misc/sys/cdefs.h: Likewise.
4823 * misc/sys/file.h: Likewise.
4824 * misc/sys/ioctl.h: Likewise.
4825 * misc/sys/mman.h: Likewise.
4826 * misc/sys/select.h: Likewise.
4827 * misc/sys/syslog.h: Likewise.
4828 * misc/sys/uio.h: Likewise.
4829 * misc/sys/ustat.h: Likewise.
4830 * nss/nss.h: Likewise.
4831 * posix/sched.h: Likewise.
4832 * posix/unistd.h: Likewise.
4833 * posix/wordexp.h: Likewise.
4834 * posix/sys/times.h: Likewise.
4835 * posix/sys/utsname.h: Likewise.
4836 * posix/sys/wait.h: Likewise.
4837 * pwd/pwd.h: Likewise.
4838 * resolv/netdb.h: Likewise.
4839 * resolv/resolv.h: Likewise.
4840 * resource/ulimit.h: Likewise.
4841 * resource/sys/resource.h: Likewise.
4842 * resource/sys/vlimit.h: Likewise.
4843 * resource/sys/vtimes.h: Likewise.
4844 * rt/aio.h: Likewise.
4845 * setjmp/setjmp.h: Likewise.
4846 * shadow/shadow.h: Likewise.
4847 * signal/signal.h: Likewise.
4848 * socket/socket.h: Likewise.
4849 * stdio/stdio.h: Likewise.
4850 * stdio-common/_itoa.h: Likewise.
4851 * stdio-common/_itowa.h: Likewise.
4852 * stdio-common/printf.h: Likewise.
4853 * stdlib/alloca.h: Likewise.
4854 * stdlib/fmtmsg.h: Likewise.
4855 * stdlib/monetary.h: Likewise.
4856 * stdlib/stdlib.h: Likewise.
4857 * stdlib/ucontext.h: Likewise.
4858 * streams/stropts.h: Likewise.
4859 * string/argz.h: Likewise.
4860 * string/envz.h: Likewise.
4861 * string/string.h: Likewise.
4862 * string/strings.h: Likewise.
4863 * string/bits/string2.h: Likewise.
4864 * sunrpc/rpc/auth.h: Likewise.
4865 * sunrpc/rpc/auth_des.h: Likewise.
4866 * sunrpc/rpc/auth_unix.h: Likewise.
4867 * sunrpc/rpc/clnt.h: Likewise.
4868 * sunrpc/rpc/des_crypt.h: Likewise.
4869 * sunrpc/rpc/netdb.h: Likewise.
4870 * sunrpc/rpc/pmap_clnt.h: Likewise.
4871 * sunrpc/rpc/pmap_prot.h: Likewise.
4872 * sunrpc/rpc/pmap_rmt.h: Likewise.
4873 * sunrpc/rpc/rpc_msg.h: Likewise.
4874 * sunrpc/rpc/svc.h: Likewise.
4875 * sunrpc/rpc/svc_auth.h: Likewise.
4876 * sunrpc/rpc/xdr.h: Likewise.
4877 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4879 * sysvipc/sys/ipc.h: Likewise.
4880 * sysvipc/sys/msg.h: Likewise.
4881 * sysvipc/sys/sem.h: Likewise.
4882 * sysvipc/sys/shm.h: Likewise.
4883 * termios/termios.h: Likewise.
4884 * time/time.h: Likewise.
4885 * time/sys/time.h: Likewise.
4886 * time/sys/timeb.h: Likewise.
4887 * wcsmbs/wchar.h: Likewise.
4888 * wctype/wctype.h: Likewise.
4890 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4892 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4893 _GNU_SOURCE be defined.
4895 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4897 * ctype/ctype.h: Pretty print.
4899 * po/cs.po: Fix typos.
4901 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4902 handling of empty entries. [PR libc/1345]
4903 Patch by Thorsten Kukuk <kukuk@suse.de>.
4905 1999-10-08 Andreas Schwab <schwab@suse.de>
4907 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4909 1999-10-08 Andreas Schwab <schwab@suse.de>
4911 * debug/pcprofiledump.c: Fix typos.
4913 1999-10-07 Andreas Jaeger <aj@suse.de>
4915 * math/Makefile (tests): Added basic-tests.
4917 * math/basic-test.c: New file. Contains function basic_tests from
4920 1999-10-07 Andreas Schwab <schwab@suse.de>
4922 * malloc/memprof.sh: Fix quoting bugs.
4924 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4926 * timezone/europe: Update from tzdata1999h.
4928 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4930 * elf/elf.h: Update from last gABI draft.
4932 * elf/elf.h: Remove EM_486 entry.
4933 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4936 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4938 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4939 Add rules for both programs.
4940 * debug/pcprofiledump.c: New file.
4941 * debug/xtrace.sh: New file.
4942 * debug/pcprofile.c: Allow creating output file. Add magic signature
4943 to let reader recognize file format.
4945 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4947 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4949 1999-10-05 Andreas Jaeger <aj@suse.de>
4951 * locale/programs/ld-identification.c: Fix typo in comment.
4952 * locale/programs/ld-messages.c: Likewise.
4953 * locale/programs/ld-monetary.c: Likewise.
4954 * locale/programs/ld-name.c: Likewise.
4956 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4957 (collate_read): Remove unnecessary comparisons with ignore_content.
4959 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4961 (ctype_read): Remove unnecessary comparisons with ignore_content.
4962 Fix typos in comments.
4964 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4965 comparisons with ignore_content.
4967 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4971 * time/time.h: Move __gmtime_r declaration to ...
4972 * include/time.h: ...here.
4974 1999-10-05 Andreas Jaeger <aj@suse.de>
4976 * manual/message.texi (The message catalog files): Fix description
4977 to match gencat implementation and Unix98: Message fields are
4978 separated by a single blank space.
4980 1999-10-05 Andreas Jaeger <aj@suse.de>
4982 * manual/string.texi (Search Functions): Add missing end for
4983 memrchr description.
4985 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4987 * malloc/memprof.sh: Various small cleanups. Add short options.
4988 Write error messages to stderr.
4990 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4992 * malloc/memprof.sh: Take options to control memprofstat.
4994 * malloc/Makefile: Add rule to generate memprof script.
4995 * malloc/memprof.sh: New file.
4997 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
5000 1999-10-04 Andreas Jaeger <aj@suse.de>
5002 * configure.in: Allow makeinfo 4.*.
5004 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
5006 * stdio-common/vfprintf.c: Correct last patch and use outchar
5007 instead of PUTC to output single characters.
5008 * stdio-common/Makefile (tests): Add bug13.
5009 * stdio-common/bug13.c: New file.
5011 * configure.in: Add additional options --with-gd-include and
5012 --with-gd-lib to help people with strange installations.
5014 * malloc/Makefile: Add libdl dependency to libmemprof.so.
5015 * malloc/Depend: New file.
5017 1999-10-04 Andreas Jaeger <aj@suse.de>
5019 * timezone/README: Change wording to not mention the current
5020 version. This way we can't forget to update the file.
5022 1999-10-04 Andreas Jaeger <aj@suse.de>
5024 * manual/time.texi (Basic CPU Time): Fix typo.
5025 Reported by Ben Pfaff <pfaffben@msu.edu>.
5027 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
5029 * string/string.h: Move __memrchr declaration to ...
5030 * include/string.h: ...here.
5032 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5034 * string/Makefile (routines): Add memrchr.
5036 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
5037 Correct order of tests for matching bytes.
5039 * string/tester.c: Add tests for memrchr.
5041 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
5042 Start from the last character and take decrement not increment
5043 into account for correction in return line. Add memrchr alias.
5044 * sysdeps/i386/bits/string.h: Likewise.
5046 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
5048 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
5050 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5052 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
5054 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
5057 * string/Versions: Export memrchr.
5059 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
5061 * misc/Versions (GLIBC_2.2): Add getloadavg.
5062 * misc/Makefile (routines): Add getloadavg.
5063 * sysdeps/generic/getloadavg.c: New file.
5064 * sysdeps/mach/getloadavg.c: New file.
5065 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
5067 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
5068 * sysdeps/i386/bits/string.h (__memrchr): New function.
5069 * string/string.h: Declare memrchr, __memrchr.
5070 * manual/string.texi (Search Functions): Document memrchr.
5072 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5074 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
5075 CFLAGS-memprofstat.c, and LIBGD variables.
5076 * config.make.in: Add LIBGD.
5077 * malloc/Makefile: Add rules to generate libmemprof.so and
5079 * malloc/memprof.c: New file.
5080 * malloc/memprofstat.c: New file.
5082 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
5084 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
5086 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
5087 (inet_ntop6): Likewise.
5089 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
5092 * resolv/tst-aton.c (main): Add more tests.
5094 * resolv/inet_addr.c (inet_aton): Correct some problems with to
5095 large numbers. Optimize a bit.
5097 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5099 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
5100 account for added '0'.
5102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
5103 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
5104 len argument to be greater than needed address size.
5106 1999-10-01 Andreas Jaeger <aj@suse.de>
5108 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
5110 * intl/finddomain.c (_nl_find_domain): Likewise.
5112 1999-09-30 Andreas Schwab <schwab@suse.de>
5114 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
5116 1999-09-30 Andreas Jaeger <aj@suse.de>
5118 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
5119 * sysdeps/i386/rshift.S: Likewise.
5120 * sysdeps/i386/strchrnul.S: Likewise.
5121 * sysdeps/i386/strchr.S: Likewise.
5122 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
5125 1999-09-30 Andreas Jaeger <aj@suse.de>
5127 * manual/examples/pipe.c: Close other end of pipe to make example work.
5129 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5131 * timezone/checktab.awk: Update from tzcode1999g.
5132 * timezone/tzselect.ksh: Likewise.
5133 * timezone/africa: Update from tzdata1999g.
5134 * timezone/asia: Likewise.
5135 * timezone/australasia: Likewise.
5136 * timezone/europe: Likewise.
5137 * timezone/northamerica: Likewise.
5138 * timezone/southamerica: Likewise.
5139 * timezone/iso3166.tab: Likewise.
5140 * timezone/zone.tab: Likewise.
5142 1999-09-27 Andreas Jaeger <aj@suse.de>
5144 * resolv/netdb.h: Remove declaration of getnodebyname. It has
5145 been renamed to getipnodebyname. Move flags around.
5147 1999-09-27 Andreas Schwab <schwab@suse.de>
5149 * manual/message.texi (Locating gettext catalog): Fix typos.
5151 1999-09-27 Andreas Jaeger <aj@suse.de>
5153 * manual/socket.texi (Out-of-Band Data): Correct example program,
5154 rename some variables for clarity.
5155 Reported by James Antill <james@and.org>, close PR libc/1329.
5157 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
5159 * locale/programs/ld-collate.c (insert_value): Add hack to not
5160 crash in incomplete collate implementation.
5162 * locale/programs/ld-collate.c (read_directions): Read new token
5163 after accepting sorting rule.
5165 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
5167 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5168 error message printing. Correctly test whether all characters of
5169 current token are used.
5170 (ctype_read): NUL terminate last_str.
5172 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
5174 * nscd/connections.c: Invalidate caches on request.
5175 * nscd/nscd-client.h: Add INVALIDATE to request_type.
5176 * nscd/nscd.c: Add invalidate cache option.
5177 * nscd/nscd.conf: Change log directory to /var/log (FHS).
5179 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
5181 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5182 not ovverwrite last group member with NULL pointer.
5183 Reported by Thomas Winder <thomas.winder@newlogic.at>.
5185 1999-09-24 Andreas Jaeger <aj@suse.de>
5187 * stdio-common/tst-printf.c (main): Add a testcase for large
5188 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5190 1999-09-24 Andreas Schwab <schwab@suse.de>
5192 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
5194 1999-09-24 Andreas Jaeger <aj@suse.de>
5196 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5197 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
5199 1999-09-23 Mark Kettenis <kettenis@gnu.org>
5201 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5202 variable. Define MORECORE_CLEARS to 2.
5204 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5205 doesn't clear the contents of memory that is reallocated after
5206 decrementing the break value first. Update comment about
5207 MORECORE_CLEARS, explaining the meaning of the values it can be
5210 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
5212 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5215 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5221 1999-09-22 Andreas Jaeger <aj@suse.de>
5223 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5224 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5226 1999-09-22 Andreas Schwab <schwab@suse.de>
5228 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5230 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5232 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5233 the source directory. Fixes PR libc/1059.
5235 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
5237 * locale/programs/repertoire.c (repertoire_find_value): Abort if
5238 rep parameter is NULL.
5239 (repertoire_find_symbol): Likewise.
5240 (repertoire_find_seq): Likewise.
5242 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
5244 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5245 returned errno value in some cases.
5247 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5249 * iconvdata/Makefile (modules): Add GBK.
5250 (distribute): Add gbk.c.
5251 * iconvdata/gbk.c: New file.
5252 * iconvdata/gconv-modules: Add GBK entry.
5253 Contributed by Sean Chen <sean.chen@turbolinux.com>.
5255 * locale/programs/ld-monetary.c (monetary_output): Remove
5258 * locale/programs/ld-time.c (time_output): Correct expected number
5261 * manual/filesys.texi (Testing File Access): Correct description of
5264 1999-080-25 H.J. Lu <hjl@gnu.org>
5266 * csu/defs.awk (.end): Only match with leading white spaces.
5269 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5271 * stdlib/isomac.c: Add va_copy to allowed macros.
5273 * po/pl.po: Updated.
5275 1999-09-17 Andreas Schwab <schwab@suse.de>
5277 * Makefile (clean): Also remove $(postclean) files.
5279 1999-09-15 Andreas Jaeger <aj@suse.de>
5281 * pwd/Makefile (otherlibs): Add for building with static-nss.
5282 * inet/Makefile (otherlibs): Likewise.
5284 1999-09-15 Andreas Jaeger <aj@suse.de>
5286 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5287 function definition to avoid a compilation failure.
5289 1999-09-15 Andreas Jaeger <aj@suse.de>
5291 * stdlib/tst-environ.c (main): Add getenv regression test for
5292 environment variable that's one character long.
5294 1999-09-15 Andreas Jaeger <aj@suse.de>
5296 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5297 signal definitions to let glibc compile with older Linux versions
5298 (2.0.10 to 2.1.100 or so).
5300 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
5302 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5303 return zero to indicate no children died yet (assuming WNOHANG).
5305 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5307 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
5309 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5311 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5312 Return _hurd_pgrp instead of 0.
5314 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
5316 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5317 pages rather than just reprotecting them. This way we don't hold on
5318 to the backing space.
5320 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5321 Use __munmap instead of __vm_deallocate.
5323 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
5325 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5326 returned errno value in some cases.
5328 1999-09-17 Andreas Jaeger <aj@suse.de>
5330 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5331 to override user settings.
5333 1999-09-17 Andreas Schwab <schwab@suse.de>
5335 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5336 using a pointer to it.
5338 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
5340 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5341 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5343 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
5345 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5347 * elf/elf.h (PF_MASKOS): New definition.
5348 (EM_VAX): New definition.
5350 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5352 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5353 'unsigned char ftype[8]', and 'unsigned int init_flag' to
5354 struct user_fp. These were added in version 2.2.12 of the
5356 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5357 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5358 The generic procfs.h included <asm/elf.h>. This causes
5359 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5360 are included in the same source file. Found when building GDB.
5362 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
5364 * locale/langinfo.h: Remove byte-order dependent names.
5365 * locale/categories.def: Update after removal of byte-order dependent
5367 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5368 with magic number in other byte order.
5369 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5370 * locale/C-collate.c: Remove initializers for other byte-order.
5371 * locale/C-ctype.c: Likewise.
5372 * locale/C-monetary.c: Likewise.
5373 * locale/C-paper.c: Likewise.
5374 * locale/C-time.c: Likewise.
5375 * locale/lc-collate.c: Remove byte-order oriented initialization.
5376 * locale/lc-ctype.c: Likewise.
5377 * locale/lc-monetary.c: Likewise.
5378 * locale/lc-time.c: Likewise.
5379 * locale/programs/ld-address.c: Don't generate output in both
5381 * locale/programs/ld-ctype.c: Likewise.
5382 * locale/programs/ld-paper.c: Likewise.
5383 * locale/programs/ld-time.c: Likewise.
5384 * time/strftime.c (NLW): Don't use different byte-orders.
5385 * wctype/cname-lookup.h (cname_lookup): Likewise.
5387 * Makeconfig (localedir): Define using libdir, not datadir.
5388 (msgcatdir): New variable.
5389 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5390 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5392 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5393 (CPPFLAGS): Define paths using msgcatdir.
5394 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5395 * po/Makefile (mo-installed): Define using msgcatdir.
5397 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5399 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
5401 * stdio-common/vfprintf.c: Remove limitation on size of precision
5404 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5405 glibc by defining internal_function if it isn't already.
5407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5408 fails don't rely on errno value.
5409 (getanswer_r): Set *ERRNOP in error cases.
5411 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5412 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5413 associated data. Test for matching numeric address and family.
5414 (getaddrinfo): Remember EAI_NODATA result and return this in case
5416 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5418 * locale/programs/ld-address.c: Fix handling of non-existing
5419 definitions for this category. Correctly ignore content of this
5420 category is this is necessary.
5421 * locale/programs/ld-collate.c: Likewise.
5422 * locale/programs/ld-ctype.c: Likewise.
5423 * locale/programs/ld-identification.c: Likewise.
5424 * locale/programs/ld-measurement.c: Likewise.
5425 * locale/programs/ld-messages.c: Likewise.
5426 * locale/programs/ld-monetary.c: Likewise.
5427 * locale/programs/ld-name.c: Likewise.
5428 * locale/programs/ld-numeric.c: Likewise.
5429 * locale/programs/ld-paper.c: Likewise.
5430 * locale/programs/ld-telephone.c: Likewise.
5431 * locale/programs/ld-time.c: Likewise.
5432 * locale/programs/locfile.h (handle_copy): Take extra parameter
5433 with result pointer. Fill in name of locale from which to copy.
5434 Correctly read token after `END'.
5436 * locale/programs/localedef.c (main): Correct handling copy.
5437 (add_to_readlist): Take extra parameter which says whether we
5438 are supposed to read the file or not.
5439 (find_locale): Call add_to_readlist with extra parameter set to 0.
5441 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5442 instead of wrong number in array definitions.
5443 (add_to_readlist): Update prototype.
5445 * locale/programs/locfile.c (locfile_read): Mark categories not
5446 available in source file as read.
5447 (write_all_categories): Fix typo.
5449 * locale/programs/locales.h: Removed.
5451 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5453 * elf/elf.h (SHF_MASKOS): Added.
5455 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5457 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5459 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5461 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5463 * configure.in: Fix make version test for make 3.77.95 and later
5465 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5467 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5469 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5471 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5474 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5476 1999-09-09 Andreas Schwab <schwab@suse.de>
5478 * elf/link.h: Fix comment.
5480 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5482 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5484 * math/math.h: Pretty print.
5486 1999-09-10 Andreas Schwab <schwab@suse.de>
5488 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5489 character variable on bigendian platforms without unaligned memory
5492 1999-09-07 Cristian Gafton <gafton@redhat.com>
5494 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5495 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5496 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5498 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5500 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5502 * time/ap.c: Removed. It was not used.
5503 * time/date.c: Likewise.
5504 * sysdeps/unix/nlist.c: Likewise.
5505 * sysdeps/generic/nlist.c: Likewise.
5506 * sysdeps/generic/varargs.h: Likewise.
5507 * stdio-common/scanf11.c: Likewise.
5508 * stdio-common/scanf6.c: Likewise.
5509 * scripts/=__ify: Likewise.
5510 * scripts/printsources: Likewise.
5511 * resolv/getnetnamadr.c: Likewise.
5512 * posix/id.c: Likewise.
5513 * misc/ioctltst.c: Likewise.
5514 * misc/nlist.h: Likewise.
5515 * math/test-math.h: Likewise.
5516 * include/nlist.h: Likewise.
5518 1999-09-06 Andreas Schwab <schwab@suse.de>
5520 * time/tzset.c (compute_change): Replace slow loop to compute T by
5523 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5525 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5526 escape sequences out even if the character itself does not fit
5529 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5531 1999-08-31 H.J. Lu <hjl@gnu.org>
5533 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5535 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5537 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5538 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5539 (_hurd_priority_which_map):
5541 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5543 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5545 1999-09-03 Andreas Schwab <schwab@suse.de>
5547 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5548 fork from __syscall_fork to __libc_fork.
5549 * posix/Versions: Add __libc_fork and __vfork to version
5552 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5554 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5555 dependencies in sort.
5557 1999-09-01 H.J. Lu <hjl@gnu.org>
5559 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5561 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5562 <sys/user.h> instead of <asm/user.h>.
5564 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5566 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5568 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5570 * elf/elf.h: Update PARISC relocations.
5572 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5574 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5575 #ifdef statement to prevent it from being included twice.
5576 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5577 #include <bits/armsigctx.h>.
5579 1999-08-31 Andreas Schwab <schwab@suse.de>
5581 * locale/C-collate.c: Add missing initialisations.
5582 * locale/C-ctype.c: Likewise.
5584 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5586 * time/strftime.c (my_strftime): Remove unneeded variable len.
5588 * time/strptime.c: Undo last change.
5590 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5592 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5593 Change charset.h to charmap.h.
5594 (categories): Add new categories. Leave out collate for now.
5596 * locale/categories.def: Add definitions for new categories.
5597 * locale/langinfo.h: Likewise.
5598 * locale/locale.h: Likewise.
5599 * locale/C-address.c: New file.
5600 * locale/C-identification.c: New file.
5601 * locale/C-measurement.c: New file.
5602 * locale/C-name.c: New file.
5603 * locale/C-paper.c: New file.
5604 * locale/C-telephone.c: New file.
5605 * locale/lc-address.c: Likewise.
5606 * locale/lc-identification.c: Likewise.
5607 * locale/lc-measurement.c: Likewise.
5608 * locale/lc-name.c: Likewise.
5609 * locale/lc-paper.c: Likewise.
5610 * locale/lc-telephone.c: Likewise.
5611 * locale/C-ctype.c: Update for locale rewrite.
5612 * locale/C-messages.c: Likewise.
5613 * locale/C-monetary.c: Likewise.
5614 * locale/C-time.c: Likewise.
5615 * locale/lc-collate.c: Likewise.
5616 * locale/lc-ctype.c: Likewise.
5617 * locale/lc-monetary.c: Likewise.
5618 * locale/lc-time.c: Likewise.
5619 * locale/localeinfo.h: Likewise.
5620 * locale/newlocale.c: Likewise.
5621 * locale/setlocale.c: Likewise.
5622 * locale/weight.h: Likewise.
5623 * locale/findlocale.c: Unconditionally use mmap.
5624 Handle new categories.
5625 * locale/loadlocale.c: Likewise.
5626 * locale/iso-3166.def: New file.
5627 * locale/iso-639.def: New file.
5628 * locale/programs/charmap-kw.gperf: Add new keywords.
5629 * locale/programs/locfile-kw.gperf: Likewise.
5630 * locale/programs/locfile-token.h: Define new tokens.
5631 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5632 * locale/programs/charmap.h: New file.
5633 * locale/programs/charset.h: Removed.
5634 * locale/programs/config.h: Add __LC_LAST.
5635 * locale/programs/lc-address.c: New file.
5636 * locale/programs/lc-identification.c: New file.
5637 * locale/programs/lc-measurement.c: New file.
5638 * locale/programs/lc-name.c: New file.
5639 * locale/programs/lc-paper.c: New file.
5640 * locale/programs/lc-telephone.c: New file.
5641 * locale/programs/lc-collate.c: Update for locale rewrite.
5642 * locale/programs/lc-ctype.c: Likewise.
5643 * locale/programs/lc-messages.c: Likewise.
5644 * locale/programs/lc-monetary.c: Likewise.
5645 * locale/programs/lc-numeric.c: Likewise.
5646 * locale/programs/lc-time.c: Likewise.
5647 * locale/programs/locale.c: Likewise.
5648 * locale/programs/localedef.c: Likewise.
5649 * locale/programs/locfile.c: Likewise.
5650 * locale/programs/repertoire.c: Likewise.
5651 * locale/programs/repertoire.h: Likewise.
5652 * locale/programs/locfile.c: Update prototypes.
5653 Update handle_copy definition.
5654 * locale/programs/linereader.c: Add handling of wide char strings and
5655 new definition file syntax.
5656 * locale/programs/linereader.h (struct token): Add elements for wide
5658 * locale/programs/locale-spec.c: Disable handling of collation
5660 * locale/programs/simple-hash.h: Cleanup.
5661 * locale/programs/stringtrans.h: Handle quite of end of line.
5662 * string/strcoll.c: Fall back on strcmp for now.
5663 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5664 * time/strftime.c: Use new wide character data for wcsftime.
5665 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5666 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5668 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5669 compiling for i386 to avoid i686-like GOT pointer computation.
5671 * db2/db_int.h: Change tsl_t type to u_int32_t.
5672 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5673 * db2/mutex/alpha.h: New file.
5674 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5675 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5677 Patches by Richard Henderson.
5679 * stdlib/tst-environ.c: Add cast to avoid warning.
5680 * timezone/test-tz.c: Use setenv instead of putenv.
5682 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5684 * manual/libc.texinfo: Update version and date.
5686 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5688 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5689 (File System Interface): Correct entry.
5690 (Permission Bits): Add missing commata after @xref.
5692 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5694 * timezone/tst-timezone.c (main): Don't pass const strings to
5695 putenv to avoid warnings.
5697 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5699 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5701 * nis/Versions: Add _nss_*_getipnodebyname_r.
5702 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5703 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5704 * nss/Versions: Add _nss_files_getipnodebyname_r.
5706 1999-08-28 H.J. Lu <hjl@gnu.org>
5708 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5711 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5713 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5715 * inet/netinet/in.h: Likewise.
5716 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5717 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5719 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
5721 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5722 thresholds for SUID binaries. [PR libc/1277]
5724 * posix/regexbug1.c: Add one more similar case.
5726 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5728 * manual/install.texi (Running make install): Give examples for
5729 timezone and locale installation.
5731 1999-08-28 Zack Weinberg <zack@bitmover.com>
5733 * glibcbug.in: Get CCVERSION from autoconf substitution.
5734 * configure.in: Calculate and substitute CCVERSION.
5736 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5738 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5739 partially reverting a patch from 1998-12-29. We just can't change
5740 the flags, kernels with different flags lead to
5743 1999-08-26 Andreas Schwab <schwab@suse.de>
5745 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5747 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5749 * inet/rexec.c (rexec): Free memory if strings were allocated in
5750 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
5752 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5754 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5756 * manual/argp.texi: Fixing language and typos.
5757 * manual/conf.texi: Likewise.
5758 * manual/contrib.texi: Likewise.
5759 * manual/ctype.texi: Likewise.
5760 * manual/filesys.texi: Likewise.
5761 * manual/install.texi: Likewise.
5762 * manual/job.texi: Likewise.
5763 * manual/lang.texi: Likewise.
5764 * manual/llio.texi: Likewise.
5765 * manual/locale.texi: Likewise.
5766 * manual/math.texi: Likewise.
5767 * manual/nss.texi: Likewise.
5768 * manual/pipe.texi: Likewise.
5769 * manual/signal.texi: Likewise.
5770 * manual/socket.texi: Likewise.
5771 * manual/stdio.texi: Likewise.
5772 * manual/sysinfo.texi: Likewise.
5773 * manual/users.texi: Likewise.
5774 Patches by Neil Booth <NeilB@earthling.net>.
5776 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5778 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5779 unsigned to avoid warning. [PR libc/1271].
5781 * conform/conformtest.pl: Allow testing regex.h which requires
5782 sys/types.h being included.
5784 * conform/data/regex.h-data: Allow *_t types.
5785 * conform/data/pwd.h-data: Likewise.
5786 * conform/data/sched.h-data: Likewise.
5787 * conform/data/pthread.h-data: Likewise.
5788 * conform/data/search.h-data: Likewise.
5790 * misc/search.h: Avoid namespace pollution.
5792 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5793 pwd.h, and pthread.h.
5794 * conform/data/pthread.h-data: New file.
5795 * conform/data/pwd.h-data: New file.
5796 * conform/data/regex.h-data: New file.
5797 * conform/data/sched.h-data: New file.
5798 * conform/data/search.h-data: New file.
5800 * NAMESPACE: Add REG_ for regex.h.
5802 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5805 * configure.in (libc_cv_asm_global_directive): Indent .text in
5806 test code so that the lame HPUX compiler recognizes it.
5807 * sysdeps/hppa/bits/endian.h: New file.
5808 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5809 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5810 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5811 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5813 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5814 Patch by John Tobey <jtobey@banta-im.com>.
5816 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5818 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5819 old_siocfifconf definition to toplevel.
5820 (__protocol_available): Remove old_siocfifconf definition.
5822 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5824 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5825 really dealing with a master pseudo terminal, and really returning
5826 the name of the associated slave pseudo terminal by checking the
5828 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5829 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5831 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5833 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5834 underscore in _llseek entry.
5836 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5839 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5840 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5842 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5843 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5845 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5847 * inet/Makefile (routines): Add getipnodebynm.
5848 * inet/getipnodebynm.c: New file.
5849 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5851 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5852 EXTRA_ARGS_VALUE is not already done.
5853 (internal_getent): Allow extra parameters and pass them to parse_line.
5854 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5855 (_nss_files_get##name##_r): Likewise.
5856 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5857 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5858 Add getipnodebyname function.
5859 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5860 EXTRA_ARGS_VALUE is not already done.
5861 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5862 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5864 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5865 (_nss_db_get,ENTNAME_r): Likewise.
5866 * sysdeps/generic/if_index.c (__protocol_available): New function.
5867 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5869 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5871 * login/pty-private.h: Move to...
5872 * sysdeps/generic/pty-private.h: ...here.
5873 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5875 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5878 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5881 * conform/conformtest.pl (@headers): Add monetary.h-data,
5882 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5883 * conform/data/monetary.h-data: New file.
5884 * conform/data/mqueue.h-data: New file.
5885 * conform/data/ndbm.h-data: New file.
5886 * conform/data/nl_types.h.h-data: New file.
5887 * conform/data/poll.h-data: New file.
5889 * stdio-common/Makefile (test): Add tst-cookie.
5890 * stdio-common/tst-cookie.c: New file.
5892 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5893 changed in last patch. Reported by Ralf Baechle.
5895 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5897 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5899 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5900 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5902 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5904 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5907 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5909 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5913 * misc/libgen.h: Don't take basename macro as taking arguments.
5915 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5917 * sysdeps/i386/bits/huge_val.h: Likewise.
5918 * sysdeps/i386/bits/huge_val.h: Likewise.
5919 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5920 * sysdeps/m68k/bits/huge_val.h: Likewise.
5921 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5922 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5924 * conform/Makefile: New file.
5925 * conform/conformtest.pl: New file.
5926 * conform/data/aio.h-data: New file.
5927 * conform/data/assert.h-data: New file.
5928 * conform/data/cpio.h-data: New file.
5929 * conform/data/ctype.h-data: New file.
5930 * conform/data/dirent.h-data: New file.
5931 * conform/data/dlfcn.h-data: New file.
5932 * conform/data/errno.h-data: New file.
5933 * conform/data/fcntl.h-data: New file.
5934 * conform/data/float.h-data: New file.
5935 * conform/data/fmtmsg.h-data: New file.
5936 * conform/data/fnmatch.h-data: New file.
5937 * conform/data/ftw.h-data: New file.
5938 * conform/data/glob.h-data: New file.
5939 * conform/data/grp.h-data: New file.
5940 * conform/data/iconv.h-data: New file.
5941 * conform/data/inttypes.h-data: New file.
5942 * conform/data/iso646.h-data: New file.
5943 * conform/data/langinfo.h-data: New file.
5944 * conform/data/libgen.h-data: New file.
5945 * conform/data/locale.h-data: New file.
5946 * conform/data/math.h-data: New file.
5948 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5950 * posix/execvp.c (execvp): Correct copying of file name.
5952 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5954 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5956 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5958 * stdio-common/Makefile: Move addition to routines to the right place.
5960 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5962 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5963 since mips*-linux has ECANCELED.
5965 1999-08-23 Andreas Schwab <schwab@suse.de>
5967 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5968 SIGCONTEXT_EXTRA_ARGS.
5969 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5970 * sysdeps/generic/sigcontextinfo.h: Likewise.
5971 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5972 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5973 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5974 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5978 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5980 * posix/regexbug1.c: Make it an error if the test fails.
5982 1999-08-23 Andreas Schwab <schwab@suse.de>
5984 * posix/regex.c (re_match_2_internal): Correct check for charset
5985 after exactn in loop.
5987 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5989 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5990 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5991 Patch by Joel Klecker.
5993 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5994 (__gconv_find_transform): Update prototype.
5995 (__gconv_open): Likewise.
5996 * iconv/gconv_open.c: Take extra parameter and pass it to
5997 __gconv_find_transform.
5998 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5999 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
6001 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
6002 * wcsmbs/wcsmbsload.c: Likewise.
6003 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
6005 * intl/gettextP.h: Likewise.
6006 * intl/loadmsgcat.c: Likewise.
6008 * posix/regexbug1.c: New file.
6009 * posix/Makefile (tests): Add regexbug1.
6011 1999-08-22 Mark Kettenis <kettenis@gnu.org>
6013 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
6014 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
6015 installing PORT in the descriptor cell.
6017 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
6019 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
6020 TIMEOUT as outputs of the asm to indicate that the signal thread
6022 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
6023 mach_msg if only sending or only receiving (i.e., not an RPC). When
6024 making an RPC that might get interrupted, save OPTION and the portion
6025 of the message buffer that gets clobbered by an EINTR reply message,
6026 and properly restore them before attempting to retry the request
6029 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6031 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
6032 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
6033 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
6034 stdio is used instead of libio.
6035 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
6036 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
6037 to make the code compile again when stdio is used instead of
6039 (vfprintf): Only check for correct orientation if ORIENT is
6041 * stdio-common/Makefile (routines): Only add vfwprintf and
6042 vfwscanf if we're using libio.
6044 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6046 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
6047 any additional prototype just as we do for libio.
6049 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6051 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
6052 TZNAME_MAX. These limits are not X/Open specific.
6053 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
6056 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6058 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
6059 UIO_MAXIOV is left undefined in sys/uio.h.
6060 * stdio-common/stdio_lim.h.in: Adapt for change above.
6062 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6064 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
6065 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
6066 Patches by Ralf Baechle <ralf@uni-koblenz.de>
6068 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
6070 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
6072 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
6074 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
6076 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
6077 call. It should not be necessary andis harmful for Alpha.
6079 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
6080 type. [PR libc/1269]
6082 * posix/execvp.c (execvp): Allocate array name of correct size.
6083 Optimize inner loop. Use execve directly, not execv.
6085 * elf/elf.h: Corrected SHT_ values from new draft.
6087 * intl/gettextP.h (struct loaded_domain): Add conv element.
6088 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
6089 Instead of returning found message directly convert it using iconv
6090 if a conversion was found when opening the file.
6091 * intl/loadinfo.h: Protect against multiple inclusion.
6092 Declare _nl_find_msg.
6093 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
6094 in the message file and if necessary find approrpiate
6095 conversion to match currently selected charset.
6096 * include/libintl.h: Declare __dgettext and __dcgettext.
6097 * include/iconv.h: New file.
6099 1999-08-20 Andreas Schwab <schwab@suse.de>
6101 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6103 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
6105 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
6106 all threads [PR libc/1223].
6108 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
6111 * configure.in: Search for programs with prefix gnu* and g* first.
6114 * dirent/Makefile (routines): Add getdents64.
6115 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
6117 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
6118 compiled with _FILE_OFFSET_BITS=64.
6119 * sysdeps/generic/getdents64.c: New file.
6120 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
6121 __lseek for getdirentries64 definition.
6123 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
6125 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
6126 _FILE_OFFSET_BITS=64.
6128 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
6131 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
6132 after we have the lock.
6134 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
6135 Patch by Richard Henderson.
6137 1999-08-19 Andreas Schwab <schwab@suse.de>
6139 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
6140 and call _IO_fwide, to get the wide stream state initialized
6141 correctly. Don't set _IO_JUMPS.
6142 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
6143 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
6144 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
6147 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6149 * math/libm-test.c (jn_test): Fix typo in description.
6150 (erfc_test): Add some more tests.
6151 (erf_test): Add some more tests.
6153 1999-08-19 Andreas Schwab <schwab@suse.de>
6155 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6156 expression using $(exceptions).
6158 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6160 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6162 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6163 allocated so far. [PR libc/1261].
6165 * math/libm-test.c (j0_test): Adjust deltas for m68k.
6166 (jn_test): Likewise.
6168 * dirent/dirent.h: Only define ino64_t if not already done.
6169 * posix/sys/types.h: Likewise.
6171 * ctype/ctype.h: Avoid useless #endif #if pairs.
6173 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6174 (seekdir): Fix type of second parameter.
6175 * sysdeps/generic/seekdir.c: Likewise.
6176 * sysdeps/mach/hurd/seekdir.c: Likewise.
6177 * sysdeps/unix/seekdir.c: Likewise.
6179 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6181 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6183 * manual/install.texi (Configuring and compiling): Clarify ix86
6186 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6188 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6189 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6190 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6191 stdio_lim.h. Define LONG_BIT and WORD_BIT.
6193 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6195 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6197 * misc/search.h: Don't define NULL.
6199 * posix/sys/types.h: Define blksize_t if it hasn't happened.
6200 Only define key_t and blkcnt_t if it hasn't happened before.
6201 Define blksize_t if not happened before.
6202 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
6203 * sysdeps/generic/bits/types.h: Define __blksize_t.
6204 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6205 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6206 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6207 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6208 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6209 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6211 (struct stat64): Likewise.
6212 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6213 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6214 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6215 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6216 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6217 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6218 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6220 * stdlib/getsubopt.c: Correct type of second argument.
6221 * stdlib/stdlib.h: Likewise.
6223 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
6226 * sysdeps/generic/putenv.c: Correct type of parameter.
6227 * stdlib/stdlib.h: Likewise.
6229 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6230 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6231 * sysvips/sys/msg.h: Likewise.
6233 * sysdeps/generic/semop.c: Correct type of third parameter.
6234 * sysdeps/unix/sysv/linux/semop.c: Likewise.
6235 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
6238 * sysdeps/generic/shmget.c: Correct type of second parameter.
6239 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6240 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
6241 Declare __getpagesize here.
6243 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6245 * sysdeps/gnu/bits/ipc.h: Likewise.
6246 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6247 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6249 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6252 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6254 * debug/versions: Export __cyg_profile_func_enter and
6255 __cyg_profile_func_exit.
6257 * math/bits/mathcalls.h: Pretty print.
6259 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6261 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6262 case for new tzdata.
6264 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6266 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6267 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6269 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6271 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6273 * sysdeps/generic/ualarm.c (ualarm): Change return value and
6274 parameter type to useconds_t.
6275 * sysdeps/unix/bsd/ualarm.c: Likewise.
6277 * sysdeps/generic/usleep.c (usleep): Change parameter type to
6279 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6280 * sysdeps/mach/usleep.c: Likewise.
6282 * locale/weight.h: Include <errno.h>.
6284 * posix/sys/types.h: Define type useconds_t if not done already.
6285 * posix/unistd.h: Likewise. Use this in ualarm and usleep
6287 * sysdeps/generic/bits/types.h: Define type __useconds_t.
6288 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6289 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6290 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6291 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6292 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6294 * dirent/dirent.h (telldir): Change return type to long int.
6295 * sysdeps/generic/telldir.c: Likewise.
6296 * sysdeps/mach/hurd/telldir.c: Likewise.
6297 * sysdeps/unix/telldir.c: Likewise.
6298 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
6300 * locale/weight.h: Set errno if an invalid character is found.
6302 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6304 * math/libm-test.c (erfc_test): Add test for example from PR
6306 (erf_test): Likewise.
6308 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6310 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6311 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
6313 * timezone/private.h: Update from tzcode1999e.
6314 * timezone/zic.c: Likewise.
6316 * timezone/africa: Update from tzdata1999e.
6317 * timezone/antarctica: Likewise.
6318 * timezone/asia: Likewise.
6319 * timezone/australasia: Likewise.
6320 * timezone/europe: Likewise.
6321 * timezone/leapseconds: Likewise.
6322 * timezone/northamerica: Likewise.
6323 * timezone/southamerica: Likewise.
6325 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6326 and write correct number of bytes in case of %ls with precision.
6327 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6329 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
6331 * nscd/nscd.init: Test for kernel version and make LSB compliant.
6332 Patch by Christian Gafton.
6334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6335 O_RSYNC. Patch by Christian Gafton.
6337 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6338 possibly unterminated strings for %ls when a precision is
6340 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6342 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6343 update_conversion_ptrs.
6344 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6346 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6348 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6349 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6351 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6352 * wcsmbs/tst-wcsnlen.c: New file.
6354 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6356 * libio/ioputs.c (_IO_puts): Add missing brace.
6358 1999-07-20 Geoff Keating <geoffk@cygnus.com>
6360 * math/libm-test.c: Tweak deltas for a clean run on ppc.
6362 1999-08-10 H.J. Lu <hjl@gnu.org>
6364 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6365 (vfprintf): Likewise.
6366 * stdio-common/vfscanf.c (ORIENT): Likewise.
6367 * libio/genops.c (__underflow): Likewise.
6368 (__uflow): Likewise.
6369 * libio/iofputs.c (_IO_fputs): Likewise.
6370 * libio/ioftell.c (_IO_ftell): Likewise.
6371 * libio/iofwrite.c (_IO_fwrite): Likewise.
6372 * libio/ioputs.c (_IO_puts): Likewise.
6373 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6374 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6376 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6378 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6380 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6382 * manual/job.texi (Process Group Functions): Document getpgid,
6385 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6387 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6388 initialize si_pid from it.
6389 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6391 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6392 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6393 (struct requestlist): Likewise.
6394 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6395 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
6397 (__aio_notify): Pass caller PID to __aio_notify_only.
6398 * rt/aio_suspend.c: Initialize caller_pid.
6399 * rt/lio_listio.c: Likewise.
6400 * rt/lio_listio64.c: Likewise.
6402 * rt/lio_listio.c: If nothing has to be done free mutex before
6404 * rt/lio_listio64.c: Likewise.
6406 1999-08-10 H.J. Lu <hjl@gnu.org>
6408 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6411 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6413 * elf/elf.h: Define ElfXX_Versym.
6414 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6417 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6418 for string output correctly in the wide character case.
6419 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6421 * intl/locale.alias: Add catalan.
6423 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6425 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6427 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6429 * po/pt_BR.po: New file.
6431 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6433 * math/libm-test.c (yn_test): Adjust deltas for i386.
6434 (ccosh_test): Likewise.
6435 (jn_test): Likewise.
6437 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6439 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6441 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6443 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6446 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6448 * configure.in: install-sh lives now in scripts subdir.
6449 PR libc/1255 (bug 4).
6451 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6453 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6458 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6460 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6462 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6464 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6467 1999-08-10 Andreas Schwab <schwab@suse.de>
6469 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6472 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6474 * elf/elf.h: Added definition of ELFOSABI_ARM.
6475 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6476 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6477 object's header and ABI values are acceptable.
6478 (VALID_ELF_HEADER): New macro; provide default definition.
6479 (VALID_ELF_OSABI): New macro; provide default definition.
6480 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6481 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6482 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6484 1999-08-09 Andreas Schwab <schwab@suse.de>
6486 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6488 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6490 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6492 1999-08-09 Andreas Schwab <schwab@suse.de>
6494 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6496 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6498 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6499 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6501 * string/bits/string2.h: Mark void* operations as extensions.
6502 * sysdeps/i386/i486/bits/string.h: Likewise.
6504 * debug/Makefile (routines): Add noophooks.
6505 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6506 * debug/noophooks.c: New file.
6507 * debug/pcprofile.c: New file.
6509 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6511 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6512 systems which allow using the functions also on non-seekable
6515 * resolv/res_send.c (res_send): Recompute timeout for poll for
6516 each jump to `wait'.
6518 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6519 braces to avoid warnings.
6520 (IN6ADDR_LOOPBACK_INIT): Likewise.
6522 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6525 1999-08-06 H.J. Lu <hjl@gnu.org>
6527 * malloc/malloc.c: Initialize __libc_pagesize early.
6529 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6531 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6534 * inet/Makefile (tests): Add tst-ipnode.
6535 * inet/tst-ipnode.c: New file.
6537 1999-08-06 Andreas Schwab <schwab@suse.de>
6539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6541 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6542 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6543 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6545 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6546 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6548 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6550 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6551 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6552 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6554 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6556 * resolv/res_send.c (res_send): Don't test file descriptor for
6557 range, we use poll now. [PR libc/1240]
6559 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6561 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6562 2.0 defined if they are not available.
6564 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6566 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6569 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6571 * rt/aio_read.c: Fix return value.
6572 * rt/aio_read64.c: Likewise.
6573 Reported by Christian Gafton.
6575 * rt/aio_write.c: Fix return value.
6576 * rt/aio_write64.c: Likewise.
6577 * rt/aio_fsync.c: Likewise.
6579 * rt/aio_misc.c: Set errno at correct place.
6581 * rt/aio_fsync.c: Test OP parameter for correct values.
6583 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6585 1999-08-04 Andreas Schwab <schwab@suse.de>
6587 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6588 Initialize result to one.
6589 (GET_NPROCS_CONF_PARSER): Likewise.
6591 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6593 * inet/ether_hton.c: Pass errno pointer to NSS function.
6594 * inet/getnetgrent_r.c: Likewise.
6595 Reported by Marty Leisner <leisner@rochester.rr.com>.
6597 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6599 * nis/nis_callback.c: Fix port problem on big-endian machines
6600 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6601 fields are always 32 bit.
6602 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6604 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6606 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6608 1999-08-03 Andreas Schwab <schwab@suse.de>
6610 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6611 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6612 avoid two calls to sigprocmask.
6614 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6616 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6618 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6621 Only allow rt signal frames. No SA_SIGINFO signals will have the
6622 siginfo_t just not filled out with SI_NOINFO code.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6624 (register_dump): Take the above change into account.
6625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6626 (rt_signal_frame): Likewise.
6628 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6630 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6632 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6633 instead of select().
6635 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6637 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6638 nexttoward so something else so that aliasing works.
6640 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6642 * sysdeps/generic/math_ldbl.h: Fix typo.
6643 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6644 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6646 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6648 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6650 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6652 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6654 * elf/resolvfail.c: New file.
6656 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6657 pass it to _dl_lookup_symbol.
6659 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6660 bit. Reword message.
6662 * dlfcn/dlerror.c: Make code thread-safe.
6664 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6666 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6667 initializer in CHECK: a bit size, not the type code repeated!
6669 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6671 * string/tester.c: Add tests with constant arguments for strcpy
6674 1999-07-31 H.J. Lu <hjl@gnu.org>
6676 * string/bits/string2.h (__strcpy_small): Fix a typo.
6678 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6680 * Makeconfig (link-libc): Always define it, not only for shared
6683 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6684 * sysdeps/i386/fpu/e_powf.S: Likewise.
6685 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6687 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6688 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6690 1999-07-30 Andreas Schwab <schwab@suse.de>
6692 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6694 (__get_nprocs): Use it.
6695 (__get_nprocs_conf): Define as separate function if
6696 GET_NPROCS_CONF_PARSER is defined.
6697 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6699 * include/sys/sysinfo.h: New file.
6700 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6702 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6704 1999-07-30 H.J. Lu <hjl@gnu.org>
6706 * libio/iofflush.c (fflush_unlocked): Weak aliase if
6707 _IO_MTSAFE_IO is not defined.
6708 * libio/clearerr.c (clearerr_unlocked): Likewise.
6709 * libio/feof.c (feof_unlocked): Likewise.
6710 * libio/ferror.c (ferror_unlocked): Likewise.
6711 * libio/fputc.c (fputc_unlocked): Likewise.
6712 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6713 * libio/getchar.c (getchar_unlocked): Likewise.
6714 * libio/putc.c (putc_unlocked): Likewise.
6715 * libio/putchar.c (putchar_unlocked): Likewise.
6717 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
6719 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6720 svc_max_pollfd and svc_pollfd to GLIBC_2.2
6721 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6722 for svc_run/poll interface.
6723 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6724 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6726 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6727 rewrite other svc_getreq* functions to use svc_getreq_common.
6728 * sunrpc/svc_run.c: Use poll().
6730 1999-07-30 Andreas Schwab <schwab@suse.de>
6732 * Makerules: Put sysd-versions and Versions.all on
6733 postclean-generated instead of common-generated.
6735 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6737 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6738 around and CLOCKS_PER_SEC is 1e6.
6740 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
6742 * configure.in: Add test for local label subtraction.
6743 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6744 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6745 labels to reduce number of runtime relocations and move jump
6746 tables in read-only seciton.
6748 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
6749 assignment cannot be moved.
6751 1999-07-29 H.J. Lu <hjl@gnu.org>
6753 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6754 if no threads are used.
6756 * libio/iofwrite.c: Add weak alias for _unlocked function if not
6758 * libio/iofread.c: Likewise.
6759 * libio/iofgets.c: Likewise.
6760 * libio/iofputs.c: Likewise.
6762 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6765 * stdlib/mbtowc.c: Include <string.h>.
6766 * stdlib/wctomb.c: Likewise.
6767 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6768 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6770 * misc/mntent_r.c: Include <alloca.h>.
6771 * elf/dl-runtime.c: Likewise.
6773 1999-07-29 Andreas Schwab <schwab@suse.de>
6775 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6776 all floating point formats supported by gcc. Error out for
6777 unhandled precisions.
6778 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6779 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6780 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6782 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
6784 * sysdeps/generic/setenv.c: Move setenv code in new function
6785 __add_to_environ. Add new parameter specifying already
6786 constructed string for the environment.
6787 (setenv): Call __add_to_environ with new parameter set to NULL.
6788 (unsetenv): Really test all elements for duplicated name. Missed those
6789 cases where the two are following each other.
6790 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6791 * include/stdlib.h: Add prototype of __add_to_environ.
6792 * stdlib/tst-environ.c: New file.
6793 * stdlib/Makefile (tests): Add tst-environ.
6795 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6797 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6798 argument in realloc call.
6799 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6801 Reported by Danny Braniss <danny@cs.huji.ac.il>.
6803 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6805 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6807 * misc/efgcvt_r.c: Likewise.
6808 * misc/qefgcvt.c: Likewise.
6809 * misc/qefgcvt_r.c: Likewise.
6810 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6813 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6815 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6817 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6819 * stdlib/mblen.c: Use static state.
6820 Reported by Bruno Haible <haible@ilog.fr>.
6822 * stdlib/mbtowc.c: Reset state for s == NULL.
6823 * stdlib/wctomb.c: Likewise.
6824 Reported by Bruno Haible <haible@ilog.fr>.
6826 * stdlib/mbstowcs.c: Do not use global state.
6827 Reported by Bruno Haible <haible@ilog.fr>.
6829 1999-07-28 Andeas Schwab <schwab@suse.de>
6831 * iconvdata/Makefile: Don't try to run iconv tests when cross
6834 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6836 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6837 assembler code to switch stacks and call init1 outside this
6838 function. Inside `init' the code was optimized away by gcc
6839 2.95 since it was "clearly" unreachable.
6840 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6841 Do something similar for the trampoline code.
6843 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6846 for the hinted protocol.
6848 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6850 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6852 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6854 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6855 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6856 * elf/dl-load.c (_dl_map_object): Likewise.
6857 * elf/do-lookup.h (do_lookup*): Likewise.
6858 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6859 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6861 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6863 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6865 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6866 * sysdeps/generic/getpgrp.c: Likewise.
6867 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6868 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6869 Patch by John Tobey <jtobey@banta-im.com>.
6871 * sysdeps/posix/wait3.c: Help compiling in presence of
6872 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6874 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6876 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6877 as much as possible. Declare them using .register pseudo-op if they
6879 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6880 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6881 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6882 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6883 * sysdeps/sparc/sparc64/memset.S: Likewise.
6884 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6885 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6886 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6887 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6888 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6889 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6890 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6891 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6892 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6893 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6894 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6895 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6896 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6897 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6898 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6900 Optimize trampoline code for .plt4-.plt32767.
6901 Fix trampolines for .plt32768+.
6903 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6905 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6907 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6908 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6909 libc's private use (as assembly routine clobber it anyway).
6911 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6913 * README.template (configurations): The crypt add-on has a new
6915 * manual/install.texi (Installation): Likewise.
6917 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6919 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6920 requires to have a full definition but we wait for a bug report
6921 based on the test suite.
6923 * sysdeps/generic/clock_getres.c: New file.
6924 * sysdeps/generic/clock_gettime.c: New file.
6925 * sysdeps/generic/clock_settime.c: New file.
6926 * sysdeps/generic/timer_create.c: New file.
6927 * sysdeps/generic/timer_delete.c: New file.
6928 * sysdeps/generic/timer_getoverr.c: New file.
6929 * sysdeps/generic/timer_gettime.c: New file.
6930 * sysdeps/generic/timer_settime.c: New file.
6932 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6933 CLOCK_REALTIME, and TIMER_ABSTIME.
6934 * sysdeps/mach/hurd/bits/time.h: Likewise.
6935 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6936 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6938 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6940 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6943 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6945 * time/Makefile (routines): Add clock_getres, clock_gettime,
6946 clock_setres, timer_create, timer_delete, timer_getoverr,
6947 timer_gettime, and timer_settime.
6949 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6950 POSIX.1b. Add prototypes for clock and timer functions.
6952 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6954 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6955 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6957 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6959 * stdlib/wcstombs.c: Do not use global state.
6960 Reported by Bruno Haible <haible@ilog.fr>.
6962 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6963 Reported by Bruno Haible <haible@ilog.fr>.
6965 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6966 of wide characters to convert do it right and don't overestimate
6967 by multiplying with MB_CUR_MAX.
6968 Reported by Bruno Haible <haible@ilog.fr>.
6970 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6972 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6973 (__stpcpy_small): Likewise.
6974 Union has no __uc member but __c.
6976 1999-07-26 Andreas Schwab <schwab@suse.de>
6978 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6980 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6982 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6983 _IO_old_fclose if doing versioning.
6985 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6987 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6989 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6990 encoding these characters.
6991 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6993 * string/bits/string2.h: Fix aliasing problems.
6994 * sysdeps/i386/i486/bits/string.h: Likewise.
6995 * sysdeps/i386/bits/string.h: Likewise.
6997 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6999 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
7000 * elf/rtld.c (dl_main): Don't call malloc() between
7001 re-relocating the dynamic linker and running the application's crt0.
7003 1999-07-21 Paul D. Smith <psmith@gnu.org>
7005 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
7006 glob.h to get __P() macro.
7008 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
7010 (__strchrnul): This won't exist outside GLIBC, so create one.
7012 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
7014 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
7015 __ino64_t should be 32bit unsigned type on sparc32.
7016 Define __off64_t to __quad_t instead of __int64_t.
7017 Make __pic_pid_t unsigned on sparc32.
7019 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7021 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
7024 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
7026 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
7027 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
7029 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
7031 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
7034 * resolv/res_send.c: Add locks for res_send and res_close use.
7036 * elf/Makefile (dl-routines): Add preinit.
7037 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
7038 * elf/link.h (struct link_map): Add new field l_preinitcount.
7039 * elf/dl-preinit.c: New file.
7040 * elf/dynamic-link.h: Initialize l_preinitcount.
7041 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
7043 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
7044 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
7046 * elf/dl-init.c: Handle DT_INIT_ARRAY.
7047 * elf/dynamic-link.h: Change parameters. Now only get link_map
7048 pointer. Calculate l_initcount.
7050 * elf/link.h (struct link_map): Add l_runpath_dirs.
7051 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
7052 * elf/dl-load.c: Pretty print.
7053 (decompose_rpath): Take new parameter with info from where the path
7054 comes. Pass it the fillin_rpath.
7055 (_dl_init_paths): Initialize l_runpath_dirs.
7056 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
7057 Search using RUNPATH after LD_LIBRARY_PATH.
7058 * elf/dl-support.c: Adjust comment.
7059 * elf/rtld.c: Adjust help message.
7061 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7063 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
7066 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
7068 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
7069 match BSD value; previous value of 1<<8 was a typo. I bet nothing
7070 ever used this, so I'm not going to worry about compatibility.
7071 [__USE_GNU] (IUCLC, OLCUC): New macros.
7073 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
7075 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
7077 * elf/elf.h: Add ET_LOOS and ET_HIOS.
7078 Add various EM_* constants.
7079 Add SHN_LOOS and SHN_HIOS.
7080 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
7081 Add SHF_MERGE and SHF_STRINGS.
7082 (ElfXX_Sym): Update description of st_other field.
7084 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
7086 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
7087 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
7088 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
7090 * posix/unistd.h: Move declaration of __libc_enable_secure to...
7091 * include/unistd.h: ...here.
7093 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
7094 * elf/dl-deps.c (expand_dst): Likewise.
7096 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
7097 based on DT_FLAGS value.
7099 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
7100 Add test for symbols marked STV_HIDDEN.
7101 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
7102 add undef_map. Compute reference_name locally. Update call to
7104 (_dl_lookup_symbol_skip): Likewise.
7105 (_dl_lookup_versioned_symbol): Likewise.
7106 (_dl_lookup_versioned_symbol_skip): Likewise.
7107 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
7108 * elf/dl-runtime.c: Likewise.
7109 * elf/dl-sym.c: Likewise.
7110 * elf/dl-symbol.c: Likewise.
7111 * elf/ldsodefs.h: Adjust prototypes.
7113 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
7114 handle appropriately. Add comment about DT_TEXTREL.
7115 * elf/dl-runtime.c: Likewise.
7117 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
7119 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
7120 * elf/ldsodefs.h: Declare it.
7121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
7123 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
7124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7125 (elf_machine_lazy_rel): Likewise.
7126 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7127 (elf_machine_lazy_rel): Likewise.
7128 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
7129 (elf_machine_lazy_rel): Likewise.
7130 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7131 (elf_machine_lazy_rel): Likewise.
7132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7133 (elf_machine_lazy_rel): Likewise.
7134 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
7135 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
7136 (elf_machine_lazy_rel): Likewise.
7137 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7138 (elf_machine_lazy_rel): Likewise.
7139 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
7140 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
7141 _dl_reloc_bad_type instead of _dl_signal_error.
7142 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
7144 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7146 * sysdeps/mach/_strerror.c: Include <libintl.h>.
7148 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
7150 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7151 hurd_signal_preemptor matches but its `preemptor' field is null, use
7152 its `handler' field directly. This is to comply with behavior
7153 documented in <hurd/sigpreempt.h>.
7155 1999-07-21 Andreas Schwab <schwab@suse.de>
7157 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7158 when reading from write-only stream.
7159 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7160 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7162 1999-07-21 Andreas Schwab <schwab@suse.de>
7164 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7167 1999-07-21 Mark Kettenis <kettenis@gnu.org>
7169 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7171 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7173 (__libc_write): Call __pwrite instead of __pread.
7175 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7177 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7178 __vm_allocate calls.
7180 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
7181 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7183 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7184 _hurd_fd_read with new OFFSET argument set to -1.
7185 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7188 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
7190 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7191 descriptor table sent in the RPC.
7193 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7195 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
7196 bill@taniwha.org [PR libc/1211].
7198 1999-07-19 Andreas Schwab <schwab@suse.de>
7200 * libio/Makefile (routines): Add fwprintf.
7202 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7203 * math/w_sqrt.c: Moved to ...
7204 * sysdeps/generic/w_sqrt.c: ... here.
7205 * math/w_sqrtf.c: Moved to ...
7206 * sysdeps/generic/w_sqrtf.c: ... here.
7208 * Make-dist (generic-dirs): New variable.
7209 (try-sysdeps, +sysdep-names): Use it.
7210 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
7211 instead of $(lib)-routines.
7212 * elf/Makefile (distribute): Add dl-cache.h.
7213 * db2/Makefile (distribute): Add all new files.
7214 * iconvdata/Makefile (distribute): Don't distribute CVS
7216 * math/Makefile (distribute): Remove machine/endian.h, add
7218 * stdio-common/Makefile (distribute): Add _itowa.h.
7219 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7220 * sysdeps/gnu/Dist: Add eval.c
7221 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7222 dlfcn]: Add to this instead of libdl-routines.
7223 * sysdeps/ieee754/ldbl-128/Dist: New file.
7224 * sysdeps/mach/hurd/Dist: Add siglist.h
7225 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7227 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
7229 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7231 * inet/Makefile (routines): Add getipnodebyad and freehostent.
7232 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7233 * inet/freehostent.c: New file.
7234 * inet/getipnodebyad.c: New file.
7235 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7236 and getipnodebyname. The latter comes soon.
7237 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7238 Add support for getipnode* functions.
7240 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7241 Set h_aliases to NULL and not to a pointer to an array with a NULL
7242 pointer following XNS 5.2.
7244 * posix/sched.h: Remove internal interfaces.
7245 * include/sched.h: Add internal interfaces.
7247 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7249 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7251 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7252 and return an error in this case.
7253 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7256 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7258 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7259 1999-07-17 and adjust len parameter.
7260 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7261 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7262 * manual/socket.texi (Host Names): Likewise.
7263 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7264 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7266 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7267 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7268 (ht_gethostbyaddr): Likewise.
7269 (_gethtbyaddr): Likewise.
7271 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7273 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7275 * include/netdb.h: Likewise.
7276 * inet/gethstbyad.c: Correct type of len parameter.
7277 * inet/gethstbyad_r.c: Likewise.
7279 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7281 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
7283 * include/libc-symbol.h: Clean up definitions of weak_alias,
7284 strong_alias, symbol_version, etc. etc.
7285 * posix/getopt.h: Use ctype.h to get features.h included, and don't
7286 include it at all if __GNU_LIBRARY__ is already defined.
7288 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7290 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7292 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7294 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7295 type for tv_usec element.
7296 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7297 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7298 * sysdeps/generic/bits/time.h: Likewise.
7299 * sysdeps/mach/hurd/bits/time.h: Likewise.
7300 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7301 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7302 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7303 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7304 * sysdeps/generic/bits/types.h: Likewise.
7305 * posix/sys/types.h: Define suseconds_t for X/Open.
7307 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7309 * stdio-common/bug1.c: Avoid memory leak.
7311 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7312 program deterministic.
7313 * sysdeps/i386/fpu/e_powf.S: Likewise.
7314 * sysdeps/i386/fpu/e_powl.S: Likewise.
7316 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
7318 * math/Makefile: Add t_sincosl and k_sincosl support routines.
7319 * math/math_private.h (__kernel_sincosl): New declaration.
7320 * sysdeps/generic/t_sincosl.c: New file.
7321 * sysdeps/generic/k_sincosl.c: New file.
7322 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7323 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7324 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7325 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7327 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7329 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7332 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7334 * posix/unistd.h: Use __PMT for exit.
7336 1999-07-15 Philip Blundell <pb@nexus.co.uk>
7338 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7339 _outw, _outl): Added to GLIBC_2.1.2.
7341 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7343 * posix/fnmatch.h: Use __name instead of __string in prototype to
7344 allow use outside glibc.
7346 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
7348 * time/tst-strptime.c (main): Add one more test case. Produce
7349 output even when result is ok.
7351 * time/strptime.c (get_number): Handle number parsing more
7352 consistent with strftime. Only parse a given number of digits.
7353 (get_alt_number): Fix implementation. Was broken.
7354 (strptime_internal): Add third parameter to get_number and
7355 get_alt_number calls.
7357 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7359 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7360 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7361 try both 32bit and 64bit dynamic linker.
7362 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7363 script on all sparc targets.
7365 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7370 1999-07-13 Andreas Schwab <schwab@suse.de>
7372 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7373 inlining. Fixes PR libc/1198.
7375 1999-07-14 Andreas Schwab <schwab@suse.de>
7377 * Makerules (common-generated): Don't prepend $(common-objpfx).
7379 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
7381 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7382 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7383 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7384 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7386 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7388 * sysdeps/arm/Implies: Likewise.
7389 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7390 ieee754/ldbl-96 instead of ieee754.
7391 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7392 * sysdeps/generic/e_atanhl.c: New file.
7393 * sysdeps/generic/e_coshl.c: New file.
7394 * sysdeps/generic/e_sinhl.c: New file.
7395 * sysdeps/generic/e_gammal_r.c: New file.
7396 * sysdeps/generic/e_hypotl.c: New file.
7397 * sysdeps/generic/s_cbrtl.c: New file.
7398 * sysdeps/generic/s_asinhl.c: New file.
7399 * sysdeps/generic/s_tanhl.c: New file.
7400 * sysdeps/generic/w_expl.c: New file.
7401 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7403 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7404 ieee754/ldbl-96 instead of ieee754.
7405 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7406 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7408 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7410 * sysdeps/mips/mips64/Implies: Likewise.
7411 * sysdeps/powerpc/Implies: Likewise.
7412 * sysdeps/sparc/Implies: Remove.
7413 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7415 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7416 and ieee754/ldbl-128.
7418 * sysdeps/sparc/bits/wordsize.h: Remove.
7419 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7420 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7422 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7423 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7424 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7425 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7426 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7429 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7430 of carries. Optimize.
7432 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7433 * sysdeps/generic/e_exp10.c: ...here.
7434 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7435 * sysdeps/generic/e_exp10f.c: ...here.
7436 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7437 * sysdeps/generic/e_exp10l.c: ...here.
7438 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7439 * sysdeps/generic/e_scalb.c: ...here.
7440 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7441 * sysdeps/generic/e_scalbf.c: ...here.
7442 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7443 * sysdeps/generic/e_scalbl.c: ...here.
7444 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7445 * sysdeps/generic/s_cacos.c: ...here.
7446 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7447 * sysdeps/generic/s_cacosf.c: ...here.
7448 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7449 * sysdeps/generic/s_cacosh.c: ...here.
7450 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7451 * sysdeps/generic/s_cacoshf.c: ...here.
7452 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7453 * sysdeps/generic/s_cacoshl.c: ...here.
7454 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7455 * sysdeps/generic/s_cacosl.c: ...here.
7456 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7457 * sysdeps/generic/s_casin.c: ...here.
7458 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7459 * sysdeps/generic/s_casinf.c: ...here.
7460 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7461 * sysdeps/generic/s_casinh.c: ...here.
7462 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7463 * sysdeps/generic/s_casinhf.c: ...here.
7464 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7465 * sysdeps/generic/s_casinhl.c: ...here.
7466 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7467 * sysdeps/generic/s_casinl.c: ...here.
7468 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7469 * sysdeps/generic/s_catan.c: ...here.
7470 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7471 * sysdeps/generic/s_catanf.c: ...here.
7472 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7473 * sysdeps/generic/s_catanh.c: ...here.
7474 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7475 * sysdeps/generic/s_catanhf.c: ...here.
7476 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7477 * sysdeps/generic/s_catanhl.c: ...here.
7478 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7479 * sysdeps/generic/s_catanl.c: ...here.
7480 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7481 * sysdeps/generic/s_ccos.c: ...here.
7482 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7483 * sysdeps/generic/s_ccosf.c: ...here.
7484 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7485 * sysdeps/generic/s_ccosh.c: ...here.
7486 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7487 * sysdeps/generic/s_ccoshf.c: ...here.
7488 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7489 * sysdeps/generic/s_ccoshl.c: ...here.
7490 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7491 * sysdeps/generic/s_ccosl.c: ...here.
7492 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7493 * sysdeps/generic/s_cexp.c: ...here.
7494 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7495 * sysdeps/generic/s_cexpf.c: ...here.
7496 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7497 * sysdeps/generic/s_cexpl.c: ...here.
7498 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7499 * sysdeps/generic/s_clog.c: ...here.
7500 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7501 * sysdeps/generic/s_clog10.c: ...here.
7502 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7503 * sysdeps/generic/s_clog10f.c: ...here.
7504 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7505 * sysdeps/generic/s_clog10l.c: ...here.
7506 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7507 * sysdeps/generic/s_clogf.c: ...here.
7508 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7509 * sysdeps/generic/s_clogl.c: ...here.
7510 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7511 * sysdeps/generic/s_cpow.c: ...here.
7512 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7513 * sysdeps/generic/s_cpowf.c: ...here.
7514 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7515 * sysdeps/generic/s_cpowl.c: ...here.
7516 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7517 * sysdeps/generic/s_cproj.c: ...here.
7518 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7519 * sysdeps/generic/s_cprojf.c: ...here.
7520 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7521 * sysdeps/generic/s_cprojl.c: ...here.
7522 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7523 * sysdeps/generic/s_csin.c: ...here.
7524 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7525 * sysdeps/generic/s_csinf.c: ...here.
7526 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7527 * sysdeps/generic/s_csinh.c: ...here.
7528 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7529 * sysdeps/generic/s_csinhf.c: ...here.
7530 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7531 * sysdeps/generic/s_csinhl.c: ...here.
7532 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7533 * sysdeps/generic/s_csinl.c: ...here.
7534 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7535 * sysdeps/generic/s_csqrt.c: ...here.
7536 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7537 * sysdeps/generic/s_csqrtf.c: ...here.
7538 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7539 * sysdeps/generic/s_csqrtl.c: ...here.
7540 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7541 * sysdeps/generic/s_ctan.c: ...here.
7542 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7543 * sysdeps/generic/s_ctanf.c: ...here.
7544 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7545 * sysdeps/generic/s_ctanh.c: ...here.
7546 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7547 * sysdeps/generic/s_ctanhf.c: ...here.
7548 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7549 * sysdeps/generic/s_ctanhl.c: ...here.
7550 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7551 * sysdeps/generic/s_ctanl.c: ...here.
7552 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7553 * sysdeps/generic/s_fdim.c: ...here.
7554 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7555 * sysdeps/generic/s_fdimf.c: ...here.
7556 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7557 * sysdeps/generic/s_fdiml.c: ...here.
7558 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7559 * sysdeps/generic/s_fma.c: ...here.
7560 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7561 * sysdeps/generic/s_fmaf.c: ...here.
7562 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7563 * sysdeps/generic/s_fmal.c: ...here.
7564 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7565 * sysdeps/generic/s_fmax.c: ...here.
7566 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7567 * sysdeps/generic/s_fmaxf.c: ...here.
7568 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7569 * sysdeps/generic/s_fmaxl.c: ...here.
7570 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7571 * sysdeps/generic/s_fmin.c: ...here.
7572 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7573 * sysdeps/generic/s_fminf.c: ...here.
7574 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7575 * sysdeps/generic/s_fminl.c: ...here.
7576 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7577 * sysdeps/generic/s_ldexp.c: ...here.
7578 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7579 * sysdeps/generic/s_ldexpf.c: ...here.
7580 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7581 * sysdeps/generic/s_ldexpl.c: ...here.
7582 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7583 * sysdeps/generic/s_nan.c: ...here.
7584 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7585 * sysdeps/generic/s_nanf.c: ...here.
7586 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7587 * sysdeps/generic/s_nanl.c: ...here.
7588 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7589 * sysdeps/generic/s_significand.c: ...here.
7590 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7591 * sysdeps/generic/s_significandf.c: ...here.
7592 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7593 * sysdeps/generic/s_significandl.c: ...here.
7594 Avoid conversion from int to double and then to long double.
7595 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7596 * math/w_acos.c: ...here.
7597 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7598 * math/w_acosf.c: ...here.
7599 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7600 * math/w_acosh.c: ...here.
7601 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7602 * math/w_acoshf.c: ...here.
7603 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7604 * math/w_acoshl.c: ...here.
7605 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7606 * math/w_acosl.c: ...here.
7607 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7608 * math/w_asin.c: ...here.
7609 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7610 * math/w_asinf.c: ...here.
7611 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7612 * math/w_asinl.c: ...here.
7613 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7614 * math/w_atan2.c: ...here.
7615 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7616 * math/w_atan2f.c: ...here.
7617 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7618 * math/w_atan2l.c: ...here.
7619 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7620 * math/w_atanh.c: ...here.
7621 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7622 * math/w_atanhf.c: ...here.
7623 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7624 * math/w_atanhl.c: ...here.
7625 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7626 * math/w_cosh.c: ...here.
7627 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7628 * math/w_coshf.c: ...here.
7629 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7630 * math/w_coshl.c: ...here.
7631 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7632 * math/w_drem.c: ...here.
7633 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7634 * math/w_dremf.c: ...here.
7635 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7636 * math/w_dreml.c: ...here.
7637 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7638 * math/w_exp10.c: ...here.
7639 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7640 * math/w_exp10f.c: ...here.
7641 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7642 * math/w_exp10l.c: ...here.
7643 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7644 * math/w_exp2.c: ...here.
7645 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7646 * math/w_exp2f.c: ...here.
7647 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7648 * math/w_exp2l.c: ...here.
7649 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7650 * math/w_fmod.c: ...here.
7651 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7652 * math/w_fmodf.c: ...here.
7653 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7654 * math/w_fmodl.c: ...here.
7655 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7656 * math/w_hypot.c: ...here.
7657 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7658 * math/w_hypotf.c: ...here.
7659 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7660 * math/w_hypotl.c: ...here.
7661 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7662 * math/w_j0.c: ...here.
7663 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7664 * math/w_j0f.c: ...here.
7665 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7666 * math/w_j0l.c: ...here.
7667 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7668 * math/w_j1.c: ...here.
7669 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7670 * math/w_j1f.c: ...here.
7671 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7672 * math/w_j1l.c: ...here.
7673 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7674 * math/w_jn.c: ...here.
7675 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7676 * math/w_jnf.c: ...here.
7677 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7678 * math/w_jnl.c: ...here.
7679 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7680 * math/w_lgamma.c: ...here.
7681 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7682 * math/w_lgamma_r.c: ...here.
7683 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7684 * math/w_lgammaf.c: ...here.
7685 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7686 * math/w_lgammaf_r.c: ...here.
7687 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7688 * math/w_lgammal.c: ...here.
7689 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7690 * math/w_lgammal_r.c: ...here.
7691 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7692 * math/w_log.c: ...here.
7693 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7694 * math/w_log10.c: ...here.
7695 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7696 * math/w_log10f.c: ...here.
7697 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7698 * math/w_log10l.c: ...here.
7699 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7700 * math/w_logf.c: ...here.
7701 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7702 * math/w_logl.c: ...here.
7703 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7704 * math/w_pow.c: ...here.
7705 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7706 * math/w_powf.c: ...here.
7707 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7708 * math/w_powl.c: ...here.
7709 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7710 * math/w_remainder.c: ...here.
7711 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7712 * math/w_remainderf.c: ...here.
7713 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7714 * math/w_remainderl.c: ...here.
7715 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7716 * math/w_scalb.c: ...here.
7717 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7718 * math/w_scalbf.c: ...here.
7719 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7720 * math/w_scalbl.c: ...here.
7721 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7722 * math/w_sinh.c: ...here.
7723 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7724 * math/w_sinhf.c: ...here.
7725 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7726 * math/w_sinhl.c: ...here.
7727 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7728 * math/w_sqrt.c: ...here.
7729 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7730 * math/w_sqrtf.c: ...here.
7731 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7732 * math/w_sqrtl.c: ...here.
7733 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7734 * math/w_tgamma.c: ...here.
7735 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7736 * math/w_tgammaf.c: ...here.
7737 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7738 * math/w_tgammal.c: ...here.
7739 * sysdeps/libm-i387/e_acos.S: Moved to ...
7740 * sysdeps/i386/fpu/e_acos.S: ...here.
7741 * sysdeps/libm-i387/e_acosf.S: Moved to ...
7742 * sysdeps/i386/fpu/e_acosf.S: ...here.
7743 * sysdeps/libm-i387/e_acosh.S: Moved to ...
7744 * sysdeps/i386/fpu/e_acosh.S: ...here.
7745 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7746 * sysdeps/i386/fpu/e_acoshf.S: ...here.
7747 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7748 * sysdeps/i386/fpu/e_acoshl.S: ...here.
7749 * sysdeps/libm-i387/e_acosl.S: Moved to ...
7750 * sysdeps/i386/fpu/e_acosl.S: ...here.
7751 * sysdeps/libm-i387/e_asin.S: Moved to ...
7752 * sysdeps/i386/fpu/e_asin.S: ...here.
7753 * sysdeps/libm-i387/e_asinf.S: Moved to ...
7754 * sysdeps/i386/fpu/e_asinf.S: ...here.
7755 * sysdeps/libm-i387/e_asinl.S: Moved to ...
7756 * sysdeps/i386/fpu/e_asinl.S: ...here.
7757 * sysdeps/libm-i387/e_atan2.S: Moved to ...
7758 * sysdeps/i386/fpu/e_atan2.S: ...here.
7759 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7760 * sysdeps/i386/fpu/e_atan2f.S: ...here.
7761 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7762 * sysdeps/i386/fpu/e_atan2l.S: ...here.
7763 * sysdeps/libm-i387/e_atanh.S: Moved to ...
7764 * sysdeps/i386/fpu/e_atanh.S: ...here.
7765 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7766 * sysdeps/i386/fpu/e_atanhf.S: ...here.
7767 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7768 * sysdeps/i386/fpu/e_atanhl.S: ...here.
7769 * sysdeps/libm-i387/e_exp.S: Moved to ...
7770 * sysdeps/i386/fpu/e_exp.S: ...here.
7771 * sysdeps/libm-i387/e_exp10.S: Moved to ...
7772 * sysdeps/i386/fpu/e_exp10.S: ...here.
7773 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7774 * sysdeps/i386/fpu/e_exp10f.S: ...here.
7775 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7776 * sysdeps/i386/fpu/e_exp10l.S: ...here.
7777 * sysdeps/libm-i387/e_expf.S: Moved to ...
7778 * sysdeps/i386/fpu/e_expf.S: ...here.
7779 * sysdeps/libm-i387/e_expl.S: Moved to ...
7780 * sysdeps/i386/fpu/e_expl.S: ...here.
7781 * sysdeps/libm-i387/e_fmod.S: Moved to ...
7782 * sysdeps/i386/fpu/e_fmod.S: ...here.
7783 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7784 * sysdeps/i386/fpu/e_fmodf.S: ...here.
7785 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7786 * sysdeps/i386/fpu/e_fmodl.S: ...here.
7787 * sysdeps/libm-i387/e_hypot.S: Moved to ...
7788 * sysdeps/i386/fpu/e_hypot.S: ...here.
7789 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7790 * sysdeps/i386/fpu/e_hypotf.S: ...here.
7791 * sysdeps/libm-i387/e_log.S: Moved to ...
7792 * sysdeps/i386/fpu/e_log.S: ...here.
7793 * sysdeps/libm-i387/e_log10.S: Moved to ...
7794 * sysdeps/i386/fpu/e_log10.S: ...here.
7795 * sysdeps/libm-i387/e_log10f.S: Moved to ...
7796 * sysdeps/i386/fpu/e_log10f.S: ...here.
7797 * sysdeps/libm-i387/e_log10l.S: Moved to ...
7798 * sysdeps/i386/fpu/e_log10l.S: ...here.
7799 * sysdeps/libm-i387/e_logf.S: Moved to ...
7800 * sysdeps/i386/fpu/e_logf.S: ...here.
7801 * sysdeps/libm-i387/e_logl.S: Moved to ...
7802 * sysdeps/i386/fpu/e_logl.S: ...here.
7803 * sysdeps/libm-i387/e_pow.S: Moved to ...
7804 * sysdeps/i386/fpu/e_pow.S: ...here.
7805 * sysdeps/libm-i387/e_powf.S: Moved to ...
7806 * sysdeps/i386/fpu/e_powf.S: ...here.
7807 * sysdeps/libm-i387/e_powl.S: Moved to ...
7808 * sysdeps/i386/fpu/e_powl.S: ...here.
7809 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7810 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7811 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7812 * sysdeps/i386/fpu/e_remainder.S: ...here.
7813 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7814 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7815 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7816 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7817 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7818 * sysdeps/i386/fpu/e_scalb.S: ...here.
7819 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7820 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7821 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7822 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7823 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7824 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7825 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7826 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7827 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7828 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7829 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7830 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7831 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7832 * sysdeps/i386/fpu/s_asinh.S: ...here.
7833 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7834 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7835 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7836 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7837 * sysdeps/libm-i387/s_atan.S: Moved to ...
7838 * sysdeps/i386/fpu/s_atan.S: ...here.
7839 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7840 * sysdeps/i386/fpu/s_atanf.S: ...here.
7841 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7842 * sysdeps/i386/fpu/s_atanl.S: ...here.
7843 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7844 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7845 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7846 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7847 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7848 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7849 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7850 * sysdeps/i386/fpu/s_ceil.S: ...here.
7851 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7852 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7853 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7854 * sysdeps/i386/fpu/s_ceill.S: ...here.
7855 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7856 * sysdeps/i386/fpu/s_cexp.S: ...here.
7857 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7858 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7859 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7860 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7861 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7862 * sysdeps/i386/fpu/s_copysign.S: ...here.
7863 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7864 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7865 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7866 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7867 * sysdeps/libm-i387/s_cos.S: Moved to ...
7868 * sysdeps/i386/fpu/s_cos.S: ...here.
7869 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7870 * sysdeps/i386/fpu/s_cosf.S: ...here.
7871 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7872 * sysdeps/i386/fpu/s_cosl.S: ...here.
7873 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7874 * sysdeps/i386/fpu/s_exp2.S: ...here.
7875 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7876 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7877 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7878 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7879 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7880 * sysdeps/i386/fpu/s_expm1.S: ...here.
7881 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7882 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7883 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7884 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7885 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7886 * sysdeps/i386/fpu/s_fdim.S: ...here.
7887 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7888 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7889 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7890 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7891 * sysdeps/libm-i387/s_finite.S: Moved to ...
7892 * sysdeps/i386/fpu/s_finite.S: ...here.
7893 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7894 * sysdeps/i386/fpu/s_finitef.S: ...here.
7895 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7896 * sysdeps/i386/fpu/s_finitel.S: ...here.
7897 * sysdeps/libm-i387/s_floor.S: Moved to ...
7898 * sysdeps/i386/fpu/s_floor.S: ...here.
7899 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7900 * sysdeps/i386/fpu/s_floorf.S: ...here.
7901 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7902 * sysdeps/i386/fpu/s_floorl.S: ...here.
7903 * sysdeps/libm-i387/s_fma.S: Moved to ...
7904 * sysdeps/i386/fpu/s_fma.S: ...here.
7905 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7906 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7907 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7908 * sysdeps/i386/fpu/s_fmal.S: ...here.
7909 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7910 * sysdeps/i386/fpu/s_fmax.S: ...here.
7911 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7912 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7913 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7914 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7915 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7916 * sysdeps/i386/fpu/s_fmin.S: ...here.
7917 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7918 * sysdeps/i386/fpu/s_fminf.S: ...here.
7919 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7920 * sysdeps/i386/fpu/s_fminl.S: ...here.
7921 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7922 * sysdeps/i386/fpu/s_frexp.S: ...here.
7923 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7924 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7925 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7926 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7927 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7928 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7929 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7930 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7931 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7932 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7933 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7934 * sysdeps/i386/fpu/s_llrint.S: ...here.
7935 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7936 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7937 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7938 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7939 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7940 * sysdeps/i386/fpu/s_log1p.S: ...here.
7941 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7942 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7943 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7944 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7945 * sysdeps/libm-i387/s_log2.S: Moved to ...
7946 * sysdeps/i386/fpu/s_log2.S: ...here.
7947 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7948 * sysdeps/i386/fpu/s_log2f.S: ...here.
7949 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7950 * sysdeps/i386/fpu/s_log2l.S: ...here.
7951 * sysdeps/libm-i387/s_logb.S: Moved to ...
7952 * sysdeps/i386/fpu/s_logb.S: ...here.
7953 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7954 * sysdeps/i386/fpu/s_logbf.S: ...here.
7955 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7956 * sysdeps/i386/fpu/s_logbl.S: ...here.
7957 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7958 * sysdeps/i386/fpu/s_lrint.S: ...here.
7959 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7960 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7961 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7962 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7963 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7964 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7965 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7966 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7967 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7968 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7969 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7970 * sysdeps/i386/fpu/s_remquo.S: ...here.
7971 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7972 * sysdeps/i386/fpu/s_remquof.S: ...here.
7973 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7974 * sysdeps/i386/fpu/s_remquol.S: ...here.
7975 * sysdeps/libm-i387/s_rint.S: Moved to ...
7976 * sysdeps/i386/fpu/s_rint.S: ...here.
7977 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7978 * sysdeps/i386/fpu/s_rintf.S: ...here.
7979 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7980 * sysdeps/i386/fpu/s_rintl.S: ...here.
7981 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7982 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7983 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7984 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7985 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7986 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7987 * sysdeps/libm-i387/s_significand.S: Moved to ...
7988 * sysdeps/i386/fpu/s_significand.S: ...here.
7989 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7990 * sysdeps/i386/fpu/s_significandf.S: ...here.
7991 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7992 * sysdeps/i386/fpu/s_significandl.S: ...here.
7993 * sysdeps/libm-i387/s_sin.S: Moved to ...
7994 * sysdeps/i386/fpu/s_sin.S: ...here.
7995 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7996 * sysdeps/i386/fpu/s_sincos.S: ...here.
7997 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7998 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7999 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
8000 * sysdeps/i386/fpu/s_sincosl.S: ...here.
8001 * sysdeps/libm-i387/s_sinf.S: Moved to ...
8002 * sysdeps/i386/fpu/s_sinf.S: ...here.
8003 * sysdeps/libm-i387/s_sinl.S: Moved to ...
8004 * sysdeps/i386/fpu/s_sinl.S: ...here.
8005 * sysdeps/libm-i387/s_tan.S: Moved to ...
8006 * sysdeps/i386/fpu/s_tan.S: ...here.
8007 * sysdeps/libm-i387/s_tanf.S: Moved to ...
8008 * sysdeps/i386/fpu/s_tanf.S: ...here.
8009 * sysdeps/libm-i387/s_tanl.S: Moved to ...
8010 * sysdeps/i386/fpu/s_tanl.S: ...here.
8011 * sysdeps/libm-i387/s_trunc.S: Moved to ...
8012 * sysdeps/i386/fpu/s_trunc.S: ...here.
8013 * sysdeps/libm-i387/s_truncf.S: Moved to ...
8014 * sysdeps/i386/fpu/s_truncf.S: ...here.
8015 * sysdeps/libm-i387/s_truncl.S: Moved to ...
8016 * sysdeps/i386/fpu/s_truncl.S: ...here.
8017 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
8018 * sysdeps/ieee754/k_standard.c: ...here.
8019 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
8020 * sysdeps/ieee754/s_lib_version.c: ...here.
8021 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
8022 * sysdeps/ieee754/s_matherr.c: ...here.
8023 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
8024 * sysdeps/ieee754/s_signgam.c: ...here.
8025 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
8026 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
8027 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
8028 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
8029 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
8030 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
8031 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
8032 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
8033 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
8034 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
8035 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
8036 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
8037 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
8038 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
8039 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
8040 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
8041 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
8042 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
8043 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
8044 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
8045 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
8046 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
8047 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
8048 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
8049 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
8050 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
8051 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
8052 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
8053 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
8054 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
8055 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
8056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
8057 * sysdeps/libm-ieee754/e_log.c: Moved to ...
8058 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
8059 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
8060 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
8061 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
8062 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
8063 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
8064 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
8065 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
8066 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
8067 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
8068 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
8069 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
8070 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
8071 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
8072 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
8073 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
8074 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
8075 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
8076 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
8077 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
8078 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
8079 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
8080 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
8081 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
8082 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
8083 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
8084 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
8085 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
8086 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
8087 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
8088 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
8089 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
8090 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
8091 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
8092 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
8093 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
8094 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
8095 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
8096 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
8097 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
8098 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
8099 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
8100 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
8101 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
8102 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
8103 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
8104 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
8105 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
8106 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
8107 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
8108 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
8109 (__isnan): Comment above function says it returns 0 or 1, but it
8110 used to return 0 or -1.
8111 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
8112 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
8113 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
8114 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
8115 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
8116 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
8117 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
8118 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
8119 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
8120 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
8121 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
8122 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
8123 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
8124 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
8125 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
8126 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
8127 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
8128 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
8129 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
8130 * sysdeps/generic/s_nextafter.c: ...here.
8131 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
8132 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
8133 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
8134 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
8135 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
8136 * sysdeps/libm-ieee754/s_round.c: Moved to ...
8137 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
8138 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
8139 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
8140 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
8141 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
8142 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
8143 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
8144 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
8145 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
8146 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
8147 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
8148 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8149 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8150 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8151 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8152 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8153 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8154 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8155 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8156 * sysdeps/ieee754/mpn2flt.c: Moved to ...
8157 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8158 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8159 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8160 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8161 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8162 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8163 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8164 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8165 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8166 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8167 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8168 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8169 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8170 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8171 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8172 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8173 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8174 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8175 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8176 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8177 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8178 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8179 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8180 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8181 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8182 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8183 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8184 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8185 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8186 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8187 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8188 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8189 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8190 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8191 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8192 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8193 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8194 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8195 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8196 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8197 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8198 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8199 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8200 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8201 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8202 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8203 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8204 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8205 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8206 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8207 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8208 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8209 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8210 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8211 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8212 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8213 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8214 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8215 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8216 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8217 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8218 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8219 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8220 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8221 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8222 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8223 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8224 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8225 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8226 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8227 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8228 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8229 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8230 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8231 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8232 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8233 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8234 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8235 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8236 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8237 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8238 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8239 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8240 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8241 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8242 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8243 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8244 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8245 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8246 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8247 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8248 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8249 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8250 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8251 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8252 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8253 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8254 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8255 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8256 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8257 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8258 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8259 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8260 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8261 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8262 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8263 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8264 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8265 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8266 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8267 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8268 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8269 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8270 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8271 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8272 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8273 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8274 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8275 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8276 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8277 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8278 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8279 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8280 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8281 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8282 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8284 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8286 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8287 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8288 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8289 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8290 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8292 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8294 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8295 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8296 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8297 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8298 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8300 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8301 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8302 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8303 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8304 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8305 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8306 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8307 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8308 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8309 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8310 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8311 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8312 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8313 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8314 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8315 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8316 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8317 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8318 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8319 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8320 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8321 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8322 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8323 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8324 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8325 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8326 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8327 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8328 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8329 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8330 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8331 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8332 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8334 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8335 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8336 (__nearbyintl): Fix for exponents 2^30.
8337 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8338 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8339 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8340 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8341 (__rintl): Fix for exponents 2^30.
8342 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8343 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8344 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8346 (__scalbnl): Fix exponent for subnormal result.
8347 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8348 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8349 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8350 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8351 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8352 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8353 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8355 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8356 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8357 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8358 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8359 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8360 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8361 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8362 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8363 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8364 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8365 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8366 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8367 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8368 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8369 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8370 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8371 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8372 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8373 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8374 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8375 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8376 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8377 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8379 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8380 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8381 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8383 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8384 * sysdeps/i386/fpu/s_scalbln.c: ...here.
8385 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8386 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8387 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8388 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8389 * sysdeps/libm-i387/t_exp.c: Moved to ...
8390 * sysdeps/i386/fpu/t_exp.c: ...here.
8391 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8392 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8393 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8394 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8395 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8396 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8397 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8398 * sysdeps/i386/fpu/s_isinfl.c: ...here.
8399 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8400 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8401 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8402 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8403 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8405 Fix exponent for subnormal result.
8406 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8407 * sysdeps/generic/s_nexttowardl.c: ...here.
8408 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8409 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8410 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8411 * sysdeps/i386/fpu/s_isnanl.c: ...here.
8412 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8413 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8414 Comment above function says it returns 0 or 1, but it used to return
8416 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8417 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8418 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8419 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8420 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8421 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8422 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8423 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8424 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8426 Cannot compare exponents with different biases without adjusting.
8427 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8429 Cannot compare exponents with different biases without adjusting.
8430 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8431 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8432 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8433 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8434 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8435 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8436 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8437 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8438 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8439 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8440 * sysdeps/libm-ieee754/Dist: Split into ...
8441 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8442 * sysdeps/ieee754/flt-32/Dist: ...this file.
8444 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8445 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8446 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8447 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8448 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8449 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8450 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8451 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8452 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8453 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8454 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8455 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8456 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8458 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8459 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8460 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8461 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8463 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8464 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8466 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8468 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8469 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8470 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8471 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8472 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8473 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8474 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8475 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8476 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8477 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8478 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8479 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8481 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8482 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8483 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8484 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8485 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8486 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8488 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8489 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8490 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8492 * sysdeps/generic/math_ldbl.h: New file.
8493 * sysdeps/generic/s_nexttowardf.c: New file.
8494 * sysdeps/generic/strtold.c: New file.
8495 * sysdeps/generic/ldbl2mpn.c: New file.
8497 * math/machine/endian.h: Remove.
8498 * sysdeps/i386/fpu/Implies: Remove.
8499 * sysdeps/ieee754/Implies: Remove.
8501 * math/math_private.h: Move long double macros to math_ldbl.h
8504 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8506 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8507 connections without a hostname set address to localhost address.
8509 1999-07-11 H.J. Lu <hjl@gnu.org>
8511 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8512 nscd's own strong version of the get[a-z]*_r function.
8513 * nscd/hstcache.c: Likewise.
8514 * nscd/pwdcache.c: Likewise.
8516 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8518 * configure.in: Recognize 2.95 as gcc version number.
8519 Patch by Joel Klecker <jk@espy.org>.
8521 1999-07-12 Andreas Schwab <schwab@suse.de>
8523 * elf/rtld.c (dl_main): When putting back the interpreter object
8524 handle the case where a missing object might occur in the list of
8525 objects but not in the search list when in trace mode.
8527 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8529 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8530 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8531 _nss_hesiod_initgroups.
8533 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8535 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8536 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8537 Initialize it from &__data_start if defined, or else &_end.
8539 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8541 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8542 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8544 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8546 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8548 1999-07-09 H.J. Lu <hjl@gnu.org>
8550 * Versions.def (GLIBC_2.1.2): Added.
8552 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8553 old one as GLIBC_2.0.
8554 * nss/getXXbyYY_r.c: Likewise.
8556 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8558 * inet/Versions (getaliasbyname_r, getaliasent_r,
8559 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8560 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8561 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8562 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8563 getservbyname_r): Likewise.
8564 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8565 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8567 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8569 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8571 (__memset_cc): Likewise.
8573 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8574 the standard file descriptors are open.
8575 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8577 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8578 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8579 range of mmap. If not fail.
8580 Patches by Daniel Jacobowitz <dan@debian.org>.
8582 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8583 before the relocation happened.
8584 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8586 * Versions.def (libnsl): Add GLIBC_2.2.
8587 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8589 1999-07-08 Cristian Gafton <gafton@redhat.com>
8591 * nis/yp_xdr.c (xdr_ypall): New function.
8593 1999-07-09 Andreas Schwab <schwab@suse.de>
8595 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8597 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8599 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8601 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8602 * hesiod/hesiod-grp.c: Add initgroups support.
8603 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8605 1999-07-08 Andreas Schwab <schwab@suse.de>
8607 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8609 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8612 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8614 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8616 1999-07-08 Andreas Schwab <schwab@suse.de>
8618 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8620 1999-07-08 Andreas Schwab <schwab@suse.de>
8622 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8623 stream is not a real file stream.
8625 1999-07-08 Andreas Schwab <schwab@suse.de>
8627 * manual/charset.texi: Fix typos.
8629 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8631 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8633 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8635 * dlfcn: New directory. Move the following files from elf:
8636 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8637 dlopenold.c, dlsym.c, dlvsym.c.
8638 * dlfcn/Makefile: New file.
8639 * dlfcn/Versions: New file.
8640 * dlfcn/dlsym.c: All ELF-specific code split out to new
8642 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8644 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8647 * dlfcn/dladdr.c: Remove all references to ELF data structures
8649 * dlfcn/dlclose.c: Likewise.
8650 * dlfcn/dlerror.c: Likewise.
8651 * dlfcn/dlopen.c: Likewise.
8652 * dlfcn/dlopenold.c: Likewise.
8654 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8655 yes, empty otherwise.
8656 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8657 depending on build-shared.
8658 (subdirs): Add $(dlfcn).
8659 (rpath-dirs): Add dlfcn.
8660 * elf/Makefile: Remove all references to libdl or its
8661 components, except the ones relating to the test cases.
8662 (routines): Add dl-sym.
8663 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8666 * elf/dl-close.c (_dl_close): Change argument to void *.
8667 * elf/dl-open.c (_dl_open): Change return type to void *.
8668 * elf/eval.c: Removed.
8669 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8670 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8671 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8673 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8674 Include real header from dlfcn directory.
8675 * include/ldsodefs.h: Removed.
8677 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8678 * nss/getXXbyYY_r.c: Likewise.
8679 * nss/getXXent_r.c: Likewise.
8680 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8681 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8682 * iconv/skeleton.c: Don't include ldsodefs.h.
8683 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8685 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8687 * sysdeps/generic/setenv.c: Describe problem.
8689 * malloc/malloc.c (request2size): Also set errno if failing.
8691 * malloc/malloc.c (request2size): Take care of overflow in
8694 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8695 (NULL, != 0) correctly.
8697 * elf/dl-load.c: Use a few more __builtin_expect.
8699 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8702 1999-07-07 Andreas Schwab <schwab@suse.de>
8704 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8705 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8706 (_PATH_DEVPTMX): Use _PATH_DEV.
8708 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8710 * malloc/tst-malloc.c: New file. Tests some basic functionality.
8711 * malloc/Makefile (tests): Add tst-malloc.
8713 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8715 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8718 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8720 Patch by Jay Estabrook.
8722 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8724 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8725 Patch by Cristian Gafton.
8727 1999-07-02 Cristian Gafton <gafton@redhat.com>
8729 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8730 instead of "return NULL" to make C++ happy.
8732 1999-07-04 Mark Kettenis <kettenis@gnu.org>
8734 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8735 allowed by the file access mode of the open file.
8737 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8739 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8742 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
8744 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8745 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8746 * sysdeps/sparc/sparc64/rshift.S: Likewise.
8747 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8749 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8751 * malloc/malloc.c (request2size): Check for overflow and return
8752 NULL whenever it is encountered.
8754 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
8756 * sysdeps/posix/tempname.c (__gen_tempname): Add
8757 ability to create directories. Replace OPENIT and LARGEFILE
8758 args with a single flags parameter.
8759 * sysdeps/generic/tempname.c: Likewise.
8760 * include/stdio.h: Adjust prototype of __gen_tempname to
8761 match. Define symbolic constants for second argument.
8763 * misc/mkdtemp.c: New file, provides new function mkdtemp().
8764 * stdlib/stdlib.h: Prototype it.
8765 * misc/Versions: Export it.
8766 * misc/Makefile (routines): Add mktemp.
8767 * manual/filesys.texi: Document it.
8769 * misc/mktemp.c: Adjust call of __gen_tempname to match new
8771 * misc/mkstemp.c: Likewise.
8772 * stdio-common/tempnam.c: Likewise.
8773 * stdio-common/tmpfile.c: Likewise.
8774 * stdio-common/tmpfile64.c: Likewise.
8775 * stdio-common/tmpnam.c: Likewise.
8776 * stdio-common/tmpnam_r.c: Likewise.
8778 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
8780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8781 R_SPARC_OLO10 relocations.
8782 * elf/elf.h (R_SPARC_OLO10): Fix comment.
8784 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
8786 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
8787 doesn't belong in the tests, but in the wordexp implementation.
8789 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8792 1999-07-01 Cristian Gafton <gafton@redhat.com>
8794 * time/strptime.c (strptime): Initialize the tm struct first to avoid
8795 returning bogus results on incomplete data.
8796 (strptime_internal): day_of_the_week() requres both tm_mon and
8797 tm_mday to be initialized.
8798 Compute them first if they are not given.
8799 (strptime_internal): (have_mon, have_mday): New variables.
8801 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8803 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8805 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8807 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8808 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8810 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8812 * posix/wordexp.c (parse_tilde): Handle failing call to
8813 get.*_r functions correctly for non-existing entry.
8814 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8815 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8817 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8819 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8820 getxxbyYY_r functions correctly for non-existing entry.
8821 * sunrpc/getrpcport.c: Likewise.
8822 * sunrpc/clnt_simp.c: Likewise.
8823 * inet/rexec.c: Likewise.
8824 * sunrpc/clnt_gen.c: Likewise.
8825 * inet/rcmd.c: Likewise.
8826 * sysdeps/generic/glob.c: Likewise.
8828 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8830 * pwd/Makefile (tests): Add rules for tst-getpw.
8832 * pwd/tst-getpw.c: New program to test getpw.
8834 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8836 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8839 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8841 * manual/arith.texi (System V Number Conversion): Fix the
8842 description which confused pointer and value to pointer.
8843 Reported by Andries.Brouwer@cwi.nl.
8845 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8847 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8849 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8851 * manual/users.texi (Lookup User): Document POSIX return
8852 semantics for getpwuid_r and getgrgid_r.
8854 * manual/socket.texi (Host Names): Document that the result
8855 pointer is null in case of error or host not found and fix a
8856 typo. Give a small example.
8858 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8860 * pwd/getpw.c: Add warning since no buffer size is given and
8861 therefore no overrun tests are possible.
8863 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8865 * pwd/pwd.h: Add getpw prototype declaration.
8867 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8869 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8870 * wcsmbs/wcschr.c: Likewise.
8872 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8874 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8876 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8877 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8878 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8880 * elf/dl-dst.h: Fix typo.
8881 * elf/dl-open.c: Likewise.
8883 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8885 * elf/dl-libc.c: New file, provides three functions:
8886 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8887 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8888 * elf/Makefile (routines): Add dl-libc.c.
8889 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8891 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8893 * iconv/gconv.c: Include dlfcn.h.
8894 * iconv/gconv_db.c: Likewise.
8895 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8897 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8898 `handle' to a void *.
8899 (__gconv_find_func): Delete prototype.
8901 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8902 dlerror_run and related functions and structs. Use
8903 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8904 * nss/nsswitch.c: Likewise.
8906 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8908 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8911 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8914 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8916 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8917 functions correctly.
8919 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8921 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8924 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8926 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8928 * manual/string.texi (Copying and Concatenation): Mention that
8929 strndup is a GNU extension.
8931 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8933 * pwd/getpw.c (__getpw): Fix check for error return.
8935 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8937 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8938 occurence of the aux object start with the current list entry, not
8939 the new one. Adjust tail pointer in the unique list. Explain how
8940 the meaning of the variables changes [PR libc/1168].
8942 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8944 * sysdeps/m68k/fpu/Dist: New file.
8946 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8948 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8950 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8951 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8952 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8953 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8954 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8955 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8956 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8957 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8958 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8959 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8960 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8961 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8962 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8963 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8964 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8965 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8967 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8969 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8970 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8971 _EXTERN_INLINE, use a macro specific to each file,
8972 _HURD_FD_H_EXTERN_INLINE and the like.
8973 * hurd/Makefile (inline-headers): New variable.
8974 (routines): Remove hurdinline. Add $(inlines).
8975 (inlines): New variable.
8976 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8977 (generated): Append those here.
8978 * hurd/hurdinline.c: File removed.
8980 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8982 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8984 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8986 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8988 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8990 * string/bits/string2.h (strnlen): Remove extra prototype.
8992 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8994 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8995 Reported by Andries.Brouwer@cwi.nl.
8997 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8999 * nscd/connections.c (handle_request): Use correct type for optlen
9002 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
9003 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
9005 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
9007 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
9008 * nscd/pwdcache.c: Likewise.
9009 * nscd/hstcache.c: Likewise.
9011 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
9013 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
9015 * posix/getopt.h: Include stdio.h.
9017 * manual/arith.texi: Document restriction of ndigit parameter of
9019 * misc/efgcvt.c: Define NDIGIT_MAX.
9020 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
9021 Do not dynamically allocate the static buffers. They are small enough.
9022 * misc/efgcvt_r.c: Define NDIGIT_MAX.
9023 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
9024 * misc/qefgcvt.c: Define NDIGIT_MAX.
9025 * misc/qefgcvt_r.c: Likewise.
9026 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
9028 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
9030 * libio/stdio.h: Define stdin, stdout, stderr as macros.
9031 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
9032 These are *pragmas* not macros.
9033 * wcsmbs/wchar.h: Fix comment.
9035 * grp/grp.h: Use __foo_t_defined convention to typedef things
9037 * io/sys/stat.h: Likewise.
9038 * libio/stdio.h: Likewise.
9039 * posix/unistd.h: Likewise.
9040 * posix/sys/types.h: Likewise.
9041 * posix/sys/wait.h: Likewise.
9042 * pwd/pwd.h: Likewise.
9043 * signal/signal.h: Likewise.
9044 * sysdeps/generic/stdint.h: Likewise.
9045 * sysdeps/gnu/utmpx.h: Likewise.
9046 * termios/termios.h: Likewise.
9048 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
9050 * stdio/fputc.c: Don't define alias if fputc is defined as a
9052 * stdio/putc.c: Define weak alias here since it is not done
9055 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9057 * assert/assert.h: Don't produce `defined' as part of macro
9060 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
9062 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
9063 OFFSET argument of (off_t) -1.
9064 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
9065 OFFSET argument of (off_t) -1.
9067 * sysdeps/mach/hurd/pwrite.c: New file.
9068 * sysdeps/mach/hurd/pread.c: New file.
9070 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
9071 pass it in the RPC instead of always -1.
9072 * hurd/fd-write.c (_hurd_fd_write): Likewise.
9073 * hurd/hurd/fd.h: Update decls.
9075 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9077 * libio/wscanf.c: Include <wchar.h> for prototype.
9079 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
9081 * manual/io.texi. Fix typos.
9082 * manual/stdio.texi: Likewise.
9083 Patches by Brian Youmans <3diff@gnu.org>.
9085 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
9087 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
9088 bits of two words differ.
9090 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9092 * libio/Makefile (routines): Add putwchar and putwchar_u.
9094 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
9095 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
9096 stdout. Fix parameter name.
9098 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
9099 * libio/getchar_u.c: Likewise.
9101 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
9103 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9105 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
9106 macro expansion---it's undefined. Properly parenthesize
9107 substituted parameters.
9108 (__GLIBC_PREREQ): Likewise.
9110 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
9112 * Makeconfig (CPPFLAGS): Revert last change. It has too many
9115 * stdlib/longlong.h: Provide __P definition if not already
9118 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
9120 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
9122 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
9124 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9126 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
9128 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9130 * stdio-common/vfprintf.c (group_member): Make parameters and
9131 return types pointers to CHAR_T instead of UCHAR_T.
9132 (vfprintf): Change type of work_buffer, workend and string to
9133 CHAR_T pointer/array.
9134 (process_arg, process_string_arg): Adjust/remove casts. Add
9135 missing use of L_ macro.
9136 (printf_unknown): Add missing uses of L_ macro.
9138 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9140 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
9143 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9145 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
9146 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
9147 (__wunderflow): Likewise.
9148 (_IO_switch_to_wget_mode): Likewise.
9149 (_IO_init_wmarker): Likewise.
9151 * libio/wfileops.c (_IO_wfile_seekoff): Call
9152 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9153 (_IO_wfile_jumps): Fix pbackfail entry.
9155 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9156 function if the stream is currently unoriented.
9158 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
9160 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9161 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
9162 __gnuc_va_list in v*w(printf|scanf) prototypes.
9164 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9166 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9167 1999-03-29 to iopopen also here.
9168 Reported by Richard Braakman <dark@xs4all.nl>.
9170 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9172 * include/features.h: Use __GNUC_PREREQ.
9173 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9175 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9177 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9178 Change EOF to WEOF and remove cast.
9179 (UNGETC): Remove macro.
9180 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9181 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9182 Change ISASCII to isascii and MBRLEN to mbrlen.
9183 (parse_one_spec): Compare info.spec always against wchar_t
9185 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9186 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9187 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9189 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9191 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9192 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9193 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9194 oldiofsetpos64 only if doing versioning.
9196 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9198 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9200 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9202 * libio/libio.h: Fix last patch.
9204 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9206 * libio/libio.h (_IO_putwc): Correct type of first argument.
9207 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9208 putwc_unlocked, putwchar_unlocked): Likewise.
9209 * libio/fputwc.c: Likewise.
9210 * libio/fputwc_unlocked.c: Likewise.
9211 * libio/putwc.c: Likewise.
9212 * libio/putwc_unlocked.c: Likewise.
9213 * libio/putwchar.c: Likewise.
9214 * libio/putwchar_unlocked.c: Likewise.
9216 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
9218 * sysdeps/gnu/siglist.h: File moved to ...
9219 * sysdeps/generic/siglist.h: ... here. This file should be usable for
9220 any platform, since it just associates the SIG* macros with text names
9221 and descriptions. For any signal macros do not exist on every
9222 platform, we can use #ifdef tests here and still use this single
9223 common file for all platforms.
9224 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
9225 should be usable for all platforms after the binary compatibility
9226 stuff in the current sysdeps/gnu version is no longer required.
9227 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9228 * sysdeps/generic/make_siglist.c: File removed.
9229 * sysdeps/mach/hurd/siglist.h: Use #include_next.
9230 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9232 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
9234 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9235 * sysdeps/gnu/siglist.c: ... here.
9236 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9237 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9238 * sysdeps/gnu/siglist.h: New file, contents from linux version.
9239 Add entry for SIGLOST protected by #ifdef.
9240 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9241 and define OLD_SIGLIST_SIZE_STR.
9242 * sysdeps/mach/hurd/siglist.h: New file, likewise.
9244 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9246 * include/features.h: Define new macros __GNUC_PREREQ and
9247 __GLIBC_PREREQ which can be used to test the version of gcc
9248 and glibc respectively.
9250 * assert/assert.h: Use __GNUC_PREREQ.
9251 * intl/libintl.h: Likewise.
9252 * math/complex.h: Likewise.
9253 * math/tgmath.h: Likewise.
9254 * misc/sys/cdefs.h: Likewise.
9255 * posix/sys/types.h: Likewise.
9256 * socket/sys/socket.h: Likewise.
9257 * string/bits/string2.h: Likewise.
9258 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9259 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9261 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9263 * include/libintl.h: Declare _libc_intl_domainname here.
9264 Define _ and N_ here.
9265 * include/libc-symbols.h: Don't include <libintl.h>. Don't
9266 define _ and N_. Don't declare _libc_intl_domainname.
9267 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9269 * db2/config.h: Don't include sys/stat.h or define
9270 HAVE_ST_BLKSIZE here...
9271 * db2/compat.h: ...do it here.
9273 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9275 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9276 * iconv/iconv.c: Include stddef.h for NULL.
9277 * malloc/malloc.h: Include features.h.
9278 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9280 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9281 into the generated file.
9282 * sysdeps/gnu/errlist.awk: Likewise.
9283 * sysdeps/gnu/errlist.c: Rebuilt.
9285 * assert/assert-perr.c: Include libintl.h.
9286 * assert/assert.c: Likewise.
9287 * elf/dl-open.c: Likewise.
9288 * elf/dlsym.c: Likewise.
9289 * elf/dlvsym.c: Likewise.
9290 * iconv/iconv_prog.c: Likewise.
9291 * inet/rcmd.c: Likewise.
9292 * inet/ruserpass.c: Likewise.
9293 * locale/programs/charset.c: Likewise.
9294 * locale/programs/ld-collate.c: Likewise.
9295 * locale/programs/ld-ctype.c: Likewise.
9296 * locale/programs/ld-messages.c: Likewise.
9297 * locale/programs/ld-monetary.c: Likewise.
9298 * locale/programs/ld-numeric.c: Likewise.
9299 * locale/programs/ld-time.c: Likewise.
9300 * locale/programs/locfile.c: Likewise.
9301 * locale/programs/repertoire.c: Likewise.
9302 * login/programs/database.c: Likewise.
9303 * login/programs/request.c: Likewise.
9304 * malloc/mcheck.c: Likewise.
9305 * misc/error.c: Likewise.
9306 * nis/nis_call.c: Likewise.
9307 * nis/nis_callback.c: Likewise.
9308 * nis/nis_error.c: Likewise.
9309 * nis/nis_local_names.c: Likewise.
9310 * nis/nis_print.c: Likewise.
9311 * nis/nis_print_group_entry.c: Likewise.
9312 * nis/ypclnt.c: Likewise.
9313 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9314 * nscd/cache.c: Likewise.
9315 * nscd/connections.c: Likewise.
9316 * nscd/grpcache.c: Likewise.
9317 * nscd/hstcache.c: Likewise.
9318 * nscd/nscd_conf.c: Likewise.
9319 * nscd/nscd_stat.c: Likewise.
9320 * nscd/pwdcache.c: Likewise.
9321 * posix/id.c: Likewise.
9322 * resolv/herror.c: Likewise.
9323 * stdio-common/psignal.c: Likewise.
9324 * string/strsignal.c: Likewise.
9325 * sunrpc/auth_unix.c: Likewise.
9326 * sunrpc/clnt_perr.c: Likewise.
9327 * sunrpc/clnt_raw.c: Likewise.
9328 * sunrpc/clnt_tcp.c: Likewise.
9329 * sunrpc/clnt_udp.c: Likewise.
9330 * sunrpc/clnt_unix.c: Likewise.
9331 * sunrpc/get_myaddr.c: Likewise.
9332 * sunrpc/pm_getmaps.c: Likewise.
9333 * sunrpc/pmap_clnt.c: Likewise.
9334 * sunrpc/pmap_rmt.c: Likewise.
9335 * sunrpc/rpc_main.c: Likewise.
9336 * sunrpc/rpc_scan.c: Likewise.
9337 * sunrpc/svc_run.c: Likewise.
9338 * sunrpc/svc_simple.c: Likewise.
9339 * sunrpc/svc_tcp.c: Likewise.
9340 * sunrpc/svc_udp.c: Likewise.
9341 * sunrpc/svc_unix.c: Likewise.
9342 * sunrpc/xdr_rec.c: Likewise.
9343 * sunrpc/xdr_ref.c: Likewise.
9344 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9345 * sysdeps/posix/gai_strerror.c: Likewise.
9346 * sysdeps/unix/siglist.c: Likewise.
9347 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9348 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9349 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9350 * timezone/zic.c: Likewise.
9352 1999-06-18 H.J. Lu <hjl@gnu.org>
9354 * localedata/Makefile (charmaps): Exclude SCCS.
9355 (locales): Likewise.
9356 (repertoiremaps): Likewise.
9358 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
9360 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9361 * sysdeps/generic/bsd-setjmp.c: Likewise.
9363 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9365 * iconv/gconv_open.c: Include string.h for memset prototype.
9367 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9370 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9371 assignment to avoid warning on 64bit platforms.
9373 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9375 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9377 * nss/getXXbyYY_r.c: Return error code not -1.
9378 * nss/getXXent_r.c: Likewise.
9379 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9381 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9382 value > 0 for error.
9383 * nscd/nscd_gethst_r.c: Likewise.
9384 * nscd/nscd_getpw_r.c: Likewise.
9386 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9388 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9391 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9393 * nscd/nscd_nischeck.c: Fix typos.
9395 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9398 always when oact is NULL.
9399 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9401 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9403 * math/libm-test.c (jn_test): Adjust delta.
9405 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9407 * libio/vwprintf.c: Include <wchar.h> for prototypes.
9408 * libio/wprintf.c: Likewise.
9410 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9412 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9413 to not write beyond allocated memory.
9414 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9416 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9418 * malloc/mtrace.c: Keep lock while printing output lines.
9419 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9421 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
9423 * configure.in: Add warnings about broken code.
9425 * Versions.def: Add GLIBC_2.2 for libc.
9427 * iconv/gconv.h: Make header suitable for inclusion in public header
9428 by protecting all names with __.
9429 * iconv/gconv.c: Adapt for symbol name changes.
9430 * iconv/gconv.h: Likewise.
9431 * iconv/gconv_builtin.c: Likewise.
9432 * iconv/gconv_close.c: Likewise.
9433 * iconv/gconv_db.c: Likewise.
9434 * iconv/gconv_dl.c: Likewise.
9435 * iconv/gconv_int.h: Likewise.
9436 * iconv/gconv_open.c: Likewise.
9437 * iconv/gconv_simple.c: Likewise.
9438 * iconv/iconv.c: Likewise.
9439 * iconv/iconv_close.c: Likewise.
9440 * iconv/iconv_open.c: Likewise.
9441 * iconv/loop.c: Likewise.
9442 * iconv/skeleton.c: Likewise.
9443 * iconvdata/8bit-gap.c: Likewise.
9444 * iconvdata/8bit-generic.c: Likewise.
9445 * iconvdata/ansi_x3.110.c: Likewise.
9446 * iconvdata/big5.c: Likewise.
9447 * iconvdata/cns11643.h: Likewise.
9448 * iconvdata/cns11643l1.h: Likewise.
9449 * iconvdata/euc-cn.c: Likewise.
9450 * iconvdata/euc-jp.c: Likewise.
9451 * iconvdata/euc-kr.c: Likewise.
9452 * iconvdata/euc-tw.c: Likewise.
9453 * iconvdata/gb2312.h: Likewise.
9454 * iconvdata/iso-2022-jp.c: Likewise.
9455 * iconvdata/iso-2022-kr.c: Likewise.
9456 * iconvdata/iso646.c: Likewise.
9457 * iconvdata/iso8859-1.c: Likewise.
9458 * iconvdata/iso_6937-2.c: Likewise.
9459 * iconvdata/iso_6937.c: Likewise.
9460 * iconvdata/jis0201.h: Likewise.
9461 * iconvdata/jis0208.h: Likewise.
9462 * iconvdata/jis0212.h: Likewise.
9463 * iconvdata/johab.c: Likewise.
9464 * iconvdata/ksc5601.h: Likewise.
9465 * iconvdata/sjis.c: Likewise.
9466 * iconvdata/t.61.c: Likewise.
9467 * iconvdata/uhc.c: Likewise.
9468 * stdlib/mblen.c: Likewise.
9469 * stdlib/mbtowc.c: Likewise.
9470 * stdlib/wctomb.c: Likewise.
9471 * wcsmbs/btowc.c: Likewise.
9472 * wcsmbs/mbrtowc.c: Likewise.
9473 * wcsmbs/mbsnrtowcs.c: Likewise.
9474 * wcsmbs/mbsrtowcs.c: Likewise.
9475 * wcsmbs/wchar.h: Likewise.
9476 * wcsmbs/wcrtomb.c: Likewise.
9477 * wcsmbs/wcsmbsload.c: Likewise.
9478 * wcsmbs/wcsmbsload.h: Likewise.
9479 * wcsmbs/wcsnrtombs.c: Likewise.
9480 * wcsmbs/wcsrtombs.c: Likewise.
9481 * wcsmbs/wctob.c: Likewise.
9483 * include/limits.h (MB_LEN_MAX): Increase to 16.
9485 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9487 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9488 * include/wchar.h: Change mbstate_t to __mbstate_t.
9490 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9491 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9492 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9493 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9494 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9495 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9497 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9498 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9499 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9500 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9501 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9502 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9503 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9504 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9506 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9507 Extend _IO_file contain pointer to codecvt, widedata and mode.
9508 (_IO_getwc_unlocked): New macro.
9509 (_IO_putwc_unlocked): New macro.
9510 (_IO_fwide): New macro.
9511 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9512 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9513 buffers based on mode.
9514 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9516 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9517 flag to be enough to signal unallocated buffer. For wide oriented
9518 stream don't make it linebuffered. Don't use _IO_do_flush, use
9519 _IO_new_do_write directly.
9520 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9521 (_IO_file_seek): Likewise.
9522 * libio/genops.c (_IO_least_marker): Make global.
9523 (__underflow): Orient stream if not already done.
9524 (__uflow): Likewise.
9525 (_IO_default_seekpos): Change to type _IO_off64_t.
9526 (_IO_default_seekoff): Likewise.
9527 (_IO_default_seek): Likewise.
9528 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9530 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9532 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9534 * libio/ftello64.c: Likewise.
9535 * libio/ioftell.c: Likewise.
9536 * libio/iofopncook.c: Likewise.
9537 * libio/ioseekoff.c: Likewise.
9538 * libio/ioseekpos.c: Likewise.
9539 * libio/oldfileops.c: Likewise.
9540 * libio/iofgetpos.c: Store state of conversion if necessary.
9541 * libio/iofgetpos64.c: Likewise.
9542 * libio/iofsetpos.c: Restore conversion state if necessary.
9543 * libio/iofsetpos64.c: Likewise.
9544 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9545 * libio/iofopen.c: Likewise.
9546 * libio/iofopen64.c: Likewise.
9547 * libio/iopopen.c: Likewise.
9548 * libio/iovdprintf.c: Likewise.
9549 * libio/iovsprintf.c: Likewise.
9550 * libio/iovsscanf.c: Likewise.
9551 * libio/memstream.c: Likewise.
9552 * libio/obprintf.c: Likewise.
9553 * libio/iofputs.c: Orient stream if not already happened.
9554 * libio/iofputs_u.c: Likewise.
9555 * libio/iofwrite.c: Likewise.
9556 * libio/iofwrite_u.c: Likewise.
9557 * libio/ioputs.c: Likewise.
9558 * libio/iosetbuffer.c: Handle not yet oriented stream.
9559 * libio/iosetvbuf.c: Likewise.
9560 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9561 * libio/stdfiles.c: Likewise.
9562 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9564 (_IO_str_seekoff): Use _IO_off64_t.
9565 * libio/vasprintf.c: Pre-orient stream.
9566 * libio/vsnprintf.c: Likewise.
9567 * libio/fputwc.c: New file.
9568 * libio/fputwc_u.c: New file.
9569 * libio/fwprintf.c: New file.
9570 * libio/fwscanf.c: New file.
9571 * libio/getwc.c: New file.
9572 * libio/getwc_u.c: New file.
9573 * libio/getwchar.c: New file.
9574 * libio/getwchar_u.c: New file.
9575 * libio/iofgetws.c: New file.
9576 * libio/iofgetws_u.c: New file.
9577 * libio/iofputws.c: New file.
9578 * libio/iofputws_u.c: New file.
9579 * libio/iofwide.c: New file.
9580 * libio/iogetwline.c: New file.
9581 * libio/ioungetwc.c: New file.
9582 * libio/iovswscanf.c: New file.
9583 * libio/iowpadn.c: New file.
9584 * libio/oldiofgetpos.c: New file.
9585 * libio/oldiofgetpos64.c: New file.
9586 * libio/oldiofsetpos.c: New file.
9587 * libio/oldiofsetpos64.c: New file.
9588 * libio/putwc.c: New file.
9589 * libio/putwc_u.c: New file.
9590 * libio/putwchar.c: New file.
9591 * libio/putwchar_u.c: New file.
9592 * libio/swprintf.c: New file.
9593 * libio/swscanf.c: New file.
9594 * libio/tst_swprintf.c: New file.
9595 * libio/tst_swscanf.c: New file.
9596 * libio/tst_wprintf.c: New file.
9597 * libio/tst_wscanf.c: New file.
9598 * libio/tst_wscanf.input: New file.
9599 * libio/vswprintf.c: New file.
9600 * libio/vwprintf.c: New file.
9601 * libio/vwscanf.c: New file.
9602 * libio/wfiledoalloc.c: New file.
9603 * libio/wfileops.c: New file.
9604 * libio/wgenops.c: New file.
9605 * libio/wprintf.c: New file.
9606 * libio/wscanf.c: New file.
9607 * libio/wstrops.c: New file.
9608 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9609 vfwprintf, and vfwscanf.
9610 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9612 * stdio-common/_itowa.c: New file.
9613 * stdio-common/_itowa.h: New file.
9614 * stdio-common/itoa-digits.c: Minimal optimization.
9615 * stdio-common/itowa-digits.c: New file.
9616 * stdio-common/printf-parse.h: Allow use in wide character context.
9617 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9618 * stdio-common/printf.h (printf_info): Add wide bit.
9619 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9620 is wide oriented or not.
9621 * stdio-common/printf_size.c: Likewise.
9622 * sysdeps/generic/printf_fphex.c: Likewise.
9623 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9624 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9626 * stdio-common/vfscand.c: Likewise.
9627 * stdio-common/vfwprintf.c: New file.
9628 * stdio-common/vfwscanf.c: New file.
9630 * time/Makefile (routines): Add wcsftime.
9631 (tests): Add tst_wcsftime.
9632 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9633 * time/strftime.c: Make usable as wcsftime.
9634 * time/wcsftime.c: New file.
9635 * time/tst_wcsftime.c: New file.
9637 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9638 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9639 * wcsmbs/wcschrnul.c: New file.
9640 * wcsmbs/wmemcpy.c: New file.
9641 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9642 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9644 * manual/stdio.texi: Document is_char and wide element if printf_info.
9646 * manual/time.texi: Document wcsftime.
9648 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9649 __wmemmove, __wcschrnul, and __vfwscanf.
9651 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9652 * locale/C-time.c: Adapt for above change.
9653 * locale/categories.def: Likewise.
9654 * locale/localeinfo.h: Likewise.
9655 * localedata/Makefile: Don't run tests for now.
9657 * manual/errno.texi: Fix typos.
9658 * manual/memory.texi: Likewise.
9659 * manual/ctype.texi: Likewise.
9660 Patches by Brian Youmans <3diff@gnu.org>.
9662 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9664 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9666 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9668 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9670 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9671 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9673 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9675 * db2/db/db.c: Restore __nss_db_open alias.
9676 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9678 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9679 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9681 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9683 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9684 is_longlong if not necessary.
9686 1999-06-15 H.J. Lu <hjl@gnu.org>
9688 * Make-dist (sysdep_dirs): Exclude SCCS.
9689 * MakeTAGS (sysdep_dirs): Likewise.
9691 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9693 * posix/regex.c (re_error_msgid): Remove extra commas.
9695 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9697 * stdlib/tst-strtoll.c: New file.
9698 * stdlib/Makefile (tests): Add tst-strtoll.c
9699 * stdlib/strtol.c: It is not generally true that if
9700 (unsigned)a*(unsigned)b overflows, then the result is
9703 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
9705 * nscd/connections.c (handle_request): Only root is allowed to
9706 send GETSTAT request in non secure mode.
9707 * nscd/nscd.c: Print error message if other then root try to
9710 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9712 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9714 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9716 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9717 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9719 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9721 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9722 for character to search, to help the compiler.
9723 * sysdeps/generic/strchrnul.c: Likewise.
9724 * sysdeps/generic/memchr.c: Likewise.
9725 * sysdeps/generic/memccpy.c: Likewise.
9726 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
9728 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9730 * sysdeps/m68k/memchr.S: New file.
9731 * sysdeps/m68k/rawmemchr.S: New file.
9732 * sysdeps/m68k/strchr.S: New file.
9733 * sysdeps/m68k/strchrnul.S: New file.
9735 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
9737 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9738 add `memory' clobber; optimise for constant `val'.
9739 (atomic_add): Likewise.
9740 (test_and_set): Remove `volatile'; add `memory' clobber; be more
9741 like the original `test_and_set'.
9742 (compare_and_swap): Remove `volatile'; add `memory' clobber;
9743 optimise for constant `oldval'.
9744 (always_swap): Remove `volatile'; add `memory' clobber.
9746 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9748 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9749 functions for gcc <= 2.7.x.
9751 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
9753 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9756 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
9758 * db2/Makefile (distribute): Remove files which do not exist
9761 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9762 definitions to calm down gcc.
9764 * db2/db.h: Update from db 2.7.5.
9765 * db2/db_185.h: Likewise.
9766 * db2/db_int.h: Likewise.
9767 * db2/btree/bt_compare.c: Likewise.
9768 * db2/btree/bt_conv.c: Likewise.
9769 * db2/btree/bt_curadj.c: Likewise.
9770 * db2/btree/bt_cursor.c: Likewise.
9771 * db2/btree/bt_delete.c: Likewise.
9772 * db2/btree/bt_open.c: Likewise.
9773 * db2/btree/bt_page.c: Likewise.
9774 * db2/btree/bt_put.c: Likewise.
9775 * db2/btree/bt_rec.c: Likewise.
9776 * db2/btree/bt_recno.c: Likewise.
9777 * db2/btree/bt_rsearch.c: Likewise.
9778 * db2/btree/bt_search.c: Likewise.
9779 * db2/btree/bt_split.c: Likewise.
9780 * db2/btree/bt_stat.c: Likewise.
9781 * db2/btree/btree_auto.c: Likewise.
9782 * db2/common/db_appinit.c: Likewise.
9783 * db2/common/db_apprec.c: Likewise.
9784 * db2/common/db_err.c: Likewise.
9785 * db2/common/db_region.c: Likewise.
9786 * db2/common/db_salloc.c: Likewise.
9787 * db2/db/db.c: Likewise.
9788 * db2/db/db.src: Likewise.
9789 * db2/db/db_am.c: Likewise.
9790 * db2/db/db_auto.c: Likewise.
9791 * db2/db/db_dispatch.c: Likewise.
9792 * db2/db/db_dup.c: Likewise.
9793 * db2/db/db_iface.c: Likewise.
9794 * db2/db/db_join.c: Likewise.
9795 * db2/db/db_overflow.c: Likewise.
9796 * db2/db/db_pr.c: Likewise.
9797 * db2/db/db_rec.c: Likewise.
9798 * db2/db/db_ret.c: Likewise.
9799 * db2/db185/db185.c: Likewise.
9800 * db2/dbm/dbm.c: Likewise.
9801 * db2/hash/hash.c: Likewise.
9802 * db2/hash/hash_auto.c: Likewise.
9803 * db2/hash/hash_dup.c: Likewise.
9804 * db2/hash/hash_page.c: Likewise.
9805 * db2/hash/hash_rec.c: Likewise.
9806 * db2/hash/hash_stat.c: Likewise.
9807 * db2/include/btree.h: Likewise.
9808 * db2/include/btree_ext.h: Likewise.
9809 * db2/include/clib_ext.h: Likewise.
9810 * db2/include/common_ext.h: Likewise.
9811 * db2/include/db_am.h: Likewise.
9812 * db2/include/db_auto.h: Likewise.
9813 * db2/include/db_cxx.h: Likewise.
9814 * db2/include/db_ext.h: Likewise.
9815 * db2/include/db_join.h: Likewise.
9816 * db2/include/db_page.h: Likewise.
9817 * db2/include/hash.h: Likewise.
9818 * db2/include/hash_ext.h: Likewise.
9819 * db2/include/lock.h: Likewise.
9820 * db2/include/lock_ext.h: Likewise.
9821 * db2/include/log.h: Likewise.
9822 * db2/include/log_ext.h: Likewise.
9823 * db2/include/mp.h: Likewise.
9824 * db2/include/mp_ext.h: Likewise.
9825 * db2/include/os.h: Likewise.
9826 * db2/include/os_ext.h: Likewise.
9827 * db2/include/os_func.h: Likewise.
9828 * db2/include/txn.h: Likewise.
9829 * db2/include/txn_auto.h: Likewise.
9830 * db2/include/txn_ext.h: Likewise.
9831 * db2/include/xa.h: Likewise.
9832 * db2/include/xa_ext.h: Likewise.
9833 * db2/lock/lock.c: Likewise.
9834 * db2/lock/lock_conflict.c: Likewise.
9835 * db2/lock/lock_deadlock.c: Likewise.
9836 * db2/lock/lock_region.c: Likewise.
9837 * db2/lock/lock_util.c: Likewise.
9838 * db2/log/log.c: Likewise.
9839 * db2/log/log_archive.c: Likewise.
9840 * db2/log/log_auto.c: Likewise.
9841 * db2/log/log_findckp.c: Likewise.
9842 * db2/log/log_get.c: Likewise.
9843 * db2/log/log_put.c: Likewise.
9844 * db2/log/log_rec.c: Likewise.
9845 * db2/log/log_register.c: Likewise.
9846 * db2/mp/mp_bh.c: Likewise.
9847 * db2/mp/mp_fget.c: Likewise.
9848 * db2/mp/mp_fopen.c: Likewise.
9849 * db2/mp/mp_fput.c: Likewise.
9850 * db2/mp/mp_fset.c: Likewise.
9851 * db2/mp/mp_open.c: Likewise.
9852 * db2/mp/mp_pr.c: Likewise.
9853 * db2/mp/mp_region.c: Likewise.
9854 * db2/mp/mp_sync.c: Likewise.
9855 * db2/mutex/mutex.c: Likewise.
9856 * db2/mutex/uts4_cc.s: Likewise.
9857 * db2/os/os_abs.c: Likewise.
9858 * db2/os/os_alloc.c: Likewise.
9859 * db2/os/os_config.c: Likewise.
9860 * db2/os/os_dir.c: Likewise.
9861 * db2/os/os_fid.c: Likewise.
9862 * db2/os/os_fsync.c: Likewise.
9863 * db2/os/os_map.c: Likewise.
9864 * db2/os/os_oflags.c: Likewise.
9865 * db2/os/os_open.c: Likewise.
9866 * db2/os/os_rw.c: Likewise.
9867 * db2/os/os_seek.c: Likewise.
9868 * db2/os/os_sleep.c: Likewise.
9869 * db2/os/os_spin.c: Likewise.
9870 * db2/os/os_stat.c: Likewise.
9871 * db2/os/os_tmpdir.c: Likewise.
9872 * db2/os/os_unlink.c: Likewise.
9873 * db2/progs/db_archive/db_archive.c: Likewise.
9874 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9875 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9876 * db2/progs/db_dump/db_dump.c: Likewise.
9877 * db2/progs/db_load/db_load.c: Likewise.
9878 * db2/progs/db_printlog/README: Likewise.
9879 * db2/progs/db_printlog/commit.awk: Likewise.
9880 * db2/progs/db_printlog/count.awk: Likewise.
9881 * db2/progs/db_printlog/db_printlog.c: Likewise.
9882 * db2/progs/db_printlog/pgno.awk: Likewise.
9883 * db2/progs/db_printlog/range.awk: Likewise.
9884 * db2/progs/db_printlog/status.awk: Likewise.
9885 * db2/progs/db_printlog/txn.awk: Likewise.
9886 * db2/progs/db_recover/db_recover.c: Likewise.
9887 * db2/progs/db_stat/db_stat.c: Likewise.
9888 * db2/txn/txn.c: Likewise.
9889 * db2/txn/txn.src: Likewise.
9890 * db2/txn/txn_auto.c: Likewise.
9891 * db2/txn/txn_rec.c: Likewise.
9892 * db2/xa/xa.c: Likewise.
9893 * db2/xa/xa_db.c: Likewise.
9894 * db2/xa/xa_map.c: Likewise.
9896 * db2/btree/bt_close.c: Removed.
9897 * db2/db/db_thread.c: Likewise.
9898 * db2/hash/hash_debug.c: Likewise.
9899 * db2/include/db.h.src: Likewise.
9900 * db2/include/db_int.h.src: Likewise.
9901 * db2/include/os_jump.h: Likewise.
9902 * db2/mutex/alpha.dec: Likewise.
9903 * db2/mutex/alpha.gcc: Likewise.
9904 * db2/mutex/parisc.hp: Likewise.
9905 * db2/mutex/uts4.cc.s: Likewise.
9907 * db2/Makefile: Add new routines, remove old for 2.7.5.
9908 * db2/Versions: Add internal function names for the helper programs.
9909 * db2/makedb.c: Update for new cursor callback.
9910 * Versions.def: Define versions for libdb.
9912 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9914 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9915 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9916 * nscd/nscd_nischeck.c: New file.
9917 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9919 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9921 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9922 MSG_* flags from Linux 2.2.9.
9924 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9926 * Makeconfig (static-start-installed-name): Set to
9927 $(start-installed-name) if not defined.
9928 (+link-static): Use $(static-start-installed-name) instead of
9929 $(start-installed-name).
9930 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9933 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9935 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9936 inserting a send right into the child instead of unconditionally
9937 copying the send right.
9939 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9941 * locale/lc-time.c: Add free_mem function to free if necessary
9942 statically allocated memory.
9944 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9946 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9947 bias from the raw exponent.
9949 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9951 * inet/arpa/tftp.h: Move attribute declaration in right position.
9953 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9955 * nscd/nscd.c: Add -S options for separate caching of data for
9956 every user. So one user couldn't see the data another user
9957 has gotten with his credentials.
9958 * nscd/nscd.h: Add new prototypes.
9959 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9960 * nscd/connections.c: Check on shutdown if caller really was root.
9961 In secure mode get uid of caller.
9962 * nscd/grpcache.c: Add support for new secure group mode.
9963 * nscd/hstcache.c: Add support for new secure hosts mode.
9964 * nscd/pwdcache.c: Add support for new secure passwd mode.
9966 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9968 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9969 of user-provided buffer.
9971 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9973 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9974 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9976 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9978 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9981 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9982 returning after last entry.
9983 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9985 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9987 * misc/sysexits.h: Remove advertising clause of copyright.
9988 * resolv/getnetnamadr.c: Likewise.
9989 * sysdeps/vax/bcopy.s: Likewise.
9990 * sysdeps/vax/bzero.s: Likewise.
9991 * sysdeps/vax/ffs.s: Likewise.
9992 * sysdeps/vax/memchr.s: Likewise.
9993 * sysdeps/vax/memcmp.s: Likewise.
9994 * sysdeps/vax/memmove.s: Likewise.
9995 * sysdeps/vax/memset.s: Likewise.
9996 * sysdeps/vax/strcat.s: Likewise.
9997 * sysdeps/vax/strchr.s: Likewise.
9998 * sysdeps/vax/strcmp.s: Likewise.
9999 * sysdeps/vax/strcpy.s: Likewise.
10000 * sysdeps/vax/strcspn.s: Likewise.
10001 * sysdeps/vax/strlen.s: Likewise.
10002 * sysdeps/vax/strncat.s: Likewise.
10003 * sysdeps/vax/strncmp.s: Likewise.
10004 * sysdeps/vax/strncpy.s: Likewise.
10005 * sysdeps/vax/strpbrk.s: Likewise.
10006 * sysdeps/vax/strrchr.s: Likewise.
10007 * sysdeps/vax/strsep.s: Likewise.
10008 * sysdeps/vax/strspn.s: Likewise.
10009 * sysdeps/vax/strstr.s: Likewise.
10011 * libio/iofopncook.c: Adjust for renaming of structure elements.
10012 * libio/libio.h: Define cookie functions with all the names.
10014 * pwd/fgetpwent_r.c: Set errno in the correct way.
10015 * shadow/fgetspent_r.c: Likewise.
10016 * pwd/fgetpwent.c: Handle long lines correctly. Little
10017 optimizations. Free static buffer when debugging memory handling.
10018 * shadow/fgetspent.c: Likewise.
10020 * grp/fgetgrent.c: Little optimization in loop.
10022 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10024 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
10025 in a different way.
10027 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
10029 * stdlib/longlong.h: gas changed sethi handling when without
10030 %hi(). Fix assembly.
10031 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
10032 port specific cache id checks.
10033 * sysdeps/generic/dl-cache.h: New file.
10034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
10036 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10038 * gmon/gmon.c: Remove advertising clause of copyright.
10039 * gmon/mcount.c: Likewise.
10040 * gmon/sys/gmon.h: Likewise.
10041 * inet/arpa/ftp.h: Likewise.
10042 * inet/arpa/telnet.h: Likewise.
10043 * inet/arpa/tftp.h: Likewise.
10044 * inet/inet_lnaof.c: Likewise.
10045 * inet/inet_mkadr.c: Likewise.
10046 * inet/inet_net.c: Likewise.
10047 * inet/inet_netof.c: Likewise.
10048 * inet/protocols/routed.h: Likewise.
10049 * inet/protocols/rwhod.h: Likewise.
10050 * inet/protocols/talkd.h: Likewise.
10051 * inet/protocols/timed.h: Likewise.
10052 * inet/rcmd.c: Likewise.
10053 * inet/rexec.c: Likewise.
10054 * inet/ruserpass.c: Likewise.
10055 * io/fts.c: Likewise.
10056 * io/fts.h: Likewise.
10057 * login/login_tty.c: Likewise.
10058 * misc/fstab.h: Likewise.
10059 * misc/getttyent.c: Likewise.
10060 * misc/getusershell.c: Likewise.
10061 * misc/sys/queue.h: Likewise.
10062 * misc/sys/syslog.h: Likewise.
10063 * misc/syslog.c: Likewise.
10064 * misc/ttyent.h: Likewise.
10065 * misc/ttyslot.c: Likewise.
10066 * resolv/arpa/nameser.h: Likewise.
10067 * resolv/gethnamaddr.c: Likewise.
10068 * resolv/herror.c: Likewise.
10069 * resolv/inet_addr.c: Likewise.
10070 * resolv/mapv4v6addr.h: Likewise.
10071 * resolv/mapv4v6hostent.h: Likewise.
10072 * resolv/nss_dns/dns-host.c: Likewise.
10073 * resolv/nss_dns/dns-network.c: Likewise.
10074 * resolv/res_comp.c: Likewise.
10075 * resolv/res_data.c: Likewise.
10076 * resolv/res_debug.c: Likewise.
10077 * resolv/res_init.c: Likewise.
10078 * resolv/res_mkquery.c: Likewise.
10079 * resolv/res_query.c: Likewise.
10080 * resolv/res_send.c: Likewise.
10081 * resolv/resolv.h: Likewise.
10082 * sysdeps/generic/div.c: Likewise.
10083 * sysdeps/generic/netinet/ip.h: Likewise.
10084 * sysdeps/generic/netinet/tcp.h: Likewise.
10085 * sysdeps/generic/paths.h: Likewise.
10086 * sysdeps/generic/prof-freq.c: Likewise.
10087 * sysdeps/generic/sys/ttydefaults.h: Likewise.
10088 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10089 * sysdeps/gnu/netinet/tcp.h: Likewise.
10090 * sysdeps/ieee754/support.c: Likewise.
10091 * sysdeps/mach/hurd/sys/param.h: Likewise.
10092 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
10093 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10094 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
10095 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10096 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
10097 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
10098 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
10099 * sysdeps/unix/sysv/linux/paths.h: Likewise.
10100 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
10101 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
10102 * sysdeps/vax/DEFS.h: Likewise.
10103 * termios/sys/ttychars.h: Likewise.
10104 * misc/daemon.c: Likewise. Call fork.
10106 * grp/fgetgrent.c (buffer): Make file local variable.
10107 (free_mem): New function. Call for malloc debugging.
10109 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
10111 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10113 * grp/Makefile: Add rules for tst_fgetgrent.
10115 * grp/tst_fgetgrent.c: Rewritten to read only one file.
10117 * grp/tst_fgetgrent.sh: New file.
10119 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10121 * grp/Makefile (tests): Add tst_fgetgrent.
10122 * grp/tst_fgetgrent.c: New file.
10123 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
10125 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
10127 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
10128 be POSIX compliant. Prior definition was broken for Hurd.
10129 Reported by Mark Kettenis <kettenis@gnu.org>.
10131 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10133 * ctype/ctype.h: Protect __tobody code by __extension__.
10135 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10137 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
10138 reading and reset in case the buffer was too small.
10140 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
10143 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10145 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
10146 another SIOGIFNAME typo.
10148 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10150 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10152 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10155 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10157 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10158 the precision if the mantissa is zero.
10160 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10162 * manual/lang.texi (Floating Point Parameters): GCC already
10163 supports long double for a long time.
10165 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10167 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10168 yn_test): Increase some epsilons.
10170 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10172 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10175 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10177 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10178 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10179 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10180 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10182 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10183 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10184 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10185 * sysdeps/libm-ieee754/w_j1.c: Likewise.
10186 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10187 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10188 * sysdeps/libm-ieee754/w_jn.c: Likewise.
10189 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10190 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10192 * stdio-common/vfprintf.c: Correct typos.
10194 * math/libm-test.c (jn_test): Adjust delta.
10195 (y1_test): Likewise.
10196 (yn_test): Likewise.
10198 * elf/do-lookup.h: It should never happen that if we expect a versioned
10199 symbol from a file the file has no version table. This should have
10200 been checked in dl-version.c.
10201 * elf/dl-lookup.c: Include assert.h.
10203 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10206 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10208 1999-06-06 Andi Kleen <ak@muc.de>
10210 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10213 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10215 * math/libm-test.c (yn_test): Change one delta.
10216 (jn_test): Likewise.
10217 (j1_test): Likewise.
10218 (y0_test): Likewise.
10220 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10222 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10223 avoid multiple calls to getpagesize() which might be a syscall.
10225 1999-06-06 Philip Blundell <philb@gnu.org>
10227 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10229 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10231 * manual/install.texi (Running make install): Correct typo in
10232 dynamic linker invocation.
10234 1999-06-05 Philip Blundell <philb@gnu.org>
10236 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10237 problems with GOT addressing.
10239 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10241 * malloc/malloc.c (check_action): Change into bitmap so that both
10242 diagnostic and abort can be requested by setting it to 3.
10243 (mALLOC_SET_STATe): Disable malloc checking if necessary.
10245 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
10247 * configure.in: Few changes for HPUX.
10249 * scripts/config.guess: Update from latest version.
10250 * scripts/config.sub: Likewise.
10252 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10254 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10255 map files. Closes PR libc/1147.
10257 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10259 * math/libm-test.c (main): Add new test functions.
10260 (jn_test): New tests.
10261 (j1_test): Add some more tests.
10262 (j0_test): Add some more tests.
10263 (y0_test): Add some more tests.
10264 (y1_test): Add some more tests.
10266 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10268 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10269 Patch by mhagger@dera.gov.uk [PR libc/1145].
10271 * math/libm-test.c (y1_test): New tests.
10272 (y0_test): Likewise.
10273 (j1_test): Likewise.
10274 (j0_test): Likewise.
10275 (main): Added new tests.
10277 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
10279 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10286 1999-06-02 David S. Miller <davem@redhat.com>
10288 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10291 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
10293 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10294 and elide compatibility code if possible.
10296 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
10298 * manual/llio.texi: Remove menu entry for removed section.
10300 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10302 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10305 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10307 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10308 (from Linux 2.3.4).
10310 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
10312 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10314 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10316 * manual/stdio.texi: Fix some typos.
10318 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10320 * malloc/malloc.h: Properly handle future GCC versions.
10322 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10324 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10325 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
10326 text of error message.
10328 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10330 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10332 * manual/filesys.texi: Extend (f)truncate documentation.
10333 * manual/llio.texi: Remove duplicate (f)truncate definition.
10335 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10337 * manual/stdio.texi (Formatted Output Functions): Mention
10338 semantics of snprintf in glibc 2.0.
10339 Reported by Ben Pfaff <pfaffben@msu.edu>.
10341 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10343 * include/features.h (__GLIBC_MINOR__): Bump to 2.
10345 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
10347 * math/libm-test.c: Adjust a few more deltas for the poor ARM
10350 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10352 * configure.in: Fix typo.
10354 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10356 * manual/socket.texi (Host Names): Remove statement that h_errno
10357 needs to be declared since this isn't true anymore.
10358 Closes PR libc/1138.
10360 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
10362 * config.h.in: Add __LINUX_KERNEL_VERSION.
10363 * configure.in: Recognize --enable-kernel.
10364 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10365 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10367 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10368 given perform runtime test.
10370 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10371 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10372 minimal supported kernel is known to have the feature.
10373 * sysdeps/unix/sysv/linux/poll.c: Likewise.
10374 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10375 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10376 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10377 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10378 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10379 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10380 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10381 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10382 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10383 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10384 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10385 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10386 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10389 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10391 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10393 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10395 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
10397 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10398 Optimized sparc64 routines.
10400 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10402 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10403 they are the same as ints.
10404 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10406 * version.h (VERSION): Bump to 2.1.90.
10407 (RELEASE): Mark as development.
10409 * stdio-common/vfprintf.c (vfprintf): Don't implement special
10410 handling for long long if it is the same as long.
10411 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10413 * stdlib/strtol.c: Moved to ...
10414 * sysdeps/generic/strtol.c: ...here.
10415 * stdlib/strtoul.c: Moved to ...
10416 * sysdeps/generic/strtoul.c: ...here.
10417 * stdlib/strtoll.c: Moved to ...
10418 * sysdeps/generic/strtoll.c: ...here.
10419 * stdlib/strtoull.c: Moved to ...
10420 * sysdeps/generic/strtoull.c: ...here.
10421 * stdlib/strtol_l.c: Moved to ...
10422 * sysdeps/generic/strtol_l.c: ...here.
10423 * stdlib/strtoul_l.c: Moved to ...
10424 * sysdeps/generic/strtoul_l.c: ...here.
10425 * stdlib/strtoll_l.c: Moved to ...
10426 * sysdeps/generic/strtoll_l.c: ...here.
10427 * stdlib/strtoull_l.c: Moved to ...
10428 * sysdeps/generic/strtoull_l.c: ...here.
10430 * sysdeps/wordsize-64/strtol.c: New file.
10431 * sysdeps/wordsize-64/strtoul.c: New file.
10432 * sysdeps/wordsize-64/strtoll.c: New file.
10433 * sysdeps/wordsize-64/strtoull.c: New file.
10434 * sysdeps/wordsize-64/strtol_l.c: New file.
10435 * sysdeps/wordsize-64/strtoul_l.c: New file.
10436 * sysdeps/wordsize-64/strtoll_l.c: New file.
10437 * sysdeps/wordsize-64/strtoull_l.c: New file.
10439 * wcsmbs/wcstol.c: Moved to ...
10440 * sysdeps/generic/wcstol.c: ...here.
10441 * wcsmbs/wcstoul.c: Moved to ...
10442 * sysdeps/generic/wcstoul.c: ...here.
10443 * wcsmbs/wcstoll.c: Moved to ...
10444 * sysdeps/generic/wcstoll.c: ...here.
10445 * wcsmbs/wcstoull.c: Moved to ...
10446 * sysdeps/generic/wcstoull.c: ...here.
10447 * wcsmbs/wcstol_l.c: Moved to ...
10448 * sysdeps/generic/wcstol_l.c: ...here.
10449 * wcsmbs/wcstoul_l.c: Moved to ...
10450 * sysdeps/generic/wcstoul_l.c: ...here.
10451 * wcsmbs/wcstoll_l.c: Moved to ...
10452 * sysdeps/generic/wcstoll_l.c: ...here.
10453 * wcsmbs/wcstoull_l.c: Moved to ...
10454 * sysdeps/generic/wcstoull_l.c: ...here.
10456 * sysdeps/wordsize-64/wcstol.c: New file.
10457 * sysdeps/wordsize-64/wcstoul.c: New file.
10458 * sysdeps/wordsize-64/wcstoll.c: New file.
10459 * sysdeps/wordsize-64/wcstoull.c: New file.
10460 * sysdeps/wordsize-64/wcstol_l.c: New file.
10461 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10462 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10463 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10465 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10467 * sysdeps/sparc/bits/wordsize.h: New file.
10468 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10469 * sysdeps/sparc/fpu/fpu_control.h: New file.
10470 * sysdeps/sparc/gmp-mparam.h: New file.
10472 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10473 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10474 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10475 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10476 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10477 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10479 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10480 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10481 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10482 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10484 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10485 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10486 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10487 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10488 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10490 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10492 * login/openpty.c (openpty): Make sure pty does not because
10495 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10497 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10499 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10500 Do proper error return.
10502 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10504 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10505 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10506 Reported by Stephan Kulow <coolo@kde.org>.
10508 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10510 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10512 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10514 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10516 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10517 names to protect from user's macro namespace.
10518 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10519 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10520 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10521 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10522 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10524 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10525 sysdeps/arm/fpu/fesetenv.c: Likewise.
10526 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10527 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10528 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10529 * sysdeps/mips/fesetenv.c: Likewise.
10531 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10533 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10535 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10537 * configure.in: Recognize and allow gcc 2.95.
10539 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10541 * sysdeps/generic/bits/elfclass.h: Version common to
10542 wordsize-32 and wordsize-64.
10543 * sysdeps/generic/bits/environments.h: Ditto.
10544 * sysdeps/generic/stdint.h: Ditto.
10545 * sysdeps/generic/inttypes.h: Ditto.
10547 * sysdeps/generic/bits/wordsize.h: New file.
10548 * stdlib/Makefile: Add bits/wordsize.h to headers.
10550 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10552 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10553 headers to be used for 32bit and 64bit ABI compilations.
10554 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10555 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10556 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10560 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10561 * sysdeps/wordsize-64/bits/environments.h: Remove.
10562 * sysdeps/wordsize-64/stdint.h: Remove.
10563 * sysdeps/wordsize-64/inttypes.h: Remove.
10564 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10566 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10567 * sysdeps/wordsize-32/bits/environments.h: Remove.
10568 * sysdeps/wordsize-32/stdint.h: Remove.
10569 * sysdeps/wordsize-32/inttypes.h: Remove.
10570 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10572 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10574 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10575 __align_cpy_16): New functions.
10576 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10578 * sysdeps/sparc/sparc32/Versions: New file.
10579 * sysdeps/sparc/sparc64/Versions: New file.
10580 * sysdeps/sparc/Versions: Remove.
10582 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10584 * sysdeps/unix/sysv/linux/configure.in:
10585 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10586 is /usr, plus set libdir to ${exec_prefix}/lib64.
10587 * sysdeps/unix/sysv/linux/configure: Regenerated.
10588 * config.make.in: Propagate libdir settings from configure
10590 * shlib-versions: sparc64-*-linux* dynamic linker is
10591 /lib64/ld-linux.so.2.
10593 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10595 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10598 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10600 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10601 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10603 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10604 contains garbage in bits 8-63.
10605 * sysdeps/sparc/sparc64/memset.S: Ditto.
10606 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10608 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10610 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10612 1999-05-17 David S. Miller <davem@redhat.com>
10614 * sysdeps/sparc/sparc32/atomicity.h: New file.
10615 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10616 * sysdeps/sparc/sparc64/atomicity.h: New file.
10617 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10620 1999-05-18 Richard Henderson <rth@twiddle.net>
10622 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10624 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10626 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10627 posix/sys/types.h: Handle the case of __GNUC__=3,
10628 __GNUC_MINOR__=(anything).
10630 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10632 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10635 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10637 * elf/Makefile (distribute): Remove dl-origin.h.
10638 Add dl-dst.h and gen-trusted-dirs.awk.
10640 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10642 * sysdeps/i386/i486/Versions: New file with inline functions from
10643 sysdeps/i386/i486/bits/string.h for now.
10645 * sysdeps/i386/Versions: Add inline functions from
10646 sysdeps/i386/bits/string.h.
10648 * string/Versions: Add inline functions from <bits/string2.h>.
10650 * string/Makefile (routines): Add string-inlines.
10651 * string/string-inlines.c: New file, used for implementation of
10652 extern inline functions.
10654 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10655 non inlined versions of functions.
10656 * string/bits/string2.h: Likewise.
10657 * sysdeps/i386/bits/string.h: Likewise.
10659 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10661 * inet/arpa/tftp.h: Add second packed attribute.
10663 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10665 * malloc/malloc.c: Cleanup to bring in line with released
10666 stand-alone version `ptmalloc'. Update some comments.
10667 (internal_function): Move fallback definition so that the source
10668 compiles outside of libc, and use it in more places.
10669 (malloc_atfork): Fix when malloc_check is in use.
10671 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10673 * stdlib/tst-strtod.c: Fix typo.
10675 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10677 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10678 const incorrectness.
10680 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10682 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10684 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10686 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10687 * sunrpc/key_call.c: Fix memory leak, close file handle.
10688 * nis/nis_creategroup.c: Use malloc instead of calloc,
10689 set ctime and mtime.
10690 * nis/nis_subr.c: Check for realloc result.
10691 * nis/nis_file.c: Fix memory leak.
10692 * nis/nis_table.c: Pretty print.
10693 * nis/nis_getservlist.c: Likewise.
10694 * nis/nis_ismember.c: Likewise.
10695 * nis/nis_lookup.c: Likewise.
10696 * nis/nis_ping.c: Likewise.
10697 * nis/nis_removemember.c: Likewise.
10698 * nis/nis_util.c: Likewise, check calloc result.
10700 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10702 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10703 * sysdeps/generic/sys/socketvar.h: ... here.
10704 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10705 * sysdeps/generic/netinet/in_systm.h: ... here.
10706 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10709 * inet/Makefile (headers): Add netinet/in_systm.h here.
10710 * socket/Makefile (headers): Add sys/socketvar.h here.
10712 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
10714 * stdlib/strtol.c: Optimize inner loop of long long versions.
10716 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10717 Unix98. Add forward declaration of struct utmp.
10719 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10721 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10724 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10725 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
10726 memory allocation results.
10728 1999-05-14 Mark Kettenis <kettenis@gnu.org>
10730 * sysdeps/generic/getutmp.c: Include <string.h>
10731 (getutmp): Rewrite to only copy those members that are really
10732 present in `struct utmp'.
10733 * sysdeps/generic/getutmpx.c: Likewise.
10735 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10737 * nss/getXXbyYY.c: Add free_mem function which disposes all
10738 statically allocated memory when debugging.
10739 * nss/getXXent.c: Likewise.
10740 * nss/nsswitch.c: Likewise.
10742 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
10744 * sysdeps/gnu/getutmpx.c: New file.
10745 * sysdeps/gnu/getutmp.c: New file.
10747 1999-05-13 H.J. Lu <hjl@gnu.org>
10749 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10750 (getutmp): Likewise.
10752 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10753 getutmpx for login.
10755 * sysdeps/gnu/utmpx.h (getutmp): Added.
10756 (getutmpx): Likewise.
10758 * sysdeps/generic/getutmp.c: New file.
10760 * sysdeps/generic/getutmpx.c: New file.
10762 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10764 * glibcbug.in (BUGGLIBC): Change address to
10765 libc-alpha@sourceware.cygnus.com.
10767 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10769 * resolv/arpa/nameser.h: Add C++ protectors.
10771 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10773 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
10774 Elad Tsur <eladts@post.tau.ac.il>.
10776 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
10778 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10779 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10780 lazily if LD_BIND_NOW is not set.
10781 * elf/dl-support.c (_dl_lazy): New variable.
10782 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10783 * elf/rtld.c (_dl_lazy): new global variable.
10784 ( dl_main): Remove lazy, replace it by _dl_lazy.
10786 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10788 * locale/setlocale.c (new_composite_name): Check also whether the
10789 first category name differs.
10791 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10793 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10796 1999-05-11 Philip Blundell <pb@nexus.co.uk>
10798 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10799 structure; storage suitable for any socket address.
10800 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10802 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10803 sockaddr_storage): Likewise.
10805 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10808 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10810 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10811 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10812 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10814 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10816 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10817 if the file is empty.
10819 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10821 * elf/do-lookup.h: Fix typo in comment.
10823 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10824 f_bsize to help some broken programs.
10826 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10828 * stdio-common/vfprintf.c: Fix typo.
10830 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10832 * elf/link.h (struct link_map): New field l_phdr_allocated.
10833 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10834 the program header being part of any loaded segment. If it is not
10835 allocate memory and set l_phdr_allocated flag.
10836 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10838 * nss/digits_dots.c: Correct return value interpretation of
10839 inet_ntoa. Fix PR libc/1109.
10841 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10843 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10845 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10847 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10848 * stdlib/fpioconst.c: Move #endif before end of struct.
10850 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10852 * Versions.def (ld.so): Add GLIBC_2.1.1.
10853 * elf/Makefile (routines): Add dl-origin.
10854 (tests): Add origtest. Add dependencies for the program.
10855 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10856 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10857 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10858 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10859 DT_AUXILIARY, and DT_FILTER filenames.
10860 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10861 two functions and three macros.
10862 (_dl_dst_count, _dl_dst_substitute): New functions.
10863 * elf/dl-dst.h: New file.
10864 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10865 caller. Pass address in args structure.
10866 (dl_open_worker): Recognize and expand DSTs in filename.
10867 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10868 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10869 (__dlopen_check): Pass caller address to dlopen_doit in args.
10870 * elf/dlopendoit.c: Likewise.
10871 * iconv/gconv_dl.c: Adapt call of _dl_open.
10872 * nss/nsswitch.c: Likewise.
10873 * elf/origtest.c: New file.
10874 * sysdeps/generic/dl-origin.h: Moved to...
10875 * sysdeps/generic/dl-origin.c: ...here.
10876 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10877 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10879 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10880 with specific bases and only few bits set in second word.
10882 * timezone/Makefile (install-others): Create target directory
10883 before creating tzfiles.
10885 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10887 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10888 the file is opened successfully.
10890 * nis/nis_table.c: Fix some memory leaks.
10892 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10894 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10897 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10898 around DST. Correctly ignore ORIGIN IN SUID binaries.
10900 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10902 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10903 * sysdeps/generic/strtok.c: Likewise.
10905 * string/tester.c: Add test of rawmemchr.
10907 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10908 specification. It's not necessary.
10910 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10911 * elf/gen-trusted-dirs.awk: New file.
10912 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10913 from SYSTEM_DIRS macro.
10914 (system_dirs_len): New variable. Contains lengths of system_dirs
10916 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10917 Improve string comparisons. Change parameter trusted to be a flag.
10918 Change all callers.
10919 (_dt_init_paths): Improve using new format for system_dirs.
10921 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10922 $ORIGIN for SUID binaries.
10924 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10926 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10928 * sunrpc/Makefile: Generate dependencies for all flavors of
10930 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10933 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10935 * elf/dlopenold.c: Move #if down after includes to get
10936 dependencies right.
10938 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10940 * sysdeps/generic/bzero.c: Undefine __bzero.
10942 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10944 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10945 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10946 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10947 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10949 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10950 parameter to struct gaih_servtuple *. Adapt appropriately.
10951 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10952 This fixes a memory leak.
10953 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10955 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10956 and fpregset_t definition. They are defined in ucontext.h.
10958 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10960 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10961 and struct ether_header must be packed on the ARM. The default
10962 alignment constraints add padding to the end of the structures.
10964 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10966 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10967 default alignment constraints add padding to the end of the
10968 structure and between members.
10970 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10972 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10973 _dl_cache_libcmp instead of strcmp.
10975 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10977 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10979 1998-03-30 Joel Klecker <espy@debian.org>
10981 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10982 (sysdep-others,install-bin): Add lddlibc4.
10984 1999-05-02 H.J. Lu <hjl@gnu.org>
10986 * timezone/zic.c (dolink): Remove the symlink destination first.
10988 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10989 to "nonexisting" if failed to open the file.
10991 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10993 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10996 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10997 Prevent warnings from multiplication with 0x01010101 by another cast.
10999 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11001 * string/bits/string2.h (memset): Revert to previous version if
11002 unaligned writes are not available.
11004 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11006 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
11007 better code in presence of the asm.
11009 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11011 * stdlib/fmtmsg.c (keywords): Increase array size for faster
11014 * locale/localeinfo.h (_nl_category_names): Increase array element
11015 size for faster indexing.
11016 * locale/setlocale.c (_nl_category_names): Adjusted.
11018 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11020 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
11022 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11024 * sysdeps/m68k/stackinfo.h: New file.
11026 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11028 * string/tester.c (test_strchrnul): New function.
11029 (test_memset): Test one more special case.
11031 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
11034 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
11037 * string/bits/string2.h: Fix bugs I introduced in last change.
11039 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
11041 Extend memset optimization.
11042 Correct i686 version of memchr.
11044 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
11046 * sysdeps/i386/bzero.c: Add #undef __bzero.
11048 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
11049 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
11050 exec server simulated a SIGTRAP before we even started up, so gdb is
11053 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11055 * nss/digits_dots.c: Always initialize not_ok.
11057 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
11059 * string/bits/string2.h (memset): Avoid arithmetic overflow at
11060 compile time, which produces obnoxious warnings. If GCCv2 is
11061 in use, map __bzero to __builtin_memset to enable that
11064 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
11066 * string/bits/string2.h: Add more memset optimizations.
11068 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
11070 * resolv/inet_pton.c (inet_pton4): Little optimizations.
11071 (inet_pton6): Likewise.
11073 * nss/getXXbyYY_r.c: Include assert.h.
11074 * nss/getXXbyYY.c: Likewise.
11076 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11078 * termios/tcgetsid.c (tcgetsid): Rename variable to
11079 tiocgsid_does_not_work.
11081 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
11083 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
11085 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11087 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
11088 This allows e.g. gethostbyname to accept "10.1234".
11089 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
11091 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
11092 non quad IPv4 numbers.
11094 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11096 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
11098 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11100 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
11101 * argp/argp-parse.c (_argp_hang): Likewise.
11102 * argp/argp-pv.c (argp_program_version): Likewise.
11103 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
11104 * inet/ether_hton.c (ether_hton, startp): Likewise.
11105 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
11106 * inet/getnetgrent_r.c (setup, startp): Likewise.
11107 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
11108 * intl/localealias.c (string_space, string_space_act, string_space_max,
11109 nmap, maxmap): Likewise.
11110 * libio/iopopen.c (proc_file_chain): Likewise.
11111 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
11112 * locale/lc-collate.c (__collate_table, __collate_extra,
11113 __collate_element_hash, __collate_element_strings,
11114 __collate_element_values): Likewise.
11115 * malloc/mcheck.c (mcheck_used): Likewise.
11116 * malloc/mtrace.c (added_atexit_handler): Likewise.
11117 * malloc/set-freeres.c (already_called): Likewise.
11118 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
11119 * misc/syslog.c (LogStat, LogTag): Likewise.
11120 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11121 * nss/getXXbyYY_r.c (startp): Likewise.
11122 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
11123 * posix/regex.c (init_syntax_once) [done]: Likewise.
11125 * string/strfry.c (init): Likewise.
11126 * sunrpc/svc_run.c (svc_top): Likewise.
11127 * posix/euidaccess.c (have_ids): Likewise.
11128 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
11129 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
11130 * time/getdate.c (getdate_err): Likewise.
11131 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
11133 * time/tzset.c (old_tz, is_initialized): Likewise.
11135 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
11136 of static data with zero.
11137 * signal/allocrtsig.c (init): Likewise.
11139 * string/Makefile (routines): Add strchrnul.
11140 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
11141 * string/string.c: Add strchrnul prototype.
11142 * include/string.h: Add __strchrnul prototype.
11143 * sysdeps/generic/strchrnul.c: New file.
11144 * sysdeps/i386/strchrnul.S: New file.
11145 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
11146 * sysdeps/i386/i486/bits/string.c: Likewise.
11147 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
11148 * inet/ether_line.c (ether_line): Likewise.
11149 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11150 * nss/nsswitch.c (nss_parse_file): Likewise.
11151 * posix/execvp.c (execvp): Likewise.
11152 * posix/fnmatch.c (internal_fnmatch): Likewise.
11153 * resolv/res_hconf.c (_res_hconv_init): Likewise.
11154 * resolv/res_init.c (res_init): Likewise.
11155 * stdlib/fmtmsg.c (init): Likewise.
11156 * stdlib/getsubopt.c (getsubopt): Likewise.
11158 * catgets/catgets.c (catopen): Only allocate one memory block.
11159 (catclose): Only one free call necessary.
11161 * catgets/open_catalog.c (__open_catalog): Simplify handling of
11164 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11165 of real functions. Simplify _tolower and _toupper.
11167 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11170 * iconv/gconv.h (struct gconv_info): Change data element from pointer
11171 to array of size 0.
11172 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11173 * iconv/gconv_close.c (__gconv_close): Don't free data.
11175 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11178 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
11179 for error while inserting in tree.
11181 * include/time.h: Pretty print.
11183 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11184 in table and lots of relocations.
11185 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11186 string pointers in table and lots of relocations.
11188 * intl/finddomain.c: Remove definition of strchr macro.
11190 * io/ftw.c (nftw_arr, ftw_arr): Make const.
11192 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11194 * locale/localeinfo.h (_nl_category_names): Change into an array with
11195 fixed width char string elements.
11196 * locale/setlocale.c (_nl_category_names): Likewise.
11197 (_nl_current): Make global.
11198 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
11200 * malloc/Makefile (distribute): Add stackinfo.h.
11201 * sysdeps/generic/stackinfo.h: New file.
11202 * sysdeps/i386/stackinfo.h: New file.
11203 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11204 * posix/execle.c: Likewise.
11205 * posix/execlp.c: Likewise.
11207 * nis/nis_table.c (__create_ib_request): Always use realloc.
11209 * posix/execvp.c (execute): Rename to script_execute and keep only
11210 code to execute using shell.
11211 (execvp): Call execv directly and only fall back on script_execute.
11213 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11214 and always use xdigits instead.
11216 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11219 * stdlib/fpioconst.h (__tens): New declaration.
11220 (struct mp_power): Remove array, add arrayoff element.
11221 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11222 __tens array and add in _fpioconst_pow10 offsets into __tens.
11223 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11224 * stdlib/strtod.c: Likewise.
11226 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11228 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11230 * stdlib/atexit.c (__exit_funcs): Don't initialize.
11232 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11234 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11235 a single and an array with offsets.
11237 * sunrpc/des_soft.c (partab): Make it const.
11239 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11240 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11241 (__key_decryptsession_pk_LOCAL): Likewise.
11242 (__key_gendes_LOCAL): Likewise.
11243 (MESSENGER): Mark const.
11244 (key_call_private_main): Don't initialize with 0.
11245 (use_keyenvoy): Don't initialize with 0.
11246 (key_call): Rewrite to reverse logic of use_doors variable.
11248 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11249 (startp): Don't initialize with zero.
11251 * sunrpc/openchild.c (_openchild): Make first argument const.
11253 * sunrpc/pmap_rmt.c (timeout): Mark const.
11254 * sunrpc/xcrypt.c (hex): Likewise.
11256 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11257 initialization of global variables.
11258 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11259 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11260 * termios/tcgetsid.c: Likewise.
11262 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11265 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11266 block. Add function to free memory if wanted.
11267 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11269 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11271 * wcsmbs/wmemset.c: Little code optimization.
11273 1999-04-23 Paul Eggert <eggert@twinsun.com>
11275 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11278 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
11280 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11281 implementation and just always fail with ENOSYS. This entry point is
11282 obsolete. Add link warning to that effect.
11284 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11286 * hurd/get-host.c: Include <hurd/lookup.h>.
11288 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11290 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11293 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11295 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11296 ISO C9x and Unix98.
11298 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11300 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11301 Patch by Peter Miller <millerp@canb.auug.org.au>.
11303 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
11305 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11306 prefers loopback device.
11308 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11310 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11311 no_leading_period change.
11313 * posix/testfnm.c: More test cases.
11315 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
11317 * include/dirent.h: Remove __getdirentries declaration, add __getdents
11319 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11320 * sysdeps/unix/readdir_r.c: Likewise.
11321 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11322 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11323 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11324 __getdirentries. Remove fourth argument.
11325 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11326 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11327 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11328 Add getdirentries and getdirentries64.
11329 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11331 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11332 pointer in case of an invalid [[: expression.
11334 * posix/testfnm.c: Add more test cases.
11336 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11338 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11339 set, pass EXEC_SIGTRAP flag in exec RPC.
11341 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11343 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
11344 extra parameter. Fix several more bugs involving wildcard and
11346 (fnmatch): New function. Call internal_fnmatch.
11348 * posix/testfnm.c: More test cases.
11350 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11352 * manual/install.texi (Configuring and compiling): Explain that
11353 files are changed in the source directory.
11354 Closes PR libc/981.
11355 (Configuring and compiling): Explain situation with PARALLELMFLAGS
11356 in the source directory.
11358 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11360 * locale/programs/ld-ctype.c: Spelling fixes.
11361 (ctype_finish): Fix argument of error message format.
11362 * locale/programs/ld-messages.c: Spelling fixes.
11363 * locale/programs/ld-monetary.c: Spelling fixes.
11364 * locale/programs/ld-time.c (time_finish): Make sure that name and
11365 format of era_entries are adjacent.
11366 (time_output): Reduce the size of the io vector.
11368 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11370 * manual/filesys.texi (Attribute Meanings): Move a misplaced
11373 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11375 * locale/programs/ld-collate.c (collate_output): Convert
11376 undefined_offset to an array index. Fix computation of other
11377 endian extra table.
11379 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
11381 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11382 return success with empty value.
11384 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11386 * posix/fnmatch.c: Include string.h also for glibc.
11387 (fnmatch, case '?'): Optimize if cascades a bit.
11388 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11390 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11392 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
11394 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11395 * iconv/gconv_int.h: Declare UTF16 functions.
11396 * iconv/gconv_simple.c: Add UTF16 conversion functions.
11398 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11400 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11401 be used correctly as parameter for parse_dollars/parse_tilde.
11403 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11405 * manual/conf.texi (Utility Limits): Remove duplicate description
11408 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
11410 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11411 outbufend for dst==NULL.
11413 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11415 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11417 Fixes PR libc/1084.
11419 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11420 Fixes PR libc/1083.
11422 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
11424 * sunrpc/Makefile: Remove special handling of bootparam.x,
11425 add rpcsvc/bootparam.h to headers.
11426 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11427 * sunrpc/rpcsvc/bootparam.x: Renamed to...
11428 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11430 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11432 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11433 detect and handle invalid descriptors.
11435 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
11437 * timezone/zic.c (dolink): Append complete path not only filename
11440 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11442 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11444 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
11446 * iconvdata/gconv-modules: Rename CP874 to IBM874.
11447 * iconvdata/Makefile: Likewise.
11448 * iconvdata/cp874.h: Removed.
11449 * iconvdata/cp874.c: Renamed to...
11450 * iconvdata/ibm874.c: ...this.
11452 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11454 * sysdeps/unix/sysv/linux/bits/types.h: Correct
11455 signed/unsigned-ness of blkcnt and fsblkcnt.
11456 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11457 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11459 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11460 SOL_AAL, and SOL_IRDA.
11462 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11464 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11465 include "linux_fsinfo.h".
11466 Based on a patch by H.J. Lu <hjl@gnu.org>.
11468 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11470 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11472 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11474 * nscd/cache.c (prune_cache): Only disable file checking for
11475 future if the file does not exist.
11476 Update file_mtime if cache was flushed.
11478 1999-04-15 David S. Miller <davem@redhat.com>
11480 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11481 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11483 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11485 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11486 compilation of file.
11488 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11490 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11492 * iconvdata/Makefile (modules): Add KOI8-U.
11493 (distribute): Add koi8-u.c.
11494 (gen-8bit-gap-modules): Add koi8-u.
11495 * iconvdata/gconv-modules: Add KOI8-U entries.
11496 * iconvdata/koi8-u.c: New file.
11498 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11500 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11501 * sunrpc/auth_none.c: Pretty print.
11502 * sunrpc/auth_unix.c: Likewise.
11503 * sunrpc/authdes_prot.c: Likewise.
11504 * sunrpc/authuxprot.c: Likewise.
11505 * sunrpc/bindrsvprt.c: Likewise.
11506 * sunrpc/clnt_gen.c: Likewise.
11507 * sunrpc/rpc/xdr.h: Likewise.
11508 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11509 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11510 * sunrpc/rtime.c: Use new rpc_timeval.
11511 * sunrpc/svc_authux.c: Don't use *long pointers.
11512 * sunrpc/svcauth_des.c: Likewise + security fixes.
11513 * sunrpc/xdr_mem.c: Don't use *long pointers.
11514 * sunrpc/xdr_rec.c: Likewise.
11515 * sunrpc/xdr_sizeof.c: Likewise.
11516 * sunrpc/xdr_stdio.c: Likewise.
11518 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11520 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11521 so that it is redone for each sending.
11523 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11525 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11527 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11529 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11530 known to not exist don't try to load shared objects.
11531 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11533 * nscd/cache.c (prune_cache): The table might not be unused. In
11534 this case do nothing.
11536 * catgets/gencat.c (read_input_file): Don't drop white spaces
11537 between number/identifier and string.
11538 Patch by Dima Barsky <dima@pwd.hp.com>.
11539 If no white space at all follows number/identifier remove existing
11540 message with the number/identifier.
11542 1999-04-14 H.J. Lu <hjl@gnu.org>
11544 * sunrpc/clnt_udp.c (is_network_up): New function.
11545 (clntudp_call): Call is_network_up () to check if any network
11546 interface is up in case of timeout.
11548 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11550 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11551 * wctype/Makefile (tests): Add test_wcfuncs.
11553 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11555 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11557 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11559 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11560 instead of CFLAGS. For gnulib and string directories use
11561 -Wa,-Av9a gcc ASFLAGS.
11562 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11563 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11564 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11565 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11566 the same way as sparc-*.
11568 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11570 * locale/programs/locfile.c (locfile_read): Fix typo.
11571 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11573 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11575 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11576 restarted after being interrupted by a signal. The parameters on
11577 the stack were corrupted by the signal handler.
11579 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11580 restarted after being interrupted by a signal. The parameters on
11581 the stack were corrupted by the signal handler.
11583 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11585 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11586 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11588 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11590 * posix/wordexp-test.c: In field-splitting test cases where
11591 subshells were involved, unset IFS first: some shells (ash) use
11592 IFS even when no expansion is performed.
11594 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11596 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11597 the real end of the chunk, not some random point inbetween.
11598 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11599 obstack when growing. Use fast version of obstack_blank when
11601 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11602 allocating the vtable pointer.
11603 (_IO_obstack_vprintf): Adjust for above change and avoid
11604 unnecessary casts. Use fast version of obstack_blank when
11606 Fixes PR libc/1075.
11608 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11610 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11611 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11613 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11615 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11616 is seen, as well as fixing semantics. Don't reset the word count
11617 to zero when an invalid character is seen, but leave it as it was
11618 (this makes a difference with WRDE_APPEND).
11620 * posix/wordexp-test.c: More test cases.
11622 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11623 always expand pattern when it is needed. Also, handle quoting in
11626 1999-04-12 Philip Blundell <philb@gnu.org>
11628 * elf/elf.h: Update ARM definitions to match current gas2.
11630 * sysdeps/arm/bits/endian.h: Support big endian operation.
11632 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11633 Don't bother range checking the port number.
11635 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11637 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11638 the syscall name in assembler output for ease of debugging.
11640 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11641 compiler behaviour.
11642 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11643 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11644 (sysdep_routines): Add sigrestorer.
11646 * string/tester.c (test_strcpy): Add new tests for unaligned
11648 * sysdeps/arm/bits/string.h: Delete inline implementations of
11651 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11653 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11655 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11657 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11659 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11661 * iconvdata/Makefile (modules): Add TIS-620.
11662 (distribute): Add tis-620.c.
11663 (gen-8bit-gap-modules): tis-620.
11664 * iconvdata/tis-620.c: New file.
11665 * iconvdata/gconv-modules: Add TIS-620 entries.
11667 * iconvdata/asmo_449.c: Correct comment.
11669 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11671 * manual/install.texi (Configuring and compiling): Comment out
11672 description of --disable-static since this doesn't work currently
11673 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11675 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11677 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11679 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11681 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11683 * scripts/test-installation.pl (installation_problem): Skip
11684 libnss1_* libraries from glibc-compat add-on.
11686 1999-04-07 H.J. Lu <hjl@gnu.org>
11688 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11690 * posix/Versions (__waitpid): Likewise.
11692 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11694 * manual/install.texi (Reporting Bugs): Add section about reported
11695 bugs and correct email address of glibcbug script.
11697 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11699 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11700 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11701 xdr_u_longlong_t. Based on patch from Dan Shechter
11702 <damageboy@isdn.net.il>.
11703 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11704 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11706 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11708 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11710 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11711 directly if getdents returns with error set.
11713 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11715 * locale/langinfo.h (THOUSEP): Rename second occurence of
11716 THOUSANDS_SEP to THOUSEP.
11717 Reported by Roman Belenov <roman@nstl.nnov.ru>.
11719 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
11721 * hurd/STATUS: File removed. Moved items that are still relevant into
11722 TODO list in hurd source.
11724 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11726 * sysdeps/mach/hurd/bits/time.h: New file.
11727 * sysdeps/mach/hurd/getrusage.c: New file.
11728 * sysdeps/mach/hurd/clk_tck.c: New file.
11729 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11730 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11731 (sysdep_routines): Add clk_tck.
11732 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11735 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
11737 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11738 (closelog): But instead here.
11739 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11741 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11743 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11744 the source directory. Fixes PR libc/1059.
11746 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11751 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
11753 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11754 * iconvdata/testdata/ISO-8859-14: New file.
11755 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11756 * iconvdata/testdata/ISO-8859-15: New file.
11757 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11759 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11761 * iconvdata/testdata/CP1258: New file.
11762 * iconvdata/testdata/CP1258..UTF8: New file.
11763 * iconvdata/TESTS: Add CP1258 entry.
11765 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11767 * timezone/africa: Update from tzdata1999d.
11768 * timezone/europe: Likewise.
11769 * timezone/northamerica: Likewise.
11771 1999-03-31 Mark Kettenis <kettenis@gnu.org>
11773 * login/programs/pt_chown.c (main): Save effective user ID before
11774 dropping priviliges and use this to check if the program is
11775 properly installed.
11777 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11779 * iconvdata/testdata/CP1254: Update for charmap changes.
11780 * iconvdata/testdata/CP1254..UTF8: Likewise.
11781 * iconvdata/testdata/CP1255: Likewise.
11782 * iconvdata/testdata/CP1255..UTF8: Likewise.
11783 * iconvdata/testdata/CP1256: Likewise.
11784 * iconvdata/testdata/CP1256..UTF8: Likewise.
11785 * iconvdata/testdata/CP1257: Likewise.
11786 * iconvdata/testdata/CP1257..UTF8: Likewise.
11788 * iconvdata/Makefile (distribute): Remove cp1258.h.
11789 (gen-8bit-gap-modules): Add cp1258.
11790 * iconvdata/cp1258.h: Removed.
11792 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11794 * timezone/tst-timezone.c (tests): Add more cases.
11795 (check_tzvars): Mark errors clearer.
11798 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
11800 * login/programs/pt_chown.c: Drop privileges if invoked with
11801 arguments. Don't close the master pty.
11803 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11805 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11806 Minor optimization.
11808 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11810 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11811 relocation for SUID binaries.
11813 1999-03-29 Paul Eggert <eggert@twinsun.com>
11815 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11816 while in child process.
11818 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11820 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11821 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11822 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11823 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11824 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11826 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11827 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11828 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11829 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11830 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11831 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11832 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11833 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11834 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11835 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11836 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11837 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11838 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11839 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11840 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11841 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11842 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11843 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11844 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11845 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11846 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11847 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11848 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11849 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11850 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11851 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11853 * sysdeps/sparc/sparc32/bcopy.c: New file.
11854 * sysdeps/sparc/sparc32/bzero.c: New file.
11855 * sysdeps/sparc/sparc32/memchr.S: New file.
11856 * sysdeps/sparc/sparc32/memcpy.S: New file.
11857 * sysdeps/sparc/sparc32/memmove.c: New file.
11858 * sysdeps/sparc/sparc32/memset.S: New file.
11859 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11860 * sysdeps/sparc/sparc32/strchr.S: New file.
11861 * sysdeps/sparc/sparc32/strrchr.c: New file.
11862 * sysdeps/sparc/sparc32/strcpy.S: New file.
11863 * sysdeps/sparc/sparc32/strlen.S: New file.
11864 * sysdeps/sparc/sparc32/strcat.S: New file.
11865 * sysdeps/sparc/sparc32/strcmp.S: New file.
11867 * sysdeps/sparc/sparc64/bcopy.c: New file.
11868 * sysdeps/sparc/sparc64/bzero.c: New file.
11869 * sysdeps/sparc/sparc64/memchr.S: New file.
11870 * sysdeps/sparc/sparc64/memcmp.S: New file.
11871 * sysdeps/sparc/sparc64/memcpy.S: New file.
11872 * sysdeps/sparc/sparc64/memset.S: New file.
11873 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11874 * sysdeps/sparc/sparc64/strcat.S: New file.
11875 * sysdeps/sparc/sparc64/strchr.S: New file.
11876 * sysdeps/sparc/sparc64/strcmp.S: New file.
11877 * sysdeps/sparc/sparc64/strcpy.S: New file.
11878 * sysdeps/sparc/sparc64/strcspn.S: New file.
11879 * sysdeps/sparc/sparc64/strlen.S: New file.
11880 * sysdeps/sparc/sparc64/strncpy.S: New file.
11881 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11882 * sysdeps/sparc/sparc64/strrchr.c: New file.
11883 * sysdeps/sparc/sparc64/strspn.S: New file.
11884 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11885 * sysdeps/sparc/sparc64/strncmp.S: New file.
11887 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11888 Append -fPIC, don't replace.
11890 * configure.in: Recognize sparcv8plus / sparcv9.
11892 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11894 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11895 char * to avoid C++ warning.
11896 Patch by yasushi@cs.washington.edu [PR libc/1035].
11898 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11900 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11901 declared in stdlib.h, correct return value of mkstemp.
11902 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11904 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11907 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11909 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11912 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11913 inline functions. Closes PR libc/1049.
11915 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11917 * timezone/README: Update from tzdata1999c and tzcode1999c.
11919 * timezone/africa: Update from tzdata1999c.
11920 * timezone/antarctica: Likewise.
11921 * timezone/asia: Likewise.
11922 * timezone/australasia: Likewise.
11923 * timezone/europe: Likewise.
11924 * timezone/northamerica: Likewise.
11925 * timezone/southamerica: Likewise.
11926 * timezone/zone.tab: Likewise.
11928 * timezone/zic.c: Update from tzcode1999c.
11930 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11932 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11933 outside of ifndef avoid-generated.
11935 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11937 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11939 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11941 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11942 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11944 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11946 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11947 if we build the profiled library.
11949 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11951 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11952 Jaeger <aj@arthur.rhein-neckar.de>
11954 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11956 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11957 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11958 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11960 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11962 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11963 works properly in subdirs.
11965 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11967 * sysdeps/mach/hurd/Makefile: Undo last change.
11968 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11969 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11971 * mach/Machrules (+preinit, +postinit, +interp,
11972 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11973 linked just like other shared libraries.
11974 (interface.so): Fix typo in defn, so it works.
11975 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11977 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11979 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11980 $(link-rpcuserlibs).
11982 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11984 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11985 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11986 targets if not building shared libraries.
11988 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11990 * configure.in: Also look in $PATH when searching for
11991 install-info. Remove autoconf bug workaround and require autoconf
11994 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11996 * db/Makefile: Don't try to install shared library link if not
11997 building with shared libs.
11999 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12001 * rt/Makefile: Link against static library if no shared lib is
12004 * localedata/Makefile: The shells scripts implementing the test
12005 require the dynamic linker which is not available with
12006 --disable-shared. Skip the test if --disable-shared is given.
12008 * linuxthreads/Makefile: Link test against static libpthread if no
12009 shared lib is available.
12011 * iconvdata/Makefile (tests): Run iconv-test only if we're
12012 building shared libraries.
12013 * elf/Makefile (tests): Likewise for elf tests.
12015 * posix/Makefile: The test frameworks globtest and wordexp-test
12016 require the dynamic linker which is not available with
12017 --disable-shared. Skip the test if --disable-shared is given.
12019 * grp/Makefile (otherlibs): For static nss build link against
12022 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12024 * debug/Makefile (install-bin): Install and build catchsegv only
12025 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
12028 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12030 * time/tzfile.c (__tzfile_read): Handle the case where there are
12031 transitions but no DST.
12033 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
12035 * mach/Machrules (extra-libs-others): Add $(interface-library) here
12036 too, so it gets built in the others pass rather than the lib pass.
12037 This is necessary since the RPC libraries need to be linked against
12040 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
12042 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
12045 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
12046 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
12047 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
12048 versions of lib{mach,hurd}user.so without reference to libc.so,
12049 then link libc.so against that to get deps and symbol versions, then
12050 finally link real lib*user.so against libc.so.
12052 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
12053 Support whole-file locking (only) by using the file_lock RPC. This
12054 has very wrong semantics, but is better than nothing for the time
12055 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
12056 protocols that will be somewhat hairy to specify.)
12058 1999-03-17 Mark Kettenis <kettenis@gnu.org>
12060 * sysdeps/mach/hurd/ptsname.c: New file.
12062 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12064 * timezone/asia: Fix rule in Asia/Nicosia entry.
12066 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12068 * manual/getopt.texi (Using Getopt): Explain "::" in option
12069 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
12071 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
12073 * sunrpc/clnt_unix.c: Fix creation of parameters for
12074 sendmsg/recvmsg on non intel platforms.
12075 * sunrpc/svc_unix.c: Likewise.
12077 1999-03-18 Philip Blundell <philb@gnu.org>
12079 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
12082 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12084 * timezone/africa: Update from tzdata1999b.
12085 * timezone/asia: Likewise.
12086 * timezone/australasia: Likewise.
12087 * timezone/europe: Likewise.
12088 * timezone/northamerica: Likewise.
12089 * timezone/southamerica: Likewise.
12090 * timezone/zone.tab: Likewise.
12092 * timezone/README: Mention tzdata1999b.
12094 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
12096 * sysdeps/generic/segfault.c (write_strsignal): New function.
12097 (catch_segfault): Use it instead of calling strsignal.
12099 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12101 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
12102 char to avoid warning.
12104 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12106 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
12108 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
12109 outbuf to unsigned char to avoid warning.
12111 1999-03-11 David S. Miller <davem@redhat.com>
12113 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
12115 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
12117 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12119 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
12121 (gconv_step_data): Likewise.
12122 * iconv/gconv_int.h (__gconv): Likewise.
12123 (__BUILINT_TRANS): Likewise.
12124 * iconv/gconv.c (__gconv): Likewise.
12125 * iconv/iconv.c (iconv): Add casts for call of __gconv.
12126 * iconv/skeleton.c: Change local parameters and variable from `char' to
12127 `unsigned char'. Remove casts from calls into modules.
12128 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
12129 `char' to `unsigned char'.
12130 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
12131 * wcsmbs/mbrtowc.c: Likewise.
12132 * wcsmbs/mbsnrtowcs.c: Likewise.
12133 * wcsmbs/mbsrtowcs.c: Likewise.
12134 * wcsmbs/wcrtomb.c: Likewise.
12135 * wcsmbs/wcsnrtombs.c: Likewise.
12136 * wcsmbs/wcsrtombs.c: Likewise.
12137 * wcsmbs/wctob.c: Likewise.
12139 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12141 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
12142 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
12143 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
12144 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
12145 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
12146 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
12148 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12150 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12151 _hurd_select if TIMEMOUT is -1.
12153 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12155 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12157 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12159 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12160 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12162 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12164 * manual/libc.texinfo: Undo last change for now.
12166 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12168 * intl/locale.alias: Add entries for Croatian.
12169 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12171 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12173 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12174 if the opened master pty really is a pty. `isatty' checks for
12175 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
12176 if we are out of pty's.
12178 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12180 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12181 opened file is closed on exec.
12182 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12185 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12187 * manual/llio.texi (File Position Primitive): Reformat @end
12188 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12190 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
12192 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12194 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12195 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12197 * locale/programs/localedef.c (main): Initialize `cat' to please
12200 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
12202 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12203 check for root-owned symlinks and reject them too.
12205 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12207 * stdio-common/printf_fphex.c: Move to ...
12208 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
12209 extended precision number.
12210 * sysdeps/m68k/printf_fphex.c: New file.
12212 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12214 * manual/stdio.texi: Fix typos.
12216 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
12218 * version.h (VERSION): Bump to 2.1.1.
12220 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
12222 * nis/ypclnt.c: Try only twice to connect to NIS server.
12224 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12226 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12228 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12230 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12231 (DENORM_EXP): New define. Use it as the exponent for a denormal.
12232 * stdlib/strtold.c: Moved to ...
12233 * sysdeps/generic/strtold.c: ... here.
12234 * sysdeps/m68k/strtold.c: New file.
12236 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12238 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12239 point if the precision is zero, even if the mantissa is non-zero.
12241 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12243 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12244 arguments into the request message buffer inside `send_rpc'
12245 subfunction. We must repeat the marshalling when retrying the RPC
12246 after a SIGTTOU delivery.
12248 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12249 path when there is no ctty port.
12250 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12251 Move sigstate check inside loop so we recheck after handling a signal.
12253 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12255 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12256 O_EXLOCK are BSD extensions.
12257 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12259 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
12261 * manual/signal.texi (Termination in Handler): Correct example.
12262 Install default handler before reraising the signal.
12263 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12265 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
12267 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12268 null, in which case send an empty string.
12270 1999-03-02 Mark Kettenis <kettenis@gnu.org>
12272 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12273 backward compatibility EH functions to be linked when using
12274 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12276 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12279 /dev/pts status may change during runtime.
12281 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12283 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12284 change. /dev/pts status can change during runtime.
12286 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
12288 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12289 poll reports error.
12290 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12291 add some more sanity checks.
12292 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12295 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
12297 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12298 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12299 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12300 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12301 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12303 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12304 * nis/nis_print.c: Fix ctime argument for platforms where
12305 sizeof (time_t) != sizeof (int).
12307 1999-03-07 Mark Kettenis <kettenis@gnu.org>
12309 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12310 CLOCKS_PER_SEC instead of CLK_TCK.
12312 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
12314 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12315 whether /dev/pts is available.
12316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12319 * posix/globtest.sh: Make common_objpfx path absolute and and db2
12320 and hesiod directory to library path [PR libc/1007].
12322 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12324 * resolv/inet_addr.c (inet_aton): Don't allow componets >
12325 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12327 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
12329 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12330 DT_PLTGOT has already been relocated.
12331 (__elf_machine_fixup_plt): Likewise.
12334 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
12336 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12338 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
12340 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12341 and fold string to uppercase [PR libc/1005].
12343 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12345 * elf/dl-load.c (lose): Fix return type.
12347 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
12349 * sysdeps/mach/hurd/bits/fcntl.h
12350 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12351 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12352 set O_NOTRANS as well.
12353 (__hurd_file_name_lookup_retry): At successful end of lookup,
12354 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12355 it is a translated node not owned by root.
12356 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12357 on the file name passed to LOOKUP.
12359 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
12361 * manual/time.texi (High Resolution Timer): Correct computation in
12362 example. Reported by jjf@devel.cemsys.com.
12364 1999-03-02 Philip Blundell <pb@nexus.co.uk>
12366 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12367 entry is already relocated.
12369 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12371 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
12372 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12374 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12376 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12377 uc_link which is the right name according to Unix98.
12378 Reported by Craig Metz [PR libc/1001].
12379 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12380 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12381 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12382 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12383 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12386 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12388 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12391 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12393 * iconvdata/Makefile: Always include iconv-rules, but disable rule
12394 to regenerate it if avoid-generated.
12396 * Makeconfig: Always include sys-dirs, but disable rule to
12397 regenerate it when avoid-generated.
12399 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12400 rule to generate sysd-syscalls.
12402 * elf/Makefile (generated): Remove $(objpfx) from names.
12404 1999-02-28 Mark Kettenis <kettenis@gnu.org>
12406 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12407 actual length if the adress length is smaller than the input
12408 value. Change type of *LEN paramater to socklen_t.
12409 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12410 * sysdeps/mach/hurd/accept.c (accept): Likewise.
12411 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12412 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12413 paramater to socklen_t.
12415 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
12417 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12418 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12421 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12423 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12424 __get_phys_pages): Cast &HBI to silence warning.
12426 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12427 * hurd/hurdchdir.c: New file.
12428 * hurd/hurdfchdir.c: New file.
12429 * sysdeps/mach/hurd/chroot.c: Call
12430 _hurd_change_directory_port_from_name to do the work.
12431 * sysdeps/mach/hurd/chdir.c: Likewise.
12432 * sysdeps/mach/hurd/fchdir.c: Call
12433 _hurd_change_directory_port_from_fd to do the work.
12434 * hurd/fchroot.c: Likewise.
12435 * hurd/hurd.h: Declare them.
12437 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
12439 * elf/dl-load.c (lose): Add more comments to explain the `why'.
12440 (_dl_map_object): Remove redundant test.
12442 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12444 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12445 try to _hurd_port_free a lower-numbered descriptor that was not in any
12448 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12450 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12451 declaration for ____wcstod_l_internal.
12453 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12454 __strtod_internal prototype.
12455 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12456 (____strtold_l_internal): Add prototype declaration.
12457 (__strtold_l): Call correct function.
12459 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12461 * elf/elf.h: Add 32bit HPPA definitions.
12463 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12465 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12466 non-checked heap is restored when malloc checking was requested by
12468 (struct malloc_state): Add using_malloc_checking.
12469 (MALLOC_STATE_VERSION): Increment minor.
12470 (using_malloc_checking, disallow_malloc_check): New variables.
12471 (__malloc_check_init): Use them.
12472 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12473 that it can the chunk is properly instrumented when malloc
12474 checking is enabled. Set the new using_malloc_checking field.
12475 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12477 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12479 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12480 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12483 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12484 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12485 if ld.so is the main program.
12487 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12489 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12490 large for work_buffer, allocate new buffer.
12491 (printf_unknown): Likewise. [PR libc/988]
12493 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12495 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12496 instead of stat and fstat.
12497 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12499 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12501 * elf/dl-error.c (_dl_signal_cerror): New function.
12502 (_dl_signal_error): Don't call receiver function.
12503 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12504 instead of _dl_signal_error when reporting references to undefined
12505 symbols or versions.
12506 (_dl_lookup_versioned_symbol): Likewise.
12507 (_dl_lookup_versioned_symbol_skip): Likewise.
12508 * elf/dl-version.c (match_symbol): Likewise.
12510 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12512 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12514 * misc/getttyent.c (getttyent): Release lock on stream later to
12515 also protect global variable zapchar.
12517 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12518 __times [PR libc/990].
12520 1999-02-21 David S. Miller <davem@redhat.com>
12522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12523 parentheses in Feb 2 changes.
12524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12526 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12528 * sysdeps/generic/glob.c (glob): Save previous errno.
12530 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12532 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12533 lookup functions if it is too small.
12535 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12537 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12538 for tracing to the scope lists.
12539 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12540 DT_SYMTAB is always available according to ELF spec.
12542 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12543 call test whether there is any scope left.
12544 (_dl_lookup_versioned_symbol_skip): Likewise.
12546 * elf/Makefile (distribute): Add do-lookup.h.
12547 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12548 * elf/dl-lookup.c: Move do_lookup function in separate file and
12549 include the file twice, for handling versioning and without it.
12551 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12552 entry is already relocated.
12553 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12554 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12555 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12560 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12563 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12564 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12565 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12566 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12567 rel and rela relocations can both happen and skip one test if this
12569 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12571 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12573 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12575 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12576 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12577 (_dl_map_object): DT_STRTAB entry is already relocated.
12578 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12580 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12582 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12583 DT_VERSYM entries are already relocated.
12584 (profile_fixup): Likewise.
12585 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12587 (match_symbol): DT_STRTAB entry is already relocated.
12588 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12589 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12590 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12591 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12592 (find_needed): DT_STRTAB entry is already relocated.
12593 (dl_main): Pass extra argument to elf_get_dynamic_info.
12594 DT_STRTAB entry is already relocated.
12595 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12596 DT_PLTGOT entries are already relocated.
12597 (elf_machine_rela): Likewise for DT_SYMTAB.
12598 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12601 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12602 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12604 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12605 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12606 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12607 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12609 * grp/initgroups.c (initgroups): If function in current module was
12610 successful don't stop but continue to process to get all the groups.
12612 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12613 _dl_pf_to_proot array to convert p_flags value.
12614 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12616 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12617 loop to clear `info'.
12619 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12620 do the work and don't use inline assembler.
12622 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12624 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12625 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12626 noreturn, and prevent it from being inlined.
12627 Define LOSE appropriately.
12628 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12629 Optimize decoding of p_flags for certain platforms.
12631 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12633 * Makeconfig (link-libc): When doing a static link, make sure that
12634 libgcc.a is included both before and after libc.a.
12636 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12638 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12639 sp_warn, sp_inact, sp_expire and sp_flag.
12641 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12643 * elf/link.h (link_map): Add l_dev and l_ino.
12644 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12645 loaded shared object with all loaded objects. Initialize l_ino
12646 and l_dev in case it's new.
12647 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12649 * elf/Makefile: Compile and run new test.
12650 * elf/multiload.c: New file.
12652 * nss/nsswitch.h (service_user): Change name field from const char *
12654 (name_database_entry): Likewise.
12655 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12656 for change of `service_user'.
12657 (nss_getline): Adjust memory allocation for change of
12658 `name_database_entry'.
12660 * catgets/catgets.c: Correctly handle NLSPATH from environment
12663 * io/Makefile (routines): Add lock64.
12664 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12665 * sysdeps/generic/lockf64.c: New file.
12667 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12669 * string/bits/string2.h: Only use strncmp optimization if count
12670 argument is constant.
12672 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12674 * sysdeps/mach/hurd/revoke.c: New file.
12676 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12678 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12679 int to avoid warning about `ISO C restricts enumerator values to
12682 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12684 * elf/dlfcn.h: Fix typo.
12685 * sysdeps/generic/bits/dlfcn.h: Likewise.
12686 * sysdeps/mips/bits/dlfcn.h: Likewise.
12688 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12690 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12691 for the case N == 0.
12693 * db2/Makefile (distribute): Add LICENSE.
12695 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12697 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12700 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12702 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12704 * time/mktime.c: Use ISO C form for function definitions and
12705 remove unnecessary prototypes.
12707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12709 * time/time.h: Avoid unneccesary #ifdef.
12711 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
12713 * stdio-common/_itoa.c (_itoa): Correct parameters to
12716 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12718 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12719 before (e.g. in glob.h).
12720 Closes PR libc/959.
12722 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12724 * sysdeps/mips/fpu_control.h: Fix typo.
12725 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12728 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
12730 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12731 the "unused" ends of the sockets. Let pipes be bidirectional.
12733 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12738 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12740 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
12741 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12743 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12744 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12746 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12748 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12750 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12752 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
12753 check for priority mask.
12755 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
12757 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12758 Reported by Craig Metz <cmetz@inner.net> .
12760 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12762 * stdio-common/Makefile (tests): tllformat added.
12764 * stdio-common/tllformat.c: New program, based on tiformat.c with
12765 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12767 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12769 * posix/test-vfork.c: Fix exit status test.
12771 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12773 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12774 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12776 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12778 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12779 of separare explicit comparisons.
12781 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12783 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12786 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12789 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12791 * po/el.po: Update from translation team.
12793 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12795 * intl/locale.alias: Fix slovenian entry [PR libc/948].
12797 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12799 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12800 * inet/ruserpass.c: Likewise.
12801 * locale/programs/stringtrans.c: Likewise.
12802 * locale/programs/localedef.c: Likewise.
12803 * nscd/grpcache.c: Likewise.
12804 * nss/nss_files/files-XXX.c: Likewise.
12805 * stdlib/canonicalize.c: Likewise.
12806 * sysdeps/posix/sigwait.c: Likewise.
12808 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12810 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12811 even on 64 bit platforms.
12813 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12814 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12816 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12818 * intl/dcgettext.c: Include locale.h is available.
12820 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12822 * po/nl.po: Update from translation team.
12824 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12826 * Makefile: Allow calling goals for po subdir.
12828 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12829 signal definitions.
12831 * po/el.po: New file.
12833 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12835 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12836 when processing DT_SYMBOLIC objects.
12838 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12840 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12841 program headers without PT_PHDR only require that they are
12842 contained within one of the loaded segments. Don't use assert,
12843 since that would be a bug in the object, not the dynamic linker.
12845 1999-02-08 Richard Henderson <rth@cygnus.com>
12847 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12848 restore all call-clobbered fp regs.
12850 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12852 * po/cs.po: New file.
12854 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12857 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12859 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12860 * include/signal.h: Declare __libc_allocate_rtsig here.
12862 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12863 point functions, not do_lookup since the later can be called more
12866 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12868 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12869 macro, so that architectures which need to add some special
12870 offset to stack pointer can share this file.
12872 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12873 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12875 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12878 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12880 between sparc32 and sparc64.
12882 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12883 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12884 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12885 between sparc32 and sparc64.
12887 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12889 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12890 between sparc32 and sparc64.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12894 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12895 between sparc32 and sparc64.
12897 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12899 * Versions.def: New version GLIBC_2.1.1 for libc.
12900 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12901 * stdlib/labs.c: Moved to...
12902 * sysdeps/generic/labs.c: ...here.
12903 * stdlib/llabs.c: Moved to...
12904 * sysdeps/generic/llabs.c: ...here.
12905 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12906 header. Declare _Exit.
12907 * sysdeps/generic/_exit.c: Add alias _Exit.
12908 * sysdeps/mach/hurd/_exit.c: Likewise.
12909 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12910 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12911 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12912 * sysdeps/unix/_exit.c: Likewise.
12913 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12914 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12915 * sysdeps/wordsize-64/inttypes.h: Likewise.
12916 * sysdeps/wordsize-32/llabs.c: New file.
12917 * sysdeps/wordsize-32/lldiv.c: New file.
12918 * sysdeps/wordsize-64/labs.c: New file.
12919 * sysdeps/wordsize-64/ldiv.c: New file.
12920 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12921 * manual/startup.texi: Document _Exit.
12923 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12925 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12927 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12929 * Versions.def: Add versions for ld.so.
12930 * csu/Versions: Remove __libc_stack_end here.
12931 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12932 * elf/Makefile (ld-map): Change to ld.so.map.
12933 * scripts/versions.awk: Recognize dot in library names.
12935 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12936 Don't use __tolower and __toupper in inline functions.
12937 Add optimizing macros for tolower and toupper.
12938 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12939 (_toupper): Don't use __toupper.
12940 * ctype/ctype.c (tolower): Don't use __tolower.
12941 (toupper): Don't use toupper.
12943 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12945 * resolv/Versions (libresolv): Export __ns_name_unpack and
12947 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12948 make it global. Change all users. Similar for ns_name_ntop.
12949 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12950 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12951 directly to detect too small buffer.
12952 * resolv/nss_dns/dns-network.c: Likewise.
12954 * stdio-common/Makefile (tests): Add scanf12.
12955 * stdio-common/scanf12.c: New file.
12956 * stdio-common/scanf12.input: New file.
12957 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12958 floating-point correctly if the number is invalid.
12960 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12962 * stdio-common/printf_fp.c: Likewise.
12963 * stdio-common/printf_fphex.c: Likewise.
12964 * stdio-common/vfprintf.c: Likewise.
12967 See ChangeLog.9 for earlier changes.