1 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
3 * posix/wordexp.c: Rewrite parse_param.
4 Patch by Tim Waugh and. Andreas Schwab.
6 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
8 * Rules: Update timestamps on empty object files.
10 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
12 * manual/filesys.texi (Scanning Directory Content): Add description
13 of 64 bits scandir function and friends.
15 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
17 * glibcbug.in: Use mktemp to generate unique file name for
20 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
21 ptsname_r. Use cast for execve call.
23 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
25 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
26 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
27 * io/sys/statvfs.h: New file.
28 * sysdeps/generic/fstatvfs.h: New file.
29 * sysdeps/generic/statvfs.h: New file.
30 * sysdeps/generic/fstatvfs64.h: New file.
31 * sysdeps/generic/statvfs64.h: New file.
32 * sysdeps/generic/bits/statvfs.h: New file.
33 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
34 * sysdeps/unix/sysv/linux/statvfs.c: New file.
35 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
37 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
40 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
41 mount options in enum.
43 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
45 * configure.in: Check for recent egcs/gcc.
47 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
49 * libc.map: Add alphasort64, scandir64, versionsort64.
50 * dirent/Makefile (routines): Add scandir64, alphasort64, and
52 * dirent/alphasort64.c: New file.
53 * dirent/scandir64.c: New file.
54 * dirent/versionsort64.c: New file.
55 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
57 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
59 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61 * dirent/alphasort.c: Use strcoll instead of strcmp.
63 * dirent/scandir.c: Optimize a bit.
65 * dirent/versionsort.c: Pretty print.
67 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
69 * string/string.h: Add prototype for __strtok_r.
71 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
73 * posix/Makefile: Fix typo in last change.
75 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
77 * dirent/dirent.h (scandir): Make argument of select function const.
78 * dirent/scandir.c (scandir): Likewise.
79 Reported by David.Faure@insa-lyon.fr [PR libc/512].
81 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
83 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
85 * sysdeps/i386/strtok_r.c: Likewise.
87 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
88 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
89 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
90 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
91 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
92 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
94 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
96 * intl/localealias.c: Remove unneeded define for strdup.
98 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
100 * manual/argp.texi: Adjust for better TeX output.
101 * manual/arith.texi: Likewise.
102 * manual/conf.texi: Likewise.
103 * manual/filesys.texi: Likewise.
104 * manual/header.texi: Likewise.
105 * manual/lgpl.texinfo: Likewise.
106 * manual/math.texi: Likewise.
107 * manual/message.texi: Likewise.
108 * manual/pattern.texi: Likewise.
109 * manual/process.texi: Likewise.
110 * manual/signal.texi: Likewise.
111 * manual/socket.texi: Likewise.
112 * manual/startup.texi: Likewise.
113 * manual/stdio.texi: Likewise.
114 * manual/terminal.texi: Likewise.
115 * manual/examples/rprintf.c: Likewise.
116 * manual/examples/testopt.c: Likewise.
117 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
119 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
121 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
122 parameter name after seeing a digit if it's enclosed in braces.
124 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
126 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
128 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
130 * manual/memory.texi (Heap Consistency Checking): Document
131 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
133 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
135 * manual/Makefile: Add missing rules.
137 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
139 * timezone/Makefile (generated): Define to remove all stamp files.
141 * sysdeps/generic/strsep.c: Also undefine __strsep.
143 * string/strdup.c: Undefine __strdup and strdup first.
144 * string/strndup.c: Likewise.
146 * string/bits/string2.h: Correct strtok_r and strsep.
147 Add strndup optimization.
149 * sysdeps/generic/strsep.c: Little optimization.
151 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
153 * string/bits/string2.h: Add optimization for strdup.
154 Always define __strsep and __strtok_r and make real names available
155 when feature select macros are defined.
157 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
159 * manual/install.texi (Installation): Use i486-linux as example
160 instead of the unsupported sunos4.
161 (Reporting Bugs): Mention glibcbug script.
162 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
164 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
166 * posix/wordexp-tst.sh: Make portable. Add more tests.
168 * posix/Makefile (do-globtest do-wordexp-test): New targets.
170 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
172 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
173 * sysdeps/generic/libc-start.c: ...here, replacing former content.
175 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
178 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
180 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
182 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
183 in enumerator for strict standard compliance.
184 * sysdeps/generic/bits/resource.h: Likewise.
186 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
188 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
191 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
192 longjmp() when floating point enabled.
193 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
194 * sysdeps/arm/__longjmp.S: Remove floating point code.
195 * sysdeps/arm/setjmp.S: Likewise.
197 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
198 * sysdeps/arm/bsd-_setjmp.S: Likewise.
200 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
203 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
206 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
208 Based on patches from Pat Beirne and Scott Bambrough:
210 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
212 * sysdeps/arm/bits/fenv.h: New file.
214 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
215 * sysdeps/arm/elf/setjmp.S: Likewise.
216 * sysdeps/arm/elf/start.S: Likewise.
217 * sysdeps/arm/init-first.c: Likewise.
218 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
219 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
220 comment about floating point to reflect current reality.
222 * sysdeps/unix/arm/brk.S: Support PIC.
223 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
225 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
226 return; call syscall_error through PLT.
227 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
229 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
231 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
232 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
235 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
237 * dirent/list.c (test): Return error value.
238 (main): Exit with error value.
240 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
242 * Makefile (distribute): Add test-skeleton.c.
243 * test-skeleton.c: New file.
244 * dirent/Makefile (tests): Add opendir-tst1.
245 * dirent/opendir-tst1.c: New file.
247 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
249 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
250 Optimize memory handling.
251 * sysdeps/unix/closedir.c: Optmize memory handling.
253 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
255 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
256 handling. Optimize a bit.
258 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
260 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
261 (parse_param): Fold in Andreas' fixes to do with when the end of
262 the parameter name has been reached, and quoting inside ${...}.
263 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
266 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
268 * manual/maint.texi: Split out installation and contribution
269 sections to their own appendices. Misc cleanups.
270 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
271 * manual/contrib.texi: New file.
272 * manual/libc.texinfo: Pull in new appendices.
273 * manual/header.texi: Correct node pointer.
275 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
277 * manual/process.texi (Process Completion): Clarify return value
278 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
280 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
282 * posix/wordexp-test.c: Add more tests.
285 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
286 /dev/null instead of closing it, close pipe. Always chop off all
287 trailing newlines. Kill and reap child before returning error.
288 (w_addword, parse_glob): Fix memory leak.
289 (wordexp): Fix dangling pointer problem.
291 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
293 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
295 * posix/wordexp-test.c (main): Fix little thinkos and typos.
297 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
298 directory index by only the language.
300 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
302 * posix/wordexp-tst.sh: Store test results in the
303 ${common_objpfx}posix directory.
305 * posix/wordexp-test.c: Remove temporary directory afterwards.
307 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
309 * libc.map: Export internal versions of cancelable functions.
311 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
313 * Makerules (MAKEFLAGS): Append `r'.
315 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
317 * Makeconfig: Define have-thread-library, shared-thread-library
318 and static-thread-library if a thread library is available. Don't
320 * nscd/Makefile: Compile nscd if have-thread-library. Rename
321 nscd-routines to nscd-modules. Use shared-thread-library and
322 static-thread-library in dependencies.
323 * rt/Makefile: Only compile librt if have-thread-library is
325 * Makefile (subdirs): Always include rt subdir.
327 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
329 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
331 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
333 * configure.in: Recognize variations for 32 MIPS processors.
334 Don't assume ELF systems always have .weak, test for .weakext.
336 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
338 * configure.in: Irix6 is an ELF platform.
340 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
342 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
343 unmapping the last loaded segment.
345 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
347 * configure.in: Set base_os for Irix6.
348 Correct test for .weakext.
350 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
352 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
353 (new_line) to _dl_debug_message call.
355 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
357 * posix/wordexp.c (parse_param): Perform field-splitting after
358 expanding positional parameter.
360 * posix/wordexp-tst.sh: Test that field-splitting is performed
361 after expanding positional parameter.
363 * posix/wordexp.c (parse_param): Fixed memory leak in
364 field-splitting after parameter expansion.
366 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
368 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
369 (get_toplvl_escape): Correctly terminate loop at EOF.
370 Patch by Cristian Gafton <gafton@redhat.com>.
372 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
374 * string/tester.c (test_strpbrk): Add more strpbrk tests.
375 (test_strsep): Likewise. Correct horrible bugs.
377 * string/bits/string2.h (strcspn): Optimize also reject string of
381 (strsep): Likewise. Correct bug with successive separators and
382 separators at the end of the string.
383 * sysdeps/generic/strsep.c: Correct bug with successive separators
384 and separators at the end of the string.
386 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
388 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
389 etc) now handled, as well as $$ (pid).
391 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
392 (distribute): Add wordexp-tst.sh.
394 * posix/wordexp-tst.sh: New file.
396 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
397 number of positional parameters. Renamed substitute_length to
399 Don't free(env) is env is NULL.
401 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
403 * libc.map: Add pthread_attr_init to GLIBC_2.1.
405 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
407 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
408 for output file replacing gmon.out.
409 Patch by Dean Gaudet <dgaudet@arctic.org>.
411 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
413 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
414 up namespace. Optimize finding end of line.
416 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
418 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
420 (process_dl_debug): Add ':' to list of separators. Optimized.
422 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
424 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
425 isless, islessequal, islessgreater, isunordered): Return zero or
428 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
430 * posix/wordexp-test.c: More tests.
431 (main): Set up arena for pathname expansion tests (in a temporary
433 (testit): Don't check word count or word vector if return value is
436 * posix/wordexp.c (exec_comm): Always chop off terminating
437 linefeed (just like bash does).
438 (parse_param): Change lots of occurrences of "if (!*env)" to "if
440 (parse_param): For assignment inside parameter expansion, use all
441 expanded words in assignment rather than just the first.
442 (parse_param): Corrected return value for parameter expansion of
443 an unset variable when WRDE_UNDEF is in effect.
444 (parse_dollars): Don't field-split if quoted.
445 (wordexp): Opening brace character isn't allowed unquoted.
447 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
449 * elf/dlerror.c: Fix concurrency problems with error string and
452 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
453 filter/auxiliary are being loaded.
455 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
457 * elf/dlerror.c (last_object_name): Removed.
458 (dlerror): Don't use last_object_name.
459 (_dl_error_run): Omit second argument to _dl_catch_error.
460 * elf/dl-error.c (struct catch): Remove objname member.
461 (_dl_signal_error): Construct string including objname when given.
462 (_dl_catch_error): Remove objname handling.
463 * elf/link.h (_dl_catch_error): Fix prototype and comment.
464 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
465 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
466 * nss/nsswitch.c (nss_dlerror_run): Likewise.
467 * iconv/gconv_dl.c (dlerror_run): Likewise.
468 [Corrects PR libc/501].
470 1998-03-12 Matthias Urlichs <smurf@noris.de>
472 * nscd/nscd.c: Ignore SIGPIPE.
474 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
476 * nscd/nscd_getgr_r.c: Use __ protected names.
477 * nscd/nscd_getpw_r.c: Likewise.
479 1998-03-12 Matthias Urlichs <smurf@noris.de>
481 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
482 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
483 null bytes are not transmitted.
485 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
487 * powerpc/syscalls.list: Correct typo.
488 * alpha/syscalls.list: Likewise.
489 * mips/syscalls.list: Likewise.
491 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
493 * socket/sys/socket.h: Add prototype for __socket.
495 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
497 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
499 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
502 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
504 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
507 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
508 AF_* and PF_* constants.
510 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
512 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
514 * elf/rtld.c: Update help message.
515 Install link maps for preloaded objects using main_map as loader.
517 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
518 * elf/dl-profile.c: Likewise.
520 * elf/dlsym.c: Little optimization.
521 * elf/dlvsym.c: Likewise.
523 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
525 * posix/wordexp-test.c: Move test for parameter list at the very
528 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
530 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
531 WRDE_REUSE flag is set.
532 (parse_param): Allow `*', `@', and numbers in parameter names.
533 (parse_dollars): Differentiate between arithmetic expansion and a
534 command substitution that starts immediately with a sub-shell
535 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
536 (parse_param): Memory allocated with __alloca in a block was
537 referenced outside that block. Adjusted to use malloc/free.
538 (parse_param): Adjusted field-splitting algorithm so that there is
539 not necessarily a field split at the end of a parameter expansion.
541 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
543 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
544 don't free words that have already been allocated.
545 (parse_param): A dollar sign on its own will never have a pattern
546 associated with it (like "${HOME%%/}" has), so don't try to free it.
547 (parse_glob): Attempt to glob when an unquoted `[' is found
548 (rather than an unquoted '{' (!)). Also for unquoted '?'.
549 (parse_glob): Sorted out quoting in a glob-able word.
550 (parse_param): Added $* and $@ handling.
552 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
554 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
557 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
559 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
562 1998-03-12 Matthias Urlichs <smurf@noris.de>
564 * elf/dl-misc.c: Default for debug output should be stderr.
565 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
566 * elf/dl-lookup.c: reference_name may be NULL or empty.
568 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
570 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
572 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
574 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
576 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
578 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
580 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
583 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
585 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
588 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
590 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
593 * misc/syslog.c (vsyslog): Don't try to send if not connected to
595 (closelog_internal): Don't do anything if not connected.
597 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
599 * libc.map: Add _dl_debug_message.
600 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
602 * elf/fini.c: Correctly use new _dl_debug_message function.
603 * elf/init.c: Likewise.
604 * elf/dl-lookup.c: Likewise.
605 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
606 * elf/dl-load.c: Likewise. Add more debugging prints.
607 * elf/dl-reloc.c: Likewise.
608 * elf/dl-version.c: Likewise.
609 * elf/dl-support.c: Add variables for debugging.
610 * elf/rtld.c: Likewise. Recognize new debug options.
611 * elf/link.h: Declare new variables.
613 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
615 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
617 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
618 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
620 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
622 * posix/wordexp-test.c (command_line_test): New function to allow
623 testing of specific cases from the command-line.
625 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
627 * elf/dl-init.c (_dl_init_next): Print nicer messages.
628 * elf/dl-fini.c (_dl_fini): Likewise.
629 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
631 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
632 symbol in debug message.
633 (_dl_lookup_versioned_symbol_skip): Likewise.
635 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
637 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
638 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
639 * manual/filesys/texi: Document this.
641 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
643 * manual/filesys.texi: Document the change below.
645 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
647 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
648 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
650 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
652 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
653 instead scope. If debugging display information about symbol
655 (_dl_lookup_symbol): Call do_lookup with correct parameters.
656 (_dl_lookup_symbol_skip): Likewise.
657 (_dl_lookup_versioned_symbol): Likewise.
658 (_dl_lookup_versioned_symbol_skip): Likewise.
659 * elf/dl-support.c: Define _dl_debug_symbols.
660 * elf/link.h: Add declaration for _dl_debug_symbols.
661 * elf/rtld.c: Define _dl_debug_symbols.
662 (process_dl_debug): Recognize symbols option.
664 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
666 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
668 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
669 with correct parameters.
670 [!PIC]: Initialize __libc_multiple_libcs.
672 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
674 * elf/dl-support.c (_dl_debug_bindings): Add definition.
675 * elf/rtld.c (_dl_debug_bindings): Add definition.
676 (process_dl_debug): Recognize bindings option. Update help message.
677 * elf/link.h (struct link_map): Add l_versyms member.
678 (_dl_debug_bindings): Add declaration.
679 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
680 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
682 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
683 (sym_val): Remove a member, add m as link_map.
684 (do_lookup): Return result appropriately.
685 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
686 Call do_lookup correctly.
687 (_dl_lookup_symbol_skip): Likewise.
688 (_dl_lookup_versioned_symbol): Likewise.
689 (_dl_lookup_versioned_symbol_skip): Likewise.
691 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
693 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
694 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
696 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
697 * libc.map: Add chown to GLIBC_2.1.
698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
699 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
701 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
703 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
705 * sysdeps/alpha/ffs.c: Likewise.
706 * sysdeps/am29k/ffs.c: Likewise.
707 * sysdeps/i386/ffs.c: Likewise.
708 * sysdeps/i960/ffs.c: Likewise.
709 * sysdeps/m68k/ffs.c: Likewise.
710 * sysdeps/m88k/ffs.c: Likewise.
711 * sysdeps/powerpc/ffs.c: Likewise.
712 * sysdeps/rs6000/ffs.c: Likewise.
713 * sysdeps/vax/ffs.s: Likewise.
714 * string/string.h: Declare __ffs.
715 * libc.map: Export it.
716 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
717 __builtin_ffs, which is not guaranteed to be namespace clean.
719 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
721 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
722 table, which is much more likely to exist than debugging symbols.
723 (printsym): Remove const.
724 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
727 * libc.map: Export __profile_frequency, used by elf/sprof, to
728 avoid infinite recursion during startup.
730 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
732 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
735 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
737 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
739 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
741 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
743 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
744 LD_PRELOAD, and LD_VERBOSE.
745 (dl_main): Use global variables set by process_envvars instead of
747 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
748 LD_LIBRARY_PATH value, this comes with the parameter.
749 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
750 ("LD_LIBRARY_PATH") to _dl_init_paths.
752 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
754 * elf/rtld.c (dl_main): Delay initialization of path structure if
755 the dynamically linker is invoked implicitly until we read the
758 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
760 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
762 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
764 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
767 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
769 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
771 * Makeconfig (nisobjdir): Set to path to nis directory.
772 (rpath-link): Add nisobjdir.
773 Patch by Sven Verdoolaege <skimo@kotnet.org>.
775 * elf/Makefile: Pretty print.
776 * elf/dl-lookup.c: Include unistd.h.
777 * elf/dl-runtime.c: Likewise.
779 * localedata/Makefile (test-srcs): Add tst-rpmatch.
780 (distribute): Add tst-rpmatch.sh.
781 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
783 New tests for rpmatch function by
784 Jochen Hein <jochen.hein@delphi.central.de>.
785 * localedata/tst-rpmatch.c: New file.
786 * localedata/tst-rpmatch.sh: New file.
788 * localedata/locales/de_DE: Correct yesexpr and noexpr.
789 * localedata/locales/de_AT: Likewise.
791 * posix/getopt.c: Update contact address.
792 * posix/getopt1.c: Pretty print.
794 * sysdeps/generic/libc-start.c: Do most of the initialization now
795 here instead of in start.S.
796 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
797 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
799 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
800 profil_counter to be public.
802 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
804 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
805 (parse_param): Coded parameter length expansion (${#var}).
806 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
807 (parse_param): Cleaned up (fixed) error handling.
809 * posix/wordexp-test.c: IFS now includes non-whitespace character
810 (comma). Added more tests.
812 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
814 * elf/link.h: Fix typos.
815 Reported by Andreas Jaeger.
817 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
818 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
820 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
822 * argp/argp-help.c: Remove last bits of using gettext instead of
825 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
827 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
829 * csu/Makefile (routines): Add libc-start.
830 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
831 * elf/dl-lookup.c: Likewise.
832 * elf/dl-version.c: Likewise.
833 * sysdeps/i386/dl-machine.h: Likewise.
834 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
835 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
836 _dl_sysdep_message macros which use _dl_sysdep_output.
837 * elf/dl-fini.c: Write out which destructor is called while debugging.
838 * elf/dl-init.c: Likewise for constructor.
839 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
840 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
841 _dl_sysdep_message. Add _dl_sysdep_output.
842 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
843 this file can be opened.
844 For LD_DEBUG=libs also set _dl_debug_impcalls.
845 * sysdeps/generic/dl-cache.c: Include unistd.h.
846 * sysdeps/generic/libc-start.c: New file.
847 * sysdeps/unix/sysv/linux/libc-start.c: New file.
848 * sysdeps/i386/elf/start.S: Don't call main directly, call
849 __libc_start_main instead.
851 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
853 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
855 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
857 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
859 * argp/argp.h (struct argp): Add new field domain.
860 * argp/argp-help.c: Change all gettext calls to dgettext and use
861 domain field from appropriate argp in call.
862 * argp/argp-parse.c: Likewise.
864 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
866 * posix/wordexp-test.c: Change testsuite so that it can run even
869 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
871 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
873 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
875 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
876 Don't store into global errno if we already store through
878 * sysdeps/unix/i386/sysdep.S: Likewise.
879 * sysdeps/unix/alpha/sysdep.S: Likewise.
880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
883 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
886 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
888 * sysdeps/generic/sysdep.h (L): Remove definition.
889 * sysdeps/i386/sysdep.h (L): Define it here instead.
891 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
893 * nis/nis_call.c (__do_niscall): Safe and reset errno.
895 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
897 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
899 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
900 declaration style to avoid warnings.
902 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
904 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
907 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
909 * posix/Makefile (tests): Add wordexp-test.
910 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
911 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
913 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
915 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
918 * elf/link.h (struct r_search_path_elem): Add two new field for
920 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
921 variable accordingly.
922 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
923 is considered next along with information about load paths.
924 * sysdeps/generic/dl-cache.c: Likewise.
925 * elf/dl-support.c: Define _dl_debug_libs.
926 * elf/genrtldtbl.awk: Add initializers for two new field in
927 struct r_search_path_elem.
929 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
931 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
932 * sysdeps/m68k/lshift.S: Likewise.
933 * sysdeps/m68k/rshift.S: Likewise.
934 * sysdeps/m68k/sub_n.S: Likewise.
935 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
936 * sysdeps/m68k/m68020/mul_1.S: Likewise.
937 * sysdeps/m68k/m68020/submul_1.S: Likewise.
939 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
940 [_LIBC_REENTRANT]: Don't store into global errno.
942 * sysdeps/m68k/sysdep.h: New file.
943 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
944 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
945 (DO_CALL): Change to expect syscall name as argument.
946 (PSEUDO): Pass syscall_name to DO_CALL.
947 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
950 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
952 * elf/rtld.c: Speed up processing of environment variables. Do
953 only one run on the environment by avoiding to call getenv.
954 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
955 function. Used by patch above.
957 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
959 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
961 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
962 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
963 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
965 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
967 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
968 module cannot be found. Reported by Andreas Jaeger.
970 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
972 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
973 on platforms which default to unsigned chars.
974 * nscd/nscd_getpw_r.c: Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
978 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
980 * elf/Makefile (install-bin): Change = to += for sprof to install
983 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
985 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
987 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
989 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
991 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
993 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
994 that a failure to connect to nscd doesn't change errno.
996 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
998 * manual/maint.texi (Reporting Bugs): Change
999 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
1001 * locale/iso-4217.def: Likewise
1003 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
1005 * manual/texinfo.tex: Updated.
1007 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1009 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
1011 * sysdeps/posix/pathconf.c: Likewise.
1012 * posix/getconf.c: Print `undefined' if pathconf returns -1
1013 without setting errno.
1015 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
1017 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
1019 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1020 Patches by Elliot Lee <sopwith@cuc.edu>.
1022 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
1024 * elf/link.h (struct link_map): Add new field l_reloc_result.
1025 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
1026 of relocation for the object to be profiled.
1027 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
1029 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
1031 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
1032 contains a result from a previous run use this instead of computing
1034 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
1036 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1038 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
1039 offsets into the GOT.
1040 (RTLD_START): Likewise.
1042 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
1044 * elf/sprof.c: Cleanup a bit.
1046 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
1048 * sysdeps/generic/sysdep.h (L): New. Define.
1050 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
1052 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
1054 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
1055 to have only one exit point for functions.
1056 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1057 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
1058 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
1059 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1060 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1062 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1064 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
1065 reset errno so that errno isn't set to ENOSYS in the first call.
1066 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
1067 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1068 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1069 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1071 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
1073 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
1074 * sysdeps/i386/addmul_1.S: Likewise.
1075 * sysdeps/i386/lshift.S: Likewise.
1076 * sysdeps/i386/mul_1.S: Likewise.
1077 * sysdeps/i386/rshift.S: Likewise.
1078 * sysdeps/i386/sub_n.S: Likewise.
1079 * sysdeps/i386/submul_1.S: Likewise.
1080 * sysdeps/i386/i586/add_n.S: Likewise.
1081 * sysdeps/i386/i586/addmul_1.S: Likewise.
1082 * sysdeps/i386/i586/lshift.S: Likewise.
1083 * sysdeps/i386/i586/mul_1.S: Likewise.
1084 * sysdeps/i386/i586/rshift.S: Likewise.
1085 * sysdeps/i386/i586/sub_n.S: Likewise.
1086 * sysdeps/i386/i586/submul_1.S: Likewise.
1088 * sysdeps/i386/sysdep.h: Extend last change.
1090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
1091 to have only one exit point for functions.
1093 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1095 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
1098 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
1100 * Makerules: Generate libc.so with absolute paths for the used
1103 * config.make.in: Add MAKEINFO definition.
1105 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1107 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
1108 (ENTRY): Use STABS_FUN.
1109 (END): Use STABS_FUN_END.
1110 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
1112 * elf/Makefile: Add rules to build sprof program.
1113 * elf/sprof.c: New file.
1115 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1117 * misc/syslog.c (openlog_internal): Insert missing closing brace.
1119 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121 * configure.in: Check for working msgfmt version (from GNU gettext
1124 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1126 * configure.in: Avoid //s in sysdirs.
1127 Patch by Roland McGrath.
1129 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1131 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
1133 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
1134 setting _dl_global_scope for RTLD_GLOBAL.
1136 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1138 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
1139 possible lists of object-suffixes are taken care of.
1141 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
1143 * timezone/private.h: Update from tzcode1998c.
1144 * timezone/zic.c: Likewise.
1145 * timezone/antarctica: Updated from tzdata1998c.
1146 * timezone/asia: Likewise.
1147 * timezone/australasia: Likewise.
1148 * timezone/europe: Likewise.
1149 * timezone/southamerica: Likewise.
1151 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1153 * posix/glob.c (glob_in_dir): Add support for cases insensitive
1154 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
1156 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
1158 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
1159 Changed type of TWO43, TWO52 from float to double.
1160 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
1161 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
1162 Changed type of TWO43 from float to double.
1163 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
1166 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
1168 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
1169 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
1170 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1172 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
1174 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
1176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
1177 Clean up random whitespace.
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1183 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
1185 * shlib-versions: Match alpha*.
1186 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
1187 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
1189 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
1190 Implement copysign* with and without __ prefix.
1191 Likewise for fabs; use builtin for gcc 2.8.
1195 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
1196 (R_SPARC*): Match current v9 ABI.
1198 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
1200 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
1201 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1202 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
1203 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
1204 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1205 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1206 * sysdeps/unix/grantpt.c (argv): Fix consts.
1207 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
1208 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1210 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1212 * misc/syslog.c: Change to allow user the interpretation of the
1213 outcome even with syslog having no return value.
1215 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1217 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
1218 that the number of program headers is >0 (which is wrong for the
1221 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1223 * Makefile (distribute): Add README.libm.
1225 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1227 * time/clocktest.c (main): Correct typo: "--" -> "==".
1229 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
1231 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
1233 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
1236 * math/libm.map (__atan2): Added.
1238 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1240 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
1241 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1243 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
1246 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1248 * manual/arith.texi (Old-style number conversion): Correct
1249 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1251 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1253 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
1254 but does not require it. Handle missing argv[] values gracefully.
1255 * posix/execl.c: Likewise.
1256 * posix/execle.c: Likewise.
1258 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1260 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
1262 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1264 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1266 * libc.map: Add __adjtimex.
1268 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1270 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1273 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
1275 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
1278 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
1280 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
1281 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
1283 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
1286 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
1288 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1289 Added adjtimex and old_adjtimex.
1291 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
1293 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
1294 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
1296 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
1297 symbols only for shared library.
1298 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1299 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1300 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1301 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1302 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1303 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1304 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1306 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
1307 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1308 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1309 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1310 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1311 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1312 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1313 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1315 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
1318 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
1320 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
1321 timex and __adjtimex, respectively.
1323 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
1325 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
1327 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
1329 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
1330 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
1332 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
1334 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
1336 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
1338 * Makefile.in: Disable built-in rules.
1340 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1342 * sysdeps/i386/fpu/t_exp.c: Move to ...
1343 * sysdeps/libm-i387/t_exp.c: ... here.
1345 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
1347 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
1348 from __exp2_deltatable.
1350 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
1352 * nis/ypclnt.c (yp_master): Check result of strdup.
1353 Patch by Thorsten Kukuk.
1355 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1357 * nis/ypclnt.c: Give clnt handle after error checking free, change
1358 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
1360 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
1362 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
1363 Patch by Joe Keane <jgk@jgk.org>.
1365 * misc/fstab.h (struct fstab): Change fs_type member to be const.
1366 * misc/fstab.c: Remove casts in fs_type assignments.
1368 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1370 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
1371 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
1372 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
1373 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
1374 * sysdeps/powerpc/bits/fenv.h: Likewise.
1375 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1376 * sysdeps/generic/bits/fenv.h: Likewise.
1377 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1378 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
1379 * sysdeps/powerpc/test-arith.c (main): Likewise.
1381 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
1383 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
1384 the comparison macros.
1386 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
1388 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
1389 (__log2): Fixed return values.
1390 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1392 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
1394 * math/math.h (isunordered): Rename local variables to ensure
1395 correct code. Reported by HJ Lu.
1397 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
1399 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1400 isless, islessequal, islessgreater, isunordered): Fix syntax for
1401 fucompip instruction.
1402 (isless, islessequal): Fix logic.
1404 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1406 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
1407 (comparisons_test): New tests for comparison macros.
1409 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
1411 * Makeconfig: Filter out frame-pointer effecting options when
1412 compiling profiling or debugging code.
1413 * config.h.in (internal_function): Don't define here if PROF is
1415 * gmon/gmon.c (__moncontrol): Don't change state if already in error
1417 (__monstartup): If calloc fails set error state and mark array as
1419 (_mcleanup): Don't call write_gmon if in error state. Don't try
1420 to free array if not successfully allocated.
1422 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
1423 Include elf.h to get macro definitions.
1424 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
1426 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
1428 * elf/ldd.sh.in: Add compatibility for broken old shells.
1429 * elf/ldd.bash.in: Likewise.
1431 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
1433 * sunrpc/rpc_main.c (open_input): Check pipe return error.
1435 * time/clocktest.c (main): Check signal return error.
1437 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1439 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
1440 "/" and use do-install-program. Reported by Mark M. Kettenis.
1441 (subdir_install): Likewise.
1443 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1445 * sunrpc/rpc_sample.c: Fix typo.
1447 * nscd/connections.c: Use locale.
1448 * nscd/grpcache.c: Add debug messages, gidtbl should get the
1450 * nscd/nscd.c: Check if init functions fails.
1451 * nscd/nscd_conf.c: Allow disabling of group cache.
1452 * nscd/nscd_getgr_r.c: Fix return code if group not found.
1453 * nscd/pwdcache.c: Fix debug messages.
1455 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1457 * libc.map: Add __monstartup and _mcleanup for profiling support.
1459 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1461 * libc.map: Export __getpagesize, for binary compatibility with
1464 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1466 * posix/globtest.sh: Use --library-path instead of
1468 * localedata/sort-test.sh: Likewise.
1469 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
1471 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1473 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
1474 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
1475 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1477 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1478 kernel_sigaction): Define.
1479 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
1480 kernel_sigaction): Define.
1482 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1484 * math/libm-test.c: Change epsilons for libm-ieee754.
1486 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
1488 * sysdeps/i386/__longjmp.S: Fix race condition.
1489 Reported by Bruno Haible <haible@ilog.fr>.
1491 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
1493 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
1494 * iconvdata/8bit-gap.c: Likewise.
1495 * iconvdata/8bit-generic.c: Likewise.
1496 * iconvdata/iso6937.c: Likewise.
1497 * iconvdata/iso8859-1.c: Likewise.
1498 * iconvdata/sjis.c: Likewise.
1499 * iconvdata/t61.c: Likewise.
1501 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1503 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
1504 feature tests by positive feature tests.
1506 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1508 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
1510 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
1512 * elf/dlvsym.c (dlvsym_doit): More corrections.
1513 Patch by Andreas Jaeger.
1515 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
1517 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
1519 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
1521 * libc.map: More reordering for GLIBC_2.1 symbols.
1523 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1525 * libc.map: Move some functions from version GLIBC_2.0 to
1526 GLIBC_2.1, reorder declarations.
1528 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
1530 * resolv/gethnamaddr.c (addrsort): Make this function extern.
1531 Patch by zab@thebrain.grumblesmurf.net.
1533 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1535 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
1536 NIS+ functions with version GLIBC_2.1.
1538 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
1540 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
1541 with 2.0 binaries. Reported by Thorsten Kukuk.
1543 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1545 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
1547 * elf/dlsym.c (dlsym_doit): Likewise.
1549 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1551 * elf/link.h: Correct typos.
1553 * iconv/iconv_prog.c: Correct typo.
1555 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
1557 * iconv/Makefile: Add rules to build and install iconv program.
1558 * iconv/iconv_prog.c: New file.
1560 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
1562 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
1563 _dl_lookup_symbol_skip call.
1564 * elf/dlvsym.c (dlvsym_doit): Likewise.
1566 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
1568 * libio/iovsscanf.c: Do not include errno.h.
1570 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1572 * elf/dl-load.c (add_name_to_object): Don't translate strings.
1573 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
1574 pulling in the whole error list.
1575 (__dcgettext, dcgettext): Removed.
1576 * libc.map: Export _strerror_internal.
1578 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
1580 * sysdeps/i386/fpu/t_exp.c: New file.
1582 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1584 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
1585 everything with version GLIBC_2.1.
1586 * hesiod/libnss_hesiod.map: Likewise.
1588 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1590 * manual/arith.texi (Old-style number conversion): This node is a
1591 section, not a subsection.
1593 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1595 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
1597 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1599 * elf/rtld.c (dl_main): Make sure that the library search paths
1600 have been initialized before the first call to _dl_map_object.
1602 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1604 * Makerules (common-generated): Add libc_pic.os.
1606 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1608 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
1611 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1613 * sysdeps/m68k/fpu/t_exp.c: New file.
1615 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1617 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
1618 to global errno variable anymore.
1620 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
1622 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
1623 If PRELOADED is nonzero check in case of an SUID application
1624 whether the shared object has the SUID bit set.
1625 Fix some other problems with handling shared objects in system
1626 specific directories.
1627 (_dl_map_object): Also take extra parameter and pass it to open_path.
1628 * elf/link.h (_dl_map_object): Correct prototype and comment.
1629 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
1630 * elf/dl-open.c (_dl_open): Likewise.
1631 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
1633 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
1635 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1637 * math/libm-test.c (modf_test): Add test for 1.5.
1639 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
1640 0 to get always an int.
1642 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1644 * math/libm.map: Move all symbols that are new in glibc 2.1 to
1647 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
1649 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
1650 trying to read another character.
1652 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1654 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
1657 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
1658 name to lowercase, add test for big enough buffer.
1660 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1662 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
1663 Make compatible with older kernels. Patch by Richard Henderson.
1665 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
1667 * elf/dl-load.c (open_path): Use __xstat instead of stat.
1669 * localedata/tst-locale.sh: Comment out first test for now.
1671 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
1673 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
1675 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1678 * libio/iogetline.c (_IO_getline_info): Renamed from
1680 (_IO_getline): Just call _IO_getline_info.
1682 * libio/libioP.h (_IO_getline_info): New declaration.
1684 * libc.map (_IO_getline_info, __write): Added.
1686 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1688 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
1689 const char* to shut up gcc.
1691 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
1693 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
1694 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
1696 * math/math.h: Define M_* constants always as `double' and add new
1697 macros M_*l which are of type `long double'.
1698 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
1699 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
1700 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
1701 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1702 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1703 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1704 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1705 * math/libm-tst.c: Likewise.
1707 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
1708 define as long double unconditionally.
1710 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1712 * manual/arith.texi (Old-style number conversion): Correct some
1715 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
1717 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
1720 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
1722 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
1724 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
1725 on $(rtld-ldscript).
1727 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
1728 starting from 0 not only from `from'.
1729 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1731 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
1733 * elf/rtld.c (dl_main): Recognize --library-path parameter and
1734 pass value (or NULL) to _dl_init_paths.
1735 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
1736 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
1737 environment variable.
1738 * elf/link.h: Change prototype for _dl_init_paths.
1739 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
1741 * localedata/Makefile (distribute): Add test files.
1743 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1745 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
1746 test1.def, test2.def, test3.def, test4.def}: Simple input files
1747 for localedef. Contributed by Yung-Ching Hsiao
1748 <yhsiao@cae.wisc.edu>.
1750 * localedata/Makefile (tests): Call tst-locale.sh.
1752 * localedata/tst-locale.sh: New file, regression tests for some
1755 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1757 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
1759 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
1761 * nis/nss_nisplus/nisplus-network.c: Likewise.
1762 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1763 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1764 * nis/nss_nisplus/nisplus-service.c: Likewise.
1766 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
1767 and support generating thread safe RPC code.
1768 * sunrpc/rpc_main.c: Add changes.
1769 * sunrpc/rpc_clntout.c: Likewise.
1770 * sunrpc/rpc_cout.c: Likewise.
1771 * sunrpc/rpc_hout.c: Likewise.
1772 * sunrpc/rpc_parse.c: Likewise.
1773 * sunrpc/rpc_sample.c: Likewise.
1774 * sunrpc/rpc_scan.c: Likewise.
1775 * sunrpc/rpc_svcout.c: Likewise.
1776 * sunrpc/rpc_util.c: Likewise.
1777 * sunrpc/rpc_util.h: Add new structs and prototypes.
1778 * sunrpc/proto.h: Remove prototypes for static functions.
1780 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1782 * locale/programs/ld-messages.c (messages_finish): Don't skip
1783 error checking when being quiet.
1784 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
1785 (set_class_defaults): Likewise.
1786 * locale/programs/charmap.c (parse_charmap): Likewise.
1787 * locale/programs/ld-collate.c (collate_finish): Likewise.
1788 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
1789 * locale/programs/ld-time.c (time_finish): Likewise.
1790 * locale/programs/locfile.c (write_locale_data): Likewise.
1792 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
1793 unknown characters and empty ranges.
1794 * locale/programs/ld-collate.c (collate_order_elem): When
1795 processing an ellipsis properly form a linked list in the result
1796 table, fix typo when allocating ordering array.
1799 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1801 * elf/Makefile (ld-map): Define.
1802 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
1804 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
1806 (rtld-link): Combine the two versions of this definition. Fixed
1807 to make it work when no symbol versioning is used.
1809 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
1811 * Makeconfig (build-program-cmd): Use --library-path parameter to
1812 ld.so instead of environment variable.
1814 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
1815 * sunrpc/rpc_main.c: Remove support for -$$ option again.
1817 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1819 * Make-dist: Respect with-cvs setting.
1820 * MakeTAGS (all-pot): Likewise.
1821 * sysdeps/sparc/sparc32/Makefile: Likewise.
1822 * sysdeps/mach/hurd/Makefile: Likewise.
1823 * stdlib/Makefile: Likewise.
1824 * posix/Makefile: Likewise.
1825 * intl/Makefile: Likewise.
1826 * po/Makefile (linguas): Likewise
1828 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1830 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
1832 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
1834 * libc.map: Add __strcasecmp.
1836 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
1839 * nss/getXXent_r.c: If no more module is found don't try to call
1840 setXXent functions but leave unsuccessfully.
1842 * malloc/obstack.h: Cleanups.
1844 * sysdeps/wordsize-32/stdint.h: New file.
1845 * sysdeps/wordsize-64/stdint.h: New file.
1846 * sysdeps/generic/stdint.h: New file.
1847 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
1848 * sysdeps/wordsize-64/inttypes.h: Likewise.
1849 * stdlib/Makefile (headers): Add stdint.h.
1851 1998-02-03 Paul Eggert <eggert@twinsun.com>
1853 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
1855 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
1857 * timezone: New directory.
1858 * time/README, time/africa, time/antarctica, time/asia,
1859 time/australasia, time/backward, time/checktab.awk,
1860 time/etcetera, time/europe, time/factory, time/ialloc.c,
1861 time/iso3166.tab, time/leapseconds, time/northamerica,
1862 time/pacificnew, time/private.h, time/scheck.c,
1863 time/solar87, time/solar88, time/solar89, time/southamerica,
1864 time/systemv, time/test-tz.c, time/tzfile.h,
1865 time/tzselect.ksh, time/yearistype, time/zdump.c,
1866 time/zic.c, time/zone.tab: Moved to timezone.
1867 * time/tzfile.c: Include tzfile.h from timezone subdir.
1868 * time/tzset.c: Likewise.
1869 * time/Makefile: Cut out all code relating to timezones...
1870 * timezone/Makefile: ...and paste it in here.
1871 * Makefile (subdirs): Add timezone.
1873 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
1875 * libc.map (_sys_nerr): Added.
1877 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
1880 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
1882 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
1883 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
1884 Reported by Craig Metz <cmetz@inner.net>.
1886 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1888 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
1889 instead of strcasecmp.
1890 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
1892 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
1894 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
1896 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
1897 Patch by Dean Gaudet <dgaudet@arctic.org>.
1899 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
1901 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
1903 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1905 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
1906 with no poll syscall, just include the BSD version.
1907 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
1908 kernel without the syscall, include the stub version.
1909 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1910 * sysdeps/generic/getresuid.c: New file.
1911 * sysdeps/generic/getresgid.c: New file.
1913 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
1915 * stdio-common/vfscanf.c: Correct last change a bit.
1917 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
1919 * elf/Makefile: Don't use --version-script parameter to link ld.so
1922 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
1924 * math/Makefile: Add t_exp.
1925 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
1927 * math/test-reduce.c: Remove temporarily, it seems to be broken.
1928 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
1929 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
1931 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
1932 algorithm for very large/very small arguments.
1933 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
1934 correct algorithm for very large/very small arguments; adjust for
1936 * sysdeps/libm-ieee754/t_exp.c: New file.
1937 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
1939 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
1940 back, with comment that explains what breaks when you remove it :-(.
1942 * localedata/xfrm-test.c: Avoid integer overflow.
1944 * stdlib/strfmon.c: char is unsigned, sometimes.
1946 * sysdeps/powerpc/Makefile: Remove quad float support.
1947 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
1948 * sysdeps/powerpc/quad_float.h: Likewise.
1949 * sysdeps/powerpc/test-arith.c: Likewise.
1950 * sysdeps/powerpc/test-arithf.c: Likewise.
1952 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
1953 * sysdeps/generic/s_exp2f.c: Likewise.
1955 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
1956 don't try anything if _SOFT_FLOAT.
1958 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1960 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
1961 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
1962 * wctype/wctype.c: Likewise.
1963 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
1964 changed. They are incompatible with the _ISxxx values from
1965 <ctype.h> on little endian machines.
1966 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
1967 bit number. This fixes the real bug and restores the integrity of
1968 the ctype locale file.
1969 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
1970 * wctype/wcfuncs_l.c: Likewise.
1971 * wctype/wcextra.c: Likewise.
1972 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
1975 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
1978 into .bss segment instead of .common, so that aliases on it work.
1980 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
1981 .size directives, put into .bss segment instead of initializing it
1984 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
1986 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
1988 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
1990 Make names without __ weak aliases.
1991 (__libc_release, __libc_version): Make them static.
1993 * include/gnu/libc-version.h: New file.
1994 * Makefile (headers): Add gnu/libc-version.h.
1996 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
1998 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
1999 and use x for member name.
2000 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
2002 * stdlib/drand48.c: Change according to member name change.
2003 * stdlib/drand48_r.c: Likewise.
2004 * stdlib/lcong48_r.c: Likewise.
2005 * stdlib/lrand48.c: Likewise.
2006 * stdlib/lrand48_r.c: Likewise.
2007 * stdlib/mrand48.c: Likewise.
2008 * stdlib/mrand48_r.c: Likewise.
2009 * stdlib/seed48.c: Likewise.
2010 * stdlib/seed48_r.c: Likewise.
2011 * stdlib/srand48_r.c: Likewise.
2013 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2015 * nss/test-netdb.c: Add some more test cases.
2017 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
2019 * libio/iovsscanf.c: Undo last change modifying errno.
2021 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2023 * stdio-common/vfscanf.c: Never try to read another character
2024 after EOF. Don't decrement read_in after EOF, it wasn't
2025 incremented in the first place.
2026 (NEXT_WIDE_CHAR): Set First, not first.
2028 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
2030 * db/Makefile ($(inst_libdir)/libndbm.a,
2031 $(inst_libdir)/libndbm.so): New targets.
2032 * db2/Makefile: Likewise.
2034 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
2036 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
2037 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
2039 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2041 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
2043 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2045 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2047 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
2050 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
2052 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
2053 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
2056 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2058 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
2061 * grp/Makefile: Fix logic when checking for thread package.
2062 * pwd/Makefile: Likewise.
2064 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
2066 * elf/Makefile (rtld-map): Replaced by libc-map.
2068 * elf/rtld.map: Removed.
2070 * libc.map (__libc_enable_secure, _dl_catch_error,
2071 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
2072 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
2073 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
2074 _dl_object_relocation_scope, _dl_relocate_object,
2075 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
2076 _r_debug): Added for ld.so.
2078 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
2080 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
2082 * libio/iofdopen.c: Ditto.
2083 * libio/iofopen.c: Ditto.
2084 * libio/oldfileops.c: Ditto.
2086 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
2089 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
2090 oldsiglist from sysdep_routines and shared-only-routines.
2092 * sysdeps/unix/sysv/linux/errlist.c: New.
2093 * sysdeps/unix/sysv/linux/errlist.h: New.
2094 * sysdeps/unix/sysv/linux/sizes.h: New.
2095 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
2096 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
2098 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
2100 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
2101 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
2104 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
2106 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
2107 (oldsiglist.c): Removed.
2109 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
2110 (_sys_siglist): Use SYS_SIGLIST instead.
2111 (_sys_nerr): Use SYS_NERR instead.
2113 * sysdeps/gnu/errlist.c: Rebuilt.
2115 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
2117 * elf/Makefile (others-static): New, set to ldconfig.
2118 ($(objpfx)ldconfig): Removed.
2120 * Rules (binaries-all, binaries-static, binaries-shared): New.
2121 Create targets for $(binaries-static) and $(binaries-shared).
2123 * Makeconfig (+link-static, link-libc-static,
2124 link-extra-libs-static): New for static linking.
2126 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2128 * manual/memory.texi (Using the Memory Debugger): Fix typo.
2130 * math/libm-test.c (modf_test): Add one more test for modf.
2132 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
2134 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2135 Rename from __libc_have_rt_sigs and leave as COMMON data.
2137 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
2139 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
2142 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
2144 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
2146 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
2148 * misc/tst-efgcvt.c: Add yet more tests.
2149 * misc/efgcvt_r.c: And correct for these tests again.
2152 * isomac.c: Move to...
2153 * stdlib/isomac.c: ...here.
2154 * Makefile: Move rules for handling isomac...
2155 * stdlib/Makefile: ...to here.
2157 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
2159 * misc/tst-efgcvt.c: Add more tests.
2160 * misc/efgcvt_r.c: Correct result for above new tests.
2162 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
2164 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
2167 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
2169 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
2170 if the programs weren't built.
2172 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
2174 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
2175 FE_TONEAREST, soldier on regardless and do the best we can.
2176 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
2178 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
2180 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
2181 _STDIO_H, before including <bits/stdio_lim.h>.
2183 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
2185 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
2188 * sysdeps/arm/sys/ucontext.h: New file.
2190 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
2192 * manual/stdio.texi (Formatted Output Functions): Explicitly say
2193 that the return value from snprintf() does not count the
2194 terminating NUL as a character.
2196 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2198 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
2199 add description for sete[ug]id and general cleanup.
2200 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2202 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2204 * Makefile (parent-clean): Don't remove makefile fragments here.
2205 (postclean): New variable.
2206 (clean): Remove makefile fragments here.
2207 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
2208 (generated): Add isomac and isomanc.out.
2209 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
2210 avoid-generated is set.
2211 (postclean-generated): Add soversion.mk.
2212 ($(common-objpfx)version.mk): Don't include if avoid-generated is
2214 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
2215 avoid-generated is set.
2216 (common-generated): Add libc.so and libc.so$(libc.so-version).
2217 (generated): Add versioned libraries.
2218 (common-mostlyclean): Also remove %.so and %_pic.a.
2219 * csu/Makefile (generated): Add abi-tag.h.
2220 * db2/Makefile (extra-objs): Add getlong.o.
2221 * elf/Makefile (generated): Add ld.so, ldd and
2222 $(rtld-installed-name).
2223 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
2224 * malloc/Makefile (generated): Add mtrace.
2225 * po/Makefile: Don't include version.mk, not needed any more.
2226 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
2227 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
2228 syscall.h -> sys/syscall.h.
2229 (common-generated): Add s-proto.d.
2230 (postclean-generated): Add sysd-syscalls.
2231 * localedata/Makefile (test-output): Add all output files.
2232 (generated): Add test-input and test-output.
2233 (generated-dirs): Add all the dirs.
2235 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2237 * Makefile (test-output, generated, generated-dirs): New
2240 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2242 * resolv/nss_dns/dns-host.c: Various code cleanups.
2244 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
2246 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
2247 From Philip Blundell <pb@nexus.co.uk>.
2248 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
2250 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2252 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
2253 Suggested by debian/sparc porters.
2255 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2257 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
2260 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
2262 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
2263 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
2265 * signal/signal.h: Always define sigset_t if __need_sigset_t is
2266 defined even if __USE_POSIX is not defined.
2268 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
2270 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
2271 to support obsolete tty major numbers correctly.
2273 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
2275 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
2276 directory first and ignore install error.
2278 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
2279 128 from ptyno and fix a typo for the BSD style pty.
2281 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2283 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
2286 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2289 getresuid and getresgid.
2291 * sysdeps/unix/sysv/linux/getresuid.c: New file.
2292 * sysdeps/unix/sysv/linux/getresgid.c: New file.
2294 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
2297 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2299 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2302 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
2304 * nscd/grpcache.c: Include <stdlib.h>.
2306 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
2308 * stdlib/atoll.c: Fix comments.
2310 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
2311 * sysdeps/posix/ttyname_r.c: Ditto.
2313 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2315 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
2316 __USE_MISC, independent of __USE_UNIX98.
2318 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
2320 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2321 Rename from __libc_have_rt_sigs and leave as COMMON data.
2323 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
2325 * Makeconfig (CFLAGS-.os): Kill -fno-common.
2326 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
2328 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
2329 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
2331 * include/libc-symbols.h (symbol_version, default_symbol_version):
2332 Provide asm versions and correct !DO_VERSIONING versions.
2333 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
2334 the weak symbol list.
2336 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
2337 Rename from __libc_have_rt_sigs and leave as COMMON data.
2338 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2339 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2340 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2342 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
2344 * sunrpc/Makefile: Correct dependencies of rpcgen.
2346 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
2348 * nscd/Makefile: Fix test for available linuxthreads add-on.
2349 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2351 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2353 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
2355 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2357 * sysdeps/gnu/Makefile: Respect with-cvs variable.
2359 * manual/errno.texi (Error Messages): Correct description of
2360 strerror_r. Pointed out by jonas@bagge.se.
2362 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2364 * manual/socket.texi (Host Address Functions): Clarify description
2367 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2369 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
2370 (grantpt): Delete superfluous cast.
2372 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2374 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
2375 elf/ldso_install instead of elf/subdir_install.
2376 (elf/ldso_install): New target.
2378 * elf/Makefile (ldso_install): New target.
2380 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2382 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
2385 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2387 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
2388 constant expressions.
2390 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2392 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
2393 for __nss_configure_lookup.
2394 (output_hostent): Remove unused variable.
2396 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2398 * string/tst-inlcall.c: Fix format string.
2400 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2402 * inet/netinet/in.h: Rename second parameter of bindresvport to
2403 avoid buggy gcc warning. [PR libc/412]
2405 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
2407 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
2408 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
2410 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
2411 Follow POSIX and make tv_sec a time_t.
2412 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
2413 new tv64 syscall as well as fall back to tv32.
2414 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2415 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2416 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2417 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2418 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2419 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2420 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2421 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
2423 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
2424 * include/rpcsvc/nis_tags.h: Likewise.
2425 * include/rpcsvc/nislib.h: Likewise.
2427 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
2429 * libc.map: Add _h_errno.
2430 * inet/herrno.c: Make _h_errno weak alias.
2432 * login/Makefile (distribute): Add pty-internal.h.
2434 * nscd/Makefile (distribute): Add all the files missing.
2436 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
2439 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
2440 and report status at the end.
2442 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
2444 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
2446 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
2447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2450 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
2452 * configure.in: Fix --enable-add-ons code.
2454 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2456 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
2457 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
2460 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
2461 occurence in cache. Reported by Rudolf Leitgeb
2462 <leitgeb@leland.stanford.edu>.
2465 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
2467 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
2468 that it never is EINTR (which is tested for in _IO_vfscanf).
2470 * Makefile.in: Call sub-make with CVSOPTS.
2472 * elf/Makefile (distribute): Add dl-procinfo.h.
2474 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
2476 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
2478 * version.h (VERSION): Bump to 2.0.92.
2480 1998-01-31 Phil Blundell <philb@gnu.org>
2482 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
2483 alias for __new_sys_siglist.
2485 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
2487 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
2488 getgrgid_r.c if thread package is available.
2489 * pwd/Makefile: Likewise.
2490 * grp/getgrnam_r.c: Remove USE_NSCD definition.
2491 * grp/getgrgid_r.c: Likewise.
2492 * pwd/getpwnam_r.c: Likewise.
2493 * pwd/getpwuid_r.c: Likewise.
2495 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
2497 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
2498 with error to allow user intervention.
2499 * nss/getXXent_r.c: Likewise.
2501 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
2503 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
2504 AT_PLATFORM string. Pretty print AT_BASE info.
2506 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
2507 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
2508 * sysdeps/generic/dl-procinfo.h: New file.
2509 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
2511 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
2513 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
2515 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
2516 thread and not pthread_detach.
2518 * nscd/nscd.c: Rewrite to use argp instead of getopt.
2520 1998-01-31 Phil Blundell <philb@gnu.org>
2522 * configure.in: Add --without-cvs option to suppress automatic
2523 checkin of regenerated files.
2524 * config.make.in: Likewise.
2525 * Makefile: Respect with-cvs setting.
2526 * Makerules: Likewise.
2528 * configure.in: Allow the standalone ARM port to be configured.
2530 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2532 * grp/getgrgid_r.c: Define USE_NSCD.
2533 * grp/getgrnam_r.c: Likewise.
2534 * pwd/getpwuid_r.c: Likewise.
2535 * pwd/getpwnam_r.c: Likewise.
2537 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
2539 * nss/getXXbyYY_r.c: Try at first nscd.
2541 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
2542 * nscd/connections.c: New file.
2543 * nscd/dbg_log.c: New file.
2544 * nscd/dbg_log.h: New file.
2545 * nscd/grpcache.c: New file.
2546 * nscd/nscd.c: New file.
2547 * nscd/nscd.h: New file.
2548 * nscd/nscd_conf.c: New file.
2549 * nscd/nscd_stat.c: New file.
2550 * nscd/pwdcache.c: New file.
2552 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
2553 * nscd/nscd_getpw_r.c: Likewise.
2554 * nscd/nscd_proto.h: New, prototypes for client functions.
2556 * nscd/nscd.conf: New, example for a configuration file.
2557 * nscd/nscd.init: New, example for a startup script.
2559 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
2561 * nscd/getgrnam_r.c: Likewise.
2562 * nscd/getpwnam_r.c: Likewise.
2563 * nscd/getpwuid_r.c: Likewise.
2565 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
2567 * intl/Makefile: Use CVSOPTS in cvs invocation.
2568 * po/Makefile: Likewise.
2569 * posix/Makefile: Likewise.
2570 * stdlib/Makefile: Likewise.
2572 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
2574 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
2576 * misc/Makefile (tests): Add tst-efgcvt.
2577 * misc/tst-efgcvt.c: New file.
2579 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
2581 * posix/regex.c: Add some more cleanups by Akim Demaille.
2583 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
2585 * signal/signal.h: Revert last change.
2586 * string/strsignal.c: Regard signal number NSGI as illegal.
2587 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
2590 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
2592 * Makefile.in: Add comment about CVSOPTS Makefile variable.
2593 * Makerules: Use CVSOPTS in cvs invocation.
2594 * Makefile: Likewise.
2595 * MakeTAGS: Likewise.
2596 * Make-dist: Likewise.
2598 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
2600 * sysdeps/generic/memmem.c: Correct last change.
2602 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
2604 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
2605 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
2607 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2609 * nis/ypclnt.c: Try at first to use the binding file from ypbind
2612 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2614 * manual/memory.texi (Heap Consistency Checking): mcheck is
2615 declared in <mcheck.h>.
2616 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
2618 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2620 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
2621 beginning of haystack.
2623 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2625 * nss/nss_files/files-service.c: Correct last patch.
2627 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
2630 __libc_have_rt_sigs.
2631 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
2632 including <bits/setjmp.h>.
2633 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2634 Patch from the Debian glibc/SPARC package.
2636 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
2638 * sysdeps/alpha/bzero.S: Fix a typo.
2639 * sysdeps/alpha/htonl.S: Ditto.
2640 * sysdeps/alpha/htons.S: Ditto.
2642 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2644 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
2646 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
2648 * include/cpio.h: Move to ...
2649 * posix/cpio.h: ...here.
2651 * locale/programs/ld-collate.c: Fix typo.
2653 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
2655 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
2657 * login/utmp_file.c (pututline_file): Don't always report success
2658 if similar entry is found. Patch by Mark M. Kettenis.
2660 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
2662 * manual/Makefile: Don't try to install the info files if makeinfo
2665 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
2667 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
2668 kernel's network ioctls, rather than using <linux/sockios.h> to
2669 get them. This way we are sure of maintaining compatibility if
2670 the kernel interface should change.
2672 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
2674 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
2676 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
2678 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
2679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2681 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2683 Implement System V pseudoterminal handling.
2686 (routines): Add getpt, grantpt, unlockpt, ptsname.
2687 (libutil-routines): Remove pty. Add openpty, forkpty.
2688 (distribute): New internal header pty-internal.h.
2689 (others): Add the helper program, pt_chown.
2690 (install-others): Install it, in $(libexecdir), mode 4755.
2692 * login/pty-internal.h: New file.
2693 * login/openpty.c: New file.
2694 * login/forkpty.c: New file.
2695 * login/programs/pt_chown.c: New file.
2697 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
2698 * stdlib/stdlib.h: Prototype them.
2700 * config.make.in: Define $(libexecdir).
2701 * Makeconfig: Define $(inst_libexecdir).
2703 * sysdeps/generic/pty.c: Removed.
2704 * sysdeps/unix/sysv/linux/pty.c: Removed.
2706 * sysdeps/generic/getpt.c: Stub out.
2707 * sysdeps/generic/grantpt.c: Likewise.
2708 * sysdeps/generic/ptsname.c: Likewise.
2709 * sysdeps/generic/unlockpt.c: Likewise.
2711 * sysdeps/unix/grantpt.c: New file.
2712 * sysdeps/unix/bsd/getpt.c: New file.
2713 * sysdeps/unix/bsd/unlockpt.c: New file.
2714 * sysdeps/unix/sysv/linux/getpt.c: New file.
2715 * sysdeps/unix/sysv/linux/ptsname.c: New file.
2716 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
2718 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
2720 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
2722 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2724 * nss/Makefile (tests): Add rule for test-netdb.c.
2726 * nss/test-netdb.c: New file.
2728 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
2730 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
2731 really kept as a variable. Patch by Richard Henderson,
2732 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2734 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
2735 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
2736 entries as not existing.
2738 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2740 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
2741 zero in alternate form with precision of zero, which must produce
2742 "0". Add braces to avoid ambiguous `else'.
2744 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2746 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
2747 problem with strncpy.
2748 * nis/nss_compat/compat-pwd.c: Likewise.
2749 * nis/nss_compat/comapt-spwd.c: Likewise.
2751 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2753 * assert/assert.h (assert_perror): Correct test for errnum. Patch
2754 by uch@nop.or.jp. [PR libc/437]
2756 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2758 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
2760 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2762 * stdio-common/test-popen.c: Include <errno.h>.
2764 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
2767 * inet/getnetgrent_r.c: Include <errno.h>.
2769 * db2/db/db_conv.c: Include <string.h> for memcpy.
2771 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
2772 so that memcpy is declared.
2774 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
2776 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
2778 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2780 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
2781 overflow while reading line with fgets.
2782 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2784 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
2786 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
2787 unsigned short, not short.
2788 Reported by Andreas Jaeger.
2790 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2792 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
2795 * sysdeps/generic/inttypes.h: Fix spelling.
2797 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2799 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
2801 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
2803 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
2805 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
2806 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
2807 field for hh modifier.
2808 * stdio-common/vfprint.c: Use is_char field and do not depend in
2809 is_short having the value 2.
2810 Bug reported by Andreas Jaeger.
2812 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2814 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
2815 PIC && DO_VERSIONING.
2817 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2819 * Rules: Add rules for $(common-objpfx)dummy$o.
2821 1998-01-26 Richard Henderson <rth@cygnus.com>
2823 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
2824 unimplemented OSF/1 definitions so that they are not accidentally seen.
2826 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
2827 of the trampoline function into the macro.
2828 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
2829 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
2830 kernel 2.1.82 has this fixed.
2832 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
2833 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
2835 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
2837 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
2838 support sigaction on kernels > 2.1.7x.
2840 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
2842 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
2845 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
2846 Patch by David Engel <david@sw.ods.com>.
2848 * configure.in: Fix another typo in --enable-add-ons code.
2850 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
2852 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
2854 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2856 * nss/nss_files/files-network.c: Correct order of parameters for
2859 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
2861 * db2/Makefile (routines): Add os_alloc.
2862 * db2/db.h: Update from db-2.3.16.
2863 * db2/db_185.h: Likewise.
2864 * db2/db_int.h: Likewise.
2865 * db2/btree/bt_close.c: Likewise.
2866 * db2/btree/bt_cursor.c: Likewise.
2867 * db2/btree/bt_delete.c: Likewise.
2868 * db2/btree/bt_open.c: Likewise.
2869 * db2/btree/bt_page.c: Likewise.
2870 * db2/btree/bt_put.c: Likewise.
2871 * db2/btree/bt_rec.c: Likewise.
2872 * db2/btree/bt_recno.c: Likewise.
2873 * db2/btree/btree_auto.c: Likewise.
2874 * db2/common/db_appinit.c: Likewise.
2875 * db2/common/db_apprec.c: Likewise.
2876 * db2/common/db_err.c: Likewise.
2877 * db2/common/db_region.c: Likewise.
2878 * db2/common/db_shash.c: Likewise.
2879 * db2/db/db.c: Likewise.
2880 * db2/db/db_auto.c: Likewise.
2881 * db2/db/db_conv.c: Likewise.
2882 * db2/db/db_dispatch.c: Likewise.
2883 * db2/db/db_dup.c: Likewise.
2884 * db2/db/db_pr.c: Likewise.
2885 * db2/db/db_rec.c: Likewise.
2886 * db2/db185/db185.c: Likewise.
2887 * db2/dbm/dbm.c: Likewise.
2888 * db2/hash/hash.c: Likewise.
2889 * db2/hash/hash_auto.c: Likewise.
2890 * db2/hash/hash_dup.c: Likewise.
2891 * db2/hash/hash_page.c: Likewise.
2892 * db2/hash/hash_rec.c: Likewise.
2893 * db2/include/btree_ext.h: Likewise.
2894 * db2/include/clib_ext.h: Likewise.
2895 * db2/include/common_ext.h: Likewise.
2896 * db2/include/db.h.src: Likewise.
2897 * db2/include/db_185.h.src: Likewise.
2898 * db2/include/db_am.h: Likewise.
2899 * db2/include/db_ext.h: Likewise.
2900 * db2/include/db_int.h.src: Likewise.
2901 * db2/include/hash_ext.h: Likewise.
2902 * db2/include/lock_ext.h: Likewise.
2903 * db2/include/log.h: Likewise.
2904 * db2/include/log_auto.h: Likewise.
2905 * db2/include/log_ext.h: Likewise.
2906 * db2/include/mp.h: Likewise.
2907 * db2/include/mp_ext.h: Likewise.
2908 * db2/include/mutex_ext.h: Likewise.
2909 * db2/include/os_ext.h: Likewise.
2910 * db2/include/os_func.h: Likewise.
2911 * db2/include/txn_ext.h: Likewise.
2912 * db2/lock/lock.c: Likewise.
2913 * db2/lock/lock_util.c: Likewise.
2914 * db2/log/log.c: Likewise.
2915 * db2/log/log.src: Likewise.
2916 * db2/log/log_archive.c: Likewise.
2917 * db2/log/log_auto.c: Likewise.
2918 * db2/log/log_get.c: Likewise.
2919 * db2/log/log_put.c: Likewise.
2920 * db2/log/log_rec.c: Likewise.
2921 * db2/log/log_register.c: Likewise.
2922 * db2/mp/mp_bh.c: Likewise.
2923 * db2/mp/mp_fget.c: Likewise.
2924 * db2/mp/mp_fopen.c: Likewise.
2925 * db2/mp/mp_fput.c: Likewise.
2926 * db2/mp/mp_pr.c: Likewise.
2927 * db2/mp/mp_sync.c: Likewise.
2928 * db2/mutex/mutex.c: Likewise.
2929 * db2/os/os_alloc.c: Likewise.
2930 * db2/os/os_config.c: Likewise.
2931 * db2/os/os_stat.c: Likewise.
2932 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2933 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2934 * db2/progs/db_load/db_load.c: Likewise.
2935 * db2/progs/db_printlog/db_printlog.c: Likewise.
2936 * db2/progs/db_recover/db_recover.c: Likewise.
2937 * db2/progs/db_stat/db_stat.c: Likewise.
2938 * db2/txn/txn.c: Likewise.
2940 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
2941 Unmap memory blocks in reverse order of allocation.
2942 Call munmap with load address added to offset.
2943 Bug reported by Miguel de Icaza.
2945 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
2948 * localedata/locales/cs_CZ: Update by Michael Mraka
2949 <michael@informatics.muni.cz>.
2951 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
2954 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
2955 reading line with fgets.
2956 * nis/nss_compat/compat-pwd.c: Likewise.
2957 * nis/nss_compat/compat-spwd.c: Likewise.
2958 * nss/nss_files/files-XXX.c: Likewise.
2959 * nss/nss_files/files-alias.c: Likewise.
2960 * shadow/fgetspent_r.c: Likewise.
2962 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
2964 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
2965 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2966 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2968 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
2969 FP register content in ucontext_t.
2971 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2973 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
2974 calculation. Patch by Markus Schoder
2975 <Markus.Schoder@dresdner-bank.de>.
2977 * math/libm-test.c (modf_test): Add more tests for modf.
2979 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
2980 munlock according to Unix98.
2982 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2984 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
2987 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
2989 * sysdeps/posix/ttyname.c: Handle symbolic links.
2990 * sysdeps/posix/ttyname_r.c: Ditto.
2992 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
2994 * db2/makedb.c (process_input): Write terminating \0 for value.
2995 (print_database): Simply print value string, don't use length.
2997 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2999 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
3002 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3004 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
3007 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
3009 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
3011 * signal/sighold.c: New file.
3012 * signal/sigrelse.c: New file.
3013 * sysdeps/generic/sigignore.c: New file.
3014 * sysdeps/generic/sigset.c: New file.
3015 * sysdeps/posix/sigignore.c: New file.
3016 * sysdeps/posix/sigset.c: New file.
3017 * signal/signal.h: Add prototypes for new functions.
3019 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
3020 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
3021 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
3024 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3026 * posix/wordexp.c: Added IFS field-splitting in parameter and
3027 command substitution. Fixed an IFS-related bug that caused an
3030 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
3032 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
3034 * stdlib/ucontext.h: Correct prototypes.
3035 * sysdeps/generic/getcontext.c: New file.
3036 * sysdeps/generic/setcontext.c: New file.
3037 * sysdeps/generic/makecontext.c: New file.
3038 * sysdeps/generic/swapcontext.c: New file.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
3041 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
3043 * resource/sys/resource.h: Remove #include of ulimit.h which is
3044 not allowed by SUSv2 and not available on other systems.
3045 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
3047 * streams/Makefile: New file.
3048 * streams/stropts.h: New file.
3049 * sysdeps/generic/bits/stropts.h: New file.
3050 * sysdeps/generic/isastream.c: New file.
3051 * sysdeps/generic/getmsg.c: New file.
3052 * sysdeps/generic/getpmsg.c: New file.
3053 * sysdeps/generic/putmsg.c: New file.
3054 * sysdeps/generic/putpmsg.c: New file.
3055 * sysdeps/generic/fattach.c: New file.
3056 * sysdeps/generic/fdetach.c: New file.
3057 * sysdeps/unix/inet/Subdirs: Add streams.
3058 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
3060 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3061 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3062 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3063 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3065 * sysdeps/mach/_strerror.c: Follow changes of generic version to
3066 handle small buffers correctly.
3068 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
3070 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3071 Remove the 3rd arg and add declaration for _dl_runtime_resolve
3072 and _dl_runtime_profile.
3074 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
3076 * include/cpio.h: New file. Mainly copied from GNU cpio.
3077 * posix/Makefile (headers): Add cpio.h.
3079 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3081 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
3083 * nis/nis_cache.c: New file.
3084 * nis/nis_cache2.h: New file.
3085 * nis/nis_cache2_xdr.c: New file.
3086 * nis/nis_call.c: Changes for cache2_info parameter.
3087 * nis/nis_checkpoint.c: Likewise.
3088 * nis/nis_intern.h: Likewise.
3089 * nis/nis_mkdir.c: Likewise.
3090 * nis/nis_ping.c: Likewise.
3091 * nis/nis_rmdir.c: Likewise.
3092 * nis/nis_server.c: Likewise.
3093 * nis/nis_util.c: Likewise.
3095 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3097 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
3098 return/errnop codes.
3099 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3100 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3101 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3102 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3103 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3104 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3105 * nis/nss_nisplus/nisplus-rpc.c: Likewise
3106 * nis/nss_nisplus/nisplus-service.c: Likewise.
3107 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3109 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3111 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
3112 * nis/nss_nis/nis-ethers.c: Likewise.
3113 * nis/nss_nis/nis-grp.c: Likewise.
3114 * nis/nss_nis/nis-hosts.c: Likewise.
3115 * nis/nss_nis/nis-network.c: Likewise.
3116 * nis/nss_nis/nis-proto.c: Likewise.
3117 * nis/nss_nis/nis-hosts.c: Likewise.
3118 * nis/nss_nis/nis-network.c: Likewise.
3119 * nis/nss_nis/nis-proto.c: Likewise.
3120 * nis/nss_nis/nis-publickey.c: Likewise.
3121 * nis/nss_nis/nis-pwd.c: Likewise.
3122 * nis/nss_nis/nis-rpc.c: Likewise.
3123 * nis/nss_nis/nis-service.c: Likewise.
3124 * nis/nss_nis/nis-spwd.c: Likewise.
3126 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
3128 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
3129 Added to follow latest kernel development.
3131 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
3133 * nss/db-Makefile: Handle empty and comment lines better.
3134 ($(VAR_DB)/services.db): Generate entries with missing protocol
3137 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3139 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
3141 (getservbyname): Allow proto == NULL.
3142 Pointed out by David N. Welton <davidw@gate.cks.com>.
3145 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
3147 * nis/nislib/nislib.h: Finally removed.
3149 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
3150 C compiler. From Kaveh Ghazi.
3151 (TYPE_MINIMUM): Define.
3152 (TYPE_MAXIMUM): Define.
3153 (TIME_T_MIN): Use TYPE_MINIMUM.
3154 (TIME_T_MAX): Use TYPE_MAXIMUM.
3155 Patch by Jim Meyering <meyering@ascend.com>.
3157 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
3159 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
3160 __pread64, __pwrite64, and __getpid.
3162 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
3165 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3167 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
3168 cancelable socket functions as __libc_xxx with __xxx as weak
3170 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3173 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
3175 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3176 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
3177 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3178 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3180 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
3181 and __xxx a weak alias.
3182 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3183 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3184 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3185 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3186 * sysdeps/unix/sysv/linux/send.S: Likewise.
3187 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3188 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3190 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3192 * locale/langinfo.h: Add defines.
3194 * dirent/dirent.h: Add defines for DT_*, check also for
3195 _DIRENT_HAVE_D_TYPE.
3196 Suggested by Roland McGrath.
3198 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3200 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
3201 Update from Linux 2.1.73+79.
3203 * README.template: Update information about possible
3206 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
3207 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3210 * manual/time.texi (Priority): Correct description of
3211 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3214 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
3216 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
3217 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
3219 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
3221 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
3224 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
3226 * locale/programs/ld-collate.c: Little optimizations.
3228 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
3230 * string/Makefile (tests): Add tst-inlcall.
3231 * string/tst-inlcall.c: New file.
3233 * string/strsignal.c: Add support for real-time signals.
3235 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
3236 presense of small buffer.
3238 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
3240 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
3243 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
3246 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
3248 * Rules: Add explicit rule for dummy.o; at least one library needs
3249 it and it isn't autogenerated by the default rules.
3251 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3253 * math/libm-test.c: Tweak epsilons.
3255 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3257 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
3259 (feenv_mask_test): Likewise.
3261 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3263 * Makeconfig: Don't export CPPFLAGS.
3265 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3267 * sunrpc/rpc_main.c (parseargs): Use perror to print error
3270 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3272 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
3273 terminating null in key size.
3275 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3277 * nss/nss_files/files-service.c: Fix allocation size to include
3280 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
3281 applicable. Fix return value and error checking.
3282 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
3284 (DB_LOOKUP): Allocate space for terminating null byte.
3286 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
3289 * db2/makedb.c (process_input): Continue processing if a duplicate
3292 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
3294 * time/tzfile.h: Updated from tzcode1998b.
3295 * time/zdump.c: Likewise.
3296 * time/zic.c: Likewise.
3297 * time/africa: Update from tzdata1998b.
3298 * time/antarctica: Likewise.
3299 * time/asia: Likewise.
3300 * time/australasia: Likewise.
3301 * time/etcetera: Likewise.
3302 * time/europe: Likewise.
3303 * time/leapseconds: Likewise.
3304 * time/northamerica: Likewise.
3305 * time/southamerica: Likewise.
3307 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3309 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
3310 lookups ignoring case.
3311 * nss/nss_files/files-network.c: Do network lookups ignoring
3313 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
3315 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
3316 case insensitive comparing.
3317 Patches by Cristian Gafton <gafton@redhat.com>.
3319 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3321 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
3322 by Roland McGrath. [PR libc/395]
3324 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3326 * manual/arith.texi (Parsing of Integers): Correct description of
3327 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
3330 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
3332 * misc/lsearch.c (lsearch): Return a pointer to the new element
3333 if one was "allocated".
3335 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3337 * string/strsignal.c: NSIG is not a valid index into
3338 _sys_siglist. Don't zap the last character of the "Unknown
3341 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
3343 * locale/programs/charmap.c (parse_charmap): Correct parsing of
3344 ellipsis expressions.
3346 * locale/programs/charset.c (insert_char): Correctly insert value
3347 of eliipsis expression.
3349 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
3351 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
3353 * sysdeps/powerpc/setjmp.S: Likewise.
3354 Patches by Matt McLean <keys@keys.got.net>.
3356 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
3358 * Makefile: Undo last patch.
3359 (distribute): Add test-installation.pl.
3361 * configure.in: Correct handling of --enable-add-ons without parameter.
3362 Correct address of WWW pages.
3364 * libc.map: Add _nl_domain_bindings.
3366 * db2/mutex/tsl_parisc.s: New file.
3368 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
3369 and extra-module.mk.
3371 * localedata/Makefile (distribute): New. Add all the files.
3373 * stdlib/Makefile (headers): Add inttypes.h.
3374 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
3375 * sysdeps/generic/inttypes.h: New file.
3376 * sysdeps/generic/strtoimax.c: New file.
3377 * sysdeps/generic/strtoumax.c: New file.
3378 * sysdeps/generic/wcstoimax.c: New file.
3379 * sysdeps/generic/wcstoumax.c: New file.
3380 * sysdeps/wordsize-32/Dist: Removed.
3381 * sysdeps/wordsize-32/Makefile: Removed.
3382 * sysdeps/wordsize-64/Dist: Removed.
3383 * sysdeps/wordsize-64/Makefile: Removed.
3384 * sysdeps/generic/bits/environments.h: New file.
3386 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
3387 header is still not correct.
3389 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
3390 * posix/unistd.h: Likewise.
3391 * sysdeps/generic/sys/mman.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3394 * manual/arith.texi: Change definition of mul macro.
3395 * manual/math.texi: Likewise.
3397 * misc/Makefile (routines): Add mmap64.
3398 * sysdeps/generic/mmap64.c: New file.
3399 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
3400 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
3401 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
3403 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3405 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
3407 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
3409 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
3411 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
3412 FOPEN_MAX also when included by limits.h.
3413 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3415 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
3416 and netrom/netrom.h.
3417 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
3418 oldsiglist to sysdep_routines, not aux.
3419 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
3421 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
3422 and SOL_NETROM definition.
3424 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
3426 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
3427 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
3429 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
3431 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
3433 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
3434 sa_handler with k_sa_handler.
3435 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
3439 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
3440 __libc_have_rt_sigs here.
3441 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
3442 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3443 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
3444 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3446 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
3448 * sysdeps/powerpc/atomicity.h: New file.
3449 * sysdeps/mach/powerpc/machine-lock.h: New file.
3451 * Rules: Use -fpic to build anything that might end up in a users'
3454 * sysdeps/powerpc/s_fdim.c: New file.
3455 * sysdeps/powerpc/s_fdimf.c: New file.
3456 * sysdeps/powerpc/s_fmax.S: New file.
3457 * sysdeps/powerpc/s_fmaxf.S: New file.
3458 * sysdeps/powerpc/s_fmin.S: New file.
3459 * sysdeps/powerpc/s_fminf.S: New file.
3460 * sysdeps/powerpc/s_llrint.c: Now is for double.
3461 * sysdeps/powerpc/s_llrintf.c: New file.
3462 * sysdeps/powerpc/s_llround.c: Now is for double.
3463 * sysdeps/powerpc/s_llroundf.c: New file.
3464 * sysdeps/powerpc/s_lrint.c: Now is for double.
3465 * sysdeps/powerpc/s_lrintf.S: New file.
3466 * sysdeps/powerpc/s_lround.c: Now is for double.
3467 * sysdeps/powerpc/s_lroundf.c: New file.
3468 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
3469 lrintf, fdim, fdimf.
3471 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
3472 file directly, use its parent.
3474 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
3475 (for the third time).
3477 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
3479 * posix/sched.h: timespec is in <time.h>.
3481 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
3483 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
3485 * configure.in: Stop with error if --disable-static is used when
3486 the shared lib uses this library.
3488 * gen-FAQ.pl: I've perl installed in /usr/bin.
3490 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
3492 Fix Unix98 conformance problems in the headers.
3493 * catgets/nl_types.h: Define nl_item.
3494 * grp/grp.h: Define gid_t.
3495 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
3496 * include/nl_types.h: New file.
3497 * include/ulimit.h: New file.
3498 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
3499 constants in POSIX mode.
3500 * io/utime.h: Get definition for time_t.
3501 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
3502 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
3503 * libio/stdio.h: Define va_list. Make snprintf also available is
3504 __USE_UNIX98. Declare getopt function and variables.
3505 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
3506 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
3507 * math/math.h: Defined M_* constants as double for Unix98 mode.
3508 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
3509 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
3510 * posix/regex.h: Define REG_NOSYS.
3511 * posix/wordexp.h: Define WRDE_NOSYS.
3512 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
3514 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
3515 somewhere else as well. Define clock_t for Unix98.
3516 * posix/sys/wait.h: Define pid_t.
3517 * pwd/pwd.h: Define gid_t, uid_t.
3518 * resource/Makefile (headers): Add ulimit.h.
3519 * resource/ulimit.h: New file.
3520 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
3521 instead of second argument.
3522 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
3523 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3524 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
3525 * signal/signal.h: Define pid_t.
3526 * string/string.h: Don't declare BSD string functions in POSIX mode.
3527 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
3528 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
3529 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
3532 * inet/test_ifindex.c: Change test so that it does not fail for
3535 * locale/programs/locale.c (show_info): Use correct cast sequence
3538 * malloc/malloc.c: __malloc_initialized now signals three states:
3539 uninitialized, initializing, initialized. Used in mcheck.
3540 * malloc/mcheck.c (mabort): Add '\n' to messages.
3541 (mcheck): Allow installation when malloc is uninitialized or is
3544 * manual/memory.texi: Explain mtrace output a bit more.
3546 * math/libm-test.c: Add more epsilons.
3548 * misc/regexp.h (compile): Remove __ prefix from parameter names.
3550 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
3551 instead of strcpy for security.
3552 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
3553 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
3554 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
3556 * nss/digits_dots.c: Pretty print.
3558 * posix/getconf.c (vars): Add symbols for programming environment
3559 recognition. Recognize --version.
3561 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
3562 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
3563 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
3565 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
3567 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3568 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
3571 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
3572 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
3574 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
3575 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3577 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
3578 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3579 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
3581 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
3583 * sysdeps/wordsize-64/inttypes.h: Likewise.
3585 * time/africa: Update from tzdata1997j.
3586 * time/antarctica: Likewise.
3587 * time/asia: Likewise.
3588 * time/australasia: Likewise.
3589 * time/backward: Likewise.
3590 * time/etcetera: Likewise.
3591 * time/europe: Likewise.
3592 * time/factory: Likewise.
3593 * time/northamerica: Likewise.
3594 * time/pacificnew: Likewise.
3595 * time/southamerica: Likewise.
3597 * time/tzfile.h: Update from tzcode1997h.
3598 * time/zic.c: Likewise.
3600 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
3601 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
3602 isw*() functions for Unix98.
3603 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
3604 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
3607 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3609 * locale/duplocale.c: Increase usage_count only if less than
3611 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
3613 * locale/setlocale.c: Likewise.
3615 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3617 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
3618 dependency to make it easier to install it selectively.
3620 * Makerules (.SUFFIXES): Don't define any suffixes.
3622 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3624 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
3625 * sysdeps/generic/statfs64.c: Emulate using statfs.
3626 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
3627 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
3628 * sysdpes/generic/ftruncate64.c: New file.
3629 * sysdpes/generic/truncate64.c: New file.
3631 * sysdeps/generic/bits/stat.h: Add LFS support.
3632 * sysdeps/generic/bits/statfs.h: Likewise.
3634 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
3635 [__USE_FILE_OFFSET64]: Make long long constant.
3636 (RLIM64_INFINITY): Likewise.
3638 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
3640 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
3641 * sysdeps/generic/bits/resource.h: Likewise.
3643 * misc/Makefile (routines): Add truncate64 and ftruncate64.
3645 * include/features.h: Don't prevent LFS support from defining BSD
3648 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
3649 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
3650 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
3652 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
3653 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3656 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
3657 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
3658 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3659 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
3660 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
3661 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
3662 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
3663 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
3664 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
3665 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
3667 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
3669 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
3671 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
3673 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
3674 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
3677 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
3678 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
3679 * sysdeps/unix/sysv/linux/xstat64.c: New file.
3680 * sysdeps/unix/sysv/linux/readdir64.c: New file.
3681 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
3683 * sysdeps/unix/sysv/linux/getdents64.c: New file.
3684 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3685 [$(subdir)=dirent]: Add getdents64.
3686 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
3688 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
3690 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
3692 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
3694 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
3695 * sysdeps/generic/getrlimit64.c: Likewise.
3696 * sysdeps/generic/setrlimit.c: Likewise.
3697 * sysdeps/generic/setrlimit64.c: Likewise.
3699 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
3701 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
3704 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
3706 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
3708 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3710 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
3711 after the codeset name.
3713 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3715 * libc.map: Add get_kernel_syms.
3717 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3719 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
3721 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
3722 Likewise. Fix condition.
3724 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3726 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
3728 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3730 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
3731 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
3733 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3735 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
3736 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
3739 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3741 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
3743 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3745 * math/libm-test.c (catanh_test): Change epsilon.
3746 Reported by H.J. Lu.
3748 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
3750 * libc.map (__getpid): Added for linuxthreads.
3752 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
3754 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
3755 it if gcc uses static variable in DWARF2 unwind information
3756 for exception support.
3758 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
3760 * elf/soinit.c (__libc_global_ctors, _fini): Handle
3761 HAVE_DWARF2_UNWIND_INFO_STATIC.
3763 * libc.map (__register_frame*, __deregister_frame*): Make them
3766 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3768 * math/libm-test.c: Add more tests for "normal" values.
3770 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3772 * stdio-common/printf_fphex.c: Fix printing of long double number
3773 with a biased exponent of zero. Fix rounding.
3775 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3777 * sunrpc/rpc_main.c: Accept new flag -$.
3778 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
3780 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3782 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
3783 dynamic linker first, in case the interface has changed.
3785 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3787 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
3790 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3792 * math/tgmath.h: Check for double first, for architectures where
3793 sizeof (long double) == sizeof (double).
3795 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3797 * math/libm-test.c: New tests for "normal" values added for most
3800 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
3802 * version.h (VERSION): Bump to 2.0.91.
3804 * db2/makedb.c (process_input): Fix typo in message.
3805 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
3807 * elf/dynamic-link.h: Pretty print.
3809 * elf/rtld.c: Allow multiple preloading of a shared object.
3811 * include/limits.h: Prevent multiple inclusion.
3813 * malloc/Makefile (headers): Add mcheck.h.
3814 (distribute): Remove it here.
3815 * malloc/mcheck.h: Pretty print.
3816 * malloc/mtrace.c (mallenv): Make `const'.
3817 * malloc/mtrace.pl: Don't print table head for memory leaks if there
3819 * manual/memory.texi: Update descriptor of malloc hooks.
3821 * posix/Makefile (routines): Add waitid.
3822 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
3824 * posix/sys/wait.h: Define idtype_t type.
3825 Add prototype for waitid.
3826 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
3827 * sysdeps/generic/waitid.c: Stub for waitid.
3828 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
3829 the __need_siginfo_t defined.
3830 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
3831 * sysdeps/generic/bits/types.h: Define __id_t.
3832 Correct definition of __FDMASK.
3833 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3834 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3835 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3837 * sysdeps/posix/waitid.c: New file.
3838 Provided by Zack Weinberg.
3840 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
3842 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3843 Add missing parameters.
3845 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
3846 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
3847 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
3848 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
3851 * sysdeps/i386/dl-machine.h: Little cleanup.
3853 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
3854 (__finite): Mark function as const.
3855 Add inline code for __ieee754_atan2.
3857 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
3858 (but don't use it now).
3859 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
3861 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
3862 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
3863 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
3865 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
3866 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
3867 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
3868 __ieee754_atan2 to base 10.
3869 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
3870 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
3872 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
3873 old_kernel_sigaction.
3875 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
3877 * wctype/Makefile (routines): Add wctype_l.
3878 * wctype/wctype.h: Add declaration of __wctype_l.
3879 * wctype/wctype_l.c: New file.
3881 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
3883 * locale/C-ctype.c: Correct data for isw* functions.
3884 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
3886 * wctype/test_wctype.c: Add test for isw* functions.
3887 * wctype/wctype.c: Return value with expected byte order.
3889 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3891 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
3893 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
3895 * iconvdata/Makefile: Fix a typo.
3897 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
3898 oldsiglist for shared library.
3900 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
3901 sys_sigabbrev): Make them as the default version GLIBC_2.1.
3903 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
3904 sys_siglist, sys_sigabbrev): New file. Make them as the old
3907 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
3910 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
3912 * libio/iofgets.c (_IO_fgets): Return an error only if there
3914 * libio/iogets.c (_IO_gets): Ditto.
3916 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
3918 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
3920 * libio/Makefile (routines, shared-only-routines): Add
3923 * libio/fileops.c: Don't use _IO_FILE_complete.
3924 * libio/iofdopen.c: Ditto.
3925 * libio/iofopen.c: Ditto.
3926 * libio/iofopen64.c: Ditto.
3927 * libio/iopopen.c: Ditto.
3928 * libio/iovdprintf.c: Ditto.
3930 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
3932 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
3933 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
3935 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
3936 _IO_old_fdopen, _IO_new_fdopen): New declaration.
3938 * libio/libio.h (_IO_FILE): Add more fields.
3939 (_IO_FILE_complete): Defined and make _IO_FILE be the old
3940 one if _IO_USE_OLD_IO_FILE is defined
3941 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
3942 them _IO_FILE_complete.
3944 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
3946 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
3948 (_IO_FILE_complete): Commented out.
3950 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
3951 * libio/oldiofclose.c: Ditto.
3952 * libio/oldiofopen.c: Ditto.
3953 * libio/oldstdfiles.c: Ditto.
3955 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
3956 for the old _IO_FILE.
3958 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
3959 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
3962 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
3965 * libio/stdio.c (stdin, stdout, stdin): Don't use
3968 * libio/oldiofdopen.c: New.
3970 * stdio-common/vfprintf.c (buffered_vfprintf): Set
3971 hp->_vtable_offset to 0.
3973 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
3975 * libc.map (_IO_file_open): Added.
3977 * libio/libioP.h (_IO_file_open): Declared.
3979 * libio/fileops.c (_IO_file_open): New.
3980 (_IO_file_fopen): Call _IO_file_open ().
3982 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
3983 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3985 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3987 * signal/signal.h: Fix selection of signal semantics to match
3990 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3992 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
3993 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
3995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3996 [$(subdir)=signal]: Remove rt_sigreturn.
3997 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
3998 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
3999 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
4001 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4003 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
4006 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4008 * iconvdata/extra-module.mk: Expand extra-objs now.
4010 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4012 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
4013 inline functions by feature tests to avoid warning about missing
4014 prototype declarations.
4016 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4018 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
4019 return code for non existent +name entries.
4020 * nis/nss_compat/compat-pwd.c: Likewise.
4021 * nis/nss_compat/compat-spwd.c: Likewise.
4023 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
4025 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
4029 (__errno_location): Likewise.
4031 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
4033 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
4035 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4037 * sunrpc/publickey.c: Use new NSS interface.
4039 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
4041 * manual/malloc.texi: Document mtrace/muntrace and the concept.
4043 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4045 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
4046 value, to match spirit of the standard.
4047 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
4048 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
4049 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4051 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4053 * manual/signal.texi (Signal Stack): Remove spurious @item.
4055 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4057 * rt/aio.h: Remove double semicolon.
4059 * rt/librt.map: Add aio_init.
4061 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
4063 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
4064 * Makefile (subdirs): Replace rt by $(rt).
4066 * shlib-versions: Use version .2 for NSS modules.
4068 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
4070 * pwd/fgetpwent_r.c: Likewise.
4071 * spwd/fgetspent_r.c: Likewise.
4072 * spwd/sgetspent_r.c: Likewise.
4073 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
4074 Store error number in *ERRNOP. Little optimization.
4075 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
4076 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
4077 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4078 (__internal_getnetgrent_r): New argument.
4079 Call __internal_setnetgrent_reuse with new argument.
4080 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
4081 * inet/netgroup.h: Add argument to prototypes.
4082 * nis/nisplus-parser.h: Likewise.
4083 * nis/nss_compat/compat-grp.c: Change everything to store error
4084 code through provided pointer and not use errno.
4085 * nis/nss_compat/compat-pwd.c: Likewise.
4086 * nis/nss_compat/compat-spwd.c: Likewise.
4087 * nis/nss_nis/nis-alias.c: Likewise.
4088 * nis/nss_nis/nis-ethers.c: Likewise.
4089 * nis/nss_nis/nis-grp.c: Likewise.
4090 * nis/nss_nis/nis-hosts.c: Likewise.
4091 * nis/nss_nis/nis-netgrp.c: Likewise.
4092 * nis/nss_nis/nis-network.c: Likewise.
4093 * nis/nss_nis/nis-proto.c: Likewise.
4094 * nis/nss_nis/nis-publickey.c: Likewise.
4095 * nis/nss_nis/nis-pwd.c: Likewise.
4096 * nis/nss_nis/nis-rpc.c: Likewise.
4097 * nis/nss_nis/nis-service.c: Likewise.
4098 * nis/nss_nis/nis-spwd.c: Likewise.
4099 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4100 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4101 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4102 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4103 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4104 * nis/nss_nisplus/nisplus-network.c: Likewise.
4105 * nis/nss_nisplus/nisplus-parser.c: Likewise.
4106 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4107 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4108 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4109 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4110 * nis/nss_nisplus/nisplus-service.c: Likewise.
4111 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4112 * nss/nss_db/db-XXX.c: Likewise.
4113 * nss/nss_db/db-alias.c: Likewise.
4114 * nss/nss_db/db-netgrp.c: Likewise.
4115 * nss/nss_files/files-XXX.c: Likewise
4116 * nss/nss_files/files-alias.c: Likewise
4117 * nss/nss_files/files-netgrp.c: Likewise
4118 * nss/nss_files/files-parse.c: Likewise
4119 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
4120 parameter of get functions.
4121 * nss/getXXent_r.c: Likewise.
4123 * localedata/tst-fmon.c: Print debug info if test fails.
4125 * rt/Makefile (routines): Add aio_notify.
4126 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
4127 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
4128 * rt/aio_fsync.c: Likewise.
4129 * rt/aio_misc.c: Likewise.
4130 * rt/aio_misc.h: Likewise.
4131 * rt/aio_read.c: Likewise.
4132 * rt/aio_read64.c: Likewise.
4133 * rt/aio_suspend.c: Likewise.
4134 * rt/aio_write.c: Likewise.
4135 * rt/aio_write64.c: Likewise.
4136 * rt/lio_listio.c: Likewise.
4137 * rt/lio_listio64.c: Likewise.
4138 * rt/aio_notify.c: New file.
4140 * sysdeps/generic/bits/sigset.h: Pretty print.
4142 * sysdeps/posix/pwrite.c: Define weak alias only if function is
4143 really defined as __pwrite.
4145 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
4147 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4149 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4150 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
4151 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
4153 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4154 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4155 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
4156 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4157 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4158 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4159 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
4161 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
4163 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
4164 __NR_pread is not defined.
4165 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
4166 __NR_pwrite is not defined.
4168 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4170 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
4171 handle for /etc/group back in some more cases.
4172 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
4173 handle for /etc/passwd back in some more cases.
4174 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
4175 handle for /etc/shadow back in some more cases.
4177 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
4179 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
4181 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
4182 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
4184 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
4186 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
4187 handling. Don't use macros, we need functions. Use inline functions
4189 * sysdeps/wordsize-64/inttypes.h: Likewise.
4190 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
4192 * sysdeps/wordsize-64/Makefile: Likewise.
4193 * sysdeps/wordsize-32/Dist: Likewise.
4194 * sysdeps/wordsize-64/Dist: Likewise.
4195 * sysdeps/wordsize-32/strtoimax.c: New file.
4196 * sysdeps/wordsize-32/strtoumax.c: New file.
4197 * sysdeps/wordsize-32/wcstoimax.c: New file.
4198 * sysdeps/wordsize-32/wcstoumax.c: New file.
4199 * sysdeps/wordsize-64/strtoimax.c: New file.
4200 * sysdeps/wordsize-64/strtoumax.c: New file.
4201 * sysdeps/wordsize-64/wcstoimax.c: New file.
4202 * sysdeps/wordsize-64/wcstoumax.c: New file.
4204 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
4206 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
4207 that transparent union works.
4208 * sysdeps/generic/wait4.c (__wait4): Likewise.
4209 * sysdeps/generic/wait.c (__wait): Likewise.
4211 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
4214 * sysdeps/generic/syscall.c (syscall): Return value and arg are
4215 long, to match prototype.
4217 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
4220 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
4222 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
4224 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
4226 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
4229 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
4231 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
4233 * io/sys/stat.h (S_ISLNK): Always false if we don't have
4236 * sysdeps/standalone/close.c (_STDIO_H): Define before including
4238 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
4240 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
4242 * posix/sys/wait.h: Don't use transparent unions in C++.
4244 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4246 * time/time.h: Add strfxtime.
4248 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
4249 sysv_signal, strfxtime, pread64, pwrite64.
4251 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
4253 Alpha changes for EGCS:
4254 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
4255 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
4256 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
4258 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
4260 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
4262 The kernel expects the arguments in a different order.
4263 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
4264 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
4267 * gen-FAQ.pl: New file.
4268 * Makefile (FAQ): Add rule to generate from FAQ.in.
4270 * iconvdata/Makefile: Treat libJIS like the other modules.
4272 * rt/librt.map: New file.
4274 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
4276 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
4279 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
4281 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
4282 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4283 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
4284 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4286 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4288 * string/bits/string2.h: Fix spellings.
4290 * string/string.h: Fix spellings.
4292 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4294 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
4295 declaration to __syscall_rt_sigaction.
4297 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
4298 non-existant <sigcontext.h>.
4300 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4302 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
4305 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4307 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
4309 * Makeconfig (shared-thread-library): Correct spelling.
4311 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
4314 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4316 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
4317 constants from Linux headers. Pointed out by
4318 csmall@scooter.o.i.net. [PR libc/369]
4320 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4322 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
4324 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
4326 * configure.in: If --enable-add-ons is given without an
4327 argument, set the addons list to all subdirs with a configure
4330 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
4332 * Makeconfig: Add shared-thread-library variable.
4334 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
4335 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
4337 * sysdeps/m68k/fpu/e_acos.c: Likewise.
4338 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4339 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4340 * sysdeps/m68k/fpu/e_pow.c: Likewise.
4341 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4342 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4343 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4344 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4345 * sysdeps/m68k/fpu/s_atan.c: Likewise.
4346 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4347 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4348 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4349 * sysdeps/m68k/fpu/s_csin.c: Likewise.
4350 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4351 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4352 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4353 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4354 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4355 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4356 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4357 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4358 * sysdeps/m68k/fpu/s_modf.c: Likewise.
4359 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4360 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4361 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4363 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
4364 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
4365 * signal/Makefile (headers): Add bits/siginfo.h.
4366 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
4367 (distribute): Add testrtsig.h.
4368 * signal/allocrtsig.c: New file.
4369 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
4370 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
4371 __libc_current_sigrtmax.
4372 * sysdeps/generic/sigqueue.c: New file.
4373 * sysdeps/generic/sigtimedwait.c: New file.
4374 * sysdeps/generic/sigwaitinfo.c: New file.
4375 * sysdeps/generic/testrtsig.h: New file.
4376 * sysdeps/generic/bits/siginfo.h: New file.
4377 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
4378 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
4379 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
4380 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
4381 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
4382 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
4383 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
4384 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
4385 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
4386 * sysdeps/unix/sysv/linux/sigpending.c: New file.
4387 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
4388 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
4389 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
4390 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
4391 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
4392 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
4393 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
4394 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
4395 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
4396 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
4397 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
4398 and _POSIX_REALTIME_SIGNALS.
4399 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
4400 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
4402 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
4403 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
4406 * Makefile (subdirs): Add rt.
4407 * shlib-versions: Add entry for librt.
4408 * rt/Makefile: New file.
4409 * rt/aio.h: New file.
4410 * rt/aio_cancel.c: New file.
4411 * rt/aio_error.c: New file.
4412 * rt/aio_fsync.c: New file.
4413 * rt/aio_misc.c: New file.
4414 * rt/aio_misc.h: New file.
4415 * rt/aio_read.c: New file.
4416 * rt/aio_read64.c: New file.
4417 * rt/aio_return.c: New file.
4418 * rt/aio_suspend.c: New file.
4419 * rt/aio_write.c: New file.
4420 * rt/aio_write64.c: New file.
4421 * rt/lio_listio.c: New file.
4422 * rt/lio_listio64.c: New file.
4423 * sysdeps/generic/aio_sigqueue.c: New file.
4424 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
4425 * sysdeps/unix/sysv/linux/Dist: Add new files
4426 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4427 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
4428 rt_sigqueueinfo, rt_sigaction.
4430 * posix/Makefile (headers): Add bits/environments.h.
4431 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
4432 and _CS_LFS_CFLAGS on 64bit platforms.
4433 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
4434 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
4435 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
4436 compilation modules.
4437 * sysdeps/wordsize-32/bits/environments.h: New file.
4438 * sysdeps/wordsize-64/bits/environments.h: New file.
4440 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
4441 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
4443 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
4446 * string/string.h: Add declaration of __strverscmp.
4447 * string/strverscmp.c: Rename function ot __strverscmp and make old
4450 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
4451 * sysdeps/generic/enbl-secure.c: Likewise.
4452 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4454 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
4456 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
4458 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
4460 * posix/sys/wait.h: Use __transparent_union__ instead of
4461 transparent_union. Reported by Roland McGrath.
4463 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4465 * resolv/inet_neta.c (inet_neta): Change type of first parameter
4466 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
4469 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
4471 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
4473 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4475 * grp/initgroups.c: Increase buffer if it is too small.
4477 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
4479 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
4480 fields, this is no ISO C. Reported by Andreas Jaeger.
4482 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4484 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
4486 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
4488 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
4489 _SYS_UTSNAME_H not _UTSNAME_H.
4491 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4493 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
4496 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4498 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
4499 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
4500 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
4502 * math/libm-test.c (csqrt_test): Add testcase.
4504 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
4506 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
4507 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
4508 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
4510 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4512 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
4514 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4516 * math/libm-test.c (acos_test): Add more tests.
4517 (asin_test): Likewise.
4518 (atan_test): Likewise.
4519 (exp_test): Likewise.
4520 (sin_test): Likewise.
4521 (sqrt_test): Likewise.
4522 (cpow_test): Likewise.
4523 (csqrt_test): Likewise.
4524 (cexp_test): Correct typo in gcc version test.
4526 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
4528 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
4530 * sysdeps/arm/setjmp.S: Likewise.
4532 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
4534 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
4536 * stdio/stdio.h: Add prototype for tmpfile64().
4538 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
4540 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
4541 prototype to keep in step with libio version.
4543 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
4545 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
4547 * sysdeps/generic/Makefile: Don't try to use make_siglist if
4550 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
4552 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
4553 load GOT ptr before jumping to _exit.
4554 Reported by Xavier Leroy.
4556 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
4558 * Makefile (subdirs): Add iconvdata and localedata.
4560 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
4562 * iconv/gconv_conf.c (read_conf_file): Little optimization.
4564 * iconvdata/8bit-gap.c: New file.
4565 * iconvdata/8bit-generic.c: Renamed from ...
4566 * iconvdata/iso8859-generic.c: ...this.
4567 * iconvdata/configure: Removed.
4568 * iconvdata/Makefile: Add new modules and better rules.
4569 * iconvdata/iso6937.c: Minor bug fixes.
4570 * iconvdata/iso8859-1.c: Likewise.
4571 * iconvdata/t61.c: Likewise.
4572 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
4574 * iconvdata/iso8859-3.c: Likewise.
4575 * iconvdata/iso8859-4.c: Likewise.
4576 * iconvdata/iso8859-5.c: Likewise.
4577 * iconvdata/iso8859-6.c: Likewise.
4578 * iconvdata/iso8859-7.c: Likewise.
4579 * iconvdata/iso8859-8.c: Likewise.
4580 * iconvdata/iso8859-9.c: Likewise.
4581 * iconvdata/iso8859-10.c: Likewise.
4582 * iconvdata/ebcdic-at-de-a.c: New file.
4583 * iconvdata/ebcdic-at-de.c: New file.
4584 * iconvdata/ebcdic-ca-fr.c: New file.
4585 * iconvdata/hp-roman8.c: New file.
4586 * iconvdata/koi-8.c: New file.
4587 * iconvdata/koi8-r.c: New file.
4588 * iconvdata/koi8-h.c: New file.
4589 * iconvdata/latin-greek-1.c: New file.
4590 * iconvdata/latin-greek-1.h: New file.
4591 * iconvdata/latin-greek.c: New file.
4592 * iconvdata/latin-greek.h: New file.
4593 * iconvdata/jis0201.c: New file.
4594 * iconvdata/jis0201.h: New file.
4595 * iconvdata/jis0208.c: New file.
4596 * iconvdata/jis0208.h: New file.
4597 * iconvdata/jis0212.c: New file.
4598 * iconvdata/jis0212.h: New file.
4599 * iconvdata/sjis.c: New file.
4600 * iconvdata/gap.pl: New file. Script to generate table header.
4601 * iconvdata/gaptab.pl: New file.
4602 * iconvdata/gconv-modules: Add info about new modules.
4604 * locale/programs/charmap.c: Also examine alias names given in charmap
4607 * localedata/*: Add to here from add-on. We need the information
4608 to generate tables for iconv.
4610 Update from db-2.3.14.
4611 * db2/Makefile: Updated.
4612 * db2/config.h: Likewise.
4613 * db2/db.h: Likewise.
4614 * db2/db_int.h: Likewise.
4615 * db2/btree/bt_cursor.c: Likewise.
4616 * db2/btree/bt_delete.c: Likewise.
4617 * db2/btree/bt_put.c: Likewise.
4618 * db2/btree/bt_search.c: Likewise.
4619 * db2/btree/bt_split.c: Likewise.
4620 * db2/btree/btree_auto.c: Likewise.
4621 * db2/common/db_appinit.c: Likewise.
4622 * db2/common/db_apprec.c: Likewise.
4623 * db2/common/db_err.c: Likewise.
4624 * db2/common/db_region.c: Likewise.
4625 * db2/db/db_auto.c: Likewise.
4626 * db2/db/db_dispatch.c: Likewise.
4627 * db2/db/db_ret.c: Likewise.
4628 * db2/dbm/dbm.c: Likewise.
4629 * db2/hash/hash_auto.c: Likewise.
4630 * db2/include/btree_ext.h: Likewise.
4631 * db2/include/common_ext.h: Likewise.
4632 * db2/include/db.h.src: Likewise.
4633 * db2/include/db_cxx.h: Likewise.
4634 * db2/include/db_ext.h: Likewise.
4635 * db2/include/db_int.h.src: Likewise.
4636 * db2/include/lock.h: Likewise.
4637 * db2/include/log.h: Likewise.
4638 * db2/include/mp.h: Likewise.
4639 * db2/include/mp_ext.h: Likewise.
4640 * db2/include/os_ext.h: Likewise.
4641 * db2/include/os_func.h: Likewise.
4642 * db2/lock/lock.c: Likewise.
4643 * db2/lock/lock_deadlock.c: Likewise.
4644 * db2/log/log.c: Likewise.
4645 * db2/log/log_archive.c: Likewise.
4646 * db2/log/log_auto.c: Likewise.
4647 * db2/log/log_get.c: Likewise.
4648 * db2/log/log_put.c: Likewise.
4649 * db2/mp/mp_bh.c: Likewise.
4650 * db2/mp/mp_fget.c: Likewise.
4651 * db2/mp/mp_fopen.c: Likewise.
4652 * db2/mp/mp_fput.c: Likewise.
4653 * db2/mp/mp_fset.c: Likewise.
4654 * db2/mp/mp_open.c: Likewise.
4655 * db2/mp/mp_pr.c: Likewise.
4656 * db2/mp/mp_region.c: Likewise.
4657 * db2/mp/mp_sync.c: Likewise.
4658 * db2/mutex/README: Likewise.
4659 * db2/mutex/mutex.c: Likewise.
4660 * db2/os/os_open.c: Likewise.
4661 * db2/os/os_func.c: Removed.
4662 * db2/os/os_config.c: New file.
4663 * db2/os/os_spin.c: New file.
4664 * db2/txn/txn.c: Likewise.
4665 * db2/txn/txn_auto.c: Likewise.
4667 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
4669 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
4670 __typeof for C++ since this fails for class members.
4671 Reported by Neal Becker <neal@ctd.comsat.com>.
4673 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
4675 * configure.in: Check for a working makeinfo (3.11 or better).
4676 * config.make.in: Add MAKEINFO to be substituted.
4677 * manual/Makefile: Don't update info if makeinfo is too old.
4679 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
4681 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
4682 * sysdeps/alpha/__longjmp.S: Likewise.
4683 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
4684 not <bits/termios.h>.
4686 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
4687 __llseek and make llseek and lseek64 weak aliases.
4688 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4689 Patches by a sun <asun@zoology.washington.edu>.
4691 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
4693 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
4694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4696 * misc/sys/syslog.h: Clean up BSD header.
4698 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4700 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
4702 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
4704 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
4705 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
4707 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
4708 csqrt (-1), ctanh(i*pi/4).
4710 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4712 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
4714 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
4716 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
4718 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4720 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
4722 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
4724 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
4725 and use. Define GETCWD_RETURN_TYPE instead and use it.
4726 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
4727 of GETCWD_STORYGE_CLASS and put the return type and the
4728 `internal_function' in the right order for gcc 2.7.2.
4730 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4732 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
4733 incompatible with Linux 2.1.x. Packages using modules
4734 (e.g. modutils) should/do provide their own version. Suggested by
4737 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
4739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4740 [$(subdir)=socket]: Remove sys/module.h.
4742 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
4744 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4745 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
4747 * iconv/gconv_close.c: Correct freeing of descriptor data.
4748 * iconv/gconv_simple.c: Return correct error values for illegal or
4749 incomplete characters.
4751 * Makefile (iconvdata/%): Special goal to simplify iconvdata
4753 * iconvdata/Makefile: New file.
4754 * iconvdata/configure: Likewise.
4755 * iconvdata/extra-module.mk: Likewise.
4756 * iconvdata/gconv-modules: Likewise.
4757 * iconvdata/iso6937.c: Likewise.
4758 * iconvdata/iso8859-1.c: Likewise.
4759 * iconvdata/iso8859-10.c: Likewise.
4760 * iconvdata/iso8859-10.h: Likewise.
4761 * iconvdata/iso8859-2.c: Likewise.
4762 * iconvdata/iso8859-2.h: Likewise.
4763 * iconvdata/iso8859-3.c: Likewise.
4764 * iconvdata/iso8859-3.h: Likewise.
4765 * iconvdata/iso8859-4.c: Likewise.
4766 * iconvdata/iso8859-4.h: Likewise.
4767 * iconvdata/iso8859-5.c: Likewise.
4768 * iconvdata/iso8859-5.h: Likewise.
4769 * iconvdata/iso8859-6.c: Likewise.
4770 * iconvdata/iso8859-6.h: Likewise.
4771 * iconvdata/iso8859-7.c: Likewise.
4772 * iconvdata/iso8859-7.h: Likewise.
4773 * iconvdata/iso8859-8.c: Likewise.
4774 * iconvdata/iso8859-8.h: Likewise.
4775 * iconvdata/iso8859-9.c: Likewise.
4776 * iconvdata/iso8859-9.h: Likewise.
4777 * iconvdata/iso8859-generic.c: Likewise.
4778 * iconvdata/t61.c: Likewise.
4780 * string/Makefile (routines): Add strcasestr.
4781 * string/string.h: Add prototype for strcasestr.
4782 * sysdeps/generic/strcasestr.c: New file.
4783 * wcsmbs/mbrtowc.c: Simplify special case a bit.
4784 * wcsmbs/wcrtomb.c: Likewise.
4785 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
4786 * wcsmbs/wcsnrtombs.c: Likewise.
4787 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
4788 partial character is read.
4789 * wcsmbs/wcsrtombs.c: Likewise.
4790 * wcsmbs/wmemrtombs.c: Likewise.
4791 * wcsmbs/wmemrtowcs.c: Likewise.
4793 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
4794 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
4795 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
4796 * sysdeps/i386/elf/setjmp.S: Likewise.
4797 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
4800 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
4801 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
4803 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
4804 * sysvipc/sys/ipc.h: Likewise.
4805 * sysvipc/sys/msg.h: Likewise.
4806 * sysvipc/sys/sem.h: Likewise.
4807 * sysvipc/sys/shm.h: Likewise.
4809 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
4811 * sysdeps/alpha/bits/setjmp.h: Likewise.
4812 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4813 * sysdeps/arm/bits/endian.h: Likewise.
4814 * sysdeps/arm/bits/setjmp.h: Likewise.
4815 * sysdeps/generic/bits/byteswap.h: Likewise.
4816 * sysdeps/generic/bits/confname.h: Likewise.
4817 * sysdeps/generic/bits/dirent.h: Likewise.
4818 * sysdeps/generic/bits/dlfcn.h: Likewise.
4819 * sysdeps/generic/bits/endian.h: Likewise.
4820 * sysdeps/generic/bits/fenv.h: Likewise.
4821 * sysdeps/generic/bits/huge_val.h: Likewise.
4822 * sysdeps/generic/bits/in.h: Likewise.
4823 * sysdeps/generic/bits/ioctl-types.h: Likewise.
4824 * sysdeps/generic/bits/ioctls.h: Likewise.
4825 * sysdeps/generic/bits/ipc.h: Likewise.
4826 * sysdeps/generic/bits/msq.h: Likewise.
4827 * sysdeps/generic/bits/poll.h: Likewise.
4828 * sysdeps/generic/bits/resource.h: Likewise.
4829 * sysdeps/generic/bits/sched.h: Likewise.
4830 * sysdeps/generic/bits/sem.h: Likewise.
4831 * sysdeps/generic/bits/setjmp.h: Likewise.
4832 * sysdeps/generic/bits/shm.h: Likewise.
4833 * sysdeps/generic/bits/sigaction.h: Likewise.
4834 * sysdeps/generic/bits/sigcontext.h: Likewise.
4835 * sysdeps/generic/bits/socket.h: Likewise.
4836 * sysdeps/generic/bits/stat.h: Likewise.
4837 * sysdeps/generic/bits/statfs.h: Likewise.
4838 * sysdeps/generic/bits/stdio_lim.h: Likewise.
4839 * sysdeps/generic/bits/termios.h: Likewise.
4840 * sysdeps/generic/bits/time.h: Likewise.
4841 * sysdeps/generic/bits/uio.h: Likewise.
4842 * sysdeps/generic/bits/utmp.h: Likewise.
4843 * sysdeps/generic/bits/utmpx.h: Likewise.
4844 * sysdeps/generic/bits/utsname.h: Likewise.
4845 * sysdeps/generic/bits/waitflags.h: Likewise.
4846 * sysdeps/generic/bits/waitstatus.h: Likewise.
4847 * sysdeps/gnu/bits/utmp.h: Likewise.
4848 * sysdeps/gnu/bits/utmpx.h: Likewise.
4849 * sysdeps/i386/bits/byteswap.h: Likewise.
4850 * sysdeps/i386/bits/endian.h: Likewise.
4851 * sysdeps/i386/bits/huge_val.h: Likewise.
4852 * sysdeps/i386/bits/setjmp.h: Likewise.
4853 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4854 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4855 * sysdeps/m68k/bits/byteswap.h: Likewise.
4856 * sysdeps/m68k/bits/endian.h: Likewise.
4857 * sysdeps/m68k/bits/setjmp.h: Likewise.
4858 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4859 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
4860 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4861 * sysdeps/mach/hurd/bits/stat.h: Likewise.
4862 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
4863 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
4864 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
4865 * sysdeps/mips/bits/dlfcn.h: Likewise.
4866 * sysdeps/mips/bits/endian.h: Likewise.
4867 * sysdeps/mips/bits/setjmp.h: Likewise.
4868 * sysdeps/mips/dec/bits/endian.h: Likewise.
4869 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
4870 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
4871 * sysdeps/mips/p40/bits/endian.h: Likewise.
4872 * sysdeps/powerpc/bits/endian.h: Likewise.
4873 * sysdeps/powerpc/bits/fenv.h: Likewise.
4874 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4875 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
4876 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4877 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4878 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
4879 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4880 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
4881 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4882 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
4883 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
4884 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4885 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
4886 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
4887 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
4888 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
4889 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
4890 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
4891 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
4892 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
4893 * sysdeps/unix/common/bits/dirent.h: Likewise.
4894 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
4895 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4896 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4897 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4898 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
4899 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4900 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
4901 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4902 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4903 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4904 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4905 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4906 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4907 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
4908 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4909 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
4910 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
4911 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4912 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4914 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4915 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4916 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4917 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4918 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
4919 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
4920 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4921 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4922 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
4923 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4925 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4926 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
4927 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
4928 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4929 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4930 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4931 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
4933 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4934 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
4935 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4937 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4938 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4939 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4940 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4941 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4942 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
4953 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4954 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
4955 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
4956 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4957 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
4958 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
4959 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4960 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4961 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
4962 * sysdeps/vax/bits/huge_val.h: Likewise.
4963 * sysdeps/vax/bits/setjmp.h: Likewise.
4964 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
4965 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
4967 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4969 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
4971 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
4973 * strftime.c (strftime):
4974 No longer any need to undef or declare if emacs is defined.
4975 (my_strftime): When checking a -1 returned by mktime, don't blow up
4976 if localtime_r returns NULL.
4978 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4980 * README.template: Fix spelling.
4982 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4984 * configure.in: Enhance --enable-add-ons description a wee bit.
4986 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4988 * glibcbug.in: Add more information of build environment and flags.
4990 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4992 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
4995 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
4997 * elf/dl-support.c: Call __libc_init_secure to make sure
4998 __libc_enable_secure is defined early.
4999 * sysdeps/generic/enbl-secure.c: Change function name to
5000 __libc_init_secure and make it global instead of a constructor.
5002 * iconv/gconv.c: Fix lots of bugs.
5003 * iconv/gconv.h: Likewise.
5004 * iconv/gconv_builtin.h: Likewise.
5005 * iconv/gconv_close.c: Likewise.
5006 * iconv/gconv_conf.c: Likewise.
5007 * iconv/gconv_db.c: Likewise.
5008 * iconv/gconv_dl.c: Likewise.
5009 * iconv/gconv_open.c: Likewise.
5010 * iconv/gconv_simple.c: Likewise.
5011 * iconv/iconv.c: Likewise.
5012 * iconv/iconv_close.c: Likewise.
5013 * iconv/iconv_open.c: Likewise.
5015 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
5016 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
5017 * wcsmbs/wmemrtombs.c: New file.
5018 * wcsmbs/wmemrtowcs.c: New file.
5020 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
5022 * iconv/gconv_simple.c: Fix lots of bugs.
5023 * iconv/iconv_open.c: Normalize names before passing them to
5026 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
5028 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
5029 * stdio-common/test-popen.c: Add test for above change.
5031 * math/libm-test.c: Print test results also using %a format,
5032 specified in PRINTF_XEXPR macro.
5033 * math/test-double.c: Define PRINTF_XEXPR.
5034 * math/test-float.c: Likewise.
5035 * math/test-ldouble.c: Likewise.
5036 * math/test-idouble.c: Likewise.
5037 * math/test-ifloat.c: Likewise.
5038 * math/test-ildoubl.c: Likewise.
5040 * stdio-common/vfscanf.c: Recognize a in format specifier only as
5041 modifier if used before s, S, or [. Otherwise it's the hexadecimal
5044 * stdlib/strtod.c: Little code cleanup.
5046 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
5047 compiling in math subdir.
5049 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
5050 instead of __LIBC_M81_MATH_INLINES.
5051 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5052 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5053 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5054 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5055 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5056 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5057 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5058 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5059 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5060 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5061 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5062 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5063 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5064 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5065 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5066 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5067 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5068 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5069 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5070 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5071 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5072 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5073 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5074 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5075 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
5076 __LIBC_INTERNAL_MATH_INLINES is defined.
5078 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
5079 of compare macros from ISO C 9X. Optimize generic versions a bit.
5080 Define __signbit inline functions and __ieee754_sqrt which can be
5081 used if the ompiler is fixed.
5083 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
5085 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5087 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
5088 sysdeps/generic in the whole dep file, not only in the first line.
5090 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5092 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
5094 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5096 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
5099 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5101 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
5104 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
5106 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
5109 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
5111 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
5112 readlink succeeds but the return value is too long.
5114 * stdio-common/printf_fphex.c: Determine sign of number correctly.
5116 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
5118 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
5121 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
5123 * sysdeps/generic/sys/ucontext.h: Stub context file.
5125 * libio/iofprintf.c: Removed. We use the stdio-common version.
5127 * manual/Makefile (distribute): Add stdio-fp.c.
5129 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
5131 * db2/Makefile (distribute): Add include/os_func.h, README and
5134 * hesiod/Makefile (distribute): Add README.hesiod.
5136 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
5138 * iconv/gconv.c: Correctly call transformation function.
5140 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
5142 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5144 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
5145 wrong results for e.g. remquo (3,2, &x)).
5146 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
5147 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
5149 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5151 * configure.in (ld --version-script): Test if the same symbol
5152 maybe defined in all versions (needed by recent changes to
5153 libc.map and supported with binutils 2.8.1.0.17) and issue warning
5154 if versioning is not supported/enabled.
5155 (bash test): Correct test case.
5157 * math/libm-test.c: Added counting/reporting of number of test cases.
5159 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
5162 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
5164 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5166 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
5168 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
5170 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
5171 Replace revoke call by use of REVOKE.
5172 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
5173 empty and #include generic version.
5174 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5176 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
5178 * libc.map: Add socket functions with __libc_* names.
5179 Reported by Andreas Jaeger.
5181 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5183 * libc.map: Tidy up (remove duplicates, sort entries).
5185 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5187 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
5189 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
5191 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
5192 again after successful call.
5193 Patch by Marc Lehmann <pcg@goof.com>.
5195 1997-11-17 Paul Eggert <eggert@twinsun.com>
5197 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
5198 as some hosts need this to declare localtime_r properly.
5200 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
5202 * libc.map: Add iconv_open, iconv, and iconv_close.
5204 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
5206 * iconv/Makefile: New file.
5207 * iconv/gconv.c: New file.
5208 * iconv/gconv.h: New file.
5209 * iconv/gconv_builtin.c: New file.
5210 * iconv/gconv_builtin.h: New file.
5211 * iconv/gconv_close.c: New file.
5212 * iconv/gconv_conf.c: New file.
5213 * iconv/gconv_db.c: New file.
5214 * iconv/gconv_dl.c: New file.
5215 * iconv/gconv_open.c: New file.
5216 * iconv/gconv_simple.c: New file.
5217 * iconv/iconv.c: New file.
5218 * iconv/iconv.h: New file.
5219 * iconv/iconv_close.c: New file.
5220 * iconv/iconv_open.c: New file.
5221 * include/gconv.h: New file.
5223 * Makeconfig: Define gconvdir.
5224 * Makefile (subdirs): Add iconv.
5226 * string/bits/string2.h: Add optimization for strtok_r.
5228 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
5230 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5231 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
5233 * configure.in: Correct test for bash2.
5234 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5236 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
5237 (CFLAGS-locfile.c): Likewise.
5238 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5240 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
5241 non-existing entry if the table is full.
5243 * posix/regex.h: Pretty print.
5245 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
5247 * sysdeps/posix/ctermid.c: Simplify a bit.
5249 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
5251 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5253 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
5254 <sys/types.h> instead of <asm/types.h>.
5256 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5258 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
5260 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
5262 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
5263 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
5264 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
5265 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
5266 fclose): Added to GLIBC_2.1.
5268 * libio/Makefile (routines, shared-only-routines): Add
5269 oldiofclose. Remove oldfreopen.
5271 * libio/freopen.c (freopen): When PIC is defined, call
5272 _IO_old_freopen () for old stdio.
5274 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
5275 (_IO_fclose, fclose): Use _IO_new_fclose as default version
5278 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
5279 instead of _IO_file_close_it.
5281 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
5283 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
5286 * libio/libioP.h (_IO_old_do_flush): New.
5288 * libio/oldfileops.c (_IO_old_file_close_it,
5289 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
5290 Call _IO_old_do_flush () instead of _IO_do_flush ().
5291 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
5294 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
5295 instead of _IO_file_init ().
5296 Bind old symbols to version GLIBC_2.0.
5298 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
5299 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
5301 (_IO_check_libio): New function in .init.
5303 * libio/oldiofclose.c: New file.
5305 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
5306 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
5307 (DEF_STDFILE): Don't use default_symbol_version.
5309 * libio/stdio.c (stdin, stdout, stderr): Set to
5311 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
5314 * csu/Makefile (distribute): Add init.c.
5315 (extra-objs): Add init.o for ELF.
5316 (start-installed-name): Add $(objpfx)init.o.
5318 * csu/init.c: New file.
5320 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
5322 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
5323 definition as the default.
5325 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
5327 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
5329 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5331 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
5334 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
5336 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
5337 to preserve condition codes on function call.
5339 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5341 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
5343 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5345 * math/libm-test.c (asin_test): Add epsilon for float.
5346 (tan_test): Add epsilon for float.
5347 (log1p_test): Add epsilon for float.
5348 (inverse_functions): Add epsilons.
5350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
5353 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
5355 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5357 * md5-crypt/Makefile (extra-objs): Make recursively expanded
5358 variable, since $(object-suffixes) is not defined yet.
5360 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5362 * db2/Makefile (distribute): db185/db185_int.src ->
5365 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5367 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
5370 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5372 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
5374 * sysdeps/generic/e_acosl.c: Likewise.
5375 * sysdeps/generic/e_asinl.c: Likewise.
5376 * sysdeps/generic/e_atan2l.c: Likewise.
5377 * sysdeps/generic/e_expl.c: Likewise.
5378 * sysdeps/generic/e_fmodl.c: Likewise.
5379 * sysdeps/generic/e_j0l.c: Likewise.
5380 * sysdeps/generic/e_j1l.c: Likewise.
5381 * sysdeps/generic/e_jnl.c: Likewise.
5382 * sysdeps/generic/e_lgammal_r.c: Likewise.
5383 * sysdeps/generic/e_log10l.c: Likewise.
5384 * sysdeps/generic/e_logl.c: Likewise.
5385 * sysdeps/generic/e_powl.c: Likewise.
5386 * sysdeps/generic/e_sqrtl.c: Likewise.
5387 * sysdeps/generic/e_exp2l.c: Likewise.
5389 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5391 * Make-dist (+sysdep-names): Remove extra paren.
5392 * Makefile (distribute): Add stub-tag.h.
5393 * elf/Makefile (distribute): Add atomicity.h.
5394 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
5395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5396 [$(subdir)=socket]: Add net/if_packet.h.
5397 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
5398 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
5399 net/if_packet.h, scsi/sg.h.
5401 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5403 * Makefile (install): Quote $(CC) expansion.
5405 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5407 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
5408 working /proc cwd and no restrictions on path length. Following
5409 some ideas from Andi Kleen <ak@muc.de> (PR 350).
5411 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5413 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
5414 * nis/nss_compat/compat-pwd.c: Likewise.
5415 * nis/nss_compat/compat-spwd.c: Likewise.
5417 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
5419 * sysdeps/libm-i387/s_fdim.S: New file.
5420 * sysdeps/libm-i387/s_fdimf.S: New file.
5421 * sysdeps/libm-i387/s_fdiml.S: New file.
5422 * sysdeps/libm-i387/i686/s_fdim.S: New file.
5423 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
5424 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
5426 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5428 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
5429 pointer to unsigned char.
5431 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5433 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
5435 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
5437 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
5439 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5441 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
5443 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
5444 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
5446 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
5448 * sysdeps/libm-i387/s_fmin.S: New file.
5449 * sysdeps/libm-i387/s_fminf.S: New file.
5450 * sysdeps/libm-i387/s_fminl.S: New file.
5451 * sysdeps/libm-i387/s_fmax.S: New file.
5452 * sysdeps/libm-i387/s_fmaxf.S: New file.
5453 * sysdeps/libm-i387/s_fmaxl.S: New file.
5454 * sysdeps/libm-i387/i686/s_fmin.S: New file.
5455 * sysdeps/libm-i387/i686/s_fminf.S: New file.
5456 * sysdeps/libm-i387/i686/s_fminl.S: New file.
5457 * sysdeps/libm-i387/i686/s_fmax.S: New file.
5458 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
5459 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
5461 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
5463 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
5464 * sysdeps/unix/sysv/linux/send.S: Likewise.
5465 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5466 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5467 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5468 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5469 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5470 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5471 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
5473 See ChangeLog.7 for earlier changes.