Update.
[glibc.git] / ChangeLog
blobaf0de5aadf3bd18af477262e1ff75eb45d909015
1 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
4         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6         * sysdeps/generic/stub_warning: Removed.
8         * Makefile (distribute): Add include/des.h.
10         * manual/Makefile (distribute): Change dir-add.texi to
11         dir-add.texinfo.
13         * glibcbug.in: Create files safely when mktemp is not available.
15         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
16         Patch by a sun <asun@saul1.u.washington.edu>.
18 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
20         * libc.map: Rename getname to getnetname.
22 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
24         * manual/maint.texi: Use supported platform in examples.
26         * manual/install.texi: Document some installation tips.
28 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
30         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
31         Fix a bug so that it returns an error if a numeric parameter is
32         unset and WRDE_UNDEF is set.
33         Patch by Andreas Schwab and Tim Waugh.
34         * posix/wordexp-test.c: Add new new test.
36 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
38         * posix/regex.c (regex_compile): Last patch wasn't entirely
39         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
41 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
43         * manual/filesys.texi (Scanning Directory Content): Fix typo.
45 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
47         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
48         clobbered registers don't appear as operands.
50 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
52         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
53         Solaris' sake.
55         * posix/regex.c (regex_compile): Don't allow non-alphabet
56         characters in character set name.
58 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
60         * posix/wordexp.c (w_newword): New function.
61         (do_parse_glob): New function.
62         (parse_glob): Use do_parse_glob.  Now handles the case where a
63         variable expansion causes a field-split.
64         (wordexp): Use w_newword.
65         (parse_arith): Likewise.
66         (exec_comm): Likewise.
67         (parse_comm): Likewise.
68         (parse_param): Likewise.
69         (parse_backtick): Likewise.
71 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
73         * posix/wordexp-tst.sh: Another test.
75         * posix/wordexp-test.c: Two new tests.
77         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
78         directly (the code using realloc was buggy).
79         (parse_param): Fix typo in comment.
81 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
83         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
85 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
87         * libc.map: Add more rpc auth functions/variables.
89         * nscd/nscd.c: Add -g option to argp options.
91 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
93         * configure.in: Be prepared for gcc 2.9.10 and up.
94         * configure.in: Add missing disabling of quote characters in
95         compiler version check.  Reported by HJ Lu.
97 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
99         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
101 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
103         * intl/locale.alias: Fix spelling of romanian.
105         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
106         (distribute): Remove des.h.
107         * include/des.h: New file.
108         * sunrpc/des.h: Moved to ...
109         * sunrpc/rpc/rpc_des.h: ...here.
111 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
113         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
114         Fix paren.
116 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
118         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
119         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
121 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
123         * elf/ldsodesf.h: New file.
124         * elf/Makefile (distribute): Add ldsodefs.h.
125         * elf/link.h: Separate internal information in exter header.
126         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
127         * elf/dl-minimal.c: Likewise.
128         * sysdeps/generic/dl-sysdep.c: Likewise.
129         * elf/sprof.c: Likewise.
130         * elf/dlsym.c: Likewise.
131         * elf/dlvsym.c: Likewise.
132         * elf/dlerror.c: Likewise.
133         * elf/dladdr.c: Likewise.
134         * elf/dlclose.c: Likewise.
135         * elf/dlopen.c: Likewise.
136         * elf/dl-addr.c: Likewise.
137         * elf/dl-close.c: Likewise.
138         * elf/dl-debug.c: Likewise.
139         * elf/dl-deps.c: Likewise.
140         * elf/dl-error.c: Likewise.
141         * elf/dl-fini.c: Likewise.
142         * elf/dl-init.c: Likewise.
143         * elf/dl-load.c: Likewise.
144         * elf/dl-lookup.c: Likewise.
145         * elf/dl-object.c: Likewise.
146         * elf/dl-open.c: Likewise.
147         * elf/dl-profile.c: Likewise.
148         * elf/dl-reloc.c: Likewise.
149         * elf/dl-runtime.c: Likewise.
150         * elf/dl-support.c: Likewise.
151         * elf/dl-symbol.c: Likewise.
152         * elf/dl-version.c: Likewise.
153         * sysdeps/generic/dl-cache.c: Likewise.
154         * sysdeps/generic/libc-start.c: Likewise.
155         * iconv/gconv_dl.c: Likewise.
156         * nss/nsswitch.c: Likewise.
158 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
160         * manual/nss.texi: The database is not called network but networks.
161         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
163 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
165         * configure.in: Correct test for compiler version.
166         Check that LD_LIBRARY_PATH doesn't contain current path.
168 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
170         * elf/dl-close.c (_dl_close): Fix byte count while removing
171         the shared object from the global scope list and optimize
172         a little bit.
174 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
176         * manual/filesys.texi (Scanning Directory Content): Add missing
177         closing brace.
178         (Scanning Directory Content): Fix text.
180 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
182         * manual/memory.texi (Heap Consistency Checking): Add paragraph
183         explaining difference of -lmcheck and MALLOC_CHECK_.
185 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
187         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
188         typos in comments.
190 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
192         * test-skeleton.c (main): Fix test for exit signal.
194 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
196         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
198 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
200         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
201         appropriate.
203 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
205         * libc.map: Export __strtok_r.
207 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
209         * posix/regex.c (re_compile_fastmap): Remove unused variable
210         num_regs and adjust comment.
211         Patch by Jim Meyering <meyering@ascend.com>.
213         * math/math.h (M_*l): Extend long double constants to be usable
214         for 128 bit floats.  Patch by Richard Henderson.
216 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
218         * sysdeps/m68k/m68020/wordcopy.S: New file.
220 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
222         * posix/wordexp.c: Rewrite parse_param.
223         Patch by Tim Waugh and Andreas Schwab.
225 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
227         * Rules: Update timestamps on empty object files.
229 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
231         * manual/filesys.texi (Scanning Directory Content): Add description
232         of 64 bits scandir function and friends.
234 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
236         * glibcbug.in: Use mktemp to generate unique file name for
237         temporary files.
239         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
240         ptsname_r.  Use cast for execve call.
242 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
244         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
245         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
246         * io/sys/statvfs.h: New file.
247         * sysdeps/generic/fstatvfs.h: New file.
248         * sysdeps/generic/statvfs.h: New file.
249         * sysdeps/generic/fstatvfs64.h: New file.
250         * sysdeps/generic/statvfs64.h: New file.
251         * sysdeps/generic/bits/statvfs.h: New file.
252         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
253         * sysdeps/unix/sysv/linux/statvfs.c: New file.
254         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
256         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
257         and f_ffree elements.
259         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
260         mount options in enum.
262 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
264         * configure.in: Check for recent egcs/gcc.
266 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
268         * libc.map: Add alphasort64, scandir64, versionsort64.
269         * dirent/Makefile (routines): Add scandir64, alphasort64, and
270         versionsort64.
271         * dirent/alphasort64.c: New file.
272         * dirent/scandir64.c: New file.
273         * dirent/versionsort64.c: New file.
274         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
275         versionsort.
276         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
277         old name weak alias.
278         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
280         * dirent/alphasort.c: Use strcoll instead of strcmp.
282         * dirent/scandir.c: Optimize a bit.
284         * dirent/versionsort.c: Pretty print.
286 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
288         * string/string.h: Add prototype for __strtok_r.
290 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
292         * posix/Makefile: Fix typo in last change.
294 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
296         * dirent/dirent.h (scandir): Make argument of select function const.
297         * dirent/scandir.c (scandir): Likewise.
298         Reported by David.Faure@insa-lyon.fr [PR libc/512].
300 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
302         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
303         weak alias.
304         * sysdeps/i386/strtok_r.c: Likewise.
306         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
307         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
308         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
309         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
310         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
311         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
313 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
315         * intl/localealias.c: Remove unneeded define for strdup.
317 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
319         * manual/argp.texi: Adjust for better TeX output.
320         * manual/arith.texi: Likewise.
321         * manual/conf.texi: Likewise.
322         * manual/filesys.texi: Likewise.
323         * manual/header.texi: Likewise.
324         * manual/lgpl.texinfo: Likewise.
325         * manual/math.texi: Likewise.
326         * manual/message.texi: Likewise.
327         * manual/pattern.texi: Likewise.
328         * manual/process.texi: Likewise.
329         * manual/signal.texi: Likewise.
330         * manual/socket.texi: Likewise.
331         * manual/startup.texi: Likewise.
332         * manual/stdio.texi: Likewise.
333         * manual/terminal.texi: Likewise.
334         * manual/examples/rprintf.c: Likewise.
335         * manual/examples/testopt.c: Likewise.
336         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
338 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
340         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
341         parameter name after seeing a digit if it's enclosed in braces.
343 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
345         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
347 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
349         * manual/memory.texi (Heap Consistency Checking): Document
350         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
352 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
354         * manual/Makefile: Add missing rules.
356 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
358         * timezone/Makefile (generated): Define to remove all stamp files.
360         * sysdeps/generic/strsep.c: Also undefine __strsep.
362         * string/strdup.c: Undefine __strdup and strdup first.
363         * string/strndup.c: Likewise.
365         * string/bits/string2.h: Correct strtok_r and strsep.
366         Add strndup optimization.
368         * sysdeps/generic/strsep.c: Little optimization.
370 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
372         * string/bits/string2.h: Add optimization for strdup.
373         Always define __strsep and __strtok_r and make real names available
374         when feature select macros are defined.
376 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
378         * manual/install.texi (Installation): Use i486-linux as example
379         instead of the unsupported sunos4.
380         (Reporting Bugs): Mention glibcbug script.
381         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
383 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
385         * posix/wordexp-tst.sh: Make portable.  Add more tests.
387         * posix/Makefile (do-globtest do-wordexp-test): New targets.
389 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
391         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
392         * sysdeps/generic/libc-start.c: ...here, replacing former content.
394         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
395         netpacket/packet.h.
397         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
399 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
401         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
402         in enumerator for strict standard compliance.
403         * sysdeps/generic/bits/resource.h: Likewise.
405 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
407         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
408         (PLTJMP): New macro.
410         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
411         longjmp() when floating point enabled.
412         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
413         * sysdeps/arm/__longjmp.S: Remove floating point code.
414         * sysdeps/arm/setjmp.S: Likewise.
416         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
417         * sysdeps/arm/bsd-_setjmp.S: Likewise.
419         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
420         memset().
422         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
423         prototype.
425 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
427         Based on patches from Pat Beirne and Scott Bambrough:
429         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
431         * sysdeps/arm/bits/fenv.h: New file.
433         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
434         * sysdeps/arm/elf/setjmp.S: Likewise.
435         * sysdeps/arm/elf/start.S: Likewise.
436         * sysdeps/arm/init-first.c: Likewise.
437         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
438         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
439         comment about floating point to reflect current reality.
441         * sysdeps/unix/arm/brk.S: Support PIC.
442         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
443         re-entrant code.
444         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
445         return; call syscall_error through PLT.
446         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
448 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
450         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
451         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
454 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
456         * dirent/list.c (test): Return error value.
457         (main): Exit with error value.
459         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
461         * Makefile (distribute): Add test-skeleton.c.
462         * test-skeleton.c: New file.
463         * dirent/Makefile (tests): Add opendir-tst1.
464         * dirent/opendir-tst1.c: New file.
466 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
468         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
469         Optimize memory handling.
470         * sysdeps/unix/closedir.c: Optmize memory handling.
472 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
474         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
475         handling.  Optimize a bit.
477 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
479         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
480         (parse_param): Fold in Andreas' fixes to do with when the end of
481         the parameter name has been reached, and quoting inside ${...}.
482         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
483         $((echo);(ls)).
485 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
487         * manual/maint.texi: Split out installation and contribution
488         sections to their own appendices.  Misc cleanups.
489         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
490         * manual/contrib.texi: New file.
491         * manual/libc.texinfo: Pull in new appendices.
492         * manual/header.texi: Correct node pointer.
494 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
496         * manual/process.texi (Process Completion): Clarify return value
497         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
499 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
501         * posix/wordexp-test.c: Add more tests.
502         (testit): Fix logic.
504         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
505         /dev/null instead of closing it, close pipe.  Always chop off all
506         trailing newlines.  Kill and reap child before returning error.
507         (w_addword, parse_glob): Fix memory leak.
508         (wordexp): Fix dangling pointer problem.
510 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
512         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
514         * posix/wordexp-test.c (main): Fix little thinkos and typos.
516         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
517         directory index by only the language.
519 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
521         * posix/wordexp-tst.sh: Store test results in the
522         ${common_objpfx}posix directory.
524         * posix/wordexp-test.c: Remove temporary directory afterwards.
526 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
528         * libc.map: Export internal versions of cancelable functions.
530 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
532         * Makerules (MAKEFLAGS): Append `r'.
534 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
536         * Makeconfig: Define have-thread-library, shared-thread-library
537         and static-thread-library if a thread library is available.  Don't
538         define rt.
539         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
540         nscd-routines to nscd-modules.  Use shared-thread-library and
541         static-thread-library in dependencies.
542         * rt/Makefile: Only compile librt if have-thread-library is
543         defined.
544         * Makefile (subdirs): Always include rt subdir.
546 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
548         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
550 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
552         * configure.in: Recognize variations for 32 MIPS processors.
553         Don't assume ELF systems always have .weak, test for .weakext.
555 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
557         * configure.in: Irix6 is an ELF platform.
559 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
561         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
562         unmapping the last loaded segment.
564 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
566         * configure.in: Set base_os for Irix6.
567         Correct test for .weakext.
569 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
571         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
572         (new_line) to _dl_debug_message call.
574 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
576         * posix/wordexp.c (parse_param): Perform field-splitting after
577         expanding positional parameter.
579         * posix/wordexp-tst.sh: Test that field-splitting is performed
580         after expanding positional parameter.
582         * posix/wordexp.c (parse_param): Fixed memory leak in
583         field-splitting after parameter expansion.
585 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
587         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
588         (get_toplvl_escape): Correctly terminate loop at EOF.
589         Patch by Cristian Gafton <gafton@redhat.com>.
591 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
593         * string/tester.c (test_strpbrk): Add more strpbrk tests.
594         (test_strsep): Likewise.  Correct horrible bugs.
596         * string/bits/string2.h (strcspn): Optimize also reject string of
597         length 2 and 3.
598         (strspn): Likewise.
599         (strpbrk): Likewise.
600         (strsep): Likewise.  Correct bug with successive separators and
601         separators at the end of the string.
602         * sysdeps/generic/strsep.c: Correct bug with successive separators
603         and separators at the end of the string.
605 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
607         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
608         etc) now handled, as well as $$ (pid).
610         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
611         (distribute): Add wordexp-tst.sh.
613         * posix/wordexp-tst.sh: New file.
615         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
616         number of positional parameters.  Renamed substitute_length to
617         seen_hash.
618         Don't free(env) is env is NULL.
620 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
622         * libc.map: Add pthread_attr_init to GLIBC_2.1.
624 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
626         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
627         for output file replacing gmon.out.
628         Patch by Dean Gaudet <dgaudet@arctic.org>.
630 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
632         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
633         up namespace.  Optimize finding end of line.
635 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
637         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
638         securely.  Optimized.
639         (process_dl_debug): Add ':' to list of separators.  Optimized.
641 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
643         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
644         isless, islessequal, islessgreater, isunordered): Return zero or
645         one.
647 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
649         * posix/wordexp-test.c: More tests.
650         (main): Set up arena for pathname expansion tests (in a temporary
651         directory).
652         (testit): Don't check word count or word vector if return value is
653         non-zero.
655         * posix/wordexp.c (exec_comm): Always chop off terminating
656         linefeed (just like bash does).
657         (parse_param): Change lots of occurrences of "if (!*env)" to "if
658         (!env || !*env)".
659         (parse_param): For assignment inside parameter expansion, use all
660         expanded words in assignment rather than just the first.
661         (parse_param): Corrected return value for parameter expansion of
662         an unset variable when WRDE_UNDEF is in effect.
663         (parse_dollars): Don't field-split if quoted.
664         (wordexp): Opening brace character isn't allowed unquoted.
666 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
668         * elf/dlerror.c: Fix concurrency problems with error string and
669         number.
671         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
672         filter/auxiliary are being loaded.
674 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
676         * elf/dlerror.c (last_object_name): Removed.
677         (dlerror): Don't use last_object_name.
678         (_dl_error_run): Omit second argument to _dl_catch_error.
679         * elf/dl-error.c (struct catch): Remove objname member.
680         (_dl_signal_error): Construct string including objname when given.
681         (_dl_catch_error): Remove objname handling.
682         * elf/link.h (_dl_catch_error): Fix prototype and comment.
683         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
684         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
685         * nss/nsswitch.c (nss_dlerror_run): Likewise.
686         * iconv/gconv_dl.c (dlerror_run): Likewise.
687         [Corrects PR libc/501].
689 1998-03-12  Matthias Urlichs <smurf@noris.de>
691         * nscd/nscd.c: Ignore SIGPIPE.
693 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
695         * nscd/nscd_getgr_r.c: Use __ protected names.
696         * nscd/nscd_getpw_r.c: Likewise.
698 1998-03-12  Matthias Urlichs <smurf@noris.de>
700         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
701         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
702         null bytes are not transmitted.
704 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
706         * powerpc/syscalls.list: Correct typo.
707         * alpha/syscalls.list: Likewise.
708         * mips/syscalls.list: Likewise.
710 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
712         * socket/sys/socket.h: Add prototype for __socket.
714 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
716         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
718         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
719         constants.
721         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
722         definition here.
723         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
724         definition here.
726         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
727         AF_* and PF_* constants.
729         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
731 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
733         * elf/rtld.c: Update help message.
734         Install link maps for preloaded objects using main_map as loader.
736         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
737         * elf/dl-profile.c: Likewise.
739         * elf/dlsym.c: Little optimization.
740         * elf/dlvsym.c: Likewise.
742 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
744         * posix/wordexp-test.c: Move test for parameter list at the very
745         beginning.
747 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
749         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
750         WRDE_REUSE flag is set.
751         (parse_param): Allow `*', `@', and numbers in parameter names.
752         (parse_dollars): Differentiate between arithmetic expansion and a
753         command substitution that starts immediately with a sub-shell
754         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
755         (parse_param): Memory allocated with __alloca in a block was
756         referenced outside that block.  Adjusted to use malloc/free.
757         (parse_param): Adjusted field-splitting algorithm so that there is
758         not necessarily a field split at the end of a parameter expansion.
760 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
762         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
763         don't free words that have already been allocated.
764         (parse_param): A dollar sign on its own will never have a pattern
765         associated with it (like "${HOME%%/}" has), so don't try to free it.
766         (parse_glob): Attempt to glob when an unquoted `[' is found
767         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
768         (parse_glob): Sorted out quoting in a glob-able word.
769         (parse_param): Added $* and $@ handling.
771 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
773         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
774         parsing it.
776 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
778         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
779         _dl_debug_message.
781 1998-03-12  Matthias Urlichs  <smurf@noris.de>
783         * elf/dl-misc.c: Default for debug output should be stderr.
784         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
785         * elf/dl-lookup.c: reference_name may be NULL or empty.
787 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
789         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
791 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
793         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
795         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
797 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
799         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
802 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
804         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
805         init stuff.
807 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
809         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
810         flag.
812         * misc/syslog.c (vsyslog): Don't try to send if not connected to
813         syslog daemon.
814         (closelog_internal): Don't do anything if not connected.
816 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
818         * libc.map: Add _dl_debug_message.
819         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
820         before every line.
821         * elf/fini.c: Correctly use new _dl_debug_message function.
822         * elf/init.c: Likewise.
823         * elf/dl-lookup.c: Likewise.
824         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
825         * elf/dl-load.c: Likewise.  Add more debugging prints.
826         * elf/dl-reloc.c: Likewise.
827         * elf/dl-version.c: Likewise.
828         * elf/dl-support.c: Add variables for debugging.
829         * elf/rtld.c: Likewise.  Recognize new debug options.
830         * elf/link.h: Declare new variables.
832         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
834 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
836         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
837         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
839 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
841         * posix/wordexp-test.c (command_line_test): New function to allow
842         testing of specific cases from the command-line.
844 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
846         * elf/dl-init.c (_dl_init_next): Print nicer messages.
847         * elf/dl-fini.c (_dl_fini): Likewise.
848         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
850         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
851         symbol in debug message.
852         (_dl_lookup_versioned_symbol_skip): Likewise.
854 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
856         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
857         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
858         * manual/filesys/texi: Document this.
860 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
862         * manual/filesys.texi: Document the change below.
864 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
866         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
867         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
869 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
871         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
872         instead scope.  If debugging display information about symbol
873         resolving.
874         (_dl_lookup_symbol): Call do_lookup with correct parameters.
875         (_dl_lookup_symbol_skip): Likewise.
876         (_dl_lookup_versioned_symbol): Likewise.
877         (_dl_lookup_versioned_symbol_skip): Likewise.
878         * elf/dl-support.c: Define _dl_debug_symbols.
879         * elf/link.h: Add declaration for _dl_debug_symbols.
880         * elf/rtld.c: Define _dl_debug_symbols.
881         (process_dl_debug): Recognize symbols option.
883 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
885         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
886         in correct format.
887         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
888         with correct parameters.
889         [!PIC]: Initialize __libc_multiple_libcs.
891 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
893         * elf/dl-support.c (_dl_debug_bindings): Add definition.
894         * elf/rtld.c (_dl_debug_bindings): Add definition.
895         (process_dl_debug): Recognize bindings option.  Update help message.
896         * elf/link.h (struct link_map): Add l_versyms member.
897         (_dl_debug_bindings): Add declaration.
898         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
899         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
900         and l_reloc_result.
901         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
902         (sym_val): Remove a member, add m as link_map.
903         (do_lookup): Return result appropriately.
904         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
905         Call do_lookup correctly.
906         (_dl_lookup_symbol_skip): Likewise.
907         (_dl_lookup_versioned_symbol): Likewise.
908         (_dl_lookup_versioned_symbol_skip): Likewise.
910 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
912         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
913         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
915         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
916         * libc.map: Add chown to GLIBC_2.1.
917         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
918         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
920 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
922         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
923         weak alias.
924         * sysdeps/alpha/ffs.c: Likewise.
925         * sysdeps/am29k/ffs.c: Likewise.
926         * sysdeps/i386/ffs.c: Likewise.
927         * sysdeps/i960/ffs.c: Likewise.
928         * sysdeps/m68k/ffs.c: Likewise.
929         * sysdeps/m88k/ffs.c: Likewise.
930         * sysdeps/powerpc/ffs.c: Likewise.
931         * sysdeps/rs6000/ffs.c: Likewise.
932         * sysdeps/vax/ffs.s: Likewise.
933         * string/string.h: Declare __ffs.
934         * libc.map: Export it.
935         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
936         __builtin_ffs, which is not guaranteed to be namespace clean.
938 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
940         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
941         table, which is much more likely to exist than debugging symbols.
942         (printsym): Remove const.
943         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
944         header table.
946         * libc.map: Export __profile_frequency, used by elf/sprof, to
947         avoid infinite recursion during startup.
949 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
951         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
952         Readd lost negate.
954         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
956 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
958         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
960 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
962         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
963         LD_PRELOAD, and LD_VERBOSE.
964         (dl_main): Use global variables set by process_envvars instead of
965         calling getenv.
966         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
967         LD_LIBRARY_PATH value, this comes with the parameter.
968         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
969         ("LD_LIBRARY_PATH") to _dl_init_paths.
971 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
973         * elf/rtld.c (dl_main): Delay initialization of path structure if
974         the dynamically linker is invoked implicitly until we read the
975         dynamic section.
977 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
979         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
981 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
983         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
984         Linux 2.0 and 2.1.
986         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
988 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
990         * Makeconfig (nisobjdir): Set to path to nis directory.
991         (rpath-link): Add nisobjdir.
992         Patch by Sven Verdoolaege <skimo@kotnet.org>.
994         * elf/Makefile: Pretty print.
995         * elf/dl-lookup.c: Include unistd.h.
996         * elf/dl-runtime.c: Likewise.
998         * localedata/Makefile (test-srcs): Add tst-rpmatch.
999         (distribute): Add tst-rpmatch.sh.
1000         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
1002         New tests for rpmatch function by
1003         Jochen Hein <jochen.hein@delphi.central.de>.
1004         * localedata/tst-rpmatch.c: New file.
1005         * localedata/tst-rpmatch.sh: New file.
1007         * localedata/locales/de_DE: Correct yesexpr and noexpr.
1008         * localedata/locales/de_AT: Likewise.
1010         * posix/getopt.c: Update contact address.
1011         * posix/getopt1.c: Pretty print.
1013         * sysdeps/generic/libc-start.c: Do most of the initialization now
1014         here instead of in start.S.
1015         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
1016         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
1018         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
1019         profil_counter to be public.
1021 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
1023         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
1024         (parse_param): Coded parameter length expansion (${#var}).
1025         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
1026         (parse_param): Cleaned up (fixed) error handling.
1028         * posix/wordexp-test.c: IFS now includes non-whitespace character
1029         (comma).  Added more tests.
1031 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
1033         * elf/link.h: Fix typos.
1034         Reported by Andreas Jaeger.
1036         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
1037         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1039 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
1041         * argp/argp-help.c: Remove last bits of using gettext instead of
1042         dgettext.
1044 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
1046         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
1047         __libc_start_main.
1048         * csu/Makefile (routines): Add libc-start.
1049         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
1050         * elf/dl-lookup.c: Likewise.
1051         * elf/dl-version.c: Likewise.
1052         * sysdeps/i386/dl-machine.h: Likewise.
1053         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
1054         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
1055         _dl_sysdep_message macros which use _dl_sysdep_output.
1056         * elf/dl-fini.c: Write out which destructor is called while debugging.
1057         * elf/dl-init.c: Likewise for constructor.
1058         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
1059         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
1060         _dl_sysdep_message.  Add _dl_sysdep_output.
1061         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
1062         this file can be opened.
1063         For LD_DEBUG=libs also set _dl_debug_impcalls.
1064         * sysdeps/generic/dl-cache.c: Include unistd.h.
1065         * sysdeps/generic/libc-start.c: New file.
1066         * sysdeps/unix/sysv/linux/libc-start.c: New file.
1067         * sysdeps/i386/elf/start.S: Don't call main directly, call
1068         __libc_start_main instead.
1070         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
1072 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
1074         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
1076 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
1078         * argp/argp.h (struct argp): Add new field domain.
1079         * argp/argp-help.c: Change all gettext calls to dgettext and use
1080         domain field from appropriate argp in call.
1081         * argp/argp-parse.c: Likewise.
1083 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
1085         * posix/wordexp-test.c: Change testsuite so that it can run even
1086         for ~root != /root.
1088 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1090         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
1092 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1094         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1095         Don't store into global errno if we already store through
1096         __errno_location.
1097         * sysdeps/unix/i386/sysdep.S: Likewise.
1098         * sysdeps/unix/alpha/sysdep.S: Likewise.
1099         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1100         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
1102         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
1103         PIC).
1105 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1107         * sysdeps/generic/sysdep.h (L): Remove definition.
1108         * sysdeps/i386/sysdep.h (L): Define it here instead.
1110 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1112         * nis/nis_call.c (__do_niscall): Safe and reset errno.
1114         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
1116 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1118         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
1119         declaration style to avoid warnings.
1121 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
1123         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
1124         "LD_DEBUG".
1126 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
1128         * posix/Makefile (tests): Add wordexp-test.
1129         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
1130         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
1132 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
1134         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
1135         dependencies.
1137         * elf/link.h (struct r_search_path_elem): Add two new field for
1138         lib path debugging.
1139         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
1140         variable accordingly.
1141         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
1142         is considered next along with information about load paths.
1143         * sysdeps/generic/dl-cache.c: Likewise.
1144         * elf/dl-support.c: Define _dl_debug_libs.
1145         * elf/genrtldtbl.awk: Add initializers for two new field in
1146         struct r_search_path_elem.
1148 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1150         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
1151         * sysdeps/m68k/lshift.S: Likewise.
1152         * sysdeps/m68k/rshift.S: Likewise.
1153         * sysdeps/m68k/sub_n.S: Likewise.
1154         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
1155         * sysdeps/m68k/m68020/mul_1.S: Likewise.
1156         * sysdeps/m68k/m68020/submul_1.S: Likewise.
1158         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
1159         [_LIBC_REENTRANT]: Don't store into global errno.
1161         * sysdeps/m68k/sysdep.h: New file.
1162         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
1163         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
1164         (DO_CALL): Change to expect syscall name as argument.
1165         (PSEUDO): Pass syscall_name to DO_CALL.
1166         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
1167         errno.
1169 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
1171         * elf/rtld.c: Speed up processing of environment variables.  Do
1172         only one run on the environment by avoiding to call getenv.
1173         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
1174         function.  Used by patch above.
1176 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1178         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
1179         running nscd.
1180         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
1181         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
1182         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
1184 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
1186         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
1187         module cannot be found.  Reported by Andreas Jaeger.
1189 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1191         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
1192         on platforms which default to unsigned chars.
1193         * nscd/nscd_getpw_r.c: Likewise.
1194         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
1195         defining it.
1197 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1199         * elf/Makefile (install-bin): Change = to += for sprof to install
1200         ldd also.
1202 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
1204         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
1206 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
1208         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
1210 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1212         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
1213         that a failure to connect to nscd doesn't change errno.
1215 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1217         * manual/maint.texi (Reporting Bugs): Change
1218         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
1220         * locale/iso-4217.def: Likewise
1222 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
1224         * manual/texinfo.tex: Updated.
1226 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1228         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
1229         value.
1230         * sysdeps/posix/pathconf.c: Likewise.
1231         * posix/getconf.c: Print `undefined' if pathconf returns -1
1232         without setting errno.
1234 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
1236         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
1237         problem.
1238         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1239         Patches by Elliot Lee <sopwith@cuc.edu>.
1241 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
1243         * elf/link.h (struct link_map): Add new field l_reloc_result.
1244         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
1245         of relocation for the object to be profiled.
1246         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
1247         to NULL.
1248         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
1249         array here.
1250         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
1251         contains a result from a previous run use this instead of computing
1252         the value again.
1253         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
1255 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1257         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
1258         offsets into the GOT.
1259         (RTLD_START): Likewise.
1261 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
1263         * elf/sprof.c: Cleanup a bit.
1265 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
1267         * sysdeps/generic/sysdep.h (L): New. Define.
1269         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
1271         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
1273         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
1274         to have only one exit point for functions.
1275         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1276         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
1277         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
1278         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1279         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1281 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1283         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
1284         reset errno so that errno isn't set to ENOSYS in the first call.
1285         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
1286         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1287         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1288         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1290 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
1292         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
1293         * sysdeps/i386/addmul_1.S: Likewise.
1294         * sysdeps/i386/lshift.S: Likewise.
1295         * sysdeps/i386/mul_1.S: Likewise.
1296         * sysdeps/i386/rshift.S: Likewise.
1297         * sysdeps/i386/sub_n.S: Likewise.
1298         * sysdeps/i386/submul_1.S: Likewise.
1299         * sysdeps/i386/i586/add_n.S: Likewise.
1300         * sysdeps/i386/i586/addmul_1.S: Likewise.
1301         * sysdeps/i386/i586/lshift.S: Likewise.
1302         * sysdeps/i386/i586/mul_1.S: Likewise.
1303         * sysdeps/i386/i586/rshift.S: Likewise.
1304         * sysdeps/i386/i586/sub_n.S: Likewise.
1305         * sysdeps/i386/i586/submul_1.S: Likewise.
1307         * sysdeps/i386/sysdep.h: Extend last change.
1309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
1310         to have only one exit point for functions.
1312 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
1314         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
1315         search.
1317 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
1319         * Makerules: Generate libc.so with absolute paths for the used
1320         shared objects.
1322         * config.make.in: Add MAKEINFO definition.
1324 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
1326         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
1327         (ENTRY): Use STABS_FUN.
1328         (END): Use STABS_FUN_END.
1329         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
1331         * elf/Makefile: Add rules to build sprof program.
1332         * elf/sprof.c: New file.
1334 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1336         * misc/syslog.c (openlog_internal): Insert missing closing brace.
1338 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1340         * configure.in: Check for working msgfmt version (from GNU gettext
1341         0.10 or later).
1343 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
1345         * configure.in: Avoid //s in sysdirs.
1346         Patch by Roland McGrath.
1348         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1350 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
1352         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
1353         setting _dl_global_scope for RTLD_GLOBAL.
1355 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1357         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
1358         possible lists of object-suffixes are taken care of.
1360 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
1362         * timezone/private.h: Update from tzcode1998c.
1363         * timezone/zic.c: Likewise.
1364         * timezone/antarctica: Updated from tzdata1998c.
1365         * timezone/asia: Likewise.
1366         * timezone/australasia: Likewise.
1367         * timezone/europe: Likewise.
1368         * timezone/southamerica: Likewise.
1370 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
1372         * posix/glob.c (glob_in_dir): Add support for cases insensitive
1373         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
1375 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
1377         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
1378         Changed type of TWO43, TWO52 from float to double.
1379         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
1380         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
1381         Changed type of TWO43 from float to double.
1382         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
1383         Use __isinff.
1385 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
1387         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
1388         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
1389         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1391 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
1393         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
1394         kernel_termios.h.
1395         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
1396         Clean up random whitespace.
1397         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
1398         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
1399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
1400         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1402 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
1404         * shlib-versions: Match alpha*.
1405         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
1406         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
1408         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
1409         Implement copysign* with and without __ prefix.
1410         Likewise for fabs; use builtin for gcc 2.8.
1411         (floor*): New.
1412         (fdim*): New.
1414         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
1415         (R_SPARC*): Match current v9 ABI.
1417         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
1419         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
1420         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1421         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
1422         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
1423         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1424         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1425         * sysdeps/unix/grantpt.c (argv): Fix consts.
1426         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
1427         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1429 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1431         * misc/syslog.c: Change to allow user the interpretation of the
1432         outcome even with syslog having no return value.
1434 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1436         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
1437         that the number of program headers is >0 (which is wrong for the
1438         loader itself).
1440 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1442         * Makefile (distribute): Add README.libm.
1444 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1446         * time/clocktest.c (main): Correct typo: "--" -> "==".
1448 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
1450         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
1451         inline function.
1452         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
1453         inline functions.
1455         * math/libm.map (__atan2): Added.
1457 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1459         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
1460         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1462         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
1463         bug.
1465 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1467         * manual/arith.texi (Old-style number conversion): Correct
1468         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1470 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1472         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
1473         but does not require it.  Handle missing argv[] values gracefully.
1474         * posix/execl.c: Likewise.
1475         * posix/execle.c: Likewise.
1477 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1479         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
1480         bit.
1481         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1483 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1485         * libc.map: Add __adjtimex.
1487 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1489         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1490         Remove memset.
1492 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
1494         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
1495         to 64.
1497         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
1499         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
1500         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
1502         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
1503         for shared library.
1505         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
1507         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1508         Added adjtimex and old_adjtimex.
1510         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
1511         New.
1512         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
1513         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
1515         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
1516         symbols only for shared library.
1517         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1518         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1519         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1520         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1521         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1522         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1523         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1525         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
1526         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1527         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1528         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1529         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1530         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1531         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1532         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1534         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
1535         rusage pointer.
1537         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
1538         New macros.
1539         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
1540         timex and __adjtimex, respectively.
1542         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
1544         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
1546 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
1548         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
1549         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
1551 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
1553         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
1555 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1557         * Makefile.in: Disable built-in rules.
1559 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1561         * sysdeps/i386/fpu/t_exp.c: Move to ...
1562         * sysdeps/libm-i387/t_exp.c: ... here.
1564 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
1566         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
1567         from __exp2_deltatable.
1569 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
1571         * nis/ypclnt.c (yp_master): Check result of strdup.
1572         Patch by Thorsten Kukuk.
1574 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1576         * nis/ypclnt.c: Give clnt handle after error checking free, change
1577         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
1579 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
1581         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
1582         Patch by Joe Keane <jgk@jgk.org>.
1584         * misc/fstab.h (struct fstab): Change fs_type member to be const.
1585         * misc/fstab.c: Remove casts in fs_type assignments.
1587 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1589         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
1590         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
1591         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
1592         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
1593         * sysdeps/powerpc/bits/fenv.h: Likewise.
1594         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1595         * sysdeps/generic/bits/fenv.h: Likewise.
1596         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1597         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
1598         * sysdeps/powerpc/test-arith.c (main): Likewise.
1600 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
1602         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
1603         the comparison macros.
1605 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
1607         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
1608         (__log2): Fixed return values.
1609         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1611 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
1613         * math/math.h (isunordered): Rename local variables to ensure
1614         correct code.  Reported by HJ Lu.
1616 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
1618         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1619         isless, islessequal, islessgreater, isunordered): Fix syntax for
1620         fucompip instruction.
1621         (isless, islessequal): Fix logic.
1623 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1625         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
1626         (comparisons_test): New tests for comparison macros.
1628 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
1630         * Makeconfig: Filter out frame-pointer effecting options when
1631         compiling profiling or debugging code.
1632         * config.h.in (internal_function): Don't define here if PROF is
1633         defined.
1634         * gmon/gmon.c (__moncontrol): Don't change state if already in error
1635         state.
1636         (__monstartup): If calloc fails set error state and mark array as
1637         not allocated.
1638         (_mcleanup): Don't call write_gmon if in error state.  Don't try
1639         to free array if not  successfully allocated.
1641         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
1642         Include elf.h to get macro definitions.
1643         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
1645 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
1647         * elf/ldd.sh.in: Add compatibility for broken old shells.
1648         * elf/ldd.bash.in: Likewise.
1650 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
1652         * sunrpc/rpc_main.c (open_input): Check pipe return error.
1654         * time/clocktest.c (main): Check signal return error.
1656 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1658         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
1659         "/" and use do-install-program. Reported by Mark M. Kettenis.
1660         (subdir_install):  Likewise.
1662 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1664         * sunrpc/rpc_sample.c: Fix typo.
1666         * nscd/connections.c: Use locale.
1667         * nscd/grpcache.c: Add debug messages, gidtbl should get the
1668           calloc result.
1669         * nscd/nscd.c: Check if init functions fails.
1670         * nscd/nscd_conf.c: Allow disabling of group cache.
1671         * nscd/nscd_getgr_r.c: Fix return code if group not found.
1672         * nscd/pwdcache.c: Fix debug messages.
1674 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1676         * libc.map: Add __monstartup and _mcleanup for profiling support.
1678 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1680         * libc.map: Export __getpagesize, for binary compatibility with
1681         2.0.
1683 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1685         * posix/globtest.sh: Use --library-path instead of
1686         LD_LIBRARY_PATH.
1687         * localedata/sort-test.sh: Likewise.
1688         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
1690 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1692         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
1693         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
1694         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1696         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1697         kernel_sigaction): Define.
1698         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
1699         kernel_sigaction): Define.
1701 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1703         * math/libm-test.c: Change epsilons for libm-ieee754.
1705 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
1707         * sysdeps/i386/__longjmp.S: Fix race condition.
1708         Reported by Bruno Haible <haible@ilog.fr>.
1710 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
1712         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
1713         * iconvdata/8bit-gap.c: Likewise.
1714         * iconvdata/8bit-generic.c: Likewise.
1715         * iconvdata/iso6937.c: Likewise.
1716         * iconvdata/iso8859-1.c: Likewise.
1717         * iconvdata/sjis.c: Likewise.
1718         * iconvdata/t61.c: Likewise.
1720 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1722         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
1723         feature tests by positive feature tests.
1725 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1727         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
1729 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
1731         * elf/dlvsym.c (dlvsym_doit): More corrections.
1732         Patch by Andreas Jaeger.
1734 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
1736         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
1738 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
1740         * libc.map: More reordering for GLIBC_2.1 symbols.
1742 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1744         * libc.map: Move some functions from version GLIBC_2.0 to
1745         GLIBC_2.1, reorder declarations.
1747 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
1749         * resolv/gethnamaddr.c (addrsort): Make this function extern.
1750         Patch by zab@thebrain.grumblesmurf.net.
1752 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1754         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
1755         NIS+ functions with version GLIBC_2.1.
1757 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
1759         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
1760         with 2.0 binaries.  Reported by Thorsten Kukuk.
1762 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1764         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
1766         * elf/dlsym.c (dlsym_doit): Likewise.
1768 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1770         * elf/link.h: Correct typos.
1772         * iconv/iconv_prog.c: Correct typo.
1774 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
1776         * iconv/Makefile: Add rules to build and install iconv program.
1777         * iconv/iconv_prog.c: New file.
1779 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
1781         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
1782         _dl_lookup_symbol_skip call.
1783         * elf/dlvsym.c (dlvsym_doit): Likewise.
1785 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
1787         * libio/iovsscanf.c: Do not include errno.h.
1789 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1791         * elf/dl-load.c (add_name_to_object): Don't translate strings.
1792         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
1793         pulling in the whole error list.
1794         (__dcgettext, dcgettext): Removed.
1795         * libc.map: Export _strerror_internal.
1797 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
1799         * sysdeps/i386/fpu/t_exp.c: New file.
1801 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1803         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
1804         everything with version GLIBC_2.1.
1805         * hesiod/libnss_hesiod.map: Likewise.
1807 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1809         * manual/arith.texi (Old-style number conversion): This node is a
1810         section, not a subsection.
1812 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1814         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
1816 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1818         * elf/rtld.c (dl_main): Make sure that the library search paths
1819         have been initialized before the first call to _dl_map_object.
1821 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1823         * Makerules (common-generated): Add libc_pic.os.
1825 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1827         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
1828         of the executable.
1830 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1832         * sysdeps/m68k/fpu/t_exp.c: New file.
1834 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1836         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
1837         to global errno variable anymore.
1839 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
1841         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
1842         If PRELOADED is nonzero check in case of an SUID application
1843         whether the shared object has the SUID bit set.
1844         Fix some other problems with handling shared objects in system
1845         specific directories.
1846         (_dl_map_object): Also take extra parameter and pass it to open_path.
1847         * elf/link.h (_dl_map_object): Correct prototype and comment.
1848         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
1849         * elf/dl-open.c (_dl_open): Likewise.
1850         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
1852         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
1854 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1856         * math/libm-test.c (modf_test): Add test for 1.5.
1858         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
1859         0 to get always an int.
1861 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1863         * math/libm.map: Move all symbols that are new in glibc 2.1 to
1864         version GLIBC_2.1.
1866 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1868         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
1869         trying to read another character.
1871 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1873         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
1874         name to lowercase.
1876         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
1877         name to lowercase, add test for big enough buffer.
1879 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1881         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
1882         Make compatible with older kernels.  Patch by Richard Henderson.
1884 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
1886         * elf/dl-load.c (open_path): Use __xstat instead of stat.
1888         * localedata/tst-locale.sh: Comment out first test for now.
1890 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
1892         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
1893         as 1.
1894         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1895         Likewise.
1897         * libio/iogetline.c (_IO_getline_info): Renamed from
1898         _IO_getline.
1899         (_IO_getline): Just call _IO_getline_info.
1901         * libio/libioP.h (_IO_getline_info): New declaration.
1903         * libc.map (_IO_getline_info, __write): Added.
1905 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1907         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
1908         const char* to shut up gcc.
1910 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
1912         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
1913         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
1915         * math/math.h: Define M_* constants always as `double' and add new
1916         macros M_*l which are of type `long double'.
1917         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
1918         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
1919         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
1920         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1921         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1922         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1923         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1924         * math/libm-tst.c: Likewise.
1926         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
1927         define as long double unconditionally.
1929 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1931         * manual/arith.texi (Old-style number conversion): Correct some
1932         typos.
1934 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
1936         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
1937         Restore.
1939         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
1941 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
1943         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
1944         on $(rtld-ldscript).
1946         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
1947         starting from 0 not only from `from'.
1948         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1950 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
1952         * elf/rtld.c (dl_main): Recognize --library-path parameter and
1953         pass value (or NULL) to _dl_init_paths.
1954         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
1955         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
1956         environment variable.
1957         * elf/link.h: Change prototype for _dl_init_paths.
1958         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
1960         * localedata/Makefile (distribute): Add test files.
1962 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1964         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
1965         test1.def, test2.def, test3.def, test4.def}: Simple input files
1966         for localedef. Contributed by Yung-Ching Hsiao
1967         <yhsiao@cae.wisc.edu>.
1969         * localedata/Makefile (tests): Call tst-locale.sh.
1971         * localedata/tst-locale.sh: New file, regression tests for some
1972         localedef problems.
1974 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1976         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
1978         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
1979         terminated.
1980         * nis/nss_nisplus/nisplus-network.c: Likewise.
1981         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1982         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1983         * nis/nss_nisplus/nisplus-service.c: Likewise.
1985         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
1986         and support generating thread safe RPC code.
1987         * sunrpc/rpc_main.c: Add changes.
1988         * sunrpc/rpc_clntout.c: Likewise.
1989         * sunrpc/rpc_cout.c: Likewise.
1990         * sunrpc/rpc_hout.c: Likewise.
1991         * sunrpc/rpc_parse.c: Likewise.
1992         * sunrpc/rpc_sample.c: Likewise.
1993         * sunrpc/rpc_scan.c: Likewise.
1994         * sunrpc/rpc_svcout.c: Likewise.
1995         * sunrpc/rpc_util.c: Likewise.
1996         * sunrpc/rpc_util.h: Add new structs and prototypes.
1997         * sunrpc/proto.h: Remove prototypes for static functions.
1999 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2001         * locale/programs/ld-messages.c (messages_finish): Don't skip
2002         error checking when being quiet.
2003         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
2004         (set_class_defaults): Likewise.
2005         * locale/programs/charmap.c (parse_charmap): Likewise.
2006         * locale/programs/ld-collate.c (collate_finish): Likewise.
2007         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
2008         * locale/programs/ld-time.c (time_finish): Likewise.
2009         * locale/programs/locfile.c (write_locale_data): Likewise.
2011         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
2012         unknown characters and empty ranges.
2013         * locale/programs/ld-collate.c (collate_order_elem): When
2014         processing an ellipsis properly form a linked list in the result
2015         table, fix typo when allocating ordering array.
2016         [PR libc/419]
2018 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2020         * elf/Makefile (ld-map): Define.
2021         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
2022         `$(rtld-ldscript)'.
2023         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
2024         on $(ld-map).
2025         (rtld-link): Combine the two versions of this definition.  Fixed
2026         to make it work when no symbol versioning is used.
2028 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
2030         * Makeconfig (build-program-cmd): Use --library-path parameter to
2031         ld.so instead of environment variable.
2033         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
2034         * sunrpc/rpc_main.c: Remove support for -$$ option again.
2036 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2038         * Make-dist: Respect with-cvs setting.
2039         * MakeTAGS (all-pot): Likewise.
2040         * sysdeps/sparc/sparc32/Makefile: Likewise.
2041         * sysdeps/mach/hurd/Makefile: Likewise.
2042         * stdlib/Makefile: Likewise.
2043         * posix/Makefile: Likewise.
2044         * intl/Makefile: Likewise.
2045         * po/Makefile (linguas): Likewise
2047 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2049         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
2051 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
2053         * libc.map: Add __strcasecmp.
2055         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
2056         module.
2058         * nss/getXXent_r.c: If no more module is found don't try to call
2059         setXXent functions but leave unsuccessfully.
2061         * malloc/obstack.h: Cleanups.
2063         * sysdeps/wordsize-32/stdint.h: New file.
2064         * sysdeps/wordsize-64/stdint.h: New file.
2065         * sysdeps/generic/stdint.h: New file.
2066         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
2067         * sysdeps/wordsize-64/inttypes.h: Likewise.
2068         * stdlib/Makefile (headers): Add stdint.h.
2070 1998-02-03  Paul Eggert  <eggert@twinsun.com>
2072         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
2074 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2076         * timezone: New directory.
2077         * time/README, time/africa, time/antarctica, time/asia,
2078         time/australasia, time/backward, time/checktab.awk,
2079         time/etcetera, time/europe, time/factory, time/ialloc.c,
2080         time/iso3166.tab, time/leapseconds, time/northamerica,
2081         time/pacificnew, time/private.h, time/scheck.c,
2082         time/solar87, time/solar88, time/solar89, time/southamerica,
2083         time/systemv, time/test-tz.c, time/tzfile.h,
2084         time/tzselect.ksh, time/yearistype, time/zdump.c,
2085         time/zic.c, time/zone.tab: Moved to timezone.
2086         * time/tzfile.c: Include tzfile.h from timezone subdir.
2087         * time/tzset.c: Likewise.
2088         * time/Makefile: Cut out all code relating to timezones...
2089         * timezone/Makefile: ...and paste it in here.
2090         * Makefile (subdirs): Add timezone.
2092 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
2094         * libc.map (_sys_nerr): Added.
2096         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
2097         versioned symbol.
2099 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
2101         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
2102         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
2103         Reported by Craig Metz <cmetz@inner.net>.
2105 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2107         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
2108         instead of strcasecmp.
2109         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
2111         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
2113 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
2115         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
2116         Patch by Dean Gaudet <dgaudet@arctic.org>.
2118 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
2120         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
2122 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2124         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
2125         with no poll syscall, just include the BSD version.
2126         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
2127         kernel without the syscall, include the stub version.
2128         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2129         * sysdeps/generic/getresuid.c: New file.
2130         * sysdeps/generic/getresgid.c: New file.
2132 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
2134         * stdio-common/vfscanf.c: Correct last change a bit.
2136 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
2138         * elf/Makefile: Don't use --version-script parameter to link ld.so
2139         unconditionally.
2141 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
2143         * math/Makefile: Add t_exp.
2144         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
2145         constants.
2146         * math/test-reduce.c: Remove temporarily, it seems to be broken.
2147         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
2148         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
2149         better accuracy.
2150         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
2151         algorithm for very large/very small arguments.
2152         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
2153         correct algorithm for very large/very small arguments; adjust for
2154         new table.
2155         * sysdeps/libm-ieee754/t_exp.c: New file.
2156         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
2158         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
2159         back, with comment that explains what breaks when you remove it :-(.
2161         * localedata/xfrm-test.c: Avoid integer overflow.
2163         * stdlib/strfmon.c: char is unsigned, sometimes.
2165         * sysdeps/powerpc/Makefile: Remove quad float support.
2166         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
2167         * sysdeps/powerpc/quad_float.h: Likewise.
2168         * sysdeps/powerpc/test-arith.c: Likewise.
2169         * sysdeps/powerpc/test-arithf.c: Likewise.
2171         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
2172         * sysdeps/generic/s_exp2f.c: Likewise.
2174         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
2175         don't try anything if _SOFT_FLOAT.
2177 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2179         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
2180         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
2181         * wctype/wctype.c: Likewise.
2182         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
2183         changed.  They are incompatible with the _ISxxx values from
2184         <ctype.h> on little endian machines.
2185         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
2186         bit number.  This fixes the real bug and restores the integrity of
2187         the ctype locale file.
2188         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
2189         * wctype/wcfuncs_l.c: Likewise.
2190         * wctype/wcextra.c: Likewise.
2191         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
2192         byte swapping.
2194 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
2197         into .bss segment instead of .common, so that aliases on it work.
2199         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
2200         .size directives, put into .bss segment instead of initializing it
2201         to 4.
2203 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
2205         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
2207         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
2208         functions.
2209         Make names without __ weak aliases.
2210         (__libc_release, __libc_version): Make them static.
2212         * include/gnu/libc-version.h: New file.
2213         * Makefile (headers): Add gnu/libc-version.h.
2215 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
2217         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
2218         and use x for member name.
2219         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
2221         * stdlib/drand48.c: Change according to member name change.
2222         * stdlib/drand48_r.c: Likewise.
2223         * stdlib/lcong48_r.c: Likewise.
2224         * stdlib/lrand48.c: Likewise.
2225         * stdlib/lrand48_r.c: Likewise.
2226         * stdlib/mrand48.c: Likewise.
2227         * stdlib/mrand48_r.c: Likewise.
2228         * stdlib/seed48.c: Likewise.
2229         * stdlib/seed48_r.c: Likewise.
2230         * stdlib/srand48_r.c: Likewise.
2232 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2234         * nss/test-netdb.c: Add some more test cases.
2236 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
2238         * libio/iovsscanf.c: Undo last change modifying errno.
2240 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2242         * stdio-common/vfscanf.c: Never try to read another character
2243         after EOF.  Don't decrement read_in after EOF, it wasn't
2244         incremented in the first place.
2245         (NEXT_WIDE_CHAR): Set First, not first.
2247 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
2249         * db/Makefile ($(inst_libdir)/libndbm.a,
2250         $(inst_libdir)/libndbm.so): New targets.
2251         * db2/Makefile: Likewise.
2253 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
2255         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
2256         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
2258 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2260         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
2261         <streambuf.h>.
2262         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2264 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2266         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
2267         versioned symbols.
2269 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
2271         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
2272         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
2273         Added for libdl.so.
2275 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2277         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
2278         extra syscall.
2280         * grp/Makefile: Fix logic when checking for thread package.
2281         * pwd/Makefile: Likewise.
2283 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
2285         * elf/Makefile (rtld-map): Replaced by libc-map.
2287         * elf/rtld.map: Removed.
2289         * libc.map (__libc_enable_secure, _dl_catch_error,
2290         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
2291         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
2292         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
2293         _dl_object_relocation_scope, _dl_relocate_object,
2294         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
2295         _r_debug): Added for ld.so.
2297 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
2299         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
2300         DO_VERSIONING.
2301         * libio/iofdopen.c: Ditto.
2302         * libio/iofopen.c: Ditto.
2303         * libio/oldfileops.c: Ditto.
2305         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
2306         version GLIBC_2.1.
2308         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
2309         oldsiglist from sysdep_routines and shared-only-routines.
2311         * sysdeps/unix/sysv/linux/errlist.c: New.
2312         * sysdeps/unix/sysv/linux/errlist.h: New.
2313         * sysdeps/unix/sysv/linux/sizes.h: New.
2314         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
2315         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
2317         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
2319         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
2320         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
2321         directive.
2323         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
2325         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
2326         (oldsiglist.c): Removed.
2328         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
2329         (_sys_siglist): Use SYS_SIGLIST instead.
2330         (_sys_nerr): Use SYS_NERR instead.
2332         * sysdeps/gnu/errlist.c: Rebuilt.
2334 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
2336         * elf/Makefile (others-static): New, set to ldconfig.
2337         ($(objpfx)ldconfig): Removed.
2339         * Rules (binaries-all, binaries-static, binaries-shared): New.
2340         Create targets for $(binaries-static) and $(binaries-shared).
2342         * Makeconfig (+link-static, link-libc-static,
2343         link-extra-libs-static): New for static linking.
2345 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2347         * manual/memory.texi (Using the Memory Debugger): Fix typo.
2349         * math/libm-test.c (modf_test): Add one more test for modf.
2351 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
2353         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2354         Rename from __libc_have_rt_sigs and leave as COMMON data.
2356 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
2358         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
2359         of __finite.
2361 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
2363         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
2365 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
2367         * misc/tst-efgcvt.c: Add yet more tests.
2368         * misc/efgcvt_r.c: And correct for these tests again.
2369         Reported by HJ Lu.
2371         * isomac.c: Move to...
2372         * stdlib/isomac.c: ...here.
2373         * Makefile: Move rules for handling isomac...
2374         * stdlib/Makefile: ...to here.
2376 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2378         * misc/tst-efgcvt.c: Add more tests.
2379         * misc/efgcvt_r.c: Correct result for above new tests.
2381 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
2383         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
2384         NDIGIT <= 0.
2386 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
2388         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
2389         if the programs weren't built.
2391 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
2393         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
2394         FE_TONEAREST, soldier on regardless and do the best we can.
2395         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
2397 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
2399         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
2400         _STDIO_H, before including <bits/stdio_lim.h>.
2402         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
2404         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
2405         exist.
2407         * sysdeps/arm/sys/ucontext.h: New file.
2409 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
2411         * manual/stdio.texi (Formatted Output Functions): Explicitly say
2412         that the return value from snprintf() does not count the
2413         terminating NUL as a character.
2415 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2417         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
2418         add description for sete[ug]id and general cleanup.
2419         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2421 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2423         * Makefile (parent-clean): Don't remove makefile fragments here.
2424         (postclean): New variable.
2425         (clean): Remove makefile fragments here.
2426         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
2427         (generated): Add isomac and isomanc.out.
2428         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
2429         avoid-generated is set.
2430         (postclean-generated): Add soversion.mk.
2431         ($(common-objpfx)version.mk): Don't include if avoid-generated is
2432         set.
2433         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
2434         avoid-generated is set.
2435         (common-generated): Add libc.so and libc.so$(libc.so-version).
2436         (generated): Add versioned libraries.
2437         (common-mostlyclean): Also remove %.so and %_pic.a.
2438         * csu/Makefile (generated): Add abi-tag.h.
2439         * db2/Makefile (extra-objs): Add getlong.o.
2440         * elf/Makefile (generated): Add ld.so, ldd and
2441         $(rtld-installed-name).
2442         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
2443         * malloc/Makefile (generated): Add mtrace.
2444         * po/Makefile: Don't include version.mk, not needed any more.
2445         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
2446         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
2447         syscall.h -> sys/syscall.h.
2448         (common-generated): Add s-proto.d.
2449         (postclean-generated): Add sysd-syscalls.
2450         * localedata/Makefile (test-output): Add all output files.
2451         (generated): Add test-input and test-output.
2452         (generated-dirs): Add all the dirs.
2454 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2456         * Makefile (test-output, generated, generated-dirs): New
2457         variables.
2459 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2461         * resolv/nss_dns/dns-host.c: Various code cleanups.
2463 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
2465         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
2466         From Philip Blundell <pb@nexus.co.uk>.
2467         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
2469 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2471         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
2472         Suggested by debian/sparc porters.
2474 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2476         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
2477         for ecvt and fcvt.
2479 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
2481         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
2482         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
2484         * signal/signal.h: Always define sigset_t if __need_sigset_t is
2485         defined even if __USE_POSIX is not defined.
2487 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2489         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
2490         to support obsolete tty major numbers correctly.
2492 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
2494         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
2495         directory first and ignore install error.
2497         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
2498         128 from ptyno and fix a typo for the BSD style pty.
2500 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2502         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
2503         syscalls.list's.
2505 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2507         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2508         getresuid and getresgid.
2510         * sysdeps/unix/sysv/linux/getresuid.c: New file.
2511         * sysdeps/unix/sysv/linux/getresgid.c: New file.
2513         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
2514         s_getres[ug]id.
2516         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2518         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2519         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2521 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
2523         * nscd/grpcache.c: Include <stdlib.h>.
2525 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
2527         * stdlib/atoll.c: Fix comments.
2529         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
2530         * sysdeps/posix/ttyname_r.c: Ditto.
2532 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2534         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
2535         __USE_MISC, independent of __USE_UNIX98.
2537 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
2539         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2540         Rename from __libc_have_rt_sigs and leave as COMMON data.
2542 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
2544         * Makeconfig (CFLAGS-.os): Kill -fno-common.
2545         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
2547         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
2548         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
2549         version symbols.
2550         * include/libc-symbols.h (symbol_version, default_symbol_version):
2551         Provide asm versions and correct !DO_VERSIONING versions.
2552         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
2553         the weak symbol list.
2555         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
2556         Rename from __libc_have_rt_sigs and leave as COMMON data.
2557         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2558         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2559         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2561 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2563         * sunrpc/Makefile: Correct dependencies of rpcgen.
2565 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
2567         * nscd/Makefile: Fix test for available linuxthreads add-on.
2568         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2570 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2572         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
2574 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2576         * sysdeps/gnu/Makefile: Respect with-cvs variable.
2578         * manual/errno.texi (Error Messages): Correct description of
2579         strerror_r.  Pointed out by jonas@bagge.se.
2581 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2583         * manual/socket.texi (Host Address Functions): Clarify description
2584         of inet_network.
2586 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2588         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
2589         (grantpt): Delete superfluous cast.
2591 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2593         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
2594         elf/ldso_install instead of elf/subdir_install.
2595         (elf/ldso_install): New target.
2597         * elf/Makefile (ldso_install): New target.
2599 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2601         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
2602         of 1998-01-06.
2604 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2606         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
2607         constant expressions.
2609 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2611         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
2612         for __nss_configure_lookup.
2613         (output_hostent): Remove unused variable.
2615 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2617         * string/tst-inlcall.c: Fix format string.
2619 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2621         * inet/netinet/in.h: Rename second parameter of bindresvport to
2622         avoid buggy gcc warning. [PR libc/412]
2624 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
2626         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
2627         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
2629         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
2630         Follow POSIX and make tv_sec a time_t.
2631         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
2632         new tv64 syscall as well as fall back to tv32.
2633         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2634         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2635         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2636         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2637         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2638         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2639         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2640         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
2642         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
2643         * include/rpcsvc/nis_tags.h: Likewise.
2644         * include/rpcsvc/nislib.h: Likewise.
2646 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
2648         * libc.map: Add _h_errno.
2649         * inet/herrno.c: Make _h_errno weak alias.
2651         * login/Makefile (distribute): Add pty-internal.h.
2653         * nscd/Makefile (distribute): Add all the files missing.
2655         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
2656         are available.
2658         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
2659         and report status at the end.
2661         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
2663         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
2664         variable.
2665         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
2666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2669 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
2671         * configure.in: Fix --enable-add-ons code.
2673 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2675         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
2676         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
2677         [PR libc/441]
2679         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
2680         occurence in cache.  Reported by Rudolf Leitgeb
2681         <leitgeb@leland.stanford.edu>.
2682         [PR libc/440]
2684 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
2686         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
2687         that it never is EINTR (which is tested for in _IO_vfscanf).
2689         * Makefile.in: Call sub-make with CVSOPTS.
2691         * elf/Makefile (distribute): Add dl-procinfo.h.
2693         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
2695 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
2697         * version.h (VERSION): Bump to 2.0.92.
2699 1998-01-31  Phil Blundell  <philb@gnu.org>
2701         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
2702         alias for __new_sys_siglist.
2704 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
2706         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
2707         getgrgid_r.c if thread package is available.
2708         * pwd/Makefile: Likewise.
2709         * grp/getgrnam_r.c: Remove USE_NSCD definition.
2710         * grp/getgrgid_r.c: Likewise.
2711         * pwd/getpwnam_r.c: Likewise.
2712         * pwd/getpwuid_r.c: Likewise.
2714 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
2716         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
2717         with error to allow user intervention.
2718         * nss/getXXent_r.c: Likewise.
2720 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
2722         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
2723         AT_PLATFORM string.  Pretty print AT_BASE info.
2725         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
2726         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
2727         * sysdeps/generic/dl-procinfo.h: New file.
2728         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
2730 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
2732         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
2734         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
2735         thread and not pthread_detach.
2737         * nscd/nscd.c: Rewrite to use argp instead of getopt.
2739 1998-01-31  Phil Blundell  <philb@gnu.org>
2741         * configure.in: Add --without-cvs option to suppress automatic
2742         checkin of regenerated files.
2743         * config.make.in: Likewise.
2744         * Makefile: Respect with-cvs setting.
2745         * Makerules: Likewise.
2747         * configure.in: Allow the standalone ARM port to be configured.
2749 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2751         * grp/getgrgid_r.c: Define USE_NSCD.
2752         * grp/getgrnam_r.c: Likewise.
2753         * pwd/getpwuid_r.c: Likewise.
2754         * pwd/getpwnam_r.c: Likewise.
2756         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
2758         * nss/getXXbyYY_r.c: Try at first nscd.
2760         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
2761         * nscd/connections.c: New file.
2762         * nscd/dbg_log.c: New file.
2763         * nscd/dbg_log.h: New file.
2764         * nscd/grpcache.c: New file.
2765         * nscd/nscd.c: New file.
2766         * nscd/nscd.h: New file.
2767         * nscd/nscd_conf.c: New file.
2768         * nscd/nscd_stat.c: New file.
2769         * nscd/pwdcache.c: New file.
2771         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
2772         * nscd/nscd_getpw_r.c: Likewise.
2773         * nscd/nscd_proto.h: New, prototypes for client functions.
2775         * nscd/nscd.conf: New, example for a configuration file.
2776         * nscd/nscd.init: New, example for a startup script.
2778         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
2779         avoid deadlocks.
2780         * nscd/getgrnam_r.c: Likewise.
2781         * nscd/getpwnam_r.c: Likewise.
2782         * nscd/getpwuid_r.c: Likewise.
2784 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
2786         * intl/Makefile: Use CVSOPTS in cvs invocation.
2787         * po/Makefile: Likewise.
2788         * posix/Makefile: Likewise.
2789         * stdlib/Makefile: Likewise.
2791 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
2793         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
2794         [PR libc/410]
2795         * misc/Makefile (tests): Add tst-efgcvt.
2796         * misc/tst-efgcvt.c: New file.
2798 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
2800         * posix/regex.c: Add some more cleanups by Akim Demaille.
2802 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
2804         * signal/signal.h: Revert last change.
2805         * string/strsignal.c: Regard signal number NSGI as illegal.
2806         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
2807         members.
2809 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
2811         * Makefile.in: Add comment about CVSOPTS Makefile variable.
2812         * Makerules: Use CVSOPTS in cvs invocation.
2813         * Makefile: Likewise.
2814         * MakeTAGS: Likewise.
2815         * Make-dist: Likewise.
2817 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
2819         * sysdeps/generic/memmem.c: Correct last change.
2821 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
2823         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
2824         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
2826 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2828         * nis/ypclnt.c: Try at first to use the binding file from ypbind
2829         before using RPC.
2831 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2833         * manual/memory.texi (Heap Consistency Checking): mcheck is
2834         declared in <mcheck.h>.
2835         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
2837 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2839         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
2840         beginning of haystack.
2842 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2844         * nss/nss_files/files-service.c: Correct last patch.
2846 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
2848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
2849         __libc_have_rt_sigs.
2850         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
2851         including <bits/setjmp.h>.
2852         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2853         Patch from the Debian glibc/SPARC package.
2855 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
2857         * sysdeps/alpha/bzero.S: Fix a typo.
2858         * sysdeps/alpha/htonl.S: Ditto.
2859         * sysdeps/alpha/htons.S: Ditto.
2861 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2863         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
2865 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
2867         * include/cpio.h: Move to ...
2868         * posix/cpio.h: ...here.
2870         * locale/programs/ld-collate.c: Fix typo.
2872         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
2874         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
2876         * login/utmp_file.c (pututline_file): Don't always report success
2877         if similar entry is found.  Patch by Mark M. Kettenis.
2879 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
2881         * manual/Makefile: Don't try to install the info files if makeinfo
2882         is not available.
2884 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
2886         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
2887         kernel's network ioctls, rather than using <linux/sockios.h> to
2888         get them.  This way we are sure of maintaining compatibility if
2889         the kernel interface should change.
2891 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
2893         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
2895 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
2897         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
2898         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2900 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2902         Implement System V pseudoterminal handling.
2904         * login/Makefile
2905         (routines): Add getpt, grantpt, unlockpt, ptsname.
2906         (libutil-routines): Remove pty. Add openpty, forkpty.
2907         (distribute): New internal header pty-internal.h.
2908         (others): Add the helper program, pt_chown.
2909         (install-others): Install it, in $(libexecdir), mode 4755.
2911         * login/pty-internal.h: New file.
2912         * login/openpty.c: New file.
2913         * login/forkpty.c: New file.
2914         * login/programs/pt_chown.c: New file.
2916         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
2917         * stdlib/stdlib.h: Prototype them.
2919         * config.make.in: Define $(libexecdir).
2920         * Makeconfig: Define $(inst_libexecdir).
2922         * sysdeps/generic/pty.c: Removed.
2923         * sysdeps/unix/sysv/linux/pty.c: Removed.
2925         * sysdeps/generic/getpt.c: Stub out.
2926         * sysdeps/generic/grantpt.c: Likewise.
2927         * sysdeps/generic/ptsname.c: Likewise.
2928         * sysdeps/generic/unlockpt.c: Likewise.
2930         * sysdeps/unix/grantpt.c: New file.
2931         * sysdeps/unix/bsd/getpt.c: New file.
2932         * sysdeps/unix/bsd/unlockpt.c: New file.
2933         * sysdeps/unix/sysv/linux/getpt.c: New file.
2934         * sysdeps/unix/sysv/linux/ptsname.c: New file.
2935         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
2937 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
2939         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
2941 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2943         * nss/Makefile (tests): Add rule for test-netdb.c.
2945         * nss/test-netdb.c: New file.
2947 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
2949         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
2950         really kept as a variable.  Patch by Richard Henderson,
2951         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2953         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
2954         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
2955         entries as not existing.
2957 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2959         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
2960         zero in alternate form with precision of zero, which must produce
2961         "0".  Add braces to avoid ambiguous `else'.
2963 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2965         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
2966         problem with strncpy.
2967         * nis/nss_compat/compat-pwd.c: Likewise.
2968         * nis/nss_compat/comapt-spwd.c: Likewise.
2970 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2972         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
2973         by uch@nop.or.jp. [PR libc/437]
2975 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2977         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
2979 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2981         * stdio-common/test-popen.c: Include <errno.h>.
2983         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
2984         close.
2986         * inet/getnetgrent_r.c: Include <errno.h>.
2988         * db2/db/db_conv.c: Include <string.h> for memcpy.
2990         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
2991         so that memcpy is declared.
2993         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
2995         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
2997 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2999         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
3000         overflow while reading line with fgets.
3001         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3003 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
3005         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
3006         unsigned short, not short.
3007         Reported by Andreas Jaeger.
3009 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3011         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
3012         (ccept->accept).
3014         * sysdeps/generic/inttypes.h: Fix spelling.
3016 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3018         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
3020         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
3022 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
3024         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
3025         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
3026         field for hh modifier.
3027         * stdio-common/vfprint.c: Use is_char field and do not depend in
3028         is_short having the value 2.
3029         Bug reported by Andreas Jaeger.
3031 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3033         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
3034         PIC && DO_VERSIONING.
3036 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3038         * Rules: Add rules for $(common-objpfx)dummy$o.
3040 1998-01-26  Richard Henderson  <rth@cygnus.com>
3042         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
3043         unimplemented OSF/1 definitions so that they are not accidentally seen.
3045         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
3046         of the trampoline function into the macro.
3047         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
3048         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
3049         kernel 2.1.82 has this fixed.
3051         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
3052         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
3054 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
3056         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
3057         support sigaction on kernels > 2.1.7x.
3059 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
3061         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
3062         if it is empty.
3064         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
3065         Patch by David Engel <david@sw.ods.com>.
3067         * configure.in: Fix another typo in --enable-add-ons code.
3069 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
3071         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
3073 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3075         * nss/nss_files/files-network.c: Correct order of parameters for
3076         getnetbyaddr.
3078 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
3080         * db2/Makefile (routines): Add os_alloc.
3081         * db2/db.h: Update from db-2.3.16.
3082         * db2/db_185.h: Likewise.
3083         * db2/db_int.h: Likewise.
3084         * db2/btree/bt_close.c: Likewise.
3085         * db2/btree/bt_cursor.c: Likewise.
3086         * db2/btree/bt_delete.c: Likewise.
3087         * db2/btree/bt_open.c: Likewise.
3088         * db2/btree/bt_page.c: Likewise.
3089         * db2/btree/bt_put.c: Likewise.
3090         * db2/btree/bt_rec.c: Likewise.
3091         * db2/btree/bt_recno.c: Likewise.
3092         * db2/btree/btree_auto.c: Likewise.
3093         * db2/common/db_appinit.c: Likewise.
3094         * db2/common/db_apprec.c: Likewise.
3095         * db2/common/db_err.c: Likewise.
3096         * db2/common/db_region.c: Likewise.
3097         * db2/common/db_shash.c: Likewise.
3098         * db2/db/db.c: Likewise.
3099         * db2/db/db_auto.c: Likewise.
3100         * db2/db/db_conv.c: Likewise.
3101         * db2/db/db_dispatch.c: Likewise.
3102         * db2/db/db_dup.c: Likewise.
3103         * db2/db/db_pr.c: Likewise.
3104         * db2/db/db_rec.c: Likewise.
3105         * db2/db185/db185.c: Likewise.
3106         * db2/dbm/dbm.c: Likewise.
3107         * db2/hash/hash.c: Likewise.
3108         * db2/hash/hash_auto.c: Likewise.
3109         * db2/hash/hash_dup.c: Likewise.
3110         * db2/hash/hash_page.c: Likewise.
3111         * db2/hash/hash_rec.c: Likewise.
3112         * db2/include/btree_ext.h: Likewise.
3113         * db2/include/clib_ext.h: Likewise.
3114         * db2/include/common_ext.h: Likewise.
3115         * db2/include/db.h.src: Likewise.
3116         * db2/include/db_185.h.src: Likewise.
3117         * db2/include/db_am.h: Likewise.
3118         * db2/include/db_ext.h: Likewise.
3119         * db2/include/db_int.h.src: Likewise.
3120         * db2/include/hash_ext.h: Likewise.
3121         * db2/include/lock_ext.h: Likewise.
3122         * db2/include/log.h: Likewise.
3123         * db2/include/log_auto.h: Likewise.
3124         * db2/include/log_ext.h: Likewise.
3125         * db2/include/mp.h: Likewise.
3126         * db2/include/mp_ext.h: Likewise.
3127         * db2/include/mutex_ext.h: Likewise.
3128         * db2/include/os_ext.h: Likewise.
3129         * db2/include/os_func.h: Likewise.
3130         * db2/include/txn_ext.h: Likewise.
3131         * db2/lock/lock.c: Likewise.
3132         * db2/lock/lock_util.c: Likewise.
3133         * db2/log/log.c: Likewise.
3134         * db2/log/log.src: Likewise.
3135         * db2/log/log_archive.c: Likewise.
3136         * db2/log/log_auto.c: Likewise.
3137         * db2/log/log_get.c: Likewise.
3138         * db2/log/log_put.c: Likewise.
3139         * db2/log/log_rec.c: Likewise.
3140         * db2/log/log_register.c: Likewise.
3141         * db2/mp/mp_bh.c: Likewise.
3142         * db2/mp/mp_fget.c: Likewise.
3143         * db2/mp/mp_fopen.c: Likewise.
3144         * db2/mp/mp_fput.c: Likewise.
3145         * db2/mp/mp_pr.c: Likewise.
3146         * db2/mp/mp_sync.c: Likewise.
3147         * db2/mutex/mutex.c: Likewise.
3148         * db2/os/os_alloc.c: Likewise.
3149         * db2/os/os_config.c: Likewise.
3150         * db2/os/os_stat.c: Likewise.
3151         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3152         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3153         * db2/progs/db_load/db_load.c: Likewise.
3154         * db2/progs/db_printlog/db_printlog.c: Likewise.
3155         * db2/progs/db_recover/db_recover.c: Likewise.
3156         * db2/progs/db_stat/db_stat.c: Likewise.
3157         * db2/txn/txn.c: Likewise.
3159         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
3160         Unmap memory blocks in reverse order of allocation.
3161         Call munmap with load address added to offset.
3162         Bug reported by Miguel de Icaza.
3164         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
3165         up weight array.
3167         * localedata/locales/cs_CZ: Update by Michael Mraka
3168         <michael@informatics.muni.cz>.
3170         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
3171         __USE_BSD.
3173         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
3174         reading line with fgets.
3175         * nis/nss_compat/compat-pwd.c: Likewise.
3176         * nis/nss_compat/compat-spwd.c: Likewise.
3177         * nss/nss_files/files-XXX.c: Likewise.
3178         * nss/nss_files/files-alias.c: Likewise.
3179         * shadow/fgetspent_r.c: Likewise.
3181         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
3183         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
3184         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3185         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3187         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
3188         FP register content in ucontext_t.
3190 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3192         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
3193         calculation.  Patch by Markus Schoder
3194         <Markus.Schoder@dresdner-bank.de>.
3196         * math/libm-test.c (modf_test): Add more tests for modf.
3198         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
3199         munlock according to Unix98.
3201 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3203         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
3204         AF_INET.
3206 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
3208         * sysdeps/posix/ttyname.c: Handle symbolic links.
3209         * sysdeps/posix/ttyname_r.c: Ditto.
3211 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
3213         * db2/makedb.c (process_input): Write terminating \0 for value.
3214         (print_database): Simply print value string, don't use length.
3216 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3218         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
3219         exit of loop.
3221 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3223         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
3224         close all sockets.
3226 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
3228         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
3229         sigset.
3230         * signal/sighold.c: New file.
3231         * signal/sigrelse.c: New file.
3232         * sysdeps/generic/sigignore.c: New file.
3233         * sysdeps/generic/sigset.c: New file.
3234         * sysdeps/posix/sigignore.c: New file.
3235         * sysdeps/posix/sigset.c: New file.
3236         * signal/signal.h: Add prototypes for new functions.
3238         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
3239         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
3240         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
3241         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
3243 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3245         * posix/wordexp.c: Added IFS field-splitting in parameter and
3246         command substitution.  Fixed an IFS-related bug that caused an
3247         infinite loop.
3249 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
3251         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
3252         and swapcontext.
3253         * stdlib/ucontext.h: Correct prototypes.
3254         * sysdeps/generic/getcontext.c: New file.
3255         * sysdeps/generic/setcontext.c: New file.
3256         * sysdeps/generic/makecontext.c: New file.
3257         * sysdeps/generic/swapcontext.c: New file.
3258         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
3260 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
3262         * resource/sys/resource.h: Remove #include of ulimit.h which is
3263         not allowed by SUSv2 and not available on other systems.
3264         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
3266         * streams/Makefile: New file.
3267         * streams/stropts.h: New file.
3268         * sysdeps/generic/bits/stropts.h: New file.
3269         * sysdeps/generic/isastream.c: New file.
3270         * sysdeps/generic/getmsg.c: New file.
3271         * sysdeps/generic/getpmsg.c: New file.
3272         * sysdeps/generic/putmsg.c: New file.
3273         * sysdeps/generic/putpmsg.c: New file.
3274         * sysdeps/generic/fattach.c: New file.
3275         * sysdeps/generic/fdetach.c: New file.
3276         * sysdeps/unix/inet/Subdirs: Add streams.
3277         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
3278         __t_uscalar_t.
3279         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3280         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3281         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3282         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3284         * sysdeps/mach/_strerror.c: Follow changes of generic version to
3285         handle small buffers correctly.
3287 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
3289         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3290         Remove the 3rd arg and add declaration for _dl_runtime_resolve
3291         and _dl_runtime_profile.
3293 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
3295         * include/cpio.h: New file.  Mainly copied from GNU cpio.
3296         * posix/Makefile (headers): Add cpio.h.
3298 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3300         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
3301         to routines.
3302         * nis/nis_cache.c: New file.
3303         * nis/nis_cache2.h: New file.
3304         * nis/nis_cache2_xdr.c: New file.
3305         * nis/nis_call.c: Changes for cache2_info parameter.
3306         * nis/nis_checkpoint.c: Likewise.
3307         * nis/nis_intern.h: Likewise.
3308         * nis/nis_mkdir.c: Likewise.
3309         * nis/nis_ping.c: Likewise.
3310         * nis/nis_rmdir.c: Likewise.
3311         * nis/nis_server.c: Likewise.
3312         * nis/nis_util.c: Likewise.
3314 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3316         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
3317         return/errnop codes.
3318         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3319         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3320         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3321         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3322         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3323         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3324         * nis/nss_nisplus/nisplus-rpc.c: Likewise
3325         * nis/nss_nisplus/nisplus-service.c: Likewise.
3326         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3328 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3330         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
3331         * nis/nss_nis/nis-ethers.c: Likewise.
3332         * nis/nss_nis/nis-grp.c: Likewise.
3333         * nis/nss_nis/nis-hosts.c: Likewise.
3334         * nis/nss_nis/nis-network.c: Likewise.
3335         * nis/nss_nis/nis-proto.c: Likewise.
3336         * nis/nss_nis/nis-hosts.c: Likewise.
3337         * nis/nss_nis/nis-network.c: Likewise.
3338         * nis/nss_nis/nis-proto.c: Likewise.
3339         * nis/nss_nis/nis-publickey.c: Likewise.
3340         * nis/nss_nis/nis-pwd.c: Likewise.
3341         * nis/nss_nis/nis-rpc.c: Likewise.
3342         * nis/nss_nis/nis-service.c: Likewise.
3343         * nis/nss_nis/nis-spwd.c: Likewise.
3345 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
3347         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
3348         Added to follow latest kernel development.
3350 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
3352         * nss/db-Makefile: Handle empty and comment lines better.
3353         ($(VAR_DB)/services.db): Generate entries with missing protocol
3354         value.
3356 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3358         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
3359           NULL.
3360           (getservbyname): Allow proto == NULL.
3361           Pointed out by David N. Welton <davidw@gate.cks.com>.
3362           [PR libc/430].
3364 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
3366         * nis/nislib/nislib.h: Finally removed.
3368         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
3369         C compiler.  From Kaveh Ghazi.
3370         (TYPE_MINIMUM): Define.
3371         (TYPE_MAXIMUM): Define.
3372         (TIME_T_MIN): Use TYPE_MINIMUM.
3373         (TIME_T_MAX): Use TYPE_MAXIMUM.
3374         Patch by Jim Meyering <meyering@ascend.com>.
3376 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
3378         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
3379         __pread64, __pwrite64, and __getpid.
3381         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
3382         versions.
3384 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3386         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
3387         cancelable socket functions as __libc_xxx with __xxx as weak
3388         alias.
3389         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3390         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3392         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
3393         redefined.
3394         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3395         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
3396         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3397         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3399         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
3400         and __xxx a weak alias.
3401         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3402         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3403         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3404         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3405         * sysdeps/unix/sysv/linux/send.S: Likewise.
3406         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3407         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3409 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3411         * locale/langinfo.h: Add defines.
3413         * dirent/dirent.h: Add defines for DT_*, check also for
3414         _DIRENT_HAVE_D_TYPE.
3415         Suggested by Roland McGrath.
3417 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3419         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
3420         Update from Linux 2.1.73+79.
3422         * README.template: Update information about possible
3423         configurations.
3425         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
3426         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3427         [PR libc/417].
3429         * manual/time.texi (Priority): Correct description of
3430         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3431         [PR libc/416].
3433 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
3435         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
3436         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
3438 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
3440         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
3441         Andreas Jaeger.
3443 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
3445         * locale/programs/ld-collate.c: Little optimizations.
3447         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
3449         * string/Makefile (tests): Add tst-inlcall.
3450         * string/tst-inlcall.c: New file.
3452         * string/strsignal.c: Add support for real-time signals.
3454         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
3455         presense of small buffer.
3457         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
3459         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
3460         for i686.
3462         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
3463         _NSIG + 1.
3465 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
3467         * Rules: Add explicit rule for dummy.o; at least one library needs
3468           it and it isn't autogenerated by the default rules.
3470 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3472         * math/libm-test.c: Tweak epsilons.
3474 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3476         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
3477         child.
3478         (feenv_mask_test): Likewise.
3480 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3482         * Makeconfig: Don't export CPPFLAGS.
3484 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3486         * sunrpc/rpc_main.c (parseargs): Use perror to print error
3487         message.
3489 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3491         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
3492         terminating null in key size.
3494 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3496         * nss/nss_files/files-service.c: Fix allocation size to include
3497         length of PROTO.
3499         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
3500         applicable.  Fix return value and error checking.
3501         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
3502         unparsable lines.
3503         (DB_LOOKUP): Allocate space for terminating null byte.
3505         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
3506         uids specially.
3508         * db2/makedb.c (process_input): Continue processing if a duplicate
3509         key is encountered.
3511 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
3513         * time/tzfile.h: Updated from tzcode1998b.
3514         * time/zdump.c: Likewise.
3515         * time/zic.c: Likewise.
3516         * time/africa: Update from tzdata1998b.
3517         * time/antarctica: Likewise.
3518         * time/asia: Likewise.
3519         * time/australasia: Likewise.
3520         * time/etcetera: Likewise.
3521         * time/europe: Likewise.
3522         * time/leapseconds: Likewise.
3523         * time/northamerica: Likewise.
3524         * time/southamerica: Likewise.
3526 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3528         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
3529         lookups ignoring case.
3530         * nss/nss_files/files-network.c: Do network lookups ignoring
3531         case.
3532         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
3533         case.
3534         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
3535         case insensitive comparing.
3536         Patches by Cristian Gafton <gafton@redhat.com>.
3538 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3540         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
3541         by Roland McGrath. [PR libc/395]
3543 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3545         * manual/arith.texi (Parsing of Integers): Correct description of
3546         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
3547         [PR libc/396]
3549 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
3551         * misc/lsearch.c (lsearch): Return a pointer to the new element
3552         if one was "allocated".
3554 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3556         * string/strsignal.c: NSIG is not a valid index into
3557         _sys_siglist.  Don't zap the last character of the "Unknown
3558         signal" message.
3560 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
3562         * locale/programs/charmap.c (parse_charmap): Correct parsing of
3563         ellipsis expressions.
3565         * locale/programs/charset.c (insert_char): Correctly insert value
3566         of eliipsis expression.
3568 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
3570         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
3571         <bits/setjmp.h>.
3572         * sysdeps/powerpc/setjmp.S: Likewise.
3573         Patches by Matt McLean <keys@keys.got.net>.
3575         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
3577         * Makefile: Undo last patch.
3578         (distribute): Add test-installation.pl.
3580         * configure.in: Correct handling of --enable-add-ons without parameter.
3581         Correct address of WWW pages.
3583         * libc.map: Add _nl_domain_bindings.
3585         * db2/mutex/tsl_parisc.s: New file.
3587         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
3588         and extra-module.mk.
3590         * localedata/Makefile (distribute): New.  Add all the files.
3592         * stdlib/Makefile (headers): Add inttypes.h.
3593         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
3594         * sysdeps/generic/inttypes.h: New file.
3595         * sysdeps/generic/strtoimax.c: New file.
3596         * sysdeps/generic/strtoumax.c: New file.
3597         * sysdeps/generic/wcstoimax.c: New file.
3598         * sysdeps/generic/wcstoumax.c: New file.
3599         * sysdeps/wordsize-32/Dist: Removed.
3600         * sysdeps/wordsize-32/Makefile: Removed.
3601         * sysdeps/wordsize-64/Dist: Removed.
3602         * sysdeps/wordsize-64/Makefile: Removed.
3603         * sysdeps/generic/bits/environments.h: New file.
3605         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
3606         header is still not correct.
3608         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
3609         * posix/unistd.h: Likewise.
3610         * sysdeps/generic/sys/mman.h: Likewise.
3611         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3613         * manual/arith.texi: Change definition of mul macro.
3614         * manual/math.texi: Likewise.
3616         * misc/Makefile (routines): Add mmap64.
3617         * sysdeps/generic/mmap64.c: New file.
3618         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
3619         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
3620         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
3621         aliases to mmap.
3622         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3624         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
3626         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
3628         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
3630         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
3631         FOPEN_MAX also when included by limits.h.
3632         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3634         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
3635         and netrom/netrom.h.
3636         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
3637         oldsiglist to sysdep_routines, not aux.
3638         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
3640         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
3641         and SOL_NETROM definition.
3643         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
3645         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
3646         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
3648 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
3650         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
3652         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
3653         sa_handler with k_sa_handler.
3654         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
3655         strong alias.
3656         Reported by a sun.
3658         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
3659         __libc_have_rt_sigs here.
3660         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
3661         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3662         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
3663         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3665 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
3667         * sysdeps/powerpc/atomicity.h: New file.
3668         * sysdeps/mach/powerpc/machine-lock.h: New file.
3670         * Rules: Use -fpic to build anything that might end up in a users'
3671         shared library.
3673         * sysdeps/powerpc/s_fdim.c: New file.
3674         * sysdeps/powerpc/s_fdimf.c: New file.
3675         * sysdeps/powerpc/s_fmax.S: New file.
3676         * sysdeps/powerpc/s_fmaxf.S: New file.
3677         * sysdeps/powerpc/s_fmin.S: New file.
3678         * sysdeps/powerpc/s_fminf.S: New file.
3679         * sysdeps/powerpc/s_llrint.c: Now is for double.
3680         * sysdeps/powerpc/s_llrintf.c: New file.
3681         * sysdeps/powerpc/s_llround.c: Now is for double.
3682         * sysdeps/powerpc/s_llroundf.c: New file.
3683         * sysdeps/powerpc/s_lrint.c: Now is for double.
3684         * sysdeps/powerpc/s_lrintf.S: New file.
3685         * sysdeps/powerpc/s_lround.c: Now is for double.
3686         * sysdeps/powerpc/s_lroundf.c: New file.
3687         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
3688         lrintf, fdim, fdimf.
3690         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
3691         file directly, use its parent.
3693         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
3694         (for the third time).
3696 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
3698         * posix/sched.h: timespec is in <time.h>.
3700         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
3702 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
3704         * configure.in: Stop with error if --disable-static is used when
3705         the shared lib uses this library.
3707         * gen-FAQ.pl: I've perl installed in /usr/bin.
3709         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
3711         Fix Unix98 conformance problems in the headers.
3712         * catgets/nl_types.h: Define nl_item.
3713         * grp/grp.h: Define gid_t.
3714         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
3715         * include/nl_types.h: New file.
3716         * include/ulimit.h: New file.
3717         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
3718         constants in POSIX mode.
3719         * io/utime.h: Get definition for time_t.
3720         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
3721         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
3722         * libio/stdio.h: Define va_list.  Make snprintf also available is
3723         __USE_UNIX98.  Declare getopt function and variables.
3724         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
3725         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
3726         * math/math.h: Defined M_* constants as double for Unix98 mode.
3727         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
3728         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
3729         * posix/regex.h: Define REG_NOSYS.
3730         * posix/wordexp.h: Define WRDE_NOSYS.
3731         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
3732         500 for Unix98.
3733         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
3734         somewhere else as well.  Define clock_t for Unix98.
3735         * posix/sys/wait.h: Define pid_t.
3736         * pwd/pwd.h: Define gid_t, uid_t.
3737         * resource/Makefile (headers): Add ulimit.h.
3738         * resource/ulimit.h: New file.
3739         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
3740         instead of second argument.
3741         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
3742         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3743         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
3744         * signal/signal.h: Define pid_t.
3745         * string/string.h: Don't declare BSD string functions in POSIX mode.
3746         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
3747         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
3748         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
3749         and POSIX.
3751         * inet/test_ifindex.c: Change test so that it does not fail for
3752         interface aliases.
3754         * locale/programs/locale.c (show_info): Use correct cast sequence
3755         for 64bit machines.
3757         * malloc/malloc.c: __malloc_initialized now signals three states:
3758         uninitialized, initializing, initialized.  Used in mcheck.
3759         * malloc/mcheck.c (mabort): Add '\n' to messages.
3760         (mcheck): Allow installation when malloc is uninitialized or is
3761         just initializing.
3763         * manual/memory.texi: Explain mtrace output a bit more.
3765         * math/libm-test.c: Add more epsilons.
3767         * misc/regexp.h (compile): Remove __ prefix from parameter names.
3769         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
3770         instead of strcpy for security.
3771         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
3772         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
3773         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
3775         * nss/digits_dots.c: Pretty print.
3777         * posix/getconf.c (vars): Add symbols for programming environment
3778         recognition.  Recognize --version.
3780         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
3781         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
3782         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
3784         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
3785         __need_FOPEN_MAX.
3786         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3787         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
3788         __need_FOPEN_MAX.
3790         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
3791         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
3793         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
3794         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3795         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3796         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
3797         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3798         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
3800         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
3801         SCNu*.
3802         * sysdeps/wordsize-64/inttypes.h: Likewise.
3804         * time/africa: Update from tzdata1997j.
3805         * time/antarctica: Likewise.
3806         * time/asia: Likewise.
3807         * time/australasia: Likewise.
3808         * time/backward: Likewise.
3809         * time/etcetera: Likewise.
3810         * time/europe: Likewise.
3811         * time/factory: Likewise.
3812         * time/northamerica: Likewise.
3813         * time/pacificnew: Likewise.
3814         * time/southamerica: Likewise.
3816         * time/tzfile.h: Update from tzcode1997h.
3817         * time/zic.c: Likewise.
3819         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
3820         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
3821         isw*() functions for Unix98.
3822         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
3823         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
3824         is defined.
3826 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3828         * locale/duplocale.c: Increase usage_count only if less than
3829         MAX_USAGE_COUNT.
3830         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
3831         MAX_USAGE_COUNT.
3832         * locale/setlocale.c: Likewise.
3834 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3836         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
3837         dependency to make it easier to install it selectively.
3839         * Makerules (.SUFFIXES): Don't define any suffixes.
3841 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3843         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
3844         * sysdeps/generic/statfs64.c: Emulate using statfs.
3845         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
3846         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
3847         * sysdpes/generic/ftruncate64.c: New file.
3848         * sysdpes/generic/truncate64.c: New file.
3850         * sysdeps/generic/bits/stat.h: Add LFS support.
3851         * sysdeps/generic/bits/statfs.h: Likewise.
3853         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
3854         [__USE_FILE_OFFSET64]: Make long long constant.
3855         (RLIM64_INFINITY): Likewise.
3857         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
3858         for LFS support.
3859         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
3860         * sysdeps/generic/bits/resource.h: Likewise.
3862         * misc/Makefile (routines): Add truncate64 and ftruncate64.
3864         * include/features.h: Don't prevent LFS support from defining BSD
3865         and SYSV things.
3867         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
3868         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
3869         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
3871         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
3872         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
3873         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3875         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
3876         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
3877         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3878         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
3879         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
3880         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
3881         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
3882         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
3883         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
3884         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
3885         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
3886         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
3887         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
3888         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
3889         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
3890         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
3892         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
3893         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
3894         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
3896         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
3897         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
3898         * sysdeps/unix/sysv/linux/xstat64.c: New file.
3899         * sysdeps/unix/sysv/linux/readdir64.c: New file.
3900         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
3902         * sysdeps/unix/sysv/linux/getdents64.c: New file.
3903         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3904         [$(subdir)=dirent]: Add getdents64.
3905         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
3907         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
3909 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
3911         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
3913         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
3914         * sysdeps/generic/getrlimit64.c: Likewise.
3915         * sysdeps/generic/setrlimit.c: Likewise.
3916         * sysdeps/generic/setrlimit64.c: Likewise.
3918 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
3920         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
3921         using versioning.
3923         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
3925         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
3927 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3929         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
3930         after the codeset name.
3932 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3934         * libc.map: Add get_kernel_syms.
3936 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3938         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
3939         static.
3940         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
3941         Likewise.  Fix condition.
3943 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3945         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
3947 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3949         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
3950         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
3952 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3954         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
3955         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
3956         instead.  Oops.
3958 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3960         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
3962 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3964         * math/libm-test.c (catanh_test): Change epsilon.
3965         Reported by H.J. Lu.
3967 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
3969         * libc.map (__getpid): Added for linuxthreads.
3971 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
3973         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
3974         it if gcc uses static variable in DWARF2 unwind information
3975         for exception support.
3977         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
3979         * elf/soinit.c (__libc_global_ctors, _fini): Handle
3980         HAVE_DWARF2_UNWIND_INFO_STATIC.
3982         * libc.map (__register_frame*, __deregister_frame*): Make them
3983         global.
3985 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3987         * math/libm-test.c: Add more tests for "normal" values.
3989 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3991         * stdio-common/printf_fphex.c: Fix printing of long double number
3992         with a biased exponent of zero.  Fix rounding.
3994 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3996         * sunrpc/rpc_main.c: Accept new flag -$.
3997         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
3999 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4001         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
4002         dynamic linker first, in case the interface has changed.
4004 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4006         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
4007         order.
4009 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4011         * math/tgmath.h: Check for double first, for architectures where
4012         sizeof (long double) == sizeof (double).
4014 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4016         * math/libm-test.c: New tests for "normal" values added for most
4017         functions.
4019 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
4021         * version.h (VERSION): Bump to 2.0.91.
4023         * db2/makedb.c (process_input): Fix typo in message.
4024         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
4026         * elf/dynamic-link.h: Pretty print.
4028         * elf/rtld.c: Allow multiple preloading of a shared object.
4030         * include/limits.h: Prevent multiple inclusion.
4032         * malloc/Makefile (headers): Add mcheck.h.
4033         (distribute): Remove it here.
4034         * malloc/mcheck.h: Pretty print.
4035         * malloc/mtrace.c (mallenv): Make `const'.
4036         * malloc/mtrace.pl: Don't print table head for memory leaks if there
4037         are none.
4038         * manual/memory.texi: Update descriptor of malloc hooks.
4040         * posix/Makefile (routines): Add waitid.
4041         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
4042         on __id_t.
4043         * posix/sys/wait.h: Define idtype_t type.
4044         Add prototype for waitid.
4045         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
4046         * sysdeps/generic/waitid.c: Stub for waitid.
4047         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
4048         the __need_siginfo_t defined.
4049         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
4050         * sysdeps/generic/bits/types.h: Define __id_t.
4051         Correct definition of __FDMASK.
4052         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4053         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4054         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
4056         * sysdeps/posix/waitid.c: New file.
4057         Provided by Zack Weinberg.
4059         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
4061         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4062         Add missing parameters.
4064         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
4065         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
4066         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
4067         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
4068         initialized.
4070         * sysdeps/i386/dl-machine.h: Little cleanup.
4072         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
4073         (__finite): Mark function as const.
4074         Add inline code for __ieee754_atan2.
4076         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
4077         (but don't use it now).
4078         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
4079         __atan.
4080         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
4081         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4082         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
4083         real part.
4084         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
4085         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4086         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
4087         __ieee754_atan2 to base 10.
4088         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
4089         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4091         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
4092         old_kernel_sigaction.
4094         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
4096         * wctype/Makefile (routines): Add wctype_l.
4097         * wctype/wctype.h: Add declaration of __wctype_l.
4098         * wctype/wctype_l.c: New file.
4100 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
4102         * locale/C-ctype.c: Correct data for isw* functions.
4103         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
4104         byte order.
4105         * wctype/test_wctype.c: Add test for isw* functions.
4106         * wctype/wctype.c: Return value with expected byte order.
4108 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4110         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
4112 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
4114         * iconvdata/Makefile: Fix a typo.
4116         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
4117         oldsiglist for shared library.
4119         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
4120         sys_sigabbrev): Make them as the default version GLIBC_2.1.
4122         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
4123         sys_siglist, sys_sigabbrev): New file. Make them as the old
4124         version GLIBC_2.0.
4126         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
4127         to GLIBC_2.1.
4129 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
4131         * libio/iofgets.c (_IO_fgets): Return an error only if there
4132         is a new error.
4133         * libio/iogets.c (_IO_gets): Ditto.
4135 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
4137         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
4139         * libio/Makefile (routines, shared-only-routines): Add
4140         oldiofdopen.
4142         * libio/fileops.c: Don't use _IO_FILE_complete.
4143         * libio/iofdopen.c: Ditto.
4144         * libio/iofopen.c: Ditto.
4145         * libio/iofopen64.c: Ditto.
4146         * libio/iopopen.c: Ditto.
4147         * libio/iovdprintf.c: Ditto.
4149         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
4151         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
4152         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
4154         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
4155         _IO_old_fdopen, _IO_new_fdopen): New declaration.
4157         * libio/libio.h (_IO_FILE): Add more fields.
4158         (_IO_FILE_complete): Defined and make _IO_FILE be the old
4159         one if _IO_USE_OLD_IO_FILE is defined
4160         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
4161         them _IO_FILE_complete.
4163         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
4164         to adjust vtable.
4165         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
4166         _IO_JUMPS.
4167         (_IO_FILE_complete): Commented out.
4169         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
4170         * libio/oldiofclose.c: Ditto.
4171         * libio/oldiofopen.c: Ditto.
4172         * libio/oldstdfiles.c: Ditto.
4174         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
4175         for the old _IO_FILE.
4177         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
4178         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
4179         and stderr.
4181         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
4182         and remove INAME.
4184         * libio/stdio.c (stdin, stdout, stdin): Don't use
4185         _IO_FILE_complete.
4187         * libio/oldiofdopen.c: New.
4189         * stdio-common/vfprintf.c (buffered_vfprintf): Set
4190         hp->_vtable_offset to 0.
4192 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4194         * libc.map (_IO_file_open): Added.
4196         * libio/libioP.h (_IO_file_open): Declared.
4198         * libio/fileops.c (_IO_file_open): New.
4199         (_IO_file_fopen): Call _IO_file_open ().
4201         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
4202         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4204 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4206         * signal/signal.h: Fix selection of signal semantics to match
4207         comment.
4209 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4211         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
4212         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
4213         rt_sigreturn.
4214         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
4215         [$(subdir)=signal]: Remove rt_sigreturn.
4216         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
4217         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
4218         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
4220 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4222         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
4223         declarations.
4225 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4227         * iconvdata/extra-module.mk: Expand extra-objs now.
4229 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4231         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
4232         inline functions by feature tests to avoid warning about missing
4233         prototype declarations.
4235 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4237         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
4238         return code for non existent +name entries.
4239         * nis/nss_compat/compat-pwd.c: Likewise.
4240         * nis/nss_compat/compat-spwd.c: Likewise.
4242 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
4244         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
4245         (EIO): Likewise.
4246         (ENOSPC): Likewise.
4247         (EEXIST): Likewise.
4248         (__errno_location): Likewise.
4250         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
4252         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
4254 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4256         * sunrpc/publickey.c: Use new NSS interface.
4258 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
4260         * manual/malloc.texi: Document mtrace/muntrace and the concept.
4262 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4264         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
4265         value, to match spirit of the standard.
4266         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
4267         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
4268         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4270 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4272         * manual/signal.texi (Signal Stack): Remove spurious @item.
4274 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4276         * rt/aio.h: Remove double semicolon.
4278         * rt/librt.map: Add aio_init.
4280 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
4282         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
4283         * Makefile (subdirs): Replace rt by $(rt).
4285         * shlib-versions: Use version .2 for NSS modules.
4287         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
4288         argument.
4289         * pwd/fgetpwent_r.c: Likewise.
4290         * spwd/fgetspent_r.c: Likewise.
4291         * spwd/sgetspent_r.c: Likewise.
4292         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
4293         Store error number in *ERRNOP.  Little optimization.
4294         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
4295         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
4296         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4297         (__internal_getnetgrent_r): New argument.
4298         Call __internal_setnetgrent_reuse with new argument.
4299         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
4300         * inet/netgroup.h: Add argument to prototypes.
4301         * nis/nisplus-parser.h: Likewise.
4302         * nis/nss_compat/compat-grp.c: Change everything to store error
4303         code through provided pointer and not use errno.
4304         * nis/nss_compat/compat-pwd.c: Likewise.
4305         * nis/nss_compat/compat-spwd.c: Likewise.
4306         * nis/nss_nis/nis-alias.c: Likewise.
4307         * nis/nss_nis/nis-ethers.c: Likewise.
4308         * nis/nss_nis/nis-grp.c: Likewise.
4309         * nis/nss_nis/nis-hosts.c: Likewise.
4310         * nis/nss_nis/nis-netgrp.c: Likewise.
4311         * nis/nss_nis/nis-network.c: Likewise.
4312         * nis/nss_nis/nis-proto.c: Likewise.
4313         * nis/nss_nis/nis-publickey.c: Likewise.
4314         * nis/nss_nis/nis-pwd.c: Likewise.
4315         * nis/nss_nis/nis-rpc.c: Likewise.
4316         * nis/nss_nis/nis-service.c: Likewise.
4317         * nis/nss_nis/nis-spwd.c: Likewise.
4318         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4319         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4320         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4321         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4322         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4323         * nis/nss_nisplus/nisplus-network.c: Likewise.
4324         * nis/nss_nisplus/nisplus-parser.c: Likewise.
4325         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4326         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4327         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4328         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4329         * nis/nss_nisplus/nisplus-service.c: Likewise.
4330         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4331         * nss/nss_db/db-XXX.c: Likewise.
4332         * nss/nss_db/db-alias.c: Likewise.
4333         * nss/nss_db/db-netgrp.c: Likewise.
4334         * nss/nss_files/files-XXX.c: Likewise
4335         * nss/nss_files/files-alias.c: Likewise
4336         * nss/nss_files/files-netgrp.c: Likewise
4337         * nss/nss_files/files-parse.c: Likewise
4338         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
4339         parameter of get functions.
4340         * nss/getXXent_r.c: Likewise.
4342         * localedata/tst-fmon.c: Print debug info if test fails.
4344         * rt/Makefile (routines): Add aio_notify.
4345         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
4346         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
4347         * rt/aio_fsync.c: Likewise.
4348         * rt/aio_misc.c: Likewise.
4349         * rt/aio_misc.h: Likewise.
4350         * rt/aio_read.c: Likewise.
4351         * rt/aio_read64.c: Likewise.
4352         * rt/aio_suspend.c: Likewise.
4353         * rt/aio_write.c: Likewise.
4354         * rt/aio_write64.c: Likewise.
4355         * rt/lio_listio.c: Likewise.
4356         * rt/lio_listio64.c: Likewise.
4357         * rt/aio_notify.c: New file.
4359         * sysdeps/generic/bits/sigset.h: Pretty print.
4361         * sysdeps/posix/pwrite.c: Define weak alias only if function is
4362         really defined as __pwrite.
4364         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
4365         instead of pread64.
4366         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4368         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4369         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
4370         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
4371         size in syscall.
4372         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4373         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4374         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
4375         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4376         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4377         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4378         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
4379         for ACT being NULL.
4380         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
4381         RT signals.
4382         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
4383         __NR_pread is not defined.
4384         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
4385         __NR_pwrite is not defined.
4387 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4389         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
4390         handle for /etc/group back in some more cases.
4391         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
4392         handle for /etc/passwd back in some more cases.
4393         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
4394         handle for /etc/shadow back in some more cases.
4396 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
4398         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
4399         beyound its size.
4400         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
4401         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
4403 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
4405         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
4406         handling.  Don't use macros, we need functions.  Use inline functions
4407         for optimization.
4408         * sysdeps/wordsize-64/inttypes.h: Likewise.
4409         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
4410         and wcstoumax.
4411         * sysdeps/wordsize-64/Makefile: Likewise.
4412         * sysdeps/wordsize-32/Dist: Likewise.
4413         * sysdeps/wordsize-64/Dist: Likewise.
4414         * sysdeps/wordsize-32/strtoimax.c: New file.
4415         * sysdeps/wordsize-32/strtoumax.c: New file.
4416         * sysdeps/wordsize-32/wcstoimax.c: New file.
4417         * sysdeps/wordsize-32/wcstoumax.c: New file.
4418         * sysdeps/wordsize-64/strtoimax.c: New file.
4419         * sysdeps/wordsize-64/strtoumax.c: New file.
4420         * sysdeps/wordsize-64/wcstoimax.c: New file.
4421         * sysdeps/wordsize-64/wcstoumax.c: New file.
4423 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
4425         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
4426         that transparent union works.
4427         * sysdeps/generic/wait4.c (__wait4): Likewise.
4428         * sysdeps/generic/wait.c (__wait): Likewise.
4430         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
4431         size_t.
4433         * sysdeps/generic/syscall.c (syscall): Return value and arg are
4434         long, to match prototype.
4436         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
4437         have mremap() yet.
4439         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
4441         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
4443         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
4445         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
4446         __rlim_t.
4448         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
4450         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
4452         * io/sys/stat.h (S_ISLNK): Always false if we don't have
4453         __S_IFLNK.
4455         * sysdeps/standalone/close.c (_STDIO_H): Define before including
4456         <bits/stdio_lim.h>.
4457         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
4459 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
4461         * posix/sys/wait.h: Don't use transparent unions in C++.
4463 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4465         * time/time.h: Add strfxtime.
4467         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
4468         sysv_signal, strfxtime, pread64, pwrite64.
4470 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
4472         Alpha changes for EGCS:
4473         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
4474         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
4475         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
4476         (_start): Likewise.
4477         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
4479 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
4481         The kernel expects the arguments in a different order.
4482         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
4483         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
4485         * FAQ.in: New file.
4486         * gen-FAQ.pl: New file.
4487         * Makefile (FAQ): Add rule to generate from FAQ.in.
4489         * iconvdata/Makefile: Treat libJIS like the other modules.
4491         * rt/librt.map: New file.
4493         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
4494         inclusion.
4495         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
4496         comment.
4498 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
4500         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
4501         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4502         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
4503         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4505 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4507         * string/bits/string2.h: Fix spellings.
4509         * string/string.h: Fix spellings.
4511 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4513         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
4514         declaration to __syscall_rt_sigaction.
4516         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
4517         non-existant <sigcontext.h>.
4519 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4521         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
4522         typo.
4524 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4526         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
4528         * Makeconfig (shared-thread-library): Correct spelling.
4530         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
4531         <asm/pci.h>.
4533 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4535         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
4536         constants from Linux headers. Pointed out by
4537         csmall@scooter.o.i.net. [PR libc/369]
4539 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4541         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
4543 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4545         * configure.in: If --enable-add-ons is given without an
4546         argument, set the addons list to all subdirs with a configure
4547         script.
4549 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
4551         * Makeconfig: Add shared-thread-library variable.
4553         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
4554         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
4555         here.
4556         * sysdeps/m68k/fpu/e_acos.c: Likewise.
4557         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4558         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4559         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4560         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4561         * sysdeps/m68k/fpu/k_cos.c: Likewise.
4562         * sysdeps/m68k/fpu/k_sin.c: Likewise.
4563         * sysdeps/m68k/fpu/k_tan.c: Likewise.
4564         * sysdeps/m68k/fpu/s_atan.c: Likewise.
4565         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4566         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4567         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4568         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4569         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4570         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4571         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4572         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4573         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4574         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4575         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4576         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4577         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4578         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4579         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4580         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4582         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
4583         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
4584         * signal/Makefile (headers): Add bits/siginfo.h.
4585         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
4586         (distribute): Add testrtsig.h.
4587         * signal/allocrtsig.c: New file.
4588         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
4589         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
4590         __libc_current_sigrtmax.
4591         * sysdeps/generic/sigqueue.c: New file.
4592         * sysdeps/generic/sigtimedwait.c: New file.
4593         * sysdeps/generic/sigwaitinfo.c: New file.
4594         * sysdeps/generic/testrtsig.h: New file.
4595         * sysdeps/generic/bits/siginfo.h: New file.
4596         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
4597         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
4598         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
4599         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
4600         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
4601         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
4602         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
4603         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
4604         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
4605         * sysdeps/unix/sysv/linux/sigpending.c: New file.
4606         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
4607         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
4608         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
4609         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
4610         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
4611         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
4612         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
4613         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
4614         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
4615         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
4616         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
4617         and _POSIX_REALTIME_SIGNALS.
4618         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
4619         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
4620         update _NSIG.
4621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
4622         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
4623         definitions.
4625         * Makefile (subdirs): Add rt.
4626         * shlib-versions: Add entry for librt.
4627         * rt/Makefile: New file.
4628         * rt/aio.h: New file.
4629         * rt/aio_cancel.c: New file.
4630         * rt/aio_error.c: New file.
4631         * rt/aio_fsync.c: New file.
4632         * rt/aio_misc.c: New file.
4633         * rt/aio_misc.h: New file.
4634         * rt/aio_read.c: New file.
4635         * rt/aio_read64.c: New file.
4636         * rt/aio_return.c: New file.
4637         * rt/aio_suspend.c: New file.
4638         * rt/aio_write.c: New file.
4639         * rt/aio_write64.c: New file.
4640         * rt/lio_listio.c: New file.
4641         * rt/lio_listio64.c: New file.
4642         * sysdeps/generic/aio_sigqueue.c: New file.
4643         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
4644         * sysdeps/unix/sysv/linux/Dist: Add new files
4645         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4646         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
4647         rt_sigqueueinfo, rt_sigaction.
4649         * posix/Makefile (headers): Add bits/environments.h.
4650         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
4651         and _CS_LFS_CFLAGS on 64bit platforms.
4652         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
4653         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
4654         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
4655         compilation modules.
4656         * sysdeps/wordsize-32/bits/environments.h: New file.
4657         * sysdeps/wordsize-64/bits/environments.h: New file.
4659         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
4660         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
4661         __libc_pid.
4662         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
4663         0xf00baa.
4665         * string/string.h: Add declaration of __strverscmp.
4666         * string/strverscmp.c: Rename function ot __strverscmp and make old
4667         name weak alias.
4669         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
4670         * sysdeps/generic/enbl-secure.c: Likewise.
4671         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4673         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
4675         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
4677 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
4679         * posix/sys/wait.h: Use __transparent_union__ instead of
4680         transparent_union.  Reported by Roland McGrath.
4682 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4684         * resolv/inet_neta.c (inet_neta): Change type of first parameter
4685         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
4686         [PR libc/366].
4688         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
4690         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
4692 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4694         * grp/initgroups.c: Increase buffer if it is too small.
4696 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
4698         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
4699         fields, this is no ISO C.  Reported by Andreas Jaeger.
4701 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4703         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
4705 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
4707         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
4708         _SYS_UTSNAME_H not _UTSNAME_H.
4710 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4712         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
4713         computing s_scale.
4715 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4717         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
4718         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
4719         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
4721         * math/libm-test.c (csqrt_test): Add testcase.
4723 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
4725         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
4726         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
4727         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
4729 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4731         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
4733 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4735         * math/libm-test.c (acos_test): Add more tests.
4736         (asin_test): Likewise.
4737         (atan_test): Likewise.
4738         (exp_test): Likewise.
4739         (sin_test): Likewise.
4740         (sqrt_test): Likewise.
4741         (cpow_test): Likewise.
4742         (csqrt_test): Likewise.
4743         (cexp_test): Correct typo in gcc version test.
4745 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
4747         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
4748         <bits/setjmp.h>.
4749         * sysdeps/arm/setjmp.S: Likewise.
4751         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
4753 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
4755         * stdio/stdio.h: Add prototype for tmpfile64().
4757 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
4759         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
4760         prototype to keep in step with libio version.
4762         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
4764 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
4766         * sysdeps/generic/Makefile: Don't try to use make_siglist if
4767         cross-compiling.
4769 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
4771         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
4772         load GOT ptr before jumping to _exit.
4773         Reported by Xavier Leroy.
4775 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
4777         * Makefile (subdirs): Add iconvdata and localedata.
4779         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
4781         * iconv/gconv_conf.c (read_conf_file): Little optimization.
4783         * iconvdata/8bit-gap.c: New file.
4784         * iconvdata/8bit-generic.c: Renamed from ...
4785         * iconvdata/iso8859-generic.c: ...this.
4786         * iconvdata/configure: Removed.
4787         * iconvdata/Makefile: Add new modules and better rules.
4788         * iconvdata/iso6937.c: Minor bug fixes.
4789         * iconvdata/iso8859-1.c: Likewise.
4790         * iconvdata/t61.c: Likewise.
4791         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
4792         Minor bug fixes.
4793         * iconvdata/iso8859-3.c: Likewise.
4794         * iconvdata/iso8859-4.c: Likewise.
4795         * iconvdata/iso8859-5.c: Likewise.
4796         * iconvdata/iso8859-6.c: Likewise.
4797         * iconvdata/iso8859-7.c: Likewise.
4798         * iconvdata/iso8859-8.c: Likewise.
4799         * iconvdata/iso8859-9.c: Likewise.
4800         * iconvdata/iso8859-10.c: Likewise.
4801         * iconvdata/ebcdic-at-de-a.c: New file.
4802         * iconvdata/ebcdic-at-de.c: New file.
4803         * iconvdata/ebcdic-ca-fr.c: New file.
4804         * iconvdata/hp-roman8.c: New file.
4805         * iconvdata/koi-8.c: New file.
4806         * iconvdata/koi8-r.c: New file.
4807         * iconvdata/koi8-h.c: New file.
4808         * iconvdata/latin-greek-1.c: New file.
4809         * iconvdata/latin-greek-1.h: New file.
4810         * iconvdata/latin-greek.c: New file.
4811         * iconvdata/latin-greek.h: New file.
4812         * iconvdata/jis0201.c: New file.
4813         * iconvdata/jis0201.h: New file.
4814         * iconvdata/jis0208.c: New file.
4815         * iconvdata/jis0208.h: New file.
4816         * iconvdata/jis0212.c: New file.
4817         * iconvdata/jis0212.h: New file.
4818         * iconvdata/sjis.c: New file.
4819         * iconvdata/gap.pl: New file.  Script to generate table header.
4820         * iconvdata/gaptab.pl: New file.
4821         * iconvdata/gconv-modules: Add info about new modules.
4823         * locale/programs/charmap.c: Also examine alias names given in charmap
4824         files.
4826         * localedata/*: Add to here from add-on.  We need the information
4827         to generate tables for iconv.
4829         Update from db-2.3.14.
4830         * db2/Makefile: Updated.
4831         * db2/config.h: Likewise.
4832         * db2/db.h: Likewise.
4833         * db2/db_int.h: Likewise.
4834         * db2/btree/bt_cursor.c: Likewise.
4835         * db2/btree/bt_delete.c: Likewise.
4836         * db2/btree/bt_put.c: Likewise.
4837         * db2/btree/bt_search.c: Likewise.
4838         * db2/btree/bt_split.c: Likewise.
4839         * db2/btree/btree_auto.c: Likewise.
4840         * db2/common/db_appinit.c: Likewise.
4841         * db2/common/db_apprec.c: Likewise.
4842         * db2/common/db_err.c: Likewise.
4843         * db2/common/db_region.c: Likewise.
4844         * db2/db/db_auto.c: Likewise.
4845         * db2/db/db_dispatch.c: Likewise.
4846         * db2/db/db_ret.c: Likewise.
4847         * db2/dbm/dbm.c: Likewise.
4848         * db2/hash/hash_auto.c: Likewise.
4849         * db2/include/btree_ext.h: Likewise.
4850         * db2/include/common_ext.h: Likewise.
4851         * db2/include/db.h.src: Likewise.
4852         * db2/include/db_cxx.h: Likewise.
4853         * db2/include/db_ext.h: Likewise.
4854         * db2/include/db_int.h.src: Likewise.
4855         * db2/include/lock.h: Likewise.
4856         * db2/include/log.h: Likewise.
4857         * db2/include/mp.h: Likewise.
4858         * db2/include/mp_ext.h: Likewise.
4859         * db2/include/os_ext.h: Likewise.
4860         * db2/include/os_func.h: Likewise.
4861         * db2/lock/lock.c: Likewise.
4862         * db2/lock/lock_deadlock.c: Likewise.
4863         * db2/log/log.c: Likewise.
4864         * db2/log/log_archive.c: Likewise.
4865         * db2/log/log_auto.c: Likewise.
4866         * db2/log/log_get.c: Likewise.
4867         * db2/log/log_put.c: Likewise.
4868         * db2/mp/mp_bh.c: Likewise.
4869         * db2/mp/mp_fget.c: Likewise.
4870         * db2/mp/mp_fopen.c: Likewise.
4871         * db2/mp/mp_fput.c: Likewise.
4872         * db2/mp/mp_fset.c: Likewise.
4873         * db2/mp/mp_open.c: Likewise.
4874         * db2/mp/mp_pr.c: Likewise.
4875         * db2/mp/mp_region.c: Likewise.
4876         * db2/mp/mp_sync.c: Likewise.
4877         * db2/mutex/README: Likewise.
4878         * db2/mutex/mutex.c: Likewise.
4879         * db2/os/os_open.c: Likewise.
4880         * db2/os/os_func.c: Removed.
4881         * db2/os/os_config.c: New file.
4882         * db2/os/os_spin.c: New file.
4883         * db2/txn/txn.c: Likewise.
4884         * db2/txn/txn_auto.c: Likewise.
4886 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
4888         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
4889         __typeof for C++ since this fails for class members.
4890         Reported by Neal Becker <neal@ctd.comsat.com>.
4892 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4894         * configure.in: Check for a working makeinfo (3.11 or better).
4895         * config.make.in: Add MAKEINFO to be substituted.
4896         * manual/Makefile: Don't update info if makeinfo is too old.
4898 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
4900         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
4901         * sysdeps/alpha/__longjmp.S: Likewise.
4902         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
4903         not <bits/termios.h>.
4905         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
4906         __llseek and make llseek and lseek64 weak aliases.
4907         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4908         Patches by a sun <asun@zoology.washington.edu>.
4910 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4912         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
4913         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4915         * misc/sys/syslog.h: Clean up BSD header.
4917 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4919         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
4921         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
4922         for ctan(+-inf,x).
4923         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
4924         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
4926         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
4927         csqrt (-1), ctanh(i*pi/4).
4929 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4931         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
4933 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
4935         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
4937 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4939         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
4941 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
4943         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
4944         and use.  Define GETCWD_RETURN_TYPE instead and use it.
4945         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
4946         of GETCWD_STORYGE_CLASS and put the return type and the
4947         `internal_function' in the right order for gcc 2.7.2.
4949 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4951         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
4952         incompatible with Linux 2.1.x.  Packages using modules
4953         (e.g. modutils) should/do provide their own version.  Suggested by
4954         Richard Henderson.
4956         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
4958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4959         [$(subdir)=socket]: Remove sys/module.h.
4961 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
4963         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4964         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
4966         * iconv/gconv_close.c: Correct freeing of descriptor data.
4967         * iconv/gconv_simple.c: Return correct error values for illegal or
4968         incomplete characters.
4970         * Makefile (iconvdata/%): Special goal to simplify iconvdata
4971         development.
4972         * iconvdata/Makefile: New file.
4973         * iconvdata/configure: Likewise.
4974         * iconvdata/extra-module.mk: Likewise.
4975         * iconvdata/gconv-modules: Likewise.
4976         * iconvdata/iso6937.c: Likewise.
4977         * iconvdata/iso8859-1.c: Likewise.
4978         * iconvdata/iso8859-10.c: Likewise.
4979         * iconvdata/iso8859-10.h: Likewise.
4980         * iconvdata/iso8859-2.c: Likewise.
4981         * iconvdata/iso8859-2.h: Likewise.
4982         * iconvdata/iso8859-3.c: Likewise.
4983         * iconvdata/iso8859-3.h: Likewise.
4984         * iconvdata/iso8859-4.c: Likewise.
4985         * iconvdata/iso8859-4.h: Likewise.
4986         * iconvdata/iso8859-5.c: Likewise.
4987         * iconvdata/iso8859-5.h: Likewise.
4988         * iconvdata/iso8859-6.c: Likewise.
4989         * iconvdata/iso8859-6.h: Likewise.
4990         * iconvdata/iso8859-7.c: Likewise.
4991         * iconvdata/iso8859-7.h: Likewise.
4992         * iconvdata/iso8859-8.c: Likewise.
4993         * iconvdata/iso8859-8.h: Likewise.
4994         * iconvdata/iso8859-9.c: Likewise.
4995         * iconvdata/iso8859-9.h: Likewise.
4996         * iconvdata/iso8859-generic.c: Likewise.
4997         * iconvdata/t61.c: Likewise.
4999         * string/Makefile (routines): Add strcasestr.
5000         * string/string.h: Add prototype for strcasestr.
5001         * sysdeps/generic/strcasestr.c: New file.
5002         * wcsmbs/mbrtowc.c: Simplify special case a bit.
5003         * wcsmbs/wcrtomb.c: Likewise.
5004         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
5005         * wcsmbs/wcsnrtombs.c: Likewise.
5006         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
5007         partial character is read.
5008         * wcsmbs/wcsrtombs.c: Likewise.
5009         * wcsmbs/wmemrtombs.c: Likewise.
5010         * wcsmbs/wmemrtowcs.c: Likewise.
5012         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
5013         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
5014         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
5015         * sysdeps/i386/elf/setjmp.S: Likewise.
5016         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
5017         <bits/termios.h>.
5019         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
5020         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
5022         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
5023         * sysvipc/sys/ipc.h: Likewise.
5024         * sysvipc/sys/msg.h: Likewise.
5025         * sysvipc/sys/sem.h: Likewise.
5026         * sysvipc/sys/shm.h: Likewise.
5028         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
5029         used directly.
5030         * sysdeps/alpha/bits/setjmp.h: Likewise.
5031         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5032         * sysdeps/arm/bits/endian.h: Likewise.
5033         * sysdeps/arm/bits/setjmp.h: Likewise.
5034         * sysdeps/generic/bits/byteswap.h: Likewise.
5035         * sysdeps/generic/bits/confname.h: Likewise.
5036         * sysdeps/generic/bits/dirent.h: Likewise.
5037         * sysdeps/generic/bits/dlfcn.h: Likewise.
5038         * sysdeps/generic/bits/endian.h: Likewise.
5039         * sysdeps/generic/bits/fenv.h: Likewise.
5040         * sysdeps/generic/bits/huge_val.h: Likewise.
5041         * sysdeps/generic/bits/in.h: Likewise.
5042         * sysdeps/generic/bits/ioctl-types.h: Likewise.
5043         * sysdeps/generic/bits/ioctls.h: Likewise.
5044         * sysdeps/generic/bits/ipc.h: Likewise.
5045         * sysdeps/generic/bits/msq.h: Likewise.
5046         * sysdeps/generic/bits/poll.h: Likewise.
5047         * sysdeps/generic/bits/resource.h: Likewise.
5048         * sysdeps/generic/bits/sched.h: Likewise.
5049         * sysdeps/generic/bits/sem.h: Likewise.
5050         * sysdeps/generic/bits/setjmp.h: Likewise.
5051         * sysdeps/generic/bits/shm.h: Likewise.
5052         * sysdeps/generic/bits/sigaction.h: Likewise.
5053         * sysdeps/generic/bits/sigcontext.h: Likewise.
5054         * sysdeps/generic/bits/socket.h: Likewise.
5055         * sysdeps/generic/bits/stat.h: Likewise.
5056         * sysdeps/generic/bits/statfs.h: Likewise.
5057         * sysdeps/generic/bits/stdio_lim.h: Likewise.
5058         * sysdeps/generic/bits/termios.h: Likewise.
5059         * sysdeps/generic/bits/time.h: Likewise.
5060         * sysdeps/generic/bits/uio.h: Likewise.
5061         * sysdeps/generic/bits/utmp.h: Likewise.
5062         * sysdeps/generic/bits/utmpx.h: Likewise.
5063         * sysdeps/generic/bits/utsname.h: Likewise.
5064         * sysdeps/generic/bits/waitflags.h: Likewise.
5065         * sysdeps/generic/bits/waitstatus.h: Likewise.
5066         * sysdeps/gnu/bits/utmp.h: Likewise.
5067         * sysdeps/gnu/bits/utmpx.h: Likewise.
5068         * sysdeps/i386/bits/byteswap.h: Likewise.
5069         * sysdeps/i386/bits/endian.h: Likewise.
5070         * sysdeps/i386/bits/huge_val.h: Likewise.
5071         * sysdeps/i386/bits/setjmp.h: Likewise.
5072         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5073         * sysdeps/ieee754/bits/huge_val.h: Likewise.
5074         * sysdeps/m68k/bits/byteswap.h: Likewise.
5075         * sysdeps/m68k/bits/endian.h: Likewise.
5076         * sysdeps/m68k/bits/setjmp.h: Likewise.
5077         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
5078         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5079         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5080         * sysdeps/mach/hurd/bits/stat.h: Likewise.
5081         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5082         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5083         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5084         * sysdeps/mips/bits/dlfcn.h: Likewise.
5085         * sysdeps/mips/bits/endian.h: Likewise.
5086         * sysdeps/mips/bits/setjmp.h: Likewise.
5087         * sysdeps/mips/dec/bits/endian.h: Likewise.
5088         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
5089         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
5090         * sysdeps/mips/p40/bits/endian.h: Likewise.
5091         * sysdeps/powerpc/bits/endian.h: Likewise.
5092         * sysdeps/powerpc/bits/fenv.h: Likewise.
5093         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5094         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
5095         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5096         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
5097         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
5098         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
5099         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
5100         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5101         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
5102         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
5103         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5104         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
5105         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
5106         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
5107         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
5108         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
5109         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
5110         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
5111         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
5112         * sysdeps/unix/common/bits/dirent.h: Likewise.
5113         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
5114         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5115         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5116         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5117         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
5118         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5119         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
5120         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5121         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5122         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5123         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5124         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5125         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5126         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
5127         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5128         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
5129         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
5130         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5131         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5132         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5133         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5134         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5135         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5136         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5137         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
5138         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
5139         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5140         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5141         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
5142         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5143         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5144         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5145         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
5146         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
5147         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5148         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5149         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5150         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
5151         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
5152         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5153         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
5154         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5155         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5156         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
5157         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5158         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5159         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
5160         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5161         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
5162         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
5163         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5164         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5165         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
5166         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5167         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5168         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5169         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
5170         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
5171         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
5172         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
5173         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
5174         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
5175         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
5176         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
5177         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
5178         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5179         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5180         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
5181         * sysdeps/vax/bits/huge_val.h: Likewise.
5182         * sysdeps/vax/bits/setjmp.h: Likewise.
5183         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
5184         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
5186 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5188         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
5190 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
5192         * strftime.c (strftime):
5193         No longer any need to undef or declare if emacs is defined.
5194         (my_strftime): When checking a -1 returned by mktime, don't blow up
5195         if localtime_r returns NULL.
5197 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5199         * README.template: Fix spelling.
5201 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5203         * configure.in: Enhance --enable-add-ons description a wee bit.
5205 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5207         * glibcbug.in: Add more information of build environment and flags.
5209 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5211         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
5212         it into ENOENT.
5214 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
5216         * elf/dl-support.c: Call __libc_init_secure to make sure
5217         __libc_enable_secure is defined early.
5218         * sysdeps/generic/enbl-secure.c: Change function name to
5219         __libc_init_secure and make it global instead of a constructor.
5221         * iconv/gconv.c: Fix lots of bugs.
5222         * iconv/gconv.h: Likewise.
5223         * iconv/gconv_builtin.h: Likewise.
5224         * iconv/gconv_close.c: Likewise.
5225         * iconv/gconv_conf.c: Likewise.
5226         * iconv/gconv_db.c: Likewise.
5227         * iconv/gconv_dl.c: Likewise.
5228         * iconv/gconv_open.c: Likewise.
5229         * iconv/gconv_simple.c: Likewise.
5230         * iconv/iconv.c: Likewise.
5231         * iconv/iconv_close.c: Likewise.
5232         * iconv/iconv_open.c: Likewise.
5234         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
5235         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
5236         * wcsmbs/wmemrtombs.c: New file.
5237         * wcsmbs/wmemrtowcs.c: New file.
5239 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
5241         * iconv/gconv_simple.c: Fix lots of bugs.
5242         * iconv/iconv_open.c: Normalize names before passing them to
5243         __gconv_open.
5245         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
5247         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
5248         * stdio-common/test-popen.c: Add test for above change.
5250         * math/libm-test.c: Print test results also using %a format,
5251         specified in PRINTF_XEXPR macro.
5252         * math/test-double.c: Define PRINTF_XEXPR.
5253         * math/test-float.c: Likewise.
5254         * math/test-ldouble.c: Likewise.
5255         * math/test-idouble.c: Likewise.
5256         * math/test-ifloat.c: Likewise.
5257         * math/test-ildoubl.c: Likewise.
5259         * stdio-common/vfscanf.c: Recognize a in format specifier only as
5260         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
5261         FP number format.
5263         * stdlib/strtod.c: Little code cleanup.
5265         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
5266         compiling in math subdir.
5268         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
5269         instead of __LIBC_M81_MATH_INLINES.
5270         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5271         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5272         * sysdeps/m68k/fpu/e_pow.c: Likewise.
5273         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5274         * sysdeps/m68k/fpu/k_cos.c: Likewise.
5275         * sysdeps/m68k/fpu/k_sin.c: Likewise.
5276         * sysdeps/m68k/fpu/k_tan.c: Likewise.
5277         * sysdeps/m68k/fpu/s_atan.c: Likewise.
5278         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5279         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5280         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5281         * sysdeps/m68k/fpu/s_csin.c: Likewise.
5282         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5283         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5284         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5285         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5286         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5287         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5288         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5289         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5290         * sysdeps/m68k/fpu/s_modf.c: Likewise.
5291         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5292         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5293         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5294         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
5295         __LIBC_INTERNAL_MATH_INLINES is defined.
5297         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
5298         of compare macros from ISO C 9X.  Optimize generic versions a bit.
5299         Define __signbit inline functions and __ieee754_sqrt which can be
5300         used if the ompiler is fixed.
5302         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
5304 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5306         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
5307         sysdeps/generic in the whole dep file, not only in the first line.
5309 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5311         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
5313 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5315         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
5316         place.
5318 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5320         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
5321         is non-empty.
5323 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
5325         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
5326         return value.
5328 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
5330         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
5331         readlink succeeds but the return value is too long.
5333         * stdio-common/printf_fphex.c: Determine sign of number correctly.
5335 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
5337         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
5338         __remqu for Alpha.
5340 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
5342         * sysdeps/generic/sys/ucontext.h: Stub context file.
5344         * libio/iofprintf.c: Removed.  We use the stdio-common version.
5346         * manual/Makefile (distribute): Add stdio-fp.c.
5348         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
5350         * db2/Makefile (distribute): Add include/os_func.h, README and
5351         mutex/tsl_parisc.s.
5353         * hesiod/Makefile (distribute): Add README.hesiod.
5355 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
5357         * iconv/gconv.c: Correctly call transformation function.
5359         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
5361 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5363         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
5364         wrong results for e.g. remquo (3,2, &x)).
5365         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
5366         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
5368 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5370         * configure.in (ld --version-script): Test if the same symbol
5371         maybe defined in all versions (needed by recent changes to
5372         libc.map and supported with binutils 2.8.1.0.17) and issue warning
5373         if versioning is not supported/enabled.
5374         (bash test): Correct test case.
5376         * math/libm-test.c: Added counting/reporting of number of test cases.
5378         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
5379         use awk instead.
5381         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
5383 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5385         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
5387 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
5389         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
5390         Replace revoke call by use of REVOKE.
5391         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
5392         empty and #include generic version.
5393         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5395 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
5397         * libc.map: Add socket functions with __libc_* names.
5398         Reported by Andreas Jaeger.
5400 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5402         * libc.map: Tidy up (remove duplicates, sort entries).
5404 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5406         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
5408 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
5410         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
5411         again after successful call.
5412         Patch by Marc Lehmann <pcg@goof.com>.
5414 1997-11-17  Paul Eggert  <eggert@twinsun.com>
5416         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
5417         as some hosts need this to declare localtime_r properly.
5419 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
5421         * libc.map: Add iconv_open, iconv, and iconv_close.
5423 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
5425         * iconv/Makefile: New file.
5426         * iconv/gconv.c: New file.
5427         * iconv/gconv.h: New file.
5428         * iconv/gconv_builtin.c: New file.
5429         * iconv/gconv_builtin.h: New file.
5430         * iconv/gconv_close.c: New file.
5431         * iconv/gconv_conf.c: New file.
5432         * iconv/gconv_db.c: New file.
5433         * iconv/gconv_dl.c: New file.
5434         * iconv/gconv_open.c: New file.
5435         * iconv/gconv_simple.c: New file.
5436         * iconv/iconv.c: New file.
5437         * iconv/iconv.h: New file.
5438         * iconv/iconv_close.c: New file.
5439         * iconv/iconv_open.c: New file.
5440         * include/gconv.h: New file.
5442         * Makeconfig: Define gconvdir.
5443         * Makefile (subdirs): Add iconv.
5445         * string/bits/string2.h: Add optimization for strtok_r.
5447         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
5448         for NULL.
5449         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5450         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
5452         * configure.in: Correct test for bash2.
5453         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5455         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
5456         (CFLAGS-locfile.c): Likewise.
5457         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5459         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
5460         non-existing entry if the table is full.
5462         * posix/regex.h: Pretty print.
5464         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
5466         * sysdeps/posix/ctermid.c: Simplify a bit.
5468         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
5470 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5472         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
5473         <sys/types.h> instead of <asm/types.h>.
5475 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5477         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
5479 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
5481         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
5482         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
5483         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
5484         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
5485         fclose): Added to GLIBC_2.1.
5487         * libio/Makefile (routines, shared-only-routines): Add
5488         oldiofclose.  Remove oldfreopen.
5490         * libio/freopen.c (freopen): When PIC is defined, call
5491         _IO_old_freopen () for old stdio.
5493         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
5494         (_IO_fclose, fclose): Use _IO_new_fclose as default version
5495         for GLIBC_2.1.
5497         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
5498         instead of _IO_file_close_it.
5500         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
5501         to _IO_2_1_stdxxx_.
5502         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
5503         is defined.
5505         * libio/libioP.h (_IO_old_do_flush): New.
5507         * libio/oldfileops.c (_IO_old_file_close_it,
5508         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
5509         Call _IO_old_do_flush () instead of _IO_do_flush ().
5510         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
5511         _IO_do_write ().
5513         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
5514         instead of _IO_file_init ().
5515         Bind old symbols to version GLIBC_2.0.
5517         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
5518         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
5519         _IO_stdxxx_.
5520         (_IO_check_libio): New function in .init.
5522         * libio/oldiofclose.c: New file.
5524         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
5525         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
5526         (DEF_STDFILE): Don't use default_symbol_version.
5528         * libio/stdio.c (stdin, stdout, stderr): Set to
5529         _IO_2_1_stdxxx_._
5530         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
5531         stdxxx.
5533         * csu/Makefile (distribute): Add init.c.
5534         (extra-objs): Add init.o for ELF.
5535         (start-installed-name): Add $(objpfx)init.o.
5537         * csu/init.c: New file.
5539 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
5541         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
5542         definition as the default.
5544 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
5546         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
5548 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5550         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
5551         (PR 351).
5553 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
5555         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
5556         to preserve condition codes on function call.
5558 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5560         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
5562 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5564         * math/libm-test.c (asin_test): Add epsilon for float.
5565         (tan_test): Add epsilon for float.
5566         (log1p_test): Add epsilon for float.
5567         (inverse_functions): Add epsilons.
5569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
5570         net/if_packet.h.
5572         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
5574 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5576         * md5-crypt/Makefile (extra-objs): Make recursively expanded
5577         variable, since $(object-suffixes) is not defined yet.
5579 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5581         * db2/Makefile (distribute): db185/db185_int.src ->
5582         db185/db185_int.h.
5584 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5586         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
5587         exactly one.
5589 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5591         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
5592         name.
5593         * sysdeps/generic/e_acosl.c: Likewise.
5594         * sysdeps/generic/e_asinl.c: Likewise.
5595         * sysdeps/generic/e_atan2l.c: Likewise.
5596         * sysdeps/generic/e_expl.c: Likewise.
5597         * sysdeps/generic/e_fmodl.c: Likewise.
5598         * sysdeps/generic/e_j0l.c: Likewise.
5599         * sysdeps/generic/e_j1l.c: Likewise.
5600         * sysdeps/generic/e_jnl.c: Likewise.
5601         * sysdeps/generic/e_lgammal_r.c: Likewise.
5602         * sysdeps/generic/e_log10l.c: Likewise.
5603         * sysdeps/generic/e_logl.c: Likewise.
5604         * sysdeps/generic/e_powl.c: Likewise.
5605         * sysdeps/generic/e_sqrtl.c: Likewise.
5606         * sysdeps/generic/e_exp2l.c: Likewise.
5608 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5610         * Make-dist (+sysdep-names): Remove extra paren.
5611         * Makefile (distribute): Add stub-tag.h.
5612         * elf/Makefile (distribute): Add atomicity.h.
5613         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
5614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5615         [$(subdir)=socket]: Add net/if_packet.h.
5616         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
5617         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
5618         net/if_packet.h, scsi/sg.h.
5620 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5622         * Makefile (install): Quote $(CC) expansion.
5624 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5626         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
5627         working /proc cwd and no restrictions on path length.  Following
5628         some ideas from Andi Kleen <ak@muc.de> (PR 350).
5630 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5632         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
5633         * nis/nss_compat/compat-pwd.c: Likewise.
5634         * nis/nss_compat/compat-spwd.c: Likewise.
5636 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
5638         * sysdeps/libm-i387/s_fdim.S: New file.
5639         * sysdeps/libm-i387/s_fdimf.S: New file.
5640         * sysdeps/libm-i387/s_fdiml.S: New file.
5641         * sysdeps/libm-i387/i686/s_fdim.S: New file.
5642         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
5643         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
5645 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5647         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
5648         pointer to unsigned char.
5650 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5652         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
5654         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
5656         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
5658 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5660         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
5661         ilogb(0/NaN).
5662         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
5663         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
5665 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
5667         * sysdeps/libm-i387/s_fmin.S: New file.
5668         * sysdeps/libm-i387/s_fminf.S: New file.
5669         * sysdeps/libm-i387/s_fminl.S: New file.
5670         * sysdeps/libm-i387/s_fmax.S: New file.
5671         * sysdeps/libm-i387/s_fmaxf.S: New file.
5672         * sysdeps/libm-i387/s_fmaxl.S: New file.
5673         * sysdeps/libm-i387/i686/s_fmin.S: New file.
5674         * sysdeps/libm-i387/i686/s_fminf.S: New file.
5675         * sysdeps/libm-i387/i686/s_fminl.S: New file.
5676         * sysdeps/libm-i387/i686/s_fmax.S: New file.
5677         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
5678         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
5680 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
5682         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
5683         * sysdeps/unix/sysv/linux/send.S: Likewise.
5684         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5685         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5686         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5687         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5688         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5689         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5690         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
5692 See ChangeLog.7 for earlier changes.