1 Mon Mar 23 11:16:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * sysdeps/m68k/m68020/wordcopy.S: New file.
5 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
7 * posix/wordexp.c: Rewrite parse_param.
8 Patch by Tim Waugh and. Andreas Schwab.
10 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
12 * Rules: Update timestamps on empty object files.
14 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
16 * manual/filesys.texi (Scanning Directory Content): Add description
17 of 64 bits scandir function and friends.
19 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
21 * glibcbug.in: Use mktemp to generate unique file name for
24 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
25 ptsname_r. Use cast for execve call.
27 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
29 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
30 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
31 * io/sys/statvfs.h: New file.
32 * sysdeps/generic/fstatvfs.h: New file.
33 * sysdeps/generic/statvfs.h: New file.
34 * sysdeps/generic/fstatvfs64.h: New file.
35 * sysdeps/generic/statvfs64.h: New file.
36 * sysdeps/generic/bits/statvfs.h: New file.
37 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
38 * sysdeps/unix/sysv/linux/statvfs.c: New file.
39 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
41 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
44 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
45 mount options in enum.
47 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
49 * configure.in: Check for recent egcs/gcc.
51 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
53 * libc.map: Add alphasort64, scandir64, versionsort64.
54 * dirent/Makefile (routines): Add scandir64, alphasort64, and
56 * dirent/alphasort64.c: New file.
57 * dirent/scandir64.c: New file.
58 * dirent/versionsort64.c: New file.
59 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
61 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
63 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65 * dirent/alphasort.c: Use strcoll instead of strcmp.
67 * dirent/scandir.c: Optimize a bit.
69 * dirent/versionsort.c: Pretty print.
71 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
73 * string/string.h: Add prototype for __strtok_r.
75 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
77 * posix/Makefile: Fix typo in last change.
79 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
81 * dirent/dirent.h (scandir): Make argument of select function const.
82 * dirent/scandir.c (scandir): Likewise.
83 Reported by David.Faure@insa-lyon.fr [PR libc/512].
85 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
87 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
89 * sysdeps/i386/strtok_r.c: Likewise.
91 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
92 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
93 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
94 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
95 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
96 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
98 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
100 * intl/localealias.c: Remove unneeded define for strdup.
102 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
104 * manual/argp.texi: Adjust for better TeX output.
105 * manual/arith.texi: Likewise.
106 * manual/conf.texi: Likewise.
107 * manual/filesys.texi: Likewise.
108 * manual/header.texi: Likewise.
109 * manual/lgpl.texinfo: Likewise.
110 * manual/math.texi: Likewise.
111 * manual/message.texi: Likewise.
112 * manual/pattern.texi: Likewise.
113 * manual/process.texi: Likewise.
114 * manual/signal.texi: Likewise.
115 * manual/socket.texi: Likewise.
116 * manual/startup.texi: Likewise.
117 * manual/stdio.texi: Likewise.
118 * manual/terminal.texi: Likewise.
119 * manual/examples/rprintf.c: Likewise.
120 * manual/examples/testopt.c: Likewise.
121 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
123 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
125 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
126 parameter name after seeing a digit if it's enclosed in braces.
128 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
130 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
132 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
134 * manual/memory.texi (Heap Consistency Checking): Document
135 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
137 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
139 * manual/Makefile: Add missing rules.
141 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
143 * timezone/Makefile (generated): Define to remove all stamp files.
145 * sysdeps/generic/strsep.c: Also undefine __strsep.
147 * string/strdup.c: Undefine __strdup and strdup first.
148 * string/strndup.c: Likewise.
150 * string/bits/string2.h: Correct strtok_r and strsep.
151 Add strndup optimization.
153 * sysdeps/generic/strsep.c: Little optimization.
155 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
157 * string/bits/string2.h: Add optimization for strdup.
158 Always define __strsep and __strtok_r and make real names available
159 when feature select macros are defined.
161 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
163 * manual/install.texi (Installation): Use i486-linux as example
164 instead of the unsupported sunos4.
165 (Reporting Bugs): Mention glibcbug script.
166 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
168 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
170 * posix/wordexp-tst.sh: Make portable. Add more tests.
172 * posix/Makefile (do-globtest do-wordexp-test): New targets.
174 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
176 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
177 * sysdeps/generic/libc-start.c: ...here, replacing former content.
179 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
182 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
184 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
186 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
187 in enumerator for strict standard compliance.
188 * sysdeps/generic/bits/resource.h: Likewise.
190 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
192 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
195 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
196 longjmp() when floating point enabled.
197 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
198 * sysdeps/arm/__longjmp.S: Remove floating point code.
199 * sysdeps/arm/setjmp.S: Likewise.
201 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
202 * sysdeps/arm/bsd-_setjmp.S: Likewise.
204 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
207 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
210 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
212 Based on patches from Pat Beirne and Scott Bambrough:
214 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
216 * sysdeps/arm/bits/fenv.h: New file.
218 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
219 * sysdeps/arm/elf/setjmp.S: Likewise.
220 * sysdeps/arm/elf/start.S: Likewise.
221 * sysdeps/arm/init-first.c: Likewise.
222 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
223 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
224 comment about floating point to reflect current reality.
226 * sysdeps/unix/arm/brk.S: Support PIC.
227 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
229 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
230 return; call syscall_error through PLT.
231 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
233 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
235 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
236 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
239 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
241 * dirent/list.c (test): Return error value.
242 (main): Exit with error value.
244 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
246 * Makefile (distribute): Add test-skeleton.c.
247 * test-skeleton.c: New file.
248 * dirent/Makefile (tests): Add opendir-tst1.
249 * dirent/opendir-tst1.c: New file.
251 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
253 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
254 Optimize memory handling.
255 * sysdeps/unix/closedir.c: Optmize memory handling.
257 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
259 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
260 handling. Optimize a bit.
262 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
264 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
265 (parse_param): Fold in Andreas' fixes to do with when the end of
266 the parameter name has been reached, and quoting inside ${...}.
267 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
270 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
272 * manual/maint.texi: Split out installation and contribution
273 sections to their own appendices. Misc cleanups.
274 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
275 * manual/contrib.texi: New file.
276 * manual/libc.texinfo: Pull in new appendices.
277 * manual/header.texi: Correct node pointer.
279 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
281 * manual/process.texi (Process Completion): Clarify return value
282 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
284 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
286 * posix/wordexp-test.c: Add more tests.
289 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
290 /dev/null instead of closing it, close pipe. Always chop off all
291 trailing newlines. Kill and reap child before returning error.
292 (w_addword, parse_glob): Fix memory leak.
293 (wordexp): Fix dangling pointer problem.
295 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
297 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
299 * posix/wordexp-test.c (main): Fix little thinkos and typos.
301 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
302 directory index by only the language.
304 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
306 * posix/wordexp-tst.sh: Store test results in the
307 ${common_objpfx}posix directory.
309 * posix/wordexp-test.c: Remove temporary directory afterwards.
311 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
313 * libc.map: Export internal versions of cancelable functions.
315 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
317 * Makerules (MAKEFLAGS): Append `r'.
319 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
321 * Makeconfig: Define have-thread-library, shared-thread-library
322 and static-thread-library if a thread library is available. Don't
324 * nscd/Makefile: Compile nscd if have-thread-library. Rename
325 nscd-routines to nscd-modules. Use shared-thread-library and
326 static-thread-library in dependencies.
327 * rt/Makefile: Only compile librt if have-thread-library is
329 * Makefile (subdirs): Always include rt subdir.
331 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
333 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
335 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
337 * configure.in: Recognize variations for 32 MIPS processors.
338 Don't assume ELF systems always have .weak, test for .weakext.
340 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
342 * configure.in: Irix6 is an ELF platform.
344 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
346 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
347 unmapping the last loaded segment.
349 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
351 * configure.in: Set base_os for Irix6.
352 Correct test for .weakext.
354 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
356 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
357 (new_line) to _dl_debug_message call.
359 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
361 * posix/wordexp.c (parse_param): Perform field-splitting after
362 expanding positional parameter.
364 * posix/wordexp-tst.sh: Test that field-splitting is performed
365 after expanding positional parameter.
367 * posix/wordexp.c (parse_param): Fixed memory leak in
368 field-splitting after parameter expansion.
370 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
372 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
373 (get_toplvl_escape): Correctly terminate loop at EOF.
374 Patch by Cristian Gafton <gafton@redhat.com>.
376 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
378 * string/tester.c (test_strpbrk): Add more strpbrk tests.
379 (test_strsep): Likewise. Correct horrible bugs.
381 * string/bits/string2.h (strcspn): Optimize also reject string of
385 (strsep): Likewise. Correct bug with successive separators and
386 separators at the end of the string.
387 * sysdeps/generic/strsep.c: Correct bug with successive separators
388 and separators at the end of the string.
390 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
392 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
393 etc) now handled, as well as $$ (pid).
395 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
396 (distribute): Add wordexp-tst.sh.
398 * posix/wordexp-tst.sh: New file.
400 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
401 number of positional parameters. Renamed substitute_length to
403 Don't free(env) is env is NULL.
405 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
407 * libc.map: Add pthread_attr_init to GLIBC_2.1.
409 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
411 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
412 for output file replacing gmon.out.
413 Patch by Dean Gaudet <dgaudet@arctic.org>.
415 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
417 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
418 up namespace. Optimize finding end of line.
420 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
422 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
424 (process_dl_debug): Add ':' to list of separators. Optimized.
426 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
428 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
429 isless, islessequal, islessgreater, isunordered): Return zero or
432 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
434 * posix/wordexp-test.c: More tests.
435 (main): Set up arena for pathname expansion tests (in a temporary
437 (testit): Don't check word count or word vector if return value is
440 * posix/wordexp.c (exec_comm): Always chop off terminating
441 linefeed (just like bash does).
442 (parse_param): Change lots of occurrences of "if (!*env)" to "if
444 (parse_param): For assignment inside parameter expansion, use all
445 expanded words in assignment rather than just the first.
446 (parse_param): Corrected return value for parameter expansion of
447 an unset variable when WRDE_UNDEF is in effect.
448 (parse_dollars): Don't field-split if quoted.
449 (wordexp): Opening brace character isn't allowed unquoted.
451 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
453 * elf/dlerror.c: Fix concurrency problems with error string and
456 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
457 filter/auxiliary are being loaded.
459 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
461 * elf/dlerror.c (last_object_name): Removed.
462 (dlerror): Don't use last_object_name.
463 (_dl_error_run): Omit second argument to _dl_catch_error.
464 * elf/dl-error.c (struct catch): Remove objname member.
465 (_dl_signal_error): Construct string including objname when given.
466 (_dl_catch_error): Remove objname handling.
467 * elf/link.h (_dl_catch_error): Fix prototype and comment.
468 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
469 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
470 * nss/nsswitch.c (nss_dlerror_run): Likewise.
471 * iconv/gconv_dl.c (dlerror_run): Likewise.
472 [Corrects PR libc/501].
474 1998-03-12 Matthias Urlichs <smurf@noris.de>
476 * nscd/nscd.c: Ignore SIGPIPE.
478 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
480 * nscd/nscd_getgr_r.c: Use __ protected names.
481 * nscd/nscd_getpw_r.c: Likewise.
483 1998-03-12 Matthias Urlichs <smurf@noris.de>
485 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
486 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
487 null bytes are not transmitted.
489 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
491 * powerpc/syscalls.list: Correct typo.
492 * alpha/syscalls.list: Likewise.
493 * mips/syscalls.list: Likewise.
495 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
497 * socket/sys/socket.h: Add prototype for __socket.
499 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
501 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
503 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
506 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
508 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
511 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
512 AF_* and PF_* constants.
514 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
516 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
518 * elf/rtld.c: Update help message.
519 Install link maps for preloaded objects using main_map as loader.
521 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
522 * elf/dl-profile.c: Likewise.
524 * elf/dlsym.c: Little optimization.
525 * elf/dlvsym.c: Likewise.
527 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
529 * posix/wordexp-test.c: Move test for parameter list at the very
532 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
534 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
535 WRDE_REUSE flag is set.
536 (parse_param): Allow `*', `@', and numbers in parameter names.
537 (parse_dollars): Differentiate between arithmetic expansion and a
538 command substitution that starts immediately with a sub-shell
539 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
540 (parse_param): Memory allocated with __alloca in a block was
541 referenced outside that block. Adjusted to use malloc/free.
542 (parse_param): Adjusted field-splitting algorithm so that there is
543 not necessarily a field split at the end of a parameter expansion.
545 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
547 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
548 don't free words that have already been allocated.
549 (parse_param): A dollar sign on its own will never have a pattern
550 associated with it (like "${HOME%%/}" has), so don't try to free it.
551 (parse_glob): Attempt to glob when an unquoted `[' is found
552 (rather than an unquoted '{' (!)). Also for unquoted '?'.
553 (parse_glob): Sorted out quoting in a glob-able word.
554 (parse_param): Added $* and $@ handling.
556 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
558 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
561 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
563 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
566 1998-03-12 Matthias Urlichs <smurf@noris.de>
568 * elf/dl-misc.c: Default for debug output should be stderr.
569 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
570 * elf/dl-lookup.c: reference_name may be NULL or empty.
572 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
574 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
576 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
578 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
580 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
582 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
584 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
587 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
589 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
592 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
594 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
597 * misc/syslog.c (vsyslog): Don't try to send if not connected to
599 (closelog_internal): Don't do anything if not connected.
601 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
603 * libc.map: Add _dl_debug_message.
604 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
606 * elf/fini.c: Correctly use new _dl_debug_message function.
607 * elf/init.c: Likewise.
608 * elf/dl-lookup.c: Likewise.
609 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
610 * elf/dl-load.c: Likewise. Add more debugging prints.
611 * elf/dl-reloc.c: Likewise.
612 * elf/dl-version.c: Likewise.
613 * elf/dl-support.c: Add variables for debugging.
614 * elf/rtld.c: Likewise. Recognize new debug options.
615 * elf/link.h: Declare new variables.
617 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
619 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
621 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
622 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
624 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
626 * posix/wordexp-test.c (command_line_test): New function to allow
627 testing of specific cases from the command-line.
629 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
631 * elf/dl-init.c (_dl_init_next): Print nicer messages.
632 * elf/dl-fini.c (_dl_fini): Likewise.
633 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
635 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
636 symbol in debug message.
637 (_dl_lookup_versioned_symbol_skip): Likewise.
639 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
641 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
642 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
643 * manual/filesys/texi: Document this.
645 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
647 * manual/filesys.texi: Document the change below.
649 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
651 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
652 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
654 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
656 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
657 instead scope. If debugging display information about symbol
659 (_dl_lookup_symbol): Call do_lookup with correct parameters.
660 (_dl_lookup_symbol_skip): Likewise.
661 (_dl_lookup_versioned_symbol): Likewise.
662 (_dl_lookup_versioned_symbol_skip): Likewise.
663 * elf/dl-support.c: Define _dl_debug_symbols.
664 * elf/link.h: Add declaration for _dl_debug_symbols.
665 * elf/rtld.c: Define _dl_debug_symbols.
666 (process_dl_debug): Recognize symbols option.
668 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
670 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
672 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
673 with correct parameters.
674 [!PIC]: Initialize __libc_multiple_libcs.
676 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
678 * elf/dl-support.c (_dl_debug_bindings): Add definition.
679 * elf/rtld.c (_dl_debug_bindings): Add definition.
680 (process_dl_debug): Recognize bindings option. Update help message.
681 * elf/link.h (struct link_map): Add l_versyms member.
682 (_dl_debug_bindings): Add declaration.
683 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
684 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
686 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
687 (sym_val): Remove a member, add m as link_map.
688 (do_lookup): Return result appropriately.
689 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
690 Call do_lookup correctly.
691 (_dl_lookup_symbol_skip): Likewise.
692 (_dl_lookup_versioned_symbol): Likewise.
693 (_dl_lookup_versioned_symbol_skip): Likewise.
695 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
697 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
698 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
700 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
701 * libc.map: Add chown to GLIBC_2.1.
702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
703 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
705 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
707 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
709 * sysdeps/alpha/ffs.c: Likewise.
710 * sysdeps/am29k/ffs.c: Likewise.
711 * sysdeps/i386/ffs.c: Likewise.
712 * sysdeps/i960/ffs.c: Likewise.
713 * sysdeps/m68k/ffs.c: Likewise.
714 * sysdeps/m88k/ffs.c: Likewise.
715 * sysdeps/powerpc/ffs.c: Likewise.
716 * sysdeps/rs6000/ffs.c: Likewise.
717 * sysdeps/vax/ffs.s: Likewise.
718 * string/string.h: Declare __ffs.
719 * libc.map: Export it.
720 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
721 __builtin_ffs, which is not guaranteed to be namespace clean.
723 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
725 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
726 table, which is much more likely to exist than debugging symbols.
727 (printsym): Remove const.
728 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
731 * libc.map: Export __profile_frequency, used by elf/sprof, to
732 avoid infinite recursion during startup.
734 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
736 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
739 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
741 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
743 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
745 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
747 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
748 LD_PRELOAD, and LD_VERBOSE.
749 (dl_main): Use global variables set by process_envvars instead of
751 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
752 LD_LIBRARY_PATH value, this comes with the parameter.
753 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
754 ("LD_LIBRARY_PATH") to _dl_init_paths.
756 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
758 * elf/rtld.c (dl_main): Delay initialization of path structure if
759 the dynamically linker is invoked implicitly until we read the
762 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
764 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
766 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
768 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
771 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
773 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
775 * Makeconfig (nisobjdir): Set to path to nis directory.
776 (rpath-link): Add nisobjdir.
777 Patch by Sven Verdoolaege <skimo@kotnet.org>.
779 * elf/Makefile: Pretty print.
780 * elf/dl-lookup.c: Include unistd.h.
781 * elf/dl-runtime.c: Likewise.
783 * localedata/Makefile (test-srcs): Add tst-rpmatch.
784 (distribute): Add tst-rpmatch.sh.
785 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
787 New tests for rpmatch function by
788 Jochen Hein <jochen.hein@delphi.central.de>.
789 * localedata/tst-rpmatch.c: New file.
790 * localedata/tst-rpmatch.sh: New file.
792 * localedata/locales/de_DE: Correct yesexpr and noexpr.
793 * localedata/locales/de_AT: Likewise.
795 * posix/getopt.c: Update contact address.
796 * posix/getopt1.c: Pretty print.
798 * sysdeps/generic/libc-start.c: Do most of the initialization now
799 here instead of in start.S.
800 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
801 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
803 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
804 profil_counter to be public.
806 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
808 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
809 (parse_param): Coded parameter length expansion (${#var}).
810 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
811 (parse_param): Cleaned up (fixed) error handling.
813 * posix/wordexp-test.c: IFS now includes non-whitespace character
814 (comma). Added more tests.
816 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
818 * elf/link.h: Fix typos.
819 Reported by Andreas Jaeger.
821 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
822 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
824 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
826 * argp/argp-help.c: Remove last bits of using gettext instead of
829 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
831 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
833 * csu/Makefile (routines): Add libc-start.
834 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
835 * elf/dl-lookup.c: Likewise.
836 * elf/dl-version.c: Likewise.
837 * sysdeps/i386/dl-machine.h: Likewise.
838 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
839 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
840 _dl_sysdep_message macros which use _dl_sysdep_output.
841 * elf/dl-fini.c: Write out which destructor is called while debugging.
842 * elf/dl-init.c: Likewise for constructor.
843 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
844 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
845 _dl_sysdep_message. Add _dl_sysdep_output.
846 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
847 this file can be opened.
848 For LD_DEBUG=libs also set _dl_debug_impcalls.
849 * sysdeps/generic/dl-cache.c: Include unistd.h.
850 * sysdeps/generic/libc-start.c: New file.
851 * sysdeps/unix/sysv/linux/libc-start.c: New file.
852 * sysdeps/i386/elf/start.S: Don't call main directly, call
853 __libc_start_main instead.
855 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
857 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
859 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
861 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
863 * argp/argp.h (struct argp): Add new field domain.
864 * argp/argp-help.c: Change all gettext calls to dgettext and use
865 domain field from appropriate argp in call.
866 * argp/argp-parse.c: Likewise.
868 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
870 * posix/wordexp-test.c: Change testsuite so that it can run even
873 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
875 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
877 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
879 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
880 Don't store into global errno if we already store through
882 * sysdeps/unix/i386/sysdep.S: Likewise.
883 * sysdeps/unix/alpha/sysdep.S: Likewise.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
887 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
890 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
892 * sysdeps/generic/sysdep.h (L): Remove definition.
893 * sysdeps/i386/sysdep.h (L): Define it here instead.
895 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
897 * nis/nis_call.c (__do_niscall): Safe and reset errno.
899 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
901 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
903 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
904 declaration style to avoid warnings.
906 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
908 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
911 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
913 * posix/Makefile (tests): Add wordexp-test.
914 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
915 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
917 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
919 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
922 * elf/link.h (struct r_search_path_elem): Add two new field for
924 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
925 variable accordingly.
926 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
927 is considered next along with information about load paths.
928 * sysdeps/generic/dl-cache.c: Likewise.
929 * elf/dl-support.c: Define _dl_debug_libs.
930 * elf/genrtldtbl.awk: Add initializers for two new field in
931 struct r_search_path_elem.
933 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
935 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
936 * sysdeps/m68k/lshift.S: Likewise.
937 * sysdeps/m68k/rshift.S: Likewise.
938 * sysdeps/m68k/sub_n.S: Likewise.
939 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
940 * sysdeps/m68k/m68020/mul_1.S: Likewise.
941 * sysdeps/m68k/m68020/submul_1.S: Likewise.
943 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
944 [_LIBC_REENTRANT]: Don't store into global errno.
946 * sysdeps/m68k/sysdep.h: New file.
947 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
948 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
949 (DO_CALL): Change to expect syscall name as argument.
950 (PSEUDO): Pass syscall_name to DO_CALL.
951 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
954 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
956 * elf/rtld.c: Speed up processing of environment variables. Do
957 only one run on the environment by avoiding to call getenv.
958 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
959 function. Used by patch above.
961 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
963 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
965 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
966 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
967 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
969 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
971 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
972 module cannot be found. Reported by Andreas Jaeger.
974 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
976 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
977 on platforms which default to unsigned chars.
978 * nscd/nscd_getpw_r.c: Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
982 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
984 * elf/Makefile (install-bin): Change = to += for sprof to install
987 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
989 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
991 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
993 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
995 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
997 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
998 that a failure to connect to nscd doesn't change errno.
1000 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1002 * manual/maint.texi (Reporting Bugs): Change
1003 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
1005 * locale/iso-4217.def: Likewise
1007 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
1009 * manual/texinfo.tex: Updated.
1011 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1013 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
1015 * sysdeps/posix/pathconf.c: Likewise.
1016 * posix/getconf.c: Print `undefined' if pathconf returns -1
1017 without setting errno.
1019 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
1021 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
1023 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1024 Patches by Elliot Lee <sopwith@cuc.edu>.
1026 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
1028 * elf/link.h (struct link_map): Add new field l_reloc_result.
1029 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
1030 of relocation for the object to be profiled.
1031 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
1033 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
1035 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
1036 contains a result from a previous run use this instead of computing
1038 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
1040 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1042 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
1043 offsets into the GOT.
1044 (RTLD_START): Likewise.
1046 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
1048 * elf/sprof.c: Cleanup a bit.
1050 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
1052 * sysdeps/generic/sysdep.h (L): New. Define.
1054 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
1056 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
1058 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
1059 to have only one exit point for functions.
1060 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1061 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
1062 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
1063 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1064 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1066 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1068 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
1069 reset errno so that errno isn't set to ENOSYS in the first call.
1070 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
1071 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1072 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1073 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1075 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
1077 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
1078 * sysdeps/i386/addmul_1.S: Likewise.
1079 * sysdeps/i386/lshift.S: Likewise.
1080 * sysdeps/i386/mul_1.S: Likewise.
1081 * sysdeps/i386/rshift.S: Likewise.
1082 * sysdeps/i386/sub_n.S: Likewise.
1083 * sysdeps/i386/submul_1.S: Likewise.
1084 * sysdeps/i386/i586/add_n.S: Likewise.
1085 * sysdeps/i386/i586/addmul_1.S: Likewise.
1086 * sysdeps/i386/i586/lshift.S: Likewise.
1087 * sysdeps/i386/i586/mul_1.S: Likewise.
1088 * sysdeps/i386/i586/rshift.S: Likewise.
1089 * sysdeps/i386/i586/sub_n.S: Likewise.
1090 * sysdeps/i386/i586/submul_1.S: Likewise.
1092 * sysdeps/i386/sysdep.h: Extend last change.
1094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
1095 to have only one exit point for functions.
1097 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1099 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
1102 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
1104 * Makerules: Generate libc.so with absolute paths for the used
1107 * config.make.in: Add MAKEINFO definition.
1109 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1111 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
1112 (ENTRY): Use STABS_FUN.
1113 (END): Use STABS_FUN_END.
1114 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
1116 * elf/Makefile: Add rules to build sprof program.
1117 * elf/sprof.c: New file.
1119 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121 * misc/syslog.c (openlog_internal): Insert missing closing brace.
1123 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1125 * configure.in: Check for working msgfmt version (from GNU gettext
1128 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1130 * configure.in: Avoid //s in sysdirs.
1131 Patch by Roland McGrath.
1133 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1135 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
1137 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
1138 setting _dl_global_scope for RTLD_GLOBAL.
1140 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1142 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
1143 possible lists of object-suffixes are taken care of.
1145 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
1147 * timezone/private.h: Update from tzcode1998c.
1148 * timezone/zic.c: Likewise.
1149 * timezone/antarctica: Updated from tzdata1998c.
1150 * timezone/asia: Likewise.
1151 * timezone/australasia: Likewise.
1152 * timezone/europe: Likewise.
1153 * timezone/southamerica: Likewise.
1155 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1157 * posix/glob.c (glob_in_dir): Add support for cases insensitive
1158 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
1160 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
1162 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
1163 Changed type of TWO43, TWO52 from float to double.
1164 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
1165 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
1166 Changed type of TWO43 from float to double.
1167 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
1170 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
1172 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
1173 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
1174 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1176 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
1178 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
1180 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
1181 Clean up random whitespace.
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1187 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
1189 * shlib-versions: Match alpha*.
1190 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
1191 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
1193 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
1194 Implement copysign* with and without __ prefix.
1195 Likewise for fabs; use builtin for gcc 2.8.
1199 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
1200 (R_SPARC*): Match current v9 ABI.
1202 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
1204 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
1205 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1206 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
1207 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
1208 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1209 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1210 * sysdeps/unix/grantpt.c (argv): Fix consts.
1211 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
1212 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1214 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1216 * misc/syslog.c: Change to allow user the interpretation of the
1217 outcome even with syslog having no return value.
1219 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1221 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
1222 that the number of program headers is >0 (which is wrong for the
1225 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1227 * Makefile (distribute): Add README.libm.
1229 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1231 * time/clocktest.c (main): Correct typo: "--" -> "==".
1233 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
1235 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
1237 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
1240 * math/libm.map (__atan2): Added.
1242 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1244 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
1245 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1247 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
1250 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1252 * manual/arith.texi (Old-style number conversion): Correct
1253 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1255 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1257 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
1258 but does not require it. Handle missing argv[] values gracefully.
1259 * posix/execl.c: Likewise.
1260 * posix/execle.c: Likewise.
1262 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1264 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
1266 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1268 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1270 * libc.map: Add __adjtimex.
1272 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1274 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1277 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
1279 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
1282 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
1284 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
1285 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
1287 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
1290 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
1292 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1293 Added adjtimex and old_adjtimex.
1295 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
1297 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
1298 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
1300 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
1301 symbols only for shared library.
1302 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1303 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1304 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1305 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1306 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1307 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1308 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1310 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
1311 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1312 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1313 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1314 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1315 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1316 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1317 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1319 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
1322 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
1324 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
1325 timex and __adjtimex, respectively.
1327 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
1329 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
1331 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
1333 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
1334 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
1336 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
1338 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
1340 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
1342 * Makefile.in: Disable built-in rules.
1344 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1346 * sysdeps/i386/fpu/t_exp.c: Move to ...
1347 * sysdeps/libm-i387/t_exp.c: ... here.
1349 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
1351 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
1352 from __exp2_deltatable.
1354 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
1356 * nis/ypclnt.c (yp_master): Check result of strdup.
1357 Patch by Thorsten Kukuk.
1359 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1361 * nis/ypclnt.c: Give clnt handle after error checking free, change
1362 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
1364 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
1366 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
1367 Patch by Joe Keane <jgk@jgk.org>.
1369 * misc/fstab.h (struct fstab): Change fs_type member to be const.
1370 * misc/fstab.c: Remove casts in fs_type assignments.
1372 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1374 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
1375 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
1376 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
1377 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
1378 * sysdeps/powerpc/bits/fenv.h: Likewise.
1379 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1380 * sysdeps/generic/bits/fenv.h: Likewise.
1381 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1382 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
1383 * sysdeps/powerpc/test-arith.c (main): Likewise.
1385 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
1387 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
1388 the comparison macros.
1390 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
1392 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
1393 (__log2): Fixed return values.
1394 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1396 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
1398 * math/math.h (isunordered): Rename local variables to ensure
1399 correct code. Reported by HJ Lu.
1401 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
1403 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1404 isless, islessequal, islessgreater, isunordered): Fix syntax for
1405 fucompip instruction.
1406 (isless, islessequal): Fix logic.
1408 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1410 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
1411 (comparisons_test): New tests for comparison macros.
1413 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
1415 * Makeconfig: Filter out frame-pointer effecting options when
1416 compiling profiling or debugging code.
1417 * config.h.in (internal_function): Don't define here if PROF is
1419 * gmon/gmon.c (__moncontrol): Don't change state if already in error
1421 (__monstartup): If calloc fails set error state and mark array as
1423 (_mcleanup): Don't call write_gmon if in error state. Don't try
1424 to free array if not successfully allocated.
1426 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
1427 Include elf.h to get macro definitions.
1428 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
1430 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
1432 * elf/ldd.sh.in: Add compatibility for broken old shells.
1433 * elf/ldd.bash.in: Likewise.
1435 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
1437 * sunrpc/rpc_main.c (open_input): Check pipe return error.
1439 * time/clocktest.c (main): Check signal return error.
1441 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1443 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
1444 "/" and use do-install-program. Reported by Mark M. Kettenis.
1445 (subdir_install): Likewise.
1447 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1449 * sunrpc/rpc_sample.c: Fix typo.
1451 * nscd/connections.c: Use locale.
1452 * nscd/grpcache.c: Add debug messages, gidtbl should get the
1454 * nscd/nscd.c: Check if init functions fails.
1455 * nscd/nscd_conf.c: Allow disabling of group cache.
1456 * nscd/nscd_getgr_r.c: Fix return code if group not found.
1457 * nscd/pwdcache.c: Fix debug messages.
1459 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1461 * libc.map: Add __monstartup and _mcleanup for profiling support.
1463 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1465 * libc.map: Export __getpagesize, for binary compatibility with
1468 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1470 * posix/globtest.sh: Use --library-path instead of
1472 * localedata/sort-test.sh: Likewise.
1473 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
1475 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1477 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
1478 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
1479 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1481 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1482 kernel_sigaction): Define.
1483 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
1484 kernel_sigaction): Define.
1486 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1488 * math/libm-test.c: Change epsilons for libm-ieee754.
1490 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
1492 * sysdeps/i386/__longjmp.S: Fix race condition.
1493 Reported by Bruno Haible <haible@ilog.fr>.
1495 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
1497 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
1498 * iconvdata/8bit-gap.c: Likewise.
1499 * iconvdata/8bit-generic.c: Likewise.
1500 * iconvdata/iso6937.c: Likewise.
1501 * iconvdata/iso8859-1.c: Likewise.
1502 * iconvdata/sjis.c: Likewise.
1503 * iconvdata/t61.c: Likewise.
1505 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1507 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
1508 feature tests by positive feature tests.
1510 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1512 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
1514 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
1516 * elf/dlvsym.c (dlvsym_doit): More corrections.
1517 Patch by Andreas Jaeger.
1519 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
1521 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
1523 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
1525 * libc.map: More reordering for GLIBC_2.1 symbols.
1527 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1529 * libc.map: Move some functions from version GLIBC_2.0 to
1530 GLIBC_2.1, reorder declarations.
1532 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
1534 * resolv/gethnamaddr.c (addrsort): Make this function extern.
1535 Patch by zab@thebrain.grumblesmurf.net.
1537 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1539 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
1540 NIS+ functions with version GLIBC_2.1.
1542 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
1544 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
1545 with 2.0 binaries. Reported by Thorsten Kukuk.
1547 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1549 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
1551 * elf/dlsym.c (dlsym_doit): Likewise.
1553 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1555 * elf/link.h: Correct typos.
1557 * iconv/iconv_prog.c: Correct typo.
1559 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
1561 * iconv/Makefile: Add rules to build and install iconv program.
1562 * iconv/iconv_prog.c: New file.
1564 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
1566 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
1567 _dl_lookup_symbol_skip call.
1568 * elf/dlvsym.c (dlvsym_doit): Likewise.
1570 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
1572 * libio/iovsscanf.c: Do not include errno.h.
1574 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1576 * elf/dl-load.c (add_name_to_object): Don't translate strings.
1577 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
1578 pulling in the whole error list.
1579 (__dcgettext, dcgettext): Removed.
1580 * libc.map: Export _strerror_internal.
1582 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
1584 * sysdeps/i386/fpu/t_exp.c: New file.
1586 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1588 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
1589 everything with version GLIBC_2.1.
1590 * hesiod/libnss_hesiod.map: Likewise.
1592 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1594 * manual/arith.texi (Old-style number conversion): This node is a
1595 section, not a subsection.
1597 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1599 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
1601 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1603 * elf/rtld.c (dl_main): Make sure that the library search paths
1604 have been initialized before the first call to _dl_map_object.
1606 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1608 * Makerules (common-generated): Add libc_pic.os.
1610 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1612 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
1615 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1617 * sysdeps/m68k/fpu/t_exp.c: New file.
1619 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1621 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
1622 to global errno variable anymore.
1624 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
1626 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
1627 If PRELOADED is nonzero check in case of an SUID application
1628 whether the shared object has the SUID bit set.
1629 Fix some other problems with handling shared objects in system
1630 specific directories.
1631 (_dl_map_object): Also take extra parameter and pass it to open_path.
1632 * elf/link.h (_dl_map_object): Correct prototype and comment.
1633 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
1634 * elf/dl-open.c (_dl_open): Likewise.
1635 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
1637 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
1639 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1641 * math/libm-test.c (modf_test): Add test for 1.5.
1643 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
1644 0 to get always an int.
1646 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1648 * math/libm.map: Move all symbols that are new in glibc 2.1 to
1651 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1653 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
1654 trying to read another character.
1656 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1658 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
1661 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
1662 name to lowercase, add test for big enough buffer.
1664 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1666 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
1667 Make compatible with older kernels. Patch by Richard Henderson.
1669 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
1671 * elf/dl-load.c (open_path): Use __xstat instead of stat.
1673 * localedata/tst-locale.sh: Comment out first test for now.
1675 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
1677 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
1679 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1682 * libio/iogetline.c (_IO_getline_info): Renamed from
1684 (_IO_getline): Just call _IO_getline_info.
1686 * libio/libioP.h (_IO_getline_info): New declaration.
1688 * libc.map (_IO_getline_info, __write): Added.
1690 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1692 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
1693 const char* to shut up gcc.
1695 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
1697 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
1698 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
1700 * math/math.h: Define M_* constants always as `double' and add new
1701 macros M_*l which are of type `long double'.
1702 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
1703 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
1704 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
1705 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1706 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1707 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1708 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1709 * math/libm-tst.c: Likewise.
1711 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
1712 define as long double unconditionally.
1714 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1716 * manual/arith.texi (Old-style number conversion): Correct some
1719 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
1721 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
1724 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
1726 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
1728 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
1729 on $(rtld-ldscript).
1731 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
1732 starting from 0 not only from `from'.
1733 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1735 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
1737 * elf/rtld.c (dl_main): Recognize --library-path parameter and
1738 pass value (or NULL) to _dl_init_paths.
1739 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
1740 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
1741 environment variable.
1742 * elf/link.h: Change prototype for _dl_init_paths.
1743 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
1745 * localedata/Makefile (distribute): Add test files.
1747 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1749 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
1750 test1.def, test2.def, test3.def, test4.def}: Simple input files
1751 for localedef. Contributed by Yung-Ching Hsiao
1752 <yhsiao@cae.wisc.edu>.
1754 * localedata/Makefile (tests): Call tst-locale.sh.
1756 * localedata/tst-locale.sh: New file, regression tests for some
1759 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1761 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
1763 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
1765 * nis/nss_nisplus/nisplus-network.c: Likewise.
1766 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1767 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1768 * nis/nss_nisplus/nisplus-service.c: Likewise.
1770 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
1771 and support generating thread safe RPC code.
1772 * sunrpc/rpc_main.c: Add changes.
1773 * sunrpc/rpc_clntout.c: Likewise.
1774 * sunrpc/rpc_cout.c: Likewise.
1775 * sunrpc/rpc_hout.c: Likewise.
1776 * sunrpc/rpc_parse.c: Likewise.
1777 * sunrpc/rpc_sample.c: Likewise.
1778 * sunrpc/rpc_scan.c: Likewise.
1779 * sunrpc/rpc_svcout.c: Likewise.
1780 * sunrpc/rpc_util.c: Likewise.
1781 * sunrpc/rpc_util.h: Add new structs and prototypes.
1782 * sunrpc/proto.h: Remove prototypes for static functions.
1784 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1786 * locale/programs/ld-messages.c (messages_finish): Don't skip
1787 error checking when being quiet.
1788 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
1789 (set_class_defaults): Likewise.
1790 * locale/programs/charmap.c (parse_charmap): Likewise.
1791 * locale/programs/ld-collate.c (collate_finish): Likewise.
1792 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
1793 * locale/programs/ld-time.c (time_finish): Likewise.
1794 * locale/programs/locfile.c (write_locale_data): Likewise.
1796 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
1797 unknown characters and empty ranges.
1798 * locale/programs/ld-collate.c (collate_order_elem): When
1799 processing an ellipsis properly form a linked list in the result
1800 table, fix typo when allocating ordering array.
1803 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1805 * elf/Makefile (ld-map): Define.
1806 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
1808 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
1810 (rtld-link): Combine the two versions of this definition. Fixed
1811 to make it work when no symbol versioning is used.
1813 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
1815 * Makeconfig (build-program-cmd): Use --library-path parameter to
1816 ld.so instead of environment variable.
1818 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
1819 * sunrpc/rpc_main.c: Remove support for -$$ option again.
1821 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1823 * Make-dist: Respect with-cvs setting.
1824 * MakeTAGS (all-pot): Likewise.
1825 * sysdeps/sparc/sparc32/Makefile: Likewise.
1826 * sysdeps/mach/hurd/Makefile: Likewise.
1827 * stdlib/Makefile: Likewise.
1828 * posix/Makefile: Likewise.
1829 * intl/Makefile: Likewise.
1830 * po/Makefile (linguas): Likewise
1832 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1834 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
1836 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
1838 * libc.map: Add __strcasecmp.
1840 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
1843 * nss/getXXent_r.c: If no more module is found don't try to call
1844 setXXent functions but leave unsuccessfully.
1846 * malloc/obstack.h: Cleanups.
1848 * sysdeps/wordsize-32/stdint.h: New file.
1849 * sysdeps/wordsize-64/stdint.h: New file.
1850 * sysdeps/generic/stdint.h: New file.
1851 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
1852 * sysdeps/wordsize-64/inttypes.h: Likewise.
1853 * stdlib/Makefile (headers): Add stdint.h.
1855 1998-02-03 Paul Eggert <eggert@twinsun.com>
1857 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
1859 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
1861 * timezone: New directory.
1862 * time/README, time/africa, time/antarctica, time/asia,
1863 time/australasia, time/backward, time/checktab.awk,
1864 time/etcetera, time/europe, time/factory, time/ialloc.c,
1865 time/iso3166.tab, time/leapseconds, time/northamerica,
1866 time/pacificnew, time/private.h, time/scheck.c,
1867 time/solar87, time/solar88, time/solar89, time/southamerica,
1868 time/systemv, time/test-tz.c, time/tzfile.h,
1869 time/tzselect.ksh, time/yearistype, time/zdump.c,
1870 time/zic.c, time/zone.tab: Moved to timezone.
1871 * time/tzfile.c: Include tzfile.h from timezone subdir.
1872 * time/tzset.c: Likewise.
1873 * time/Makefile: Cut out all code relating to timezones...
1874 * timezone/Makefile: ...and paste it in here.
1875 * Makefile (subdirs): Add timezone.
1877 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
1879 * libc.map (_sys_nerr): Added.
1881 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
1884 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
1886 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
1887 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
1888 Reported by Craig Metz <cmetz@inner.net>.
1890 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1892 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
1893 instead of strcasecmp.
1894 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
1896 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
1898 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
1900 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
1901 Patch by Dean Gaudet <dgaudet@arctic.org>.
1903 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
1905 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
1907 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1909 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
1910 with no poll syscall, just include the BSD version.
1911 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
1912 kernel without the syscall, include the stub version.
1913 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1914 * sysdeps/generic/getresuid.c: New file.
1915 * sysdeps/generic/getresgid.c: New file.
1917 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
1919 * stdio-common/vfscanf.c: Correct last change a bit.
1921 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
1923 * elf/Makefile: Don't use --version-script parameter to link ld.so
1926 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
1928 * math/Makefile: Add t_exp.
1929 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
1931 * math/test-reduce.c: Remove temporarily, it seems to be broken.
1932 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
1933 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
1935 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
1936 algorithm for very large/very small arguments.
1937 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
1938 correct algorithm for very large/very small arguments; adjust for
1940 * sysdeps/libm-ieee754/t_exp.c: New file.
1941 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
1943 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
1944 back, with comment that explains what breaks when you remove it :-(.
1946 * localedata/xfrm-test.c: Avoid integer overflow.
1948 * stdlib/strfmon.c: char is unsigned, sometimes.
1950 * sysdeps/powerpc/Makefile: Remove quad float support.
1951 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
1952 * sysdeps/powerpc/quad_float.h: Likewise.
1953 * sysdeps/powerpc/test-arith.c: Likewise.
1954 * sysdeps/powerpc/test-arithf.c: Likewise.
1956 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
1957 * sysdeps/generic/s_exp2f.c: Likewise.
1959 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
1960 don't try anything if _SOFT_FLOAT.
1962 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1964 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
1965 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
1966 * wctype/wctype.c: Likewise.
1967 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
1968 changed. They are incompatible with the _ISxxx values from
1969 <ctype.h> on little endian machines.
1970 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
1971 bit number. This fixes the real bug and restores the integrity of
1972 the ctype locale file.
1973 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
1974 * wctype/wcfuncs_l.c: Likewise.
1975 * wctype/wcextra.c: Likewise.
1976 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
1979 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
1982 into .bss segment instead of .common, so that aliases on it work.
1984 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
1985 .size directives, put into .bss segment instead of initializing it
1988 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
1990 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
1992 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
1994 Make names without __ weak aliases.
1995 (__libc_release, __libc_version): Make them static.
1997 * include/gnu/libc-version.h: New file.
1998 * Makefile (headers): Add gnu/libc-version.h.
2000 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
2002 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
2003 and use x for member name.
2004 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
2006 * stdlib/drand48.c: Change according to member name change.
2007 * stdlib/drand48_r.c: Likewise.
2008 * stdlib/lcong48_r.c: Likewise.
2009 * stdlib/lrand48.c: Likewise.
2010 * stdlib/lrand48_r.c: Likewise.
2011 * stdlib/mrand48.c: Likewise.
2012 * stdlib/mrand48_r.c: Likewise.
2013 * stdlib/seed48.c: Likewise.
2014 * stdlib/seed48_r.c: Likewise.
2015 * stdlib/srand48_r.c: Likewise.
2017 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2019 * nss/test-netdb.c: Add some more test cases.
2021 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
2023 * libio/iovsscanf.c: Undo last change modifying errno.
2025 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2027 * stdio-common/vfscanf.c: Never try to read another character
2028 after EOF. Don't decrement read_in after EOF, it wasn't
2029 incremented in the first place.
2030 (NEXT_WIDE_CHAR): Set First, not first.
2032 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
2034 * db/Makefile ($(inst_libdir)/libndbm.a,
2035 $(inst_libdir)/libndbm.so): New targets.
2036 * db2/Makefile: Likewise.
2038 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
2040 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
2041 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
2043 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2045 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
2047 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2049 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2051 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
2054 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
2056 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
2057 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
2060 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2062 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
2065 * grp/Makefile: Fix logic when checking for thread package.
2066 * pwd/Makefile: Likewise.
2068 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
2070 * elf/Makefile (rtld-map): Replaced by libc-map.
2072 * elf/rtld.map: Removed.
2074 * libc.map (__libc_enable_secure, _dl_catch_error,
2075 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
2076 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
2077 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
2078 _dl_object_relocation_scope, _dl_relocate_object,
2079 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
2080 _r_debug): Added for ld.so.
2082 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
2084 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
2086 * libio/iofdopen.c: Ditto.
2087 * libio/iofopen.c: Ditto.
2088 * libio/oldfileops.c: Ditto.
2090 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
2093 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
2094 oldsiglist from sysdep_routines and shared-only-routines.
2096 * sysdeps/unix/sysv/linux/errlist.c: New.
2097 * sysdeps/unix/sysv/linux/errlist.h: New.
2098 * sysdeps/unix/sysv/linux/sizes.h: New.
2099 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
2100 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
2102 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
2104 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
2105 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
2108 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
2110 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
2111 (oldsiglist.c): Removed.
2113 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
2114 (_sys_siglist): Use SYS_SIGLIST instead.
2115 (_sys_nerr): Use SYS_NERR instead.
2117 * sysdeps/gnu/errlist.c: Rebuilt.
2119 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
2121 * elf/Makefile (others-static): New, set to ldconfig.
2122 ($(objpfx)ldconfig): Removed.
2124 * Rules (binaries-all, binaries-static, binaries-shared): New.
2125 Create targets for $(binaries-static) and $(binaries-shared).
2127 * Makeconfig (+link-static, link-libc-static,
2128 link-extra-libs-static): New for static linking.
2130 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2132 * manual/memory.texi (Using the Memory Debugger): Fix typo.
2134 * math/libm-test.c (modf_test): Add one more test for modf.
2136 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
2138 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2139 Rename from __libc_have_rt_sigs and leave as COMMON data.
2141 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
2143 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
2146 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
2148 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
2150 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
2152 * misc/tst-efgcvt.c: Add yet more tests.
2153 * misc/efgcvt_r.c: And correct for these tests again.
2156 * isomac.c: Move to...
2157 * stdlib/isomac.c: ...here.
2158 * Makefile: Move rules for handling isomac...
2159 * stdlib/Makefile: ...to here.
2161 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
2163 * misc/tst-efgcvt.c: Add more tests.
2164 * misc/efgcvt_r.c: Correct result for above new tests.
2166 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
2168 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
2171 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
2173 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
2174 if the programs weren't built.
2176 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
2178 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
2179 FE_TONEAREST, soldier on regardless and do the best we can.
2180 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
2182 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
2184 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
2185 _STDIO_H, before including <bits/stdio_lim.h>.
2187 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
2189 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
2192 * sysdeps/arm/sys/ucontext.h: New file.
2194 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
2196 * manual/stdio.texi (Formatted Output Functions): Explicitly say
2197 that the return value from snprintf() does not count the
2198 terminating NUL as a character.
2200 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2202 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
2203 add description for sete[ug]id and general cleanup.
2204 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2206 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2208 * Makefile (parent-clean): Don't remove makefile fragments here.
2209 (postclean): New variable.
2210 (clean): Remove makefile fragments here.
2211 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
2212 (generated): Add isomac and isomanc.out.
2213 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
2214 avoid-generated is set.
2215 (postclean-generated): Add soversion.mk.
2216 ($(common-objpfx)version.mk): Don't include if avoid-generated is
2218 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
2219 avoid-generated is set.
2220 (common-generated): Add libc.so and libc.so$(libc.so-version).
2221 (generated): Add versioned libraries.
2222 (common-mostlyclean): Also remove %.so and %_pic.a.
2223 * csu/Makefile (generated): Add abi-tag.h.
2224 * db2/Makefile (extra-objs): Add getlong.o.
2225 * elf/Makefile (generated): Add ld.so, ldd and
2226 $(rtld-installed-name).
2227 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
2228 * malloc/Makefile (generated): Add mtrace.
2229 * po/Makefile: Don't include version.mk, not needed any more.
2230 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
2231 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
2232 syscall.h -> sys/syscall.h.
2233 (common-generated): Add s-proto.d.
2234 (postclean-generated): Add sysd-syscalls.
2235 * localedata/Makefile (test-output): Add all output files.
2236 (generated): Add test-input and test-output.
2237 (generated-dirs): Add all the dirs.
2239 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2241 * Makefile (test-output, generated, generated-dirs): New
2244 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2246 * resolv/nss_dns/dns-host.c: Various code cleanups.
2248 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
2250 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
2251 From Philip Blundell <pb@nexus.co.uk>.
2252 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
2254 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2256 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
2257 Suggested by debian/sparc porters.
2259 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
2264 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
2266 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
2267 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
2269 * signal/signal.h: Always define sigset_t if __need_sigset_t is
2270 defined even if __USE_POSIX is not defined.
2272 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
2274 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
2275 to support obsolete tty major numbers correctly.
2277 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
2279 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
2280 directory first and ignore install error.
2282 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
2283 128 from ptyno and fix a typo for the BSD style pty.
2285 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2287 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
2290 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2292 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2293 getresuid and getresgid.
2295 * sysdeps/unix/sysv/linux/getresuid.c: New file.
2296 * sysdeps/unix/sysv/linux/getresgid.c: New file.
2298 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
2301 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2303 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2304 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2306 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
2308 * nscd/grpcache.c: Include <stdlib.h>.
2310 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
2312 * stdlib/atoll.c: Fix comments.
2314 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
2315 * sysdeps/posix/ttyname_r.c: Ditto.
2317 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2319 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
2320 __USE_MISC, independent of __USE_UNIX98.
2322 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
2324 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2325 Rename from __libc_have_rt_sigs and leave as COMMON data.
2327 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
2329 * Makeconfig (CFLAGS-.os): Kill -fno-common.
2330 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
2332 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
2333 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
2335 * include/libc-symbols.h (symbol_version, default_symbol_version):
2336 Provide asm versions and correct !DO_VERSIONING versions.
2337 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
2338 the weak symbol list.
2340 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
2341 Rename from __libc_have_rt_sigs and leave as COMMON data.
2342 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2343 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2344 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2346 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
2348 * sunrpc/Makefile: Correct dependencies of rpcgen.
2350 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
2352 * nscd/Makefile: Fix test for available linuxthreads add-on.
2353 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2355 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2357 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
2359 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2361 * sysdeps/gnu/Makefile: Respect with-cvs variable.
2363 * manual/errno.texi (Error Messages): Correct description of
2364 strerror_r. Pointed out by jonas@bagge.se.
2366 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2368 * manual/socket.texi (Host Address Functions): Clarify description
2371 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2373 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
2374 (grantpt): Delete superfluous cast.
2376 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2378 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
2379 elf/ldso_install instead of elf/subdir_install.
2380 (elf/ldso_install): New target.
2382 * elf/Makefile (ldso_install): New target.
2384 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2386 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
2389 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2391 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
2392 constant expressions.
2394 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2396 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
2397 for __nss_configure_lookup.
2398 (output_hostent): Remove unused variable.
2400 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2402 * string/tst-inlcall.c: Fix format string.
2404 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2406 * inet/netinet/in.h: Rename second parameter of bindresvport to
2407 avoid buggy gcc warning. [PR libc/412]
2409 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
2411 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
2412 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
2414 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
2415 Follow POSIX and make tv_sec a time_t.
2416 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
2417 new tv64 syscall as well as fall back to tv32.
2418 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2419 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2420 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2421 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2422 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2423 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2424 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2425 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
2427 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
2428 * include/rpcsvc/nis_tags.h: Likewise.
2429 * include/rpcsvc/nislib.h: Likewise.
2431 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
2433 * libc.map: Add _h_errno.
2434 * inet/herrno.c: Make _h_errno weak alias.
2436 * login/Makefile (distribute): Add pty-internal.h.
2438 * nscd/Makefile (distribute): Add all the files missing.
2440 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
2443 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
2444 and report status at the end.
2446 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
2448 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
2450 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2454 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
2456 * configure.in: Fix --enable-add-ons code.
2458 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2460 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
2461 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
2464 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
2465 occurence in cache. Reported by Rudolf Leitgeb
2466 <leitgeb@leland.stanford.edu>.
2469 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
2471 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
2472 that it never is EINTR (which is tested for in _IO_vfscanf).
2474 * Makefile.in: Call sub-make with CVSOPTS.
2476 * elf/Makefile (distribute): Add dl-procinfo.h.
2478 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
2480 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
2482 * version.h (VERSION): Bump to 2.0.92.
2484 1998-01-31 Phil Blundell <philb@gnu.org>
2486 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
2487 alias for __new_sys_siglist.
2489 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
2491 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
2492 getgrgid_r.c if thread package is available.
2493 * pwd/Makefile: Likewise.
2494 * grp/getgrnam_r.c: Remove USE_NSCD definition.
2495 * grp/getgrgid_r.c: Likewise.
2496 * pwd/getpwnam_r.c: Likewise.
2497 * pwd/getpwuid_r.c: Likewise.
2499 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
2501 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
2502 with error to allow user intervention.
2503 * nss/getXXent_r.c: Likewise.
2505 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
2507 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
2508 AT_PLATFORM string. Pretty print AT_BASE info.
2510 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
2511 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
2512 * sysdeps/generic/dl-procinfo.h: New file.
2513 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
2515 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
2517 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
2519 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
2520 thread and not pthread_detach.
2522 * nscd/nscd.c: Rewrite to use argp instead of getopt.
2524 1998-01-31 Phil Blundell <philb@gnu.org>
2526 * configure.in: Add --without-cvs option to suppress automatic
2527 checkin of regenerated files.
2528 * config.make.in: Likewise.
2529 * Makefile: Respect with-cvs setting.
2530 * Makerules: Likewise.
2532 * configure.in: Allow the standalone ARM port to be configured.
2534 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2536 * grp/getgrgid_r.c: Define USE_NSCD.
2537 * grp/getgrnam_r.c: Likewise.
2538 * pwd/getpwuid_r.c: Likewise.
2539 * pwd/getpwnam_r.c: Likewise.
2541 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
2543 * nss/getXXbyYY_r.c: Try at first nscd.
2545 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
2546 * nscd/connections.c: New file.
2547 * nscd/dbg_log.c: New file.
2548 * nscd/dbg_log.h: New file.
2549 * nscd/grpcache.c: New file.
2550 * nscd/nscd.c: New file.
2551 * nscd/nscd.h: New file.
2552 * nscd/nscd_conf.c: New file.
2553 * nscd/nscd_stat.c: New file.
2554 * nscd/pwdcache.c: New file.
2556 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
2557 * nscd/nscd_getpw_r.c: Likewise.
2558 * nscd/nscd_proto.h: New, prototypes for client functions.
2560 * nscd/nscd.conf: New, example for a configuration file.
2561 * nscd/nscd.init: New, example for a startup script.
2563 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
2565 * nscd/getgrnam_r.c: Likewise.
2566 * nscd/getpwnam_r.c: Likewise.
2567 * nscd/getpwuid_r.c: Likewise.
2569 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
2571 * intl/Makefile: Use CVSOPTS in cvs invocation.
2572 * po/Makefile: Likewise.
2573 * posix/Makefile: Likewise.
2574 * stdlib/Makefile: Likewise.
2576 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
2578 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
2580 * misc/Makefile (tests): Add tst-efgcvt.
2581 * misc/tst-efgcvt.c: New file.
2583 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
2585 * posix/regex.c: Add some more cleanups by Akim Demaille.
2587 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
2589 * signal/signal.h: Revert last change.
2590 * string/strsignal.c: Regard signal number NSGI as illegal.
2591 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
2594 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
2596 * Makefile.in: Add comment about CVSOPTS Makefile variable.
2597 * Makerules: Use CVSOPTS in cvs invocation.
2598 * Makefile: Likewise.
2599 * MakeTAGS: Likewise.
2600 * Make-dist: Likewise.
2602 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
2604 * sysdeps/generic/memmem.c: Correct last change.
2606 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
2608 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
2609 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
2611 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2613 * nis/ypclnt.c: Try at first to use the binding file from ypbind
2616 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2618 * manual/memory.texi (Heap Consistency Checking): mcheck is
2619 declared in <mcheck.h>.
2620 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
2622 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2624 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
2625 beginning of haystack.
2627 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2629 * nss/nss_files/files-service.c: Correct last patch.
2631 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
2634 __libc_have_rt_sigs.
2635 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
2636 including <bits/setjmp.h>.
2637 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2638 Patch from the Debian glibc/SPARC package.
2640 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
2642 * sysdeps/alpha/bzero.S: Fix a typo.
2643 * sysdeps/alpha/htonl.S: Ditto.
2644 * sysdeps/alpha/htons.S: Ditto.
2646 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2648 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
2650 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
2652 * include/cpio.h: Move to ...
2653 * posix/cpio.h: ...here.
2655 * locale/programs/ld-collate.c: Fix typo.
2657 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
2659 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
2661 * login/utmp_file.c (pututline_file): Don't always report success
2662 if similar entry is found. Patch by Mark M. Kettenis.
2664 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
2666 * manual/Makefile: Don't try to install the info files if makeinfo
2669 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
2671 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
2672 kernel's network ioctls, rather than using <linux/sockios.h> to
2673 get them. This way we are sure of maintaining compatibility if
2674 the kernel interface should change.
2676 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
2678 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
2680 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
2682 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
2683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2685 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2687 Implement System V pseudoterminal handling.
2690 (routines): Add getpt, grantpt, unlockpt, ptsname.
2691 (libutil-routines): Remove pty. Add openpty, forkpty.
2692 (distribute): New internal header pty-internal.h.
2693 (others): Add the helper program, pt_chown.
2694 (install-others): Install it, in $(libexecdir), mode 4755.
2696 * login/pty-internal.h: New file.
2697 * login/openpty.c: New file.
2698 * login/forkpty.c: New file.
2699 * login/programs/pt_chown.c: New file.
2701 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
2702 * stdlib/stdlib.h: Prototype them.
2704 * config.make.in: Define $(libexecdir).
2705 * Makeconfig: Define $(inst_libexecdir).
2707 * sysdeps/generic/pty.c: Removed.
2708 * sysdeps/unix/sysv/linux/pty.c: Removed.
2710 * sysdeps/generic/getpt.c: Stub out.
2711 * sysdeps/generic/grantpt.c: Likewise.
2712 * sysdeps/generic/ptsname.c: Likewise.
2713 * sysdeps/generic/unlockpt.c: Likewise.
2715 * sysdeps/unix/grantpt.c: New file.
2716 * sysdeps/unix/bsd/getpt.c: New file.
2717 * sysdeps/unix/bsd/unlockpt.c: New file.
2718 * sysdeps/unix/sysv/linux/getpt.c: New file.
2719 * sysdeps/unix/sysv/linux/ptsname.c: New file.
2720 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
2722 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
2724 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
2726 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2728 * nss/Makefile (tests): Add rule for test-netdb.c.
2730 * nss/test-netdb.c: New file.
2732 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
2734 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
2735 really kept as a variable. Patch by Richard Henderson,
2736 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2738 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
2739 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
2740 entries as not existing.
2742 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2744 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
2745 zero in alternate form with precision of zero, which must produce
2746 "0". Add braces to avoid ambiguous `else'.
2748 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2750 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
2751 problem with strncpy.
2752 * nis/nss_compat/compat-pwd.c: Likewise.
2753 * nis/nss_compat/comapt-spwd.c: Likewise.
2755 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2757 * assert/assert.h (assert_perror): Correct test for errnum. Patch
2758 by uch@nop.or.jp. [PR libc/437]
2760 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2762 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
2764 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2766 * stdio-common/test-popen.c: Include <errno.h>.
2768 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
2771 * inet/getnetgrent_r.c: Include <errno.h>.
2773 * db2/db/db_conv.c: Include <string.h> for memcpy.
2775 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
2776 so that memcpy is declared.
2778 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
2780 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
2782 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2784 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
2785 overflow while reading line with fgets.
2786 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2788 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
2790 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
2791 unsigned short, not short.
2792 Reported by Andreas Jaeger.
2794 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2796 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
2799 * sysdeps/generic/inttypes.h: Fix spelling.
2801 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2803 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
2805 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
2807 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
2809 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
2810 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
2811 field for hh modifier.
2812 * stdio-common/vfprint.c: Use is_char field and do not depend in
2813 is_short having the value 2.
2814 Bug reported by Andreas Jaeger.
2816 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2818 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
2819 PIC && DO_VERSIONING.
2821 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2823 * Rules: Add rules for $(common-objpfx)dummy$o.
2825 1998-01-26 Richard Henderson <rth@cygnus.com>
2827 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
2828 unimplemented OSF/1 definitions so that they are not accidentally seen.
2830 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
2831 of the trampoline function into the macro.
2832 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
2833 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
2834 kernel 2.1.82 has this fixed.
2836 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
2837 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
2839 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
2841 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
2842 support sigaction on kernels > 2.1.7x.
2844 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
2846 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
2849 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
2850 Patch by David Engel <david@sw.ods.com>.
2852 * configure.in: Fix another typo in --enable-add-ons code.
2854 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
2856 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
2858 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2860 * nss/nss_files/files-network.c: Correct order of parameters for
2863 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
2865 * db2/Makefile (routines): Add os_alloc.
2866 * db2/db.h: Update from db-2.3.16.
2867 * db2/db_185.h: Likewise.
2868 * db2/db_int.h: Likewise.
2869 * db2/btree/bt_close.c: Likewise.
2870 * db2/btree/bt_cursor.c: Likewise.
2871 * db2/btree/bt_delete.c: Likewise.
2872 * db2/btree/bt_open.c: Likewise.
2873 * db2/btree/bt_page.c: Likewise.
2874 * db2/btree/bt_put.c: Likewise.
2875 * db2/btree/bt_rec.c: Likewise.
2876 * db2/btree/bt_recno.c: Likewise.
2877 * db2/btree/btree_auto.c: Likewise.
2878 * db2/common/db_appinit.c: Likewise.
2879 * db2/common/db_apprec.c: Likewise.
2880 * db2/common/db_err.c: Likewise.
2881 * db2/common/db_region.c: Likewise.
2882 * db2/common/db_shash.c: Likewise.
2883 * db2/db/db.c: Likewise.
2884 * db2/db/db_auto.c: Likewise.
2885 * db2/db/db_conv.c: Likewise.
2886 * db2/db/db_dispatch.c: Likewise.
2887 * db2/db/db_dup.c: Likewise.
2888 * db2/db/db_pr.c: Likewise.
2889 * db2/db/db_rec.c: Likewise.
2890 * db2/db185/db185.c: Likewise.
2891 * db2/dbm/dbm.c: Likewise.
2892 * db2/hash/hash.c: Likewise.
2893 * db2/hash/hash_auto.c: Likewise.
2894 * db2/hash/hash_dup.c: Likewise.
2895 * db2/hash/hash_page.c: Likewise.
2896 * db2/hash/hash_rec.c: Likewise.
2897 * db2/include/btree_ext.h: Likewise.
2898 * db2/include/clib_ext.h: Likewise.
2899 * db2/include/common_ext.h: Likewise.
2900 * db2/include/db.h.src: Likewise.
2901 * db2/include/db_185.h.src: Likewise.
2902 * db2/include/db_am.h: Likewise.
2903 * db2/include/db_ext.h: Likewise.
2904 * db2/include/db_int.h.src: Likewise.
2905 * db2/include/hash_ext.h: Likewise.
2906 * db2/include/lock_ext.h: Likewise.
2907 * db2/include/log.h: Likewise.
2908 * db2/include/log_auto.h: Likewise.
2909 * db2/include/log_ext.h: Likewise.
2910 * db2/include/mp.h: Likewise.
2911 * db2/include/mp_ext.h: Likewise.
2912 * db2/include/mutex_ext.h: Likewise.
2913 * db2/include/os_ext.h: Likewise.
2914 * db2/include/os_func.h: Likewise.
2915 * db2/include/txn_ext.h: Likewise.
2916 * db2/lock/lock.c: Likewise.
2917 * db2/lock/lock_util.c: Likewise.
2918 * db2/log/log.c: Likewise.
2919 * db2/log/log.src: Likewise.
2920 * db2/log/log_archive.c: Likewise.
2921 * db2/log/log_auto.c: Likewise.
2922 * db2/log/log_get.c: Likewise.
2923 * db2/log/log_put.c: Likewise.
2924 * db2/log/log_rec.c: Likewise.
2925 * db2/log/log_register.c: Likewise.
2926 * db2/mp/mp_bh.c: Likewise.
2927 * db2/mp/mp_fget.c: Likewise.
2928 * db2/mp/mp_fopen.c: Likewise.
2929 * db2/mp/mp_fput.c: Likewise.
2930 * db2/mp/mp_pr.c: Likewise.
2931 * db2/mp/mp_sync.c: Likewise.
2932 * db2/mutex/mutex.c: Likewise.
2933 * db2/os/os_alloc.c: Likewise.
2934 * db2/os/os_config.c: Likewise.
2935 * db2/os/os_stat.c: Likewise.
2936 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2937 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2938 * db2/progs/db_load/db_load.c: Likewise.
2939 * db2/progs/db_printlog/db_printlog.c: Likewise.
2940 * db2/progs/db_recover/db_recover.c: Likewise.
2941 * db2/progs/db_stat/db_stat.c: Likewise.
2942 * db2/txn/txn.c: Likewise.
2944 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
2945 Unmap memory blocks in reverse order of allocation.
2946 Call munmap with load address added to offset.
2947 Bug reported by Miguel de Icaza.
2949 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
2952 * localedata/locales/cs_CZ: Update by Michael Mraka
2953 <michael@informatics.muni.cz>.
2955 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
2958 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
2959 reading line with fgets.
2960 * nis/nss_compat/compat-pwd.c: Likewise.
2961 * nis/nss_compat/compat-spwd.c: Likewise.
2962 * nss/nss_files/files-XXX.c: Likewise.
2963 * nss/nss_files/files-alias.c: Likewise.
2964 * shadow/fgetspent_r.c: Likewise.
2966 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
2968 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
2969 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2970 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2972 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
2973 FP register content in ucontext_t.
2975 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2977 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
2978 calculation. Patch by Markus Schoder
2979 <Markus.Schoder@dresdner-bank.de>.
2981 * math/libm-test.c (modf_test): Add more tests for modf.
2983 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
2984 munlock according to Unix98.
2986 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2988 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
2991 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
2993 * sysdeps/posix/ttyname.c: Handle symbolic links.
2994 * sysdeps/posix/ttyname_r.c: Ditto.
2996 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
2998 * db2/makedb.c (process_input): Write terminating \0 for value.
2999 (print_database): Simply print value string, don't use length.
3001 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3003 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
3006 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3008 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
3011 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
3013 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
3015 * signal/sighold.c: New file.
3016 * signal/sigrelse.c: New file.
3017 * sysdeps/generic/sigignore.c: New file.
3018 * sysdeps/generic/sigset.c: New file.
3019 * sysdeps/posix/sigignore.c: New file.
3020 * sysdeps/posix/sigset.c: New file.
3021 * signal/signal.h: Add prototypes for new functions.
3023 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
3024 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
3025 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
3028 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3030 * posix/wordexp.c: Added IFS field-splitting in parameter and
3031 command substitution. Fixed an IFS-related bug that caused an
3034 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
3036 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
3038 * stdlib/ucontext.h: Correct prototypes.
3039 * sysdeps/generic/getcontext.c: New file.
3040 * sysdeps/generic/setcontext.c: New file.
3041 * sysdeps/generic/makecontext.c: New file.
3042 * sysdeps/generic/swapcontext.c: New file.
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
3045 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
3047 * resource/sys/resource.h: Remove #include of ulimit.h which is
3048 not allowed by SUSv2 and not available on other systems.
3049 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
3051 * streams/Makefile: New file.
3052 * streams/stropts.h: New file.
3053 * sysdeps/generic/bits/stropts.h: New file.
3054 * sysdeps/generic/isastream.c: New file.
3055 * sysdeps/generic/getmsg.c: New file.
3056 * sysdeps/generic/getpmsg.c: New file.
3057 * sysdeps/generic/putmsg.c: New file.
3058 * sysdeps/generic/putpmsg.c: New file.
3059 * sysdeps/generic/fattach.c: New file.
3060 * sysdeps/generic/fdetach.c: New file.
3061 * sysdeps/unix/inet/Subdirs: Add streams.
3062 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
3064 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
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/sparc64/bits/types.h: Likewise.
3069 * sysdeps/mach/_strerror.c: Follow changes of generic version to
3070 handle small buffers correctly.
3072 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
3074 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3075 Remove the 3rd arg and add declaration for _dl_runtime_resolve
3076 and _dl_runtime_profile.
3078 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
3080 * include/cpio.h: New file. Mainly copied from GNU cpio.
3081 * posix/Makefile (headers): Add cpio.h.
3083 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3085 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
3087 * nis/nis_cache.c: New file.
3088 * nis/nis_cache2.h: New file.
3089 * nis/nis_cache2_xdr.c: New file.
3090 * nis/nis_call.c: Changes for cache2_info parameter.
3091 * nis/nis_checkpoint.c: Likewise.
3092 * nis/nis_intern.h: Likewise.
3093 * nis/nis_mkdir.c: Likewise.
3094 * nis/nis_ping.c: Likewise.
3095 * nis/nis_rmdir.c: Likewise.
3096 * nis/nis_server.c: Likewise.
3097 * nis/nis_util.c: Likewise.
3099 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3101 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
3102 return/errnop codes.
3103 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3104 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3105 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3106 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3107 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3108 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3109 * nis/nss_nisplus/nisplus-rpc.c: Likewise
3110 * nis/nss_nisplus/nisplus-service.c: Likewise.
3111 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3113 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3115 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
3116 * nis/nss_nis/nis-ethers.c: Likewise.
3117 * nis/nss_nis/nis-grp.c: Likewise.
3118 * nis/nss_nis/nis-hosts.c: Likewise.
3119 * nis/nss_nis/nis-network.c: Likewise.
3120 * nis/nss_nis/nis-proto.c: Likewise.
3121 * nis/nss_nis/nis-hosts.c: Likewise.
3122 * nis/nss_nis/nis-network.c: Likewise.
3123 * nis/nss_nis/nis-proto.c: Likewise.
3124 * nis/nss_nis/nis-publickey.c: Likewise.
3125 * nis/nss_nis/nis-pwd.c: Likewise.
3126 * nis/nss_nis/nis-rpc.c: Likewise.
3127 * nis/nss_nis/nis-service.c: Likewise.
3128 * nis/nss_nis/nis-spwd.c: Likewise.
3130 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
3132 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
3133 Added to follow latest kernel development.
3135 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
3137 * nss/db-Makefile: Handle empty and comment lines better.
3138 ($(VAR_DB)/services.db): Generate entries with missing protocol
3141 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3143 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
3145 (getservbyname): Allow proto == NULL.
3146 Pointed out by David N. Welton <davidw@gate.cks.com>.
3149 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
3151 * nis/nislib/nislib.h: Finally removed.
3153 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
3154 C compiler. From Kaveh Ghazi.
3155 (TYPE_MINIMUM): Define.
3156 (TYPE_MAXIMUM): Define.
3157 (TIME_T_MIN): Use TYPE_MINIMUM.
3158 (TIME_T_MAX): Use TYPE_MAXIMUM.
3159 Patch by Jim Meyering <meyering@ascend.com>.
3161 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
3163 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
3164 __pread64, __pwrite64, and __getpid.
3166 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
3169 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3171 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
3172 cancelable socket functions as __libc_xxx with __xxx as weak
3174 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3177 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
3179 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3180 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3182 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3184 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
3185 and __xxx a weak alias.
3186 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3187 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3188 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3189 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3190 * sysdeps/unix/sysv/linux/send.S: Likewise.
3191 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3192 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3194 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3196 * locale/langinfo.h: Add defines.
3198 * dirent/dirent.h: Add defines for DT_*, check also for
3199 _DIRENT_HAVE_D_TYPE.
3200 Suggested by Roland McGrath.
3202 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3204 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
3205 Update from Linux 2.1.73+79.
3207 * README.template: Update information about possible
3210 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
3211 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3214 * manual/time.texi (Priority): Correct description of
3215 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3218 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
3220 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
3221 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
3223 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
3225 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
3228 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
3230 * locale/programs/ld-collate.c: Little optimizations.
3232 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
3234 * string/Makefile (tests): Add tst-inlcall.
3235 * string/tst-inlcall.c: New file.
3237 * string/strsignal.c: Add support for real-time signals.
3239 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
3240 presense of small buffer.
3242 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
3244 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
3247 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
3250 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
3252 * Rules: Add explicit rule for dummy.o; at least one library needs
3253 it and it isn't autogenerated by the default rules.
3255 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3257 * math/libm-test.c: Tweak epsilons.
3259 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3261 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
3263 (feenv_mask_test): Likewise.
3265 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3267 * Makeconfig: Don't export CPPFLAGS.
3269 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3271 * sunrpc/rpc_main.c (parseargs): Use perror to print error
3274 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3276 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
3277 terminating null in key size.
3279 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3281 * nss/nss_files/files-service.c: Fix allocation size to include
3284 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
3285 applicable. Fix return value and error checking.
3286 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
3288 (DB_LOOKUP): Allocate space for terminating null byte.
3290 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
3293 * db2/makedb.c (process_input): Continue processing if a duplicate
3296 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
3298 * time/tzfile.h: Updated from tzcode1998b.
3299 * time/zdump.c: Likewise.
3300 * time/zic.c: Likewise.
3301 * time/africa: Update from tzdata1998b.
3302 * time/antarctica: Likewise.
3303 * time/asia: Likewise.
3304 * time/australasia: Likewise.
3305 * time/etcetera: Likewise.
3306 * time/europe: Likewise.
3307 * time/leapseconds: Likewise.
3308 * time/northamerica: Likewise.
3309 * time/southamerica: Likewise.
3311 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3313 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
3314 lookups ignoring case.
3315 * nss/nss_files/files-network.c: Do network lookups ignoring
3317 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
3319 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
3320 case insensitive comparing.
3321 Patches by Cristian Gafton <gafton@redhat.com>.
3323 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3325 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
3326 by Roland McGrath. [PR libc/395]
3328 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3330 * manual/arith.texi (Parsing of Integers): Correct description of
3331 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
3334 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
3336 * misc/lsearch.c (lsearch): Return a pointer to the new element
3337 if one was "allocated".
3339 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3341 * string/strsignal.c: NSIG is not a valid index into
3342 _sys_siglist. Don't zap the last character of the "Unknown
3345 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
3347 * locale/programs/charmap.c (parse_charmap): Correct parsing of
3348 ellipsis expressions.
3350 * locale/programs/charset.c (insert_char): Correctly insert value
3351 of eliipsis expression.
3353 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
3355 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
3357 * sysdeps/powerpc/setjmp.S: Likewise.
3358 Patches by Matt McLean <keys@keys.got.net>.
3360 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
3362 * Makefile: Undo last patch.
3363 (distribute): Add test-installation.pl.
3365 * configure.in: Correct handling of --enable-add-ons without parameter.
3366 Correct address of WWW pages.
3368 * libc.map: Add _nl_domain_bindings.
3370 * db2/mutex/tsl_parisc.s: New file.
3372 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
3373 and extra-module.mk.
3375 * localedata/Makefile (distribute): New. Add all the files.
3377 * stdlib/Makefile (headers): Add inttypes.h.
3378 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
3379 * sysdeps/generic/inttypes.h: New file.
3380 * sysdeps/generic/strtoimax.c: New file.
3381 * sysdeps/generic/strtoumax.c: New file.
3382 * sysdeps/generic/wcstoimax.c: New file.
3383 * sysdeps/generic/wcstoumax.c: New file.
3384 * sysdeps/wordsize-32/Dist: Removed.
3385 * sysdeps/wordsize-32/Makefile: Removed.
3386 * sysdeps/wordsize-64/Dist: Removed.
3387 * sysdeps/wordsize-64/Makefile: Removed.
3388 * sysdeps/generic/bits/environments.h: New file.
3390 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
3391 header is still not correct.
3393 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
3394 * posix/unistd.h: Likewise.
3395 * sysdeps/generic/sys/mman.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3398 * manual/arith.texi: Change definition of mul macro.
3399 * manual/math.texi: Likewise.
3401 * misc/Makefile (routines): Add mmap64.
3402 * sysdeps/generic/mmap64.c: New file.
3403 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
3404 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
3405 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
3407 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3409 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
3411 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
3413 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
3415 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
3416 FOPEN_MAX also when included by limits.h.
3417 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3419 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
3420 and netrom/netrom.h.
3421 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
3422 oldsiglist to sysdep_routines, not aux.
3423 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
3425 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
3426 and SOL_NETROM definition.
3428 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
3430 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
3431 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
3433 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
3435 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
3437 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
3438 sa_handler with k_sa_handler.
3439 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
3443 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
3444 __libc_have_rt_sigs here.
3445 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
3446 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3447 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
3448 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3450 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
3452 * sysdeps/powerpc/atomicity.h: New file.
3453 * sysdeps/mach/powerpc/machine-lock.h: New file.
3455 * Rules: Use -fpic to build anything that might end up in a users'
3458 * sysdeps/powerpc/s_fdim.c: New file.
3459 * sysdeps/powerpc/s_fdimf.c: New file.
3460 * sysdeps/powerpc/s_fmax.S: New file.
3461 * sysdeps/powerpc/s_fmaxf.S: New file.
3462 * sysdeps/powerpc/s_fmin.S: New file.
3463 * sysdeps/powerpc/s_fminf.S: New file.
3464 * sysdeps/powerpc/s_llrint.c: Now is for double.
3465 * sysdeps/powerpc/s_llrintf.c: New file.
3466 * sysdeps/powerpc/s_llround.c: Now is for double.
3467 * sysdeps/powerpc/s_llroundf.c: New file.
3468 * sysdeps/powerpc/s_lrint.c: Now is for double.
3469 * sysdeps/powerpc/s_lrintf.S: New file.
3470 * sysdeps/powerpc/s_lround.c: Now is for double.
3471 * sysdeps/powerpc/s_lroundf.c: New file.
3472 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
3473 lrintf, fdim, fdimf.
3475 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
3476 file directly, use its parent.
3478 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
3479 (for the third time).
3481 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
3483 * posix/sched.h: timespec is in <time.h>.
3485 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
3487 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
3489 * configure.in: Stop with error if --disable-static is used when
3490 the shared lib uses this library.
3492 * gen-FAQ.pl: I've perl installed in /usr/bin.
3494 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
3496 Fix Unix98 conformance problems in the headers.
3497 * catgets/nl_types.h: Define nl_item.
3498 * grp/grp.h: Define gid_t.
3499 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
3500 * include/nl_types.h: New file.
3501 * include/ulimit.h: New file.
3502 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
3503 constants in POSIX mode.
3504 * io/utime.h: Get definition for time_t.
3505 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
3506 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
3507 * libio/stdio.h: Define va_list. Make snprintf also available is
3508 __USE_UNIX98. Declare getopt function and variables.
3509 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
3510 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
3511 * math/math.h: Defined M_* constants as double for Unix98 mode.
3512 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
3513 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
3514 * posix/regex.h: Define REG_NOSYS.
3515 * posix/wordexp.h: Define WRDE_NOSYS.
3516 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
3518 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
3519 somewhere else as well. Define clock_t for Unix98.
3520 * posix/sys/wait.h: Define pid_t.
3521 * pwd/pwd.h: Define gid_t, uid_t.
3522 * resource/Makefile (headers): Add ulimit.h.
3523 * resource/ulimit.h: New file.
3524 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
3525 instead of second argument.
3526 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
3527 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3528 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
3529 * signal/signal.h: Define pid_t.
3530 * string/string.h: Don't declare BSD string functions in POSIX mode.
3531 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
3532 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
3533 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
3536 * inet/test_ifindex.c: Change test so that it does not fail for
3539 * locale/programs/locale.c (show_info): Use correct cast sequence
3542 * malloc/malloc.c: __malloc_initialized now signals three states:
3543 uninitialized, initializing, initialized. Used in mcheck.
3544 * malloc/mcheck.c (mabort): Add '\n' to messages.
3545 (mcheck): Allow installation when malloc is uninitialized or is
3548 * manual/memory.texi: Explain mtrace output a bit more.
3550 * math/libm-test.c: Add more epsilons.
3552 * misc/regexp.h (compile): Remove __ prefix from parameter names.
3554 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
3555 instead of strcpy for security.
3556 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
3557 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
3558 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
3560 * nss/digits_dots.c: Pretty print.
3562 * posix/getconf.c (vars): Add symbols for programming environment
3563 recognition. Recognize --version.
3565 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
3566 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
3567 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
3569 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
3571 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3572 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
3575 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
3576 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
3578 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
3579 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3581 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
3582 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3583 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
3585 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
3587 * sysdeps/wordsize-64/inttypes.h: Likewise.
3589 * time/africa: Update from tzdata1997j.
3590 * time/antarctica: Likewise.
3591 * time/asia: Likewise.
3592 * time/australasia: Likewise.
3593 * time/backward: Likewise.
3594 * time/etcetera: Likewise.
3595 * time/europe: Likewise.
3596 * time/factory: Likewise.
3597 * time/northamerica: Likewise.
3598 * time/pacificnew: Likewise.
3599 * time/southamerica: Likewise.
3601 * time/tzfile.h: Update from tzcode1997h.
3602 * time/zic.c: Likewise.
3604 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
3605 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
3606 isw*() functions for Unix98.
3607 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
3608 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
3611 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3613 * locale/duplocale.c: Increase usage_count only if less than
3615 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
3617 * locale/setlocale.c: Likewise.
3619 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3621 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
3622 dependency to make it easier to install it selectively.
3624 * Makerules (.SUFFIXES): Don't define any suffixes.
3626 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3628 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
3629 * sysdeps/generic/statfs64.c: Emulate using statfs.
3630 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
3631 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
3632 * sysdpes/generic/ftruncate64.c: New file.
3633 * sysdpes/generic/truncate64.c: New file.
3635 * sysdeps/generic/bits/stat.h: Add LFS support.
3636 * sysdeps/generic/bits/statfs.h: Likewise.
3638 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
3639 [__USE_FILE_OFFSET64]: Make long long constant.
3640 (RLIM64_INFINITY): Likewise.
3642 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
3644 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
3645 * sysdeps/generic/bits/resource.h: Likewise.
3647 * misc/Makefile (routines): Add truncate64 and ftruncate64.
3649 * include/features.h: Don't prevent LFS support from defining BSD
3652 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
3653 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
3654 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
3656 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
3657 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
3658 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3660 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
3661 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
3662 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3663 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
3664 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
3665 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
3666 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
3667 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
3668 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
3669 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
3671 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
3673 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
3674 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
3677 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
3681 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
3682 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
3683 * sysdeps/unix/sysv/linux/xstat64.c: New file.
3684 * sysdeps/unix/sysv/linux/readdir64.c: New file.
3685 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
3687 * sysdeps/unix/sysv/linux/getdents64.c: New file.
3688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3689 [$(subdir)=dirent]: Add getdents64.
3690 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
3692 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
3694 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
3696 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
3698 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
3699 * sysdeps/generic/getrlimit64.c: Likewise.
3700 * sysdeps/generic/setrlimit.c: Likewise.
3701 * sysdeps/generic/setrlimit64.c: Likewise.
3703 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
3705 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
3708 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
3710 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
3712 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3714 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
3715 after the codeset name.
3717 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3719 * libc.map: Add get_kernel_syms.
3721 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3723 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
3725 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
3726 Likewise. Fix condition.
3728 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3730 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
3732 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3734 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
3735 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
3737 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3739 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
3740 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
3743 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3745 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
3747 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3749 * math/libm-test.c (catanh_test): Change epsilon.
3750 Reported by H.J. Lu.
3752 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
3754 * libc.map (__getpid): Added for linuxthreads.
3756 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
3758 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
3759 it if gcc uses static variable in DWARF2 unwind information
3760 for exception support.
3762 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
3764 * elf/soinit.c (__libc_global_ctors, _fini): Handle
3765 HAVE_DWARF2_UNWIND_INFO_STATIC.
3767 * libc.map (__register_frame*, __deregister_frame*): Make them
3770 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3772 * math/libm-test.c: Add more tests for "normal" values.
3774 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3776 * stdio-common/printf_fphex.c: Fix printing of long double number
3777 with a biased exponent of zero. Fix rounding.
3779 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3781 * sunrpc/rpc_main.c: Accept new flag -$.
3782 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
3784 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3786 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
3787 dynamic linker first, in case the interface has changed.
3789 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3791 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
3794 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3796 * math/tgmath.h: Check for double first, for architectures where
3797 sizeof (long double) == sizeof (double).
3799 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3801 * math/libm-test.c: New tests for "normal" values added for most
3804 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
3806 * version.h (VERSION): Bump to 2.0.91.
3808 * db2/makedb.c (process_input): Fix typo in message.
3809 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
3811 * elf/dynamic-link.h: Pretty print.
3813 * elf/rtld.c: Allow multiple preloading of a shared object.
3815 * include/limits.h: Prevent multiple inclusion.
3817 * malloc/Makefile (headers): Add mcheck.h.
3818 (distribute): Remove it here.
3819 * malloc/mcheck.h: Pretty print.
3820 * malloc/mtrace.c (mallenv): Make `const'.
3821 * malloc/mtrace.pl: Don't print table head for memory leaks if there
3823 * manual/memory.texi: Update descriptor of malloc hooks.
3825 * posix/Makefile (routines): Add waitid.
3826 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
3828 * posix/sys/wait.h: Define idtype_t type.
3829 Add prototype for waitid.
3830 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
3831 * sysdeps/generic/waitid.c: Stub for waitid.
3832 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
3833 the __need_siginfo_t defined.
3834 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
3835 * sysdeps/generic/bits/types.h: Define __id_t.
3836 Correct definition of __FDMASK.
3837 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3838 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3841 * sysdeps/posix/waitid.c: New file.
3842 Provided by Zack Weinberg.
3844 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
3846 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3847 Add missing parameters.
3849 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
3850 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
3851 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
3852 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
3855 * sysdeps/i386/dl-machine.h: Little cleanup.
3857 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
3858 (__finite): Mark function as const.
3859 Add inline code for __ieee754_atan2.
3861 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
3862 (but don't use it now).
3863 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
3865 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
3866 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
3867 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
3869 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
3870 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
3871 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
3872 __ieee754_atan2 to base 10.
3873 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
3874 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
3876 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
3877 old_kernel_sigaction.
3879 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
3881 * wctype/Makefile (routines): Add wctype_l.
3882 * wctype/wctype.h: Add declaration of __wctype_l.
3883 * wctype/wctype_l.c: New file.
3885 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
3887 * locale/C-ctype.c: Correct data for isw* functions.
3888 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
3890 * wctype/test_wctype.c: Add test for isw* functions.
3891 * wctype/wctype.c: Return value with expected byte order.
3893 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3895 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
3897 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
3899 * iconvdata/Makefile: Fix a typo.
3901 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
3902 oldsiglist for shared library.
3904 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
3905 sys_sigabbrev): Make them as the default version GLIBC_2.1.
3907 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
3908 sys_siglist, sys_sigabbrev): New file. Make them as the old
3911 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
3914 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
3916 * libio/iofgets.c (_IO_fgets): Return an error only if there
3918 * libio/iogets.c (_IO_gets): Ditto.
3920 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
3922 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
3924 * libio/Makefile (routines, shared-only-routines): Add
3927 * libio/fileops.c: Don't use _IO_FILE_complete.
3928 * libio/iofdopen.c: Ditto.
3929 * libio/iofopen.c: Ditto.
3930 * libio/iofopen64.c: Ditto.
3931 * libio/iopopen.c: Ditto.
3932 * libio/iovdprintf.c: Ditto.
3934 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
3936 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
3937 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
3939 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
3940 _IO_old_fdopen, _IO_new_fdopen): New declaration.
3942 * libio/libio.h (_IO_FILE): Add more fields.
3943 (_IO_FILE_complete): Defined and make _IO_FILE be the old
3944 one if _IO_USE_OLD_IO_FILE is defined
3945 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
3946 them _IO_FILE_complete.
3948 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
3950 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
3952 (_IO_FILE_complete): Commented out.
3954 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
3955 * libio/oldiofclose.c: Ditto.
3956 * libio/oldiofopen.c: Ditto.
3957 * libio/oldstdfiles.c: Ditto.
3959 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
3960 for the old _IO_FILE.
3962 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
3963 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
3966 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
3969 * libio/stdio.c (stdin, stdout, stdin): Don't use
3972 * libio/oldiofdopen.c: New.
3974 * stdio-common/vfprintf.c (buffered_vfprintf): Set
3975 hp->_vtable_offset to 0.
3977 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
3979 * libc.map (_IO_file_open): Added.
3981 * libio/libioP.h (_IO_file_open): Declared.
3983 * libio/fileops.c (_IO_file_open): New.
3984 (_IO_file_fopen): Call _IO_file_open ().
3986 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
3987 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3989 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3991 * signal/signal.h: Fix selection of signal semantics to match
3994 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3996 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
3997 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
3999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
4000 [$(subdir)=signal]: Remove rt_sigreturn.
4001 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
4002 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
4003 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
4005 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4007 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
4010 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4012 * iconvdata/extra-module.mk: Expand extra-objs now.
4014 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4016 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
4017 inline functions by feature tests to avoid warning about missing
4018 prototype declarations.
4020 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4022 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
4023 return code for non existent +name entries.
4024 * nis/nss_compat/compat-pwd.c: Likewise.
4025 * nis/nss_compat/compat-spwd.c: Likewise.
4027 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
4029 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
4033 (__errno_location): Likewise.
4035 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
4037 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
4039 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4041 * sunrpc/publickey.c: Use new NSS interface.
4043 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
4045 * manual/malloc.texi: Document mtrace/muntrace and the concept.
4047 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4049 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
4050 value, to match spirit of the standard.
4051 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
4052 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
4053 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4055 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4057 * manual/signal.texi (Signal Stack): Remove spurious @item.
4059 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4061 * rt/aio.h: Remove double semicolon.
4063 * rt/librt.map: Add aio_init.
4065 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
4067 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
4068 * Makefile (subdirs): Replace rt by $(rt).
4070 * shlib-versions: Use version .2 for NSS modules.
4072 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
4074 * pwd/fgetpwent_r.c: Likewise.
4075 * spwd/fgetspent_r.c: Likewise.
4076 * spwd/sgetspent_r.c: Likewise.
4077 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
4078 Store error number in *ERRNOP. Little optimization.
4079 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
4080 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
4081 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4082 (__internal_getnetgrent_r): New argument.
4083 Call __internal_setnetgrent_reuse with new argument.
4084 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
4085 * inet/netgroup.h: Add argument to prototypes.
4086 * nis/nisplus-parser.h: Likewise.
4087 * nis/nss_compat/compat-grp.c: Change everything to store error
4088 code through provided pointer and not use errno.
4089 * nis/nss_compat/compat-pwd.c: Likewise.
4090 * nis/nss_compat/compat-spwd.c: Likewise.
4091 * nis/nss_nis/nis-alias.c: Likewise.
4092 * nis/nss_nis/nis-ethers.c: Likewise.
4093 * nis/nss_nis/nis-grp.c: Likewise.
4094 * nis/nss_nis/nis-hosts.c: Likewise.
4095 * nis/nss_nis/nis-netgrp.c: Likewise.
4096 * nis/nss_nis/nis-network.c: Likewise.
4097 * nis/nss_nis/nis-proto.c: Likewise.
4098 * nis/nss_nis/nis-publickey.c: Likewise.
4099 * nis/nss_nis/nis-pwd.c: Likewise.
4100 * nis/nss_nis/nis-rpc.c: Likewise.
4101 * nis/nss_nis/nis-service.c: Likewise.
4102 * nis/nss_nis/nis-spwd.c: Likewise.
4103 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4104 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4105 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4106 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4107 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4108 * nis/nss_nisplus/nisplus-network.c: Likewise.
4109 * nis/nss_nisplus/nisplus-parser.c: Likewise.
4110 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4111 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4112 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4113 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4114 * nis/nss_nisplus/nisplus-service.c: Likewise.
4115 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4116 * nss/nss_db/db-XXX.c: Likewise.
4117 * nss/nss_db/db-alias.c: Likewise.
4118 * nss/nss_db/db-netgrp.c: Likewise.
4119 * nss/nss_files/files-XXX.c: Likewise
4120 * nss/nss_files/files-alias.c: Likewise
4121 * nss/nss_files/files-netgrp.c: Likewise
4122 * nss/nss_files/files-parse.c: Likewise
4123 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
4124 parameter of get functions.
4125 * nss/getXXent_r.c: Likewise.
4127 * localedata/tst-fmon.c: Print debug info if test fails.
4129 * rt/Makefile (routines): Add aio_notify.
4130 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
4131 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
4132 * rt/aio_fsync.c: Likewise.
4133 * rt/aio_misc.c: Likewise.
4134 * rt/aio_misc.h: Likewise.
4135 * rt/aio_read.c: Likewise.
4136 * rt/aio_read64.c: Likewise.
4137 * rt/aio_suspend.c: Likewise.
4138 * rt/aio_write.c: Likewise.
4139 * rt/aio_write64.c: Likewise.
4140 * rt/lio_listio.c: Likewise.
4141 * rt/lio_listio64.c: Likewise.
4142 * rt/aio_notify.c: New file.
4144 * sysdeps/generic/bits/sigset.h: Pretty print.
4146 * sysdeps/posix/pwrite.c: Define weak alias only if function is
4147 really defined as __pwrite.
4149 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
4151 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4153 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4154 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
4155 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
4157 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4158 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4159 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
4160 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4161 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4162 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4163 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
4165 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
4167 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
4168 __NR_pread is not defined.
4169 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
4170 __NR_pwrite is not defined.
4172 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4174 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
4175 handle for /etc/group back in some more cases.
4176 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
4177 handle for /etc/passwd back in some more cases.
4178 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
4179 handle for /etc/shadow back in some more cases.
4181 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
4183 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
4185 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
4186 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
4188 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
4190 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
4191 handling. Don't use macros, we need functions. Use inline functions
4193 * sysdeps/wordsize-64/inttypes.h: Likewise.
4194 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
4196 * sysdeps/wordsize-64/Makefile: Likewise.
4197 * sysdeps/wordsize-32/Dist: Likewise.
4198 * sysdeps/wordsize-64/Dist: Likewise.
4199 * sysdeps/wordsize-32/strtoimax.c: New file.
4200 * sysdeps/wordsize-32/strtoumax.c: New file.
4201 * sysdeps/wordsize-32/wcstoimax.c: New file.
4202 * sysdeps/wordsize-32/wcstoumax.c: New file.
4203 * sysdeps/wordsize-64/strtoimax.c: New file.
4204 * sysdeps/wordsize-64/strtoumax.c: New file.
4205 * sysdeps/wordsize-64/wcstoimax.c: New file.
4206 * sysdeps/wordsize-64/wcstoumax.c: New file.
4208 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
4210 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
4211 that transparent union works.
4212 * sysdeps/generic/wait4.c (__wait4): Likewise.
4213 * sysdeps/generic/wait.c (__wait): Likewise.
4215 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
4218 * sysdeps/generic/syscall.c (syscall): Return value and arg are
4219 long, to match prototype.
4221 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
4224 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
4226 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
4228 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
4230 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
4233 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
4235 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
4237 * io/sys/stat.h (S_ISLNK): Always false if we don't have
4240 * sysdeps/standalone/close.c (_STDIO_H): Define before including
4242 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
4244 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
4246 * posix/sys/wait.h: Don't use transparent unions in C++.
4248 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4250 * time/time.h: Add strfxtime.
4252 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
4253 sysv_signal, strfxtime, pread64, pwrite64.
4255 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
4257 Alpha changes for EGCS:
4258 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
4259 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
4260 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
4262 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
4264 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
4266 The kernel expects the arguments in a different order.
4267 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
4268 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
4271 * gen-FAQ.pl: New file.
4272 * Makefile (FAQ): Add rule to generate from FAQ.in.
4274 * iconvdata/Makefile: Treat libJIS like the other modules.
4276 * rt/librt.map: New file.
4278 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
4280 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
4283 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
4285 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
4286 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4287 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
4288 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4290 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4292 * string/bits/string2.h: Fix spellings.
4294 * string/string.h: Fix spellings.
4296 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4298 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
4299 declaration to __syscall_rt_sigaction.
4301 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
4302 non-existant <sigcontext.h>.
4304 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4306 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
4309 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4311 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
4313 * Makeconfig (shared-thread-library): Correct spelling.
4315 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
4318 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4320 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
4321 constants from Linux headers. Pointed out by
4322 csmall@scooter.o.i.net. [PR libc/369]
4324 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4326 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
4328 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
4330 * configure.in: If --enable-add-ons is given without an
4331 argument, set the addons list to all subdirs with a configure
4334 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
4336 * Makeconfig: Add shared-thread-library variable.
4338 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
4339 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
4341 * sysdeps/m68k/fpu/e_acos.c: Likewise.
4342 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4343 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4344 * sysdeps/m68k/fpu/e_pow.c: Likewise.
4345 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4346 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4347 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4348 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4349 * sysdeps/m68k/fpu/s_atan.c: Likewise.
4350 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4351 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4352 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4353 * sysdeps/m68k/fpu/s_csin.c: Likewise.
4354 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4355 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4356 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4357 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4358 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4359 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4360 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4361 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4362 * sysdeps/m68k/fpu/s_modf.c: Likewise.
4363 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4364 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4365 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4367 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
4368 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
4369 * signal/Makefile (headers): Add bits/siginfo.h.
4370 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
4371 (distribute): Add testrtsig.h.
4372 * signal/allocrtsig.c: New file.
4373 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
4374 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
4375 __libc_current_sigrtmax.
4376 * sysdeps/generic/sigqueue.c: New file.
4377 * sysdeps/generic/sigtimedwait.c: New file.
4378 * sysdeps/generic/sigwaitinfo.c: New file.
4379 * sysdeps/generic/testrtsig.h: New file.
4380 * sysdeps/generic/bits/siginfo.h: New file.
4381 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
4382 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
4383 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
4384 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
4385 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
4386 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
4387 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
4388 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
4389 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
4390 * sysdeps/unix/sysv/linux/sigpending.c: New file.
4391 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
4392 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
4393 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
4394 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
4395 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
4396 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
4397 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
4398 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
4399 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
4400 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
4401 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
4402 and _POSIX_REALTIME_SIGNALS.
4403 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
4404 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
4406 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
4407 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
4410 * Makefile (subdirs): Add rt.
4411 * shlib-versions: Add entry for librt.
4412 * rt/Makefile: New file.
4413 * rt/aio.h: New file.
4414 * rt/aio_cancel.c: New file.
4415 * rt/aio_error.c: New file.
4416 * rt/aio_fsync.c: New file.
4417 * rt/aio_misc.c: New file.
4418 * rt/aio_misc.h: New file.
4419 * rt/aio_read.c: New file.
4420 * rt/aio_read64.c: New file.
4421 * rt/aio_return.c: New file.
4422 * rt/aio_suspend.c: New file.
4423 * rt/aio_write.c: New file.
4424 * rt/aio_write64.c: New file.
4425 * rt/lio_listio.c: New file.
4426 * rt/lio_listio64.c: New file.
4427 * sysdeps/generic/aio_sigqueue.c: New file.
4428 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
4429 * sysdeps/unix/sysv/linux/Dist: Add new files
4430 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4431 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
4432 rt_sigqueueinfo, rt_sigaction.
4434 * posix/Makefile (headers): Add bits/environments.h.
4435 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
4436 and _CS_LFS_CFLAGS on 64bit platforms.
4437 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
4438 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
4439 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
4440 compilation modules.
4441 * sysdeps/wordsize-32/bits/environments.h: New file.
4442 * sysdeps/wordsize-64/bits/environments.h: New file.
4444 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
4445 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
4447 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
4450 * string/string.h: Add declaration of __strverscmp.
4451 * string/strverscmp.c: Rename function ot __strverscmp and make old
4454 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
4455 * sysdeps/generic/enbl-secure.c: Likewise.
4456 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4458 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
4460 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
4462 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
4464 * posix/sys/wait.h: Use __transparent_union__ instead of
4465 transparent_union. Reported by Roland McGrath.
4467 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4469 * resolv/inet_neta.c (inet_neta): Change type of first parameter
4470 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
4473 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
4475 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
4477 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4479 * grp/initgroups.c: Increase buffer if it is too small.
4481 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
4483 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
4484 fields, this is no ISO C. Reported by Andreas Jaeger.
4486 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4488 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
4490 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
4492 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
4493 _SYS_UTSNAME_H not _UTSNAME_H.
4495 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4497 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
4500 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4502 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
4503 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
4504 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
4506 * math/libm-test.c (csqrt_test): Add testcase.
4508 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
4510 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
4511 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
4512 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
4514 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4516 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
4518 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4520 * math/libm-test.c (acos_test): Add more tests.
4521 (asin_test): Likewise.
4522 (atan_test): Likewise.
4523 (exp_test): Likewise.
4524 (sin_test): Likewise.
4525 (sqrt_test): Likewise.
4526 (cpow_test): Likewise.
4527 (csqrt_test): Likewise.
4528 (cexp_test): Correct typo in gcc version test.
4530 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
4532 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
4534 * sysdeps/arm/setjmp.S: Likewise.
4536 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
4538 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
4540 * stdio/stdio.h: Add prototype for tmpfile64().
4542 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
4544 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
4545 prototype to keep in step with libio version.
4547 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
4549 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
4551 * sysdeps/generic/Makefile: Don't try to use make_siglist if
4554 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
4556 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
4557 load GOT ptr before jumping to _exit.
4558 Reported by Xavier Leroy.
4560 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
4562 * Makefile (subdirs): Add iconvdata and localedata.
4564 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
4566 * iconv/gconv_conf.c (read_conf_file): Little optimization.
4568 * iconvdata/8bit-gap.c: New file.
4569 * iconvdata/8bit-generic.c: Renamed from ...
4570 * iconvdata/iso8859-generic.c: ...this.
4571 * iconvdata/configure: Removed.
4572 * iconvdata/Makefile: Add new modules and better rules.
4573 * iconvdata/iso6937.c: Minor bug fixes.
4574 * iconvdata/iso8859-1.c: Likewise.
4575 * iconvdata/t61.c: Likewise.
4576 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
4578 * iconvdata/iso8859-3.c: Likewise.
4579 * iconvdata/iso8859-4.c: Likewise.
4580 * iconvdata/iso8859-5.c: Likewise.
4581 * iconvdata/iso8859-6.c: Likewise.
4582 * iconvdata/iso8859-7.c: Likewise.
4583 * iconvdata/iso8859-8.c: Likewise.
4584 * iconvdata/iso8859-9.c: Likewise.
4585 * iconvdata/iso8859-10.c: Likewise.
4586 * iconvdata/ebcdic-at-de-a.c: New file.
4587 * iconvdata/ebcdic-at-de.c: New file.
4588 * iconvdata/ebcdic-ca-fr.c: New file.
4589 * iconvdata/hp-roman8.c: New file.
4590 * iconvdata/koi-8.c: New file.
4591 * iconvdata/koi8-r.c: New file.
4592 * iconvdata/koi8-h.c: New file.
4593 * iconvdata/latin-greek-1.c: New file.
4594 * iconvdata/latin-greek-1.h: New file.
4595 * iconvdata/latin-greek.c: New file.
4596 * iconvdata/latin-greek.h: New file.
4597 * iconvdata/jis0201.c: New file.
4598 * iconvdata/jis0201.h: New file.
4599 * iconvdata/jis0208.c: New file.
4600 * iconvdata/jis0208.h: New file.
4601 * iconvdata/jis0212.c: New file.
4602 * iconvdata/jis0212.h: New file.
4603 * iconvdata/sjis.c: New file.
4604 * iconvdata/gap.pl: New file. Script to generate table header.
4605 * iconvdata/gaptab.pl: New file.
4606 * iconvdata/gconv-modules: Add info about new modules.
4608 * locale/programs/charmap.c: Also examine alias names given in charmap
4611 * localedata/*: Add to here from add-on. We need the information
4612 to generate tables for iconv.
4614 Update from db-2.3.14.
4615 * db2/Makefile: Updated.
4616 * db2/config.h: Likewise.
4617 * db2/db.h: Likewise.
4618 * db2/db_int.h: Likewise.
4619 * db2/btree/bt_cursor.c: Likewise.
4620 * db2/btree/bt_delete.c: Likewise.
4621 * db2/btree/bt_put.c: Likewise.
4622 * db2/btree/bt_search.c: Likewise.
4623 * db2/btree/bt_split.c: Likewise.
4624 * db2/btree/btree_auto.c: Likewise.
4625 * db2/common/db_appinit.c: Likewise.
4626 * db2/common/db_apprec.c: Likewise.
4627 * db2/common/db_err.c: Likewise.
4628 * db2/common/db_region.c: Likewise.
4629 * db2/db/db_auto.c: Likewise.
4630 * db2/db/db_dispatch.c: Likewise.
4631 * db2/db/db_ret.c: Likewise.
4632 * db2/dbm/dbm.c: Likewise.
4633 * db2/hash/hash_auto.c: Likewise.
4634 * db2/include/btree_ext.h: Likewise.
4635 * db2/include/common_ext.h: Likewise.
4636 * db2/include/db.h.src: Likewise.
4637 * db2/include/db_cxx.h: Likewise.
4638 * db2/include/db_ext.h: Likewise.
4639 * db2/include/db_int.h.src: Likewise.
4640 * db2/include/lock.h: Likewise.
4641 * db2/include/log.h: Likewise.
4642 * db2/include/mp.h: Likewise.
4643 * db2/include/mp_ext.h: Likewise.
4644 * db2/include/os_ext.h: Likewise.
4645 * db2/include/os_func.h: Likewise.
4646 * db2/lock/lock.c: Likewise.
4647 * db2/lock/lock_deadlock.c: Likewise.
4648 * db2/log/log.c: Likewise.
4649 * db2/log/log_archive.c: Likewise.
4650 * db2/log/log_auto.c: Likewise.
4651 * db2/log/log_get.c: Likewise.
4652 * db2/log/log_put.c: Likewise.
4653 * db2/mp/mp_bh.c: Likewise.
4654 * db2/mp/mp_fget.c: Likewise.
4655 * db2/mp/mp_fopen.c: Likewise.
4656 * db2/mp/mp_fput.c: Likewise.
4657 * db2/mp/mp_fset.c: Likewise.
4658 * db2/mp/mp_open.c: Likewise.
4659 * db2/mp/mp_pr.c: Likewise.
4660 * db2/mp/mp_region.c: Likewise.
4661 * db2/mp/mp_sync.c: Likewise.
4662 * db2/mutex/README: Likewise.
4663 * db2/mutex/mutex.c: Likewise.
4664 * db2/os/os_open.c: Likewise.
4665 * db2/os/os_func.c: Removed.
4666 * db2/os/os_config.c: New file.
4667 * db2/os/os_spin.c: New file.
4668 * db2/txn/txn.c: Likewise.
4669 * db2/txn/txn_auto.c: Likewise.
4671 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
4673 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
4674 __typeof for C++ since this fails for class members.
4675 Reported by Neal Becker <neal@ctd.comsat.com>.
4677 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
4679 * configure.in: Check for a working makeinfo (3.11 or better).
4680 * config.make.in: Add MAKEINFO to be substituted.
4681 * manual/Makefile: Don't update info if makeinfo is too old.
4683 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
4685 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
4686 * sysdeps/alpha/__longjmp.S: Likewise.
4687 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
4688 not <bits/termios.h>.
4690 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
4691 __llseek and make llseek and lseek64 weak aliases.
4692 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4693 Patches by a sun <asun@zoology.washington.edu>.
4695 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
4697 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
4698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4700 * misc/sys/syslog.h: Clean up BSD header.
4702 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4704 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
4706 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
4708 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
4709 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
4711 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
4712 csqrt (-1), ctanh(i*pi/4).
4714 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4716 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
4718 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
4720 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
4722 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4724 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
4726 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
4728 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
4729 and use. Define GETCWD_RETURN_TYPE instead and use it.
4730 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
4731 of GETCWD_STORYGE_CLASS and put the return type and the
4732 `internal_function' in the right order for gcc 2.7.2.
4734 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4736 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
4737 incompatible with Linux 2.1.x. Packages using modules
4738 (e.g. modutils) should/do provide their own version. Suggested by
4741 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
4743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4744 [$(subdir)=socket]: Remove sys/module.h.
4746 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
4748 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4749 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
4751 * iconv/gconv_close.c: Correct freeing of descriptor data.
4752 * iconv/gconv_simple.c: Return correct error values for illegal or
4753 incomplete characters.
4755 * Makefile (iconvdata/%): Special goal to simplify iconvdata
4757 * iconvdata/Makefile: New file.
4758 * iconvdata/configure: Likewise.
4759 * iconvdata/extra-module.mk: Likewise.
4760 * iconvdata/gconv-modules: Likewise.
4761 * iconvdata/iso6937.c: Likewise.
4762 * iconvdata/iso8859-1.c: Likewise.
4763 * iconvdata/iso8859-10.c: Likewise.
4764 * iconvdata/iso8859-10.h: Likewise.
4765 * iconvdata/iso8859-2.c: Likewise.
4766 * iconvdata/iso8859-2.h: Likewise.
4767 * iconvdata/iso8859-3.c: Likewise.
4768 * iconvdata/iso8859-3.h: Likewise.
4769 * iconvdata/iso8859-4.c: Likewise.
4770 * iconvdata/iso8859-4.h: Likewise.
4771 * iconvdata/iso8859-5.c: Likewise.
4772 * iconvdata/iso8859-5.h: Likewise.
4773 * iconvdata/iso8859-6.c: Likewise.
4774 * iconvdata/iso8859-6.h: Likewise.
4775 * iconvdata/iso8859-7.c: Likewise.
4776 * iconvdata/iso8859-7.h: Likewise.
4777 * iconvdata/iso8859-8.c: Likewise.
4778 * iconvdata/iso8859-8.h: Likewise.
4779 * iconvdata/iso8859-9.c: Likewise.
4780 * iconvdata/iso8859-9.h: Likewise.
4781 * iconvdata/iso8859-generic.c: Likewise.
4782 * iconvdata/t61.c: Likewise.
4784 * string/Makefile (routines): Add strcasestr.
4785 * string/string.h: Add prototype for strcasestr.
4786 * sysdeps/generic/strcasestr.c: New file.
4787 * wcsmbs/mbrtowc.c: Simplify special case a bit.
4788 * wcsmbs/wcrtomb.c: Likewise.
4789 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
4790 * wcsmbs/wcsnrtombs.c: Likewise.
4791 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
4792 partial character is read.
4793 * wcsmbs/wcsrtombs.c: Likewise.
4794 * wcsmbs/wmemrtombs.c: Likewise.
4795 * wcsmbs/wmemrtowcs.c: Likewise.
4797 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
4798 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
4799 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
4800 * sysdeps/i386/elf/setjmp.S: Likewise.
4801 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
4804 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
4805 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
4807 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
4808 * sysvipc/sys/ipc.h: Likewise.
4809 * sysvipc/sys/msg.h: Likewise.
4810 * sysvipc/sys/sem.h: Likewise.
4811 * sysvipc/sys/shm.h: Likewise.
4813 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
4815 * sysdeps/alpha/bits/setjmp.h: Likewise.
4816 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4817 * sysdeps/arm/bits/endian.h: Likewise.
4818 * sysdeps/arm/bits/setjmp.h: Likewise.
4819 * sysdeps/generic/bits/byteswap.h: Likewise.
4820 * sysdeps/generic/bits/confname.h: Likewise.
4821 * sysdeps/generic/bits/dirent.h: Likewise.
4822 * sysdeps/generic/bits/dlfcn.h: Likewise.
4823 * sysdeps/generic/bits/endian.h: Likewise.
4824 * sysdeps/generic/bits/fenv.h: Likewise.
4825 * sysdeps/generic/bits/huge_val.h: Likewise.
4826 * sysdeps/generic/bits/in.h: Likewise.
4827 * sysdeps/generic/bits/ioctl-types.h: Likewise.
4828 * sysdeps/generic/bits/ioctls.h: Likewise.
4829 * sysdeps/generic/bits/ipc.h: Likewise.
4830 * sysdeps/generic/bits/msq.h: Likewise.
4831 * sysdeps/generic/bits/poll.h: Likewise.
4832 * sysdeps/generic/bits/resource.h: Likewise.
4833 * sysdeps/generic/bits/sched.h: Likewise.
4834 * sysdeps/generic/bits/sem.h: Likewise.
4835 * sysdeps/generic/bits/setjmp.h: Likewise.
4836 * sysdeps/generic/bits/shm.h: Likewise.
4837 * sysdeps/generic/bits/sigaction.h: Likewise.
4838 * sysdeps/generic/bits/sigcontext.h: Likewise.
4839 * sysdeps/generic/bits/socket.h: Likewise.
4840 * sysdeps/generic/bits/stat.h: Likewise.
4841 * sysdeps/generic/bits/statfs.h: Likewise.
4842 * sysdeps/generic/bits/stdio_lim.h: Likewise.
4843 * sysdeps/generic/bits/termios.h: Likewise.
4844 * sysdeps/generic/bits/time.h: Likewise.
4845 * sysdeps/generic/bits/uio.h: Likewise.
4846 * sysdeps/generic/bits/utmp.h: Likewise.
4847 * sysdeps/generic/bits/utmpx.h: Likewise.
4848 * sysdeps/generic/bits/utsname.h: Likewise.
4849 * sysdeps/generic/bits/waitflags.h: Likewise.
4850 * sysdeps/generic/bits/waitstatus.h: Likewise.
4851 * sysdeps/gnu/bits/utmp.h: Likewise.
4852 * sysdeps/gnu/bits/utmpx.h: Likewise.
4853 * sysdeps/i386/bits/byteswap.h: Likewise.
4854 * sysdeps/i386/bits/endian.h: Likewise.
4855 * sysdeps/i386/bits/huge_val.h: Likewise.
4856 * sysdeps/i386/bits/setjmp.h: Likewise.
4857 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4858 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4859 * sysdeps/m68k/bits/byteswap.h: Likewise.
4860 * sysdeps/m68k/bits/endian.h: Likewise.
4861 * sysdeps/m68k/bits/setjmp.h: Likewise.
4862 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4863 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
4864 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4865 * sysdeps/mach/hurd/bits/stat.h: Likewise.
4866 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
4867 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
4868 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
4869 * sysdeps/mips/bits/dlfcn.h: Likewise.
4870 * sysdeps/mips/bits/endian.h: Likewise.
4871 * sysdeps/mips/bits/setjmp.h: Likewise.
4872 * sysdeps/mips/dec/bits/endian.h: Likewise.
4873 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
4874 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
4875 * sysdeps/mips/p40/bits/endian.h: Likewise.
4876 * sysdeps/powerpc/bits/endian.h: Likewise.
4877 * sysdeps/powerpc/bits/fenv.h: Likewise.
4878 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4879 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
4880 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4881 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4882 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
4883 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4884 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
4885 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4886 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
4887 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
4888 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4889 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
4890 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
4891 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
4892 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
4893 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
4894 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
4895 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
4896 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
4897 * sysdeps/unix/common/bits/dirent.h: Likewise.
4898 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
4899 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4900 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4901 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4902 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
4903 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4904 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
4905 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4906 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4907 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4908 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4909 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4910 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4911 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
4912 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
4914 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
4915 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4916 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4917 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4918 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4919 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4920 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4921 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4922 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
4923 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4925 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4926 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
4927 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4928 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4929 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4930 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
4931 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
4932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4933 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4934 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4935 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
4937 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4938 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
4939 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4940 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4941 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4942 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4943 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4944 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4945 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4946 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4947 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4954 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
4955 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
4956 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
4957 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4958 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
4959 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
4960 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4961 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
4962 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
4963 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4964 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4965 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
4966 * sysdeps/vax/bits/huge_val.h: Likewise.
4967 * sysdeps/vax/bits/setjmp.h: Likewise.
4968 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
4969 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
4971 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4973 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
4975 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
4977 * strftime.c (strftime):
4978 No longer any need to undef or declare if emacs is defined.
4979 (my_strftime): When checking a -1 returned by mktime, don't blow up
4980 if localtime_r returns NULL.
4982 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4984 * README.template: Fix spelling.
4986 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4988 * configure.in: Enhance --enable-add-ons description a wee bit.
4990 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4992 * glibcbug.in: Add more information of build environment and flags.
4994 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4996 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
4999 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
5001 * elf/dl-support.c: Call __libc_init_secure to make sure
5002 __libc_enable_secure is defined early.
5003 * sysdeps/generic/enbl-secure.c: Change function name to
5004 __libc_init_secure and make it global instead of a constructor.
5006 * iconv/gconv.c: Fix lots of bugs.
5007 * iconv/gconv.h: Likewise.
5008 * iconv/gconv_builtin.h: Likewise.
5009 * iconv/gconv_close.c: Likewise.
5010 * iconv/gconv_conf.c: Likewise.
5011 * iconv/gconv_db.c: Likewise.
5012 * iconv/gconv_dl.c: Likewise.
5013 * iconv/gconv_open.c: Likewise.
5014 * iconv/gconv_simple.c: Likewise.
5015 * iconv/iconv.c: Likewise.
5016 * iconv/iconv_close.c: Likewise.
5017 * iconv/iconv_open.c: Likewise.
5019 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
5020 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
5021 * wcsmbs/wmemrtombs.c: New file.
5022 * wcsmbs/wmemrtowcs.c: New file.
5024 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
5026 * iconv/gconv_simple.c: Fix lots of bugs.
5027 * iconv/iconv_open.c: Normalize names before passing them to
5030 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
5032 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
5033 * stdio-common/test-popen.c: Add test for above change.
5035 * math/libm-test.c: Print test results also using %a format,
5036 specified in PRINTF_XEXPR macro.
5037 * math/test-double.c: Define PRINTF_XEXPR.
5038 * math/test-float.c: Likewise.
5039 * math/test-ldouble.c: Likewise.
5040 * math/test-idouble.c: Likewise.
5041 * math/test-ifloat.c: Likewise.
5042 * math/test-ildoubl.c: Likewise.
5044 * stdio-common/vfscanf.c: Recognize a in format specifier only as
5045 modifier if used before s, S, or [. Otherwise it's the hexadecimal
5048 * stdlib/strtod.c: Little code cleanup.
5050 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
5051 compiling in math subdir.
5053 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
5054 instead of __LIBC_M81_MATH_INLINES.
5055 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5056 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5057 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5058 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5059 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5060 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5061 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5062 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5063 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5064 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5065 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5066 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5067 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5068 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5069 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5070 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5071 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5072 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5073 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5074 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5075 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5076 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5077 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5078 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5079 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
5080 __LIBC_INTERNAL_MATH_INLINES is defined.
5082 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
5083 of compare macros from ISO C 9X. Optimize generic versions a bit.
5084 Define __signbit inline functions and __ieee754_sqrt which can be
5085 used if the ompiler is fixed.
5087 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
5089 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5091 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
5092 sysdeps/generic in the whole dep file, not only in the first line.
5094 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5096 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
5098 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5100 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
5103 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5105 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
5108 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
5110 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
5113 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
5115 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
5116 readlink succeeds but the return value is too long.
5118 * stdio-common/printf_fphex.c: Determine sign of number correctly.
5120 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
5122 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
5125 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
5127 * sysdeps/generic/sys/ucontext.h: Stub context file.
5129 * libio/iofprintf.c: Removed. We use the stdio-common version.
5131 * manual/Makefile (distribute): Add stdio-fp.c.
5133 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
5135 * db2/Makefile (distribute): Add include/os_func.h, README and
5138 * hesiod/Makefile (distribute): Add README.hesiod.
5140 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
5142 * iconv/gconv.c: Correctly call transformation function.
5144 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
5146 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5148 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
5149 wrong results for e.g. remquo (3,2, &x)).
5150 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
5151 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
5153 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5155 * configure.in (ld --version-script): Test if the same symbol
5156 maybe defined in all versions (needed by recent changes to
5157 libc.map and supported with binutils 2.8.1.0.17) and issue warning
5158 if versioning is not supported/enabled.
5159 (bash test): Correct test case.
5161 * math/libm-test.c: Added counting/reporting of number of test cases.
5163 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
5166 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
5168 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5170 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
5172 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
5174 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
5175 Replace revoke call by use of REVOKE.
5176 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
5177 empty and #include generic version.
5178 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5180 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
5182 * libc.map: Add socket functions with __libc_* names.
5183 Reported by Andreas Jaeger.
5185 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5187 * libc.map: Tidy up (remove duplicates, sort entries).
5189 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5191 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
5193 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
5195 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
5196 again after successful call.
5197 Patch by Marc Lehmann <pcg@goof.com>.
5199 1997-11-17 Paul Eggert <eggert@twinsun.com>
5201 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
5202 as some hosts need this to declare localtime_r properly.
5204 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
5206 * libc.map: Add iconv_open, iconv, and iconv_close.
5208 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
5210 * iconv/Makefile: New file.
5211 * iconv/gconv.c: New file.
5212 * iconv/gconv.h: New file.
5213 * iconv/gconv_builtin.c: New file.
5214 * iconv/gconv_builtin.h: New file.
5215 * iconv/gconv_close.c: New file.
5216 * iconv/gconv_conf.c: New file.
5217 * iconv/gconv_db.c: New file.
5218 * iconv/gconv_dl.c: New file.
5219 * iconv/gconv_open.c: New file.
5220 * iconv/gconv_simple.c: New file.
5221 * iconv/iconv.c: New file.
5222 * iconv/iconv.h: New file.
5223 * iconv/iconv_close.c: New file.
5224 * iconv/iconv_open.c: New file.
5225 * include/gconv.h: New file.
5227 * Makeconfig: Define gconvdir.
5228 * Makefile (subdirs): Add iconv.
5230 * string/bits/string2.h: Add optimization for strtok_r.
5232 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
5234 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5235 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
5237 * configure.in: Correct test for bash2.
5238 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5240 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
5241 (CFLAGS-locfile.c): Likewise.
5242 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5244 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
5245 non-existing entry if the table is full.
5247 * posix/regex.h: Pretty print.
5249 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
5251 * sysdeps/posix/ctermid.c: Simplify a bit.
5253 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
5255 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5257 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
5258 <sys/types.h> instead of <asm/types.h>.
5260 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5262 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
5264 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
5266 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
5267 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
5268 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
5269 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
5270 fclose): Added to GLIBC_2.1.
5272 * libio/Makefile (routines, shared-only-routines): Add
5273 oldiofclose. Remove oldfreopen.
5275 * libio/freopen.c (freopen): When PIC is defined, call
5276 _IO_old_freopen () for old stdio.
5278 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
5279 (_IO_fclose, fclose): Use _IO_new_fclose as default version
5282 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
5283 instead of _IO_file_close_it.
5285 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
5287 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
5290 * libio/libioP.h (_IO_old_do_flush): New.
5292 * libio/oldfileops.c (_IO_old_file_close_it,
5293 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
5294 Call _IO_old_do_flush () instead of _IO_do_flush ().
5295 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
5298 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
5299 instead of _IO_file_init ().
5300 Bind old symbols to version GLIBC_2.0.
5302 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
5303 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
5305 (_IO_check_libio): New function in .init.
5307 * libio/oldiofclose.c: New file.
5309 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
5310 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
5311 (DEF_STDFILE): Don't use default_symbol_version.
5313 * libio/stdio.c (stdin, stdout, stderr): Set to
5315 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
5318 * csu/Makefile (distribute): Add init.c.
5319 (extra-objs): Add init.o for ELF.
5320 (start-installed-name): Add $(objpfx)init.o.
5322 * csu/init.c: New file.
5324 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
5326 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
5327 definition as the default.
5329 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
5331 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
5333 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5335 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
5338 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
5340 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
5341 to preserve condition codes on function call.
5343 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5345 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
5347 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5349 * math/libm-test.c (asin_test): Add epsilon for float.
5350 (tan_test): Add epsilon for float.
5351 (log1p_test): Add epsilon for float.
5352 (inverse_functions): Add epsilons.
5354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
5357 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
5359 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5361 * md5-crypt/Makefile (extra-objs): Make recursively expanded
5362 variable, since $(object-suffixes) is not defined yet.
5364 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5366 * db2/Makefile (distribute): db185/db185_int.src ->
5369 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5371 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
5374 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5376 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
5378 * sysdeps/generic/e_acosl.c: Likewise.
5379 * sysdeps/generic/e_asinl.c: Likewise.
5380 * sysdeps/generic/e_atan2l.c: Likewise.
5381 * sysdeps/generic/e_expl.c: Likewise.
5382 * sysdeps/generic/e_fmodl.c: Likewise.
5383 * sysdeps/generic/e_j0l.c: Likewise.
5384 * sysdeps/generic/e_j1l.c: Likewise.
5385 * sysdeps/generic/e_jnl.c: Likewise.
5386 * sysdeps/generic/e_lgammal_r.c: Likewise.
5387 * sysdeps/generic/e_log10l.c: Likewise.
5388 * sysdeps/generic/e_logl.c: Likewise.
5389 * sysdeps/generic/e_powl.c: Likewise.
5390 * sysdeps/generic/e_sqrtl.c: Likewise.
5391 * sysdeps/generic/e_exp2l.c: Likewise.
5393 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5395 * Make-dist (+sysdep-names): Remove extra paren.
5396 * Makefile (distribute): Add stub-tag.h.
5397 * elf/Makefile (distribute): Add atomicity.h.
5398 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
5399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5400 [$(subdir)=socket]: Add net/if_packet.h.
5401 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
5402 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
5403 net/if_packet.h, scsi/sg.h.
5405 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5407 * Makefile (install): Quote $(CC) expansion.
5409 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5411 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
5412 working /proc cwd and no restrictions on path length. Following
5413 some ideas from Andi Kleen <ak@muc.de> (PR 350).
5415 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5417 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
5418 * nis/nss_compat/compat-pwd.c: Likewise.
5419 * nis/nss_compat/compat-spwd.c: Likewise.
5421 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
5423 * sysdeps/libm-i387/s_fdim.S: New file.
5424 * sysdeps/libm-i387/s_fdimf.S: New file.
5425 * sysdeps/libm-i387/s_fdiml.S: New file.
5426 * sysdeps/libm-i387/i686/s_fdim.S: New file.
5427 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
5428 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
5430 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5432 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
5433 pointer to unsigned char.
5435 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5437 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
5439 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
5441 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
5443 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5445 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
5447 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
5448 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
5450 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
5452 * sysdeps/libm-i387/s_fmin.S: New file.
5453 * sysdeps/libm-i387/s_fminf.S: New file.
5454 * sysdeps/libm-i387/s_fminl.S: New file.
5455 * sysdeps/libm-i387/s_fmax.S: New file.
5456 * sysdeps/libm-i387/s_fmaxf.S: New file.
5457 * sysdeps/libm-i387/s_fmaxl.S: New file.
5458 * sysdeps/libm-i387/i686/s_fmin.S: New file.
5459 * sysdeps/libm-i387/i686/s_fminf.S: New file.
5460 * sysdeps/libm-i387/i686/s_fminl.S: New file.
5461 * sysdeps/libm-i387/i686/s_fmax.S: New file.
5462 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
5463 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
5465 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
5467 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
5468 * sysdeps/unix/sysv/linux/send.S: Likewise.
5469 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5470 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5471 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5472 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5473 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5474 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5475 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
5477 See ChangeLog.7 for earlier changes.