Update.
[glibc.git] / ChangeLog
blob39b816e38518b232f8aab61b2723a4519a3f53cc
1 1998-08-11 13:57  Ulrich Drepper  <drepper@cygnus.com>
3         * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
4         _IO_size_t.
6 1998-08-10 15:49  Ulrich Drepper  <drepper@cygnus.com>
8         * include/dirent.h: Protect from double inclusion.
10 1998-08-09  Mark Kettenis  <kettenis@phys.uva.nl>
12         * posix/glob.h: Add LFS support for glob and globfree.
13         * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
14         * posix/Makefile (routines): Add glob64.
15         * sysdeps/generic/glob64.c: New file.
16         * sysdeps/unix/sysv/linux/glob64.c: New file.
17         * sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
18         * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
19         * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
20         Elide function.
21         * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
22         for __new_glob.  Likewise for globfree64.
23         * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.
25 1998-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
27         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
28         -include flag from command.
30 1998-08-10  Ulrich Drepper  <drepper@cygnus.com>
32         * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small
33         decrement `entidx' to allow retrieving the same entry again.
35 1998-08-09 22:32  Ulrich Drepper  <drepper@cygnus.com>
37         * sysdeps/powerpc/ffs.c: Fix typo.  Add support for ffsl.
38         Patch by Matt McLean <keys@yikes.com>.
40 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
42         * sysdeps/powerpc/bits/setjmp.h: Use word to save condition
43         registers.
44         * sysdeps/powerpc/setjmp.S: Save condition registers.
45         * sysdeps/powerpc/__longjmp.S: Restore condition registers.
47 1998-08-09 09:40  Ulrich Drepper  <drepper@cygnus.com>
49         * nss/nss_files/files-XXX.c (internal_getent): In case of an read
50         error do not trust errno value, set it to ENOENT.
52         * db2/db_185.h: Move __ prototypes into include/* header.
53         * dirent/dirent.h: Likewise.
54         * elf/dlfcn.h: Likewise.
55         * gmon/sys/gmon.h: Likewise.
56         * grp/grp.h: Likewise.
57         * intl/libintl.h: Likewise.
58         * io/fcntl.h: Likewise.
59         * io/sys/stat.h: Likewise.
60         * io/sys/statfs.h: Likewise.
61         * io/sys/statvfs.h: Likewise.
62         * libio/stdio.h: Likewise.
63         * login/utmp.h: Likewise.
64         * misc/mntent.h: Likewise.
65         * misc/search.h: Likewise.
66         * misc/sys/file.h: Likewise.
67         * misc/sys/ioctl.h: Likewise.
68         * misc/sys/select.h: Likewise.
69         * misc/sys/uio.h: Likewise.
70         * misc/sys/ustat.h: Likewise.
71         * posix/unistd.h: Likewise.
72         * posix/sys/times.h: Likewise.
73         * posix/sys/wait.h: Likewise.
74         * pwd/pwd.h: Likewise.
75         * resource/ulimit.h: Likewise.
76         * resource/sys/resource.h: Likewise.
77         * setjmp/setjmp.h: Likewise.
78         * shadow/shadow.h: Likewise.
79         * signal/signal.h: Likewise.
80         * socket/sys/socket.h: Likewise.
81         * stdlib/alloca.h: Likewise.
82         * stdlib/stdlib.h: Likewise.
83         * string/string.h: Likewise.
84         * sysdeps/generic/sys/mman.h: Likewise.
85         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
86         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
87         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
88         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
89         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
90         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
91         * termios/termios.h: Likewise.
92         * time/time.h: Likewise.
93         * time/sys/time.h: Likewise.
94         * wcsmbs/wchar.h: Likewise.
96         * include/alloca.h: Add __ prototypes here.
97         * include/db_185.h: Likewise.
98         * include/dirent.h: Likewise.
99         * include/dlfcn.h: Likewise.
100         * include/fcntl.h: Likewise.
101         * include/grp.h: Likewise.
102         * include/libintl.h: Likewise.
103         * include/mntent.h: Likewise.
104         * include/pwd.h: Likewise.
105         * include/sched.h: Likewise.
106         * include/search.h: Likewise.
107         * include/setjmp.h: Likewise.
108         * include/shadow.h: Likewise.
109         * include/signal.h: Likewise.
110         * include/stdio.h: Likewise.
111         * include/stdlib.h: Likewise.
112         * include/string.h: Likewise.
113         * include/termios.h: Likewise.
114         * include/time.h: Likewise.
115         * include/ulimit.h: Likewise.
116         * include/unistd.h: Likewise.
117         * include/utmp.h: Likewise.
118         * include/wchar.h: Likewise.
119         * include/sys/file.h: Likewise.
120         * include/sys/gmon.h: Likewise.
121         * include/sys/ioctl.h: Likewise.
122         * include/sys/mman.h: Likewise.
123         * include/sys/resource.h: Likewise.
124         * include/sys/select.h: Likewise.
125         * include/sys/socket.h: Likewise.
126         * include/sys/stat.h: Likewise.
127         * include/sys/statfs.h: Likewise.
128         * include/sys/time.h: Likewise.
129         * include/sys/times.h: Likewise.
130         * include/sys/uio.h: Likewise.
131         * include/sys/wait.h: Likewise.
133         * Makeconfig (+includes): Search in $(..)include first.
135         * io/fstat.c: Undefine __fstat.
136         * io/lstat.c: Undefine __lstat.
138         * wcsmbs/Versions: Add __mbrlen.
140 1998-08-09  Ulrich Drepper  <drepper@cygnus.com>
142         * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
144 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
146         * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
148         * manual/filesys.texi: Document truncate and ftruncate.
149         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
151         * shadow/putspent.c: Lock stream while generating the output.
153         * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
154         (__msgwrite): Rewrite accordingly.
155         * sunrpc/svc_unix.c: Likewise.
156         * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
157         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
158         (sysdep_routines): Remove __sendmsg and __recvmsg.
159         * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
160         * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
161         * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
162         * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
163         * sysdeps/unix/sysv/linux/recvmsg.S: New file.
164         * sysdeps/unix/sysv/linux/sendmsg.S: New file.
165         * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
166         struct ucred.  Remove struct cmsgcred.
167         Patches by Thorsten Kukuk.
169 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
171         * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
173 1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>
175         * argp/argp-help.c: Prepare to be used outside glibc without gcc by
176         adding usual alloca cruft.
177         Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
179 1998-04-05  Jim Meyering  <meyering@ascend.com>
181         * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
182         This now depends on HAVE_BTOWC so systems that lack btowc (like
183         solaris-2.5.1) don't lose.
185 1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>
187         * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
188         * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
189         MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
190         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
191         instead of SA_ONSTACK.
192         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
193         sigaltstack, and created a weak alias.  Use SS_DISABLE and
194         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
195         * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
196         of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
197         * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
198         instead of SA_ONSTACK.
199         * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
200         * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
201         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
202         Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
203         SA_ONSTACK where appropriate.
204         * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
205         Likewise.
206         * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
207         Likewise.
208         * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
209         Likewise.
210         * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
211         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
212         the `ss_flags' member of `struct sigaltstack'.
214 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
216         * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
217         (shared-only-routines): Likewise.
218         * libio/oldtmpfile.c: New file
219         * stdio-common/tmpfile.c: Use __fdopen and __close.
220         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
221         tmpfile on symbol version GLIBC_2.1.
222         * stdio-common/tmpfile64.c: Use __fdopen and __close.
223         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
224         * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
225         * stdio-common/tempnam.c: Use __strdup instead of strdup.
226         * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
227         alias.
228         * sysdeps/generic/fdopen.c: Likewise.
229         * sysdeps/mach/hurd/fdopen.c: Likewise.
230         * stdio/stdio.h: Declare __fdopen.
231         * sunrpc/openchild.c: Use __fdopen instead of fdopen.
232         [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
233         * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
234         __stub_open64, it is never defined.
236 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
238         * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
239         * libio/iopopen.c: Unlink file before freeing it if command
240         creation failed.  Avoid unnessary casts.
241         * libio/iofdopen.c:  Avoid unnecessary cast.
242         * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
243         _IO_funlockfile.
244         * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
246 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
248         * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
249         __grpalloc, __grpscan and the corresponding pwd functions, they
250         were removed long ago.
252 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
254         * math/libm-test.c (csqrt_test): Adjust epsilons.
255         (casinh_test): Likewise.
257 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
259         * posix/globtest.sh: Fix typo.  Remove second test output file.
261 1998-08-07  Cristian Gafton  <gafton@redhat.com>
263         * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
264         * shadow/putspent.c (putspent): Likewise.
265         * grp/putgrent.c: New file.
266         * grp/Makefile (routines): Add putgrent.
267         * grp/Versions [GLIBC_2.1]: Add putgrent.
268         * grp/grp.h: Add putgrent prototype.
270 1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>
272         * elf/elf.h: More ELF definitions.
274 1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>
276         * stdio-common/tmpfile.c: Include unistd.h for close prototype.
277         * stdio-common/tmpfile64.c: Likewise.
279         * db2/makedb.c: Generate output file with same access permissions
280         the input file has.
282         * signal/signal.h: Pretty printing.
284 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
286         * misc/mktemp.c: Add include <stlib.h> for prototype, remove
287         unneccessary includes.
288         * misc/mkstemp.c: Likewise.
290 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
292         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
293         is defined.
294         * catgets/open_catalog.c: Likewise.
295         * iconv/iconv_prog.c: Likewise.
296         * intl/loadmsgcat.c: Likewise.
297         * locale/findlocale.c: Likewise.
298         * locale/loadlocale.c: Likewise.
299         * locale/programs/localedef.c: Likewise.
300         * malloc/malloc.c: Likewise.
302         * elf/elf.h: Fix typo.
304         * math/Makefile: Use $(LN_S) instead of ln.
306         * sysdeps/generic/getpgid.c: Fix return type.
308 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
310         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
311         __gen_tempname and simplify the interface.  Strip out the
312         code to do path search and create FILE objects.  This function
313         now takes a mktemp() style template and returns either a name
314         or a file descriptor.
315         (__path_search): New function; searches for directories for
316         temp files.
317         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
318         __path_search, not __stdio_gen_tempname.
320         * libio/stdio.h: Prototype __gen_tempname and __path_search,
321         not __stdio_gen_tempname.
322         * stdio/stdio.h: Likewise.
324         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
325         * stdio-common/tmpfile.c: Likewise.
326         * stdio-common/tmpfile64.c: Likewise.
327         * stdio-common/tmpnam.c: Likewise.
328         * stdio-common/tmpnam_r.c: Likewise.
330         * misc/mkstemp.c: New file.  Use __gen_tempname.
331         * misc/mktemp.c: Likewise.
333         * sysdeps/posix/mkstemp.c: Removed.
334         * sysdeps/posix/mktemp.c: Removed.
335         * sysdeps/generic/mkstemp.c: Removed.
336         * sysdeps/generic/mktemp.c: Removed.
338 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
340         * configure.in: Check, if door add-on is installed.
341         * config.make.in: Add have_doors.
342         * sunrpc/Makefile: Add HAVE_DOOR define.
343         * sunrpc/key_call.c: Add keyserv/door interface.
345         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
346         * sunrpc/clnt_unix.c: Likewise.
348 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
350         * inet/netinet/in.h (IN_CLASSC): Correct mask.
351         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
352         PR libc/727].
354 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
356         * misc/Makefile: Fix installation problem with --disable-shared.
357         * posix/Makefile: Likewise.
359 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
361         * posix/regex.c (re_search_2): Optimize searching for anchored
362         pattern if '^' cannot match at embedded newlines.
363         (regerror): Renamed from __regerror, which it should only be
364         called if _LIBC.
366 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
368         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
370 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
372         * sysdeps/generic/glob.c: Remove obsolete cast.
374 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
376         * Rules (tests): Fix last change.
378 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
380         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
381         Add sys_setresuid.
383 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
385         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
386         as real name for system call and make setresuid a weak alias.  Set
387         caller to seteuid.
388         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
389         `setresuid' syscall if availble.  Fixes problems with sendmail
390         which expects `seteuid' to not set the saved user ID.
392 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
394         * time/tzset.c (__tzstring): Get rid of excessive cleverness
395         which was causing stack corruption.
397 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
399         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
400         off-by-one in wordwrap algorithm when there' a space at the
401         beginning of the buffer.
403 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
405         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
407 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
409         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
411         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
412         definition.
414 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
416         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
418 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
420         * sysdeps/generic/glob.c: Undefine strdup before defining it,
421         because bits/string2.h may have defined it already.
423 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
425         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
426         Fix recognition of 'a' modifier vs. 'a' format.
427         (TYPEMOD): Removed.
429         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
430         for type modifiers.  Fix recognition of 'hh' modifier.
432 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
434         * sunrpc/svc_unix.c: Fix typo.
436 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
438         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
439         syscall.
441 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
443         * sysdeps/i386/ffs.c: Add ffsl entry point.
444         * sysdeps/i386/i686/ffs.c: Likewise.
445         * sysdeps/m68k/ffs.c: Likewise.
446         * sysdeps/powerpc/ffs.c: Likewise.
448         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
449         on i686.
451 1998-07-30  Richard Henderson  <rth@cygnus.com>
453         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
455         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
456         work around gcc bug.
458         * string/string.h (ffsl, ffsll): Prototype.
459         * string/Version (GLIBC_2.1): Add them.
460         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
461         entry points.
462         * sysdeps/alpha/ffsll.S: New file.  Empty.
463         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
464         * sysdeps/generic/ffsll.c: New file.
465         * string/Makefile (routines): Add ffsll.
467 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
469         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
470         strictly ISO C compliant programs.
471         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
473 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
475         * inet/protocols/rwhod.h: Correct typo in comment.
477         * configure.in: Use better regex for gettext.
479 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
481         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
482         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
484         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
486         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
487         caller/callee and the number of calls.
489 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
491         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
492         (__getpid): New function.
493         (abort): New function.
495 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
497         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
499         * nis/nis_cache2_xdr.c: Removed.
500         * nis/nis_cache.c: Removed.
501         * nis/nis_cache2.h: Removed.
503 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
505         * Rules (tests): Depend on tests-static only if build-static == yes.
507         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
508         only if build-static == yes.
510 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
512         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
513         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
515 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
517         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
518         statement, fix typo.
519         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
521 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
523         * manual/pattern.texi (More Flags for Globbing): Fix typo.
525         * manual/math.texi (Special Functions): Fix typo.
527         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
528         constant from Linux 2.1.112.
530         * posix/Makefile (install-lib): Compile libposix.a only if
531         build-static == yes.
533 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
535         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
536         declarations to file level.  Cope with unsupported
537         _SC_GETPW_R_SIZE_MAX.
539 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
541         * stdio-common/tst-printf.c: %z is now recognized by printf.
543         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
544         errors.
545         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
546         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
547         Patch by Stephen L Moshier <moshier@mediaone.net>.
549         * math/libm-test.c (csqrt_test): Correct typo in one test, add
550         another one.
552         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
553         latest kernel change.
555 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
557         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
558         inputs near DBL_MIN.
560 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
562         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
563         warnings when DNSSEC related records are received.
564         * resolv/gethnamaddr.c (getanswer): Likewise.
565         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
567         * signal/signal.h: Add prototype for sysv_signal.
569         * math/libm-test.c (tgamma_test): Remove redundant tests.
571         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
572         where foo does not exist in any of the subdirectories.
573         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
575         * posix/globtest.sh: Add test for this bug.
577         * posix/glob.h: Add GLOB_TILDE_CHECK.
578         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
579         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
580         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
582 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
584         * io/sys/statfs.h: Fix typos.
585         * io/sys/statvfs.h: Fix typos.
587 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
589         * version.h (VERSION): Bump to 2.0.95.
591         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
592         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
593         * math/libm-test.c: Split old gamma_test and move half of it in new
594         function tgamma_test.
595         * math/bits/mathcalls.h: Add declaration of tgamma.
596         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
597         tgamma errors.
598         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
599         and rename to ...
600         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
601         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
602         and rename to ...
603         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
604         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
605         and rename to ...
606         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
607         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
608         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
609         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
611         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
612         modifiers.
613         * stdio-common/vfprintf.c: Likewise.
614         * stdio-common/vfscanf.c: Likewise.
615         * manual/stdio.texi: Document new printf/scanf modifiers.
617         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
618         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
620 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
622         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
623         * sunrpc/Versions: Add new *unix_create functions.
624         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
625         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
626         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
627         with keyserv daemon.
628         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
629         * sunrpc/rpc/svc.h: Likewise.
630         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
631         * sunrpc/svc_tcp.c: Fix typos.
632         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
634         * nis/Makefile: Remove currently not working cache functions.
635         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
636         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
637         CLIENT handles.
638         * nis/nis_file.c: Fix memory leaks.
639         * nis/nis_intern.h: Move internal structs from here ...
640         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
641         * nis/nis_lookup.c: Try at first if last client handle works.
642         * nis/nis_table.c: Likewise.
643         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
644         * nis/nis_mkdir.c: Likewise.
645         * nis/nis_ping.c: Likewise.
646         * nis/nis_rmdir.c: Likewise.
647         * nis/nis_server.c: Likewise.
648         * nis/nis_util.c: Likewise.
649         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
651 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
653         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
654         define as LONG_MAX.
656 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
658         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
659         Correct test whether writev send all data.
660         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
661         received all data.
663 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
665         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
667 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
669         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
670         allow mode to be 0.
671         (__xstat): New function.
672         (__fxstat): New function.
673         (_dl_sysdep_read_whole_file): Removed.  The implementation in
674         `elf/dl-misc.c' now also works for the Hurd.
676 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
678         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
680         * posix/globtest.sh: Also add directories with NSS modules into the
681         library path.
683 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
685         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
686         strtol.
687         (INT_FIELD_MAYBE_NULL): Likewise.
689         * posix/globtest.c: Rewrite for extended test suite.
690         * posix/globtest.sh: More tests.
691         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
693         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
694         Use new macro.
696         * sysdeps/generic/readv.c: Correct return type.
697         * sysdeps/generic/writev.c: Likewise.
699 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
701         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
702         program_invocation_name when compiling outside of glibc.
704 1998-07-26  Philip Blundell  <philb@gnu.org>
706         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
707         like `@' in .type directives.
709         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
710         FE_TONEAREST exists for this platform before using it.
711         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
713         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
714         debugging code.  Correct handling of PC24 relocs.
716         * elf/Makefile (ld-map): Only define if versioning is in use.
718         * sysdeps/arm/fpu_control.h: Move to ...
719         * sysdeps/arm/fpu/fpu_control.h: ... here.
720         * sysdeps/generic/fpu_control.h: Made usable as a dummy
721         implementation.
723         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
725         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
726         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
727         implementation.
728         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
729         Based on patch from Scott Bambrough and Pat Beirne.
731         * shlib-versions: Add appropriate definitions for ARM machines.
733         * README.template: Mention that Linux/ARM with ELF works now.
735 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
737         * Makerules: Generate compilation rules for all object suffixes,
738         not only those currently selected, for sources in the current or
739         object directory.
741 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
743         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
744         match `/' in filename by a character class if requested.
745         * posix/testfnm.c: Rewritten.
746         * posix/testfnm.args: Removed.
748 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
750         * posix/annexc.c (limits_syms): Add missing symbols.
751         (stdarg_syms): Move va_list to `maybe' list.
752         (stdio_syms): Add FOPEN_MAX.
754 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
756         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
757         prevent conflict with __bswap_32.
759 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
761         * nscd/connections.c (pw_send_answer): Make one single writev call.
762         (gr_send_answer): Do the work in two writev calls.  This change
763         changes the protocol.
765         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
766         We now can do the job using two readv calls.
768 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
770         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
771         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
773         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
774         and Elf64_Vernaux.
776 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
778         * configure.in: Recognize pgcc as compiler.
779         Reported by sauron@angband.ee.ualberta.ca.
781 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
783         * nscd/dbg_log.c: Make sure, that debug message is really written.
784         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
786 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
788         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
789         Reported by bwelling@anomaly.munge.com [PR libc/720].
791         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
792         SVID more for gamma(x) with x integer <= 0.
793         Reported by Stephen L Moshier <moshier@mediaone.net>.
795         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
796         Correct test for SVID version of gamma.
798         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
799         emulation mode.
800         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
801         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
803         * string/string.h: Don't use string function optimization for C++
804         as long as we use macros.
806 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
808         * posix/fnmatch.c: Fix completely broken range matching.
810 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
812         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
814 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
816         * Makefile (headers2_0): Add sigstack.h.
818         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
820 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
822         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
823         Reported by Thorsten Kukuk.
825         * string/strcoll.c: Correct problem with empty strings.
826         * string/strxfrm.c: Likewise.
827         Reported by vbzoli@hbrt.hu [PR libc/719].
829 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
831         * sysdeps/posix/tempname.c: Use the random-name generator
832         already used by mktemp/mkstemp.  Honor TMPDIR.
834 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
836         * hurd/Makefile (routines): Remove cthreads.
837         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
839         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
841         * manual/Makefile (distribute): Add summary.texi.
843 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
845         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
847 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
849         * configure.in: Correct expression to match gcc version.
851         * configure.in: Move test for available port after machine
852         variable is defined.
854 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
856         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
857         message, copy the buffer and resize it to what the kernel
858         wants to see.  Bug found and analyzed by Thorsten Kukuk
859         <kukuk@weber-eb.uni-paderborn.de>
861 1998-07-20  Jose M. Moya  <josem@gnu.org>
863         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
864         value.
866 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
868         * sysdeps/mach/hurd/getdomain.c: New file.
869         * sysdeps/mach/hurd/setdomain.c: New file.
871 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
873         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
874         a weak alias.
876 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
878         * libio/libioP.h: Use __PMT in typedef.
879         * libio/strfile.h: Likewise.
881 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
883         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
884         buffer is too small.
885         Reported by John Levon <j_levon@ncc.co.uk>.
887 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
889         * shlib-versions: Remove definition for libSegFault.
891         * memory.texi: Comment out the relocating allocator description.
892         * manual/signal.texi: Remove reference to relocating allocator.
893         * manual/top-menu.texi: Regenerated.
895         * posix/fnmatch.c: Implement [: :] and change to recognize
896         ^ as negation only when not _POSIXLY_CORRECT.
898         * sysdeps/generic/glob.c: Add several optimizations.
900         * posix/glob.h: Undefine __PMT to prevent warnings.
901         Reported by Roland McGrath.
903         * posix/regex.c: Define namespace macros only for _LIBC.
905         * sysdeps/arm/dl-machine.h: Fix typo.
907         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
908         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
909         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
910         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
911         sigpending, sigqueue, and sigtimedwait.
912         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
914         * timezone/leapseconds: Update from tzdata1998f.
916 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
918         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
919         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
920         * libio/stdio.h: Fix typo.
922 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
924         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
925         magic memobj port arg parsing stuff.  Fix it someday when we are ready
926         to really use it.
927         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
928         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
930 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
932         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
934 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
936         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
937         a weak alias.
938         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
939         * sysdeps/generic/sigsuspend.c: Likewise.
941 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
943         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
945 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
947         * Makerules (map-file): Don't use $(wildcard) to find the
948         generated version script, instead look in $(version-maps).
949         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
950         is used.
951         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
952         if versioning is used.  Don't use $(wildcard) to find the
953         generated version script, instead look in $(verson-maps).
955 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
957         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
958         unused function handle.
959         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
960         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
961         * debug/catchsegv.sh: Fix argument processing, quoting and various
962         typos.  Put the crash info always in the current directory.  Find
963         program in $PATH if it contains no directory component.
964         * Makerules (install-lib.so-versioned,
965         install-lib.so-unversioned): New variables.
966         (install-lib-nosubdir): Depend on unversioned libs in
967         slibdir, not libdir.
969 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
971         * Make-dist (+tsrcs): Remove references to %-map variables and
972         *.map files.  Add Versions in subdirs.
973         * Makerules (distinfo-vars): Don't write out %-map variables.
975 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
977         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
978         Include <paths.h> instead.
979         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
980         * sysdeps/unix/sysv/linux/paths.h: Likewise.
981         Reported by Dale Scheetz <dwarf@polaris.net>.
983 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
985         * catgets/open_catalog.c: Strictly check whether catalog file is
986         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
988 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
990         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
992         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
994 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
996         * debug/catchsegv.sh: Fix several stupid bugs.
998         * shlib-versions: Define version for libSegFault.
999         * debug/Makefile: Replace shared lib version number while rewriting.
1001 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
1003         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
1004         Suggested by Roland McGrath.
1006 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1008         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
1009         generation to control environment.
1011 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
1013         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
1014         Patch by John Tobey <jtobey@banta-im.com>.
1016         * manual/llio.texi: Document readv/writev and mmap functions.
1017         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1019 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1021         * manual/Makefile (texis): Depend on texis.awk.
1022         (nonexamples): Filter out add-on chapters.
1023         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
1024         (stamp-summary): Depend on $(texis) except summary.texi.
1025         ($(inst_infodir)/libc.info): Simplify command.
1026         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
1027         Fix the generation of the detailed node listing to make it
1028         complete again.
1029         * manual/math.texi: Fix signature of lgamma_r.
1031 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
1033         * debug/Makefile (distribute): Add sigcontextinfo.h.
1034         Add rules to generate and install catchsegv.
1035         * debug/catchsegv.sh: New file.
1037 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
1039         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
1040         port instead of a Mach memory object.
1041         (__open): Likewise.
1042         (__libc_read): New function.
1043         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
1044         object.
1046 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
1048         * debug/Makefile (routines): Add backtracesymsfd.
1049         Add rules to generate libSegFault.
1050         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
1051         * debug/execinfo.h: Declare backtrace_symbols_fd.
1052         * sysdeps/generic/backtracesymsfd.c: New file.
1053         * sysdeps/generic/elf/backtracesymsfd.c: New file.
1054         * sysdeps/generic/segfault.c: New file.
1055         * sysdeps/generic/sigcontextinfo.h: New file.
1056         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
1058         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
1060 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
1062         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
1063         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
1065 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
1067         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
1068         * assert/assert-perr.c: Likewise.
1069         * assert/assert.c: Likewise.
1070         * gconv_conf.c: Likewise.
1071         * libio/iofputs_u.c: Likewise.
1072         * malloc/mtrace.c: Likewise.
1073         * malloc/obstack.c: Likewise.
1074         * misc/error.c: Likewise.
1075         * misc/syslog.c: Likewise.
1076         * stdio-common/asprintf.c: Likewise.
1077         * stdio-common/dprintf.c: Likewise.
1078         * stdio-common/getw.c: Likewise.
1079         * stdio-common/putw.c: Likewise.
1080         * stdio-common/snprintf.c: Likewise.
1081         * stdio-common/sprintf.c: Likewise.
1082         * stdio-common/sscanf.c: Likewise.
1083         * sunrpc/svc_simple.c: Likewise.
1084         * sysdeps/generic/abort.c: Likewise.
1086         * rt/aio_cancel.c: Don't define ECANCELED here.
1087         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
1089 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
1091         * argp/argp-fmtstream.c: Unify names of used global functions.
1092         * argp/argp-help.c: Likewise.
1093         * assert/assert-perr.c: Likewise
1094         * assert/assert.c: Likewise
1095         * dirent/scandir.c: Likewise
1096         * dirent/scandir64.c: Likewise
1097         * dirent/versionsort.c: Likewise
1098         * dirent/versionsort64.c: Likewise
1099         * gmon/bb_exit_func.c: Likewise.
1100         * gmon/gmon.c: Likewise.
1101         * grp/initgroups.c: Likewise.
1102         * iconv/gconv_conf.c: Likewise.
1103         * inet/getnameinfo.c: Likewise.
1104         * inet/getnetgrent_r.c: Likewise.
1105         * inet/inet_ntoa.c: Likewise.
1106         * inet/rcmd.c: Likewise.
1107         * inet/rexec.c: Likewise.
1108         * inet/ruserpass.c: Likewise.
1109         * io/fts.c: Likewise.
1110         * io/ftw.c: Likewise.
1111         * io/ftw64.c: Likewise.
1112         * io/getdirname.c: Likewise.
1113         * io/getwd.c: Likewise.
1114         * io/lockf.c: Likewise.
1115         * libio/iofdopen.c: Likewise.
1116         * libio/iopopen.c: Likewise.
1117         * login/utmp_daemon.c: Likewise.
1118         * malloc/mtrace.c: Likewise.
1119         * malloc/obstack.c
1120         * misc/daemon.c: Likewise.
1121         * misc/efgcvt_r.c: Likewise.
1122         * misc/err.c: Likewise.
1123         * misc/error.c: Likewise.
1124         * misc/fstab.c: Likewise.
1125         * misc/getpass.c: Likewise.
1126         * misc/getttyent.c: Likewise.
1127         * misc/mntent_r.c: Likewise.
1128         * misc/search.h: Likewise.
1129         * misc/syslog.c: Likewise.
1130         * nscd/nscd_getgr_r.c: Likewise.
1131         * nscd/nscd_getpw_r.c: Likewise.
1132         * posix/getpgrp.c: Likewise.
1133         * posix/wordexp.c: Likewise.
1134         * pwd/fgetpwent_r.c: Likewise.
1135         * pwd/getpw.c: Likewise.
1136         * resolv/herror.c: Likewise.
1137         * resolv/res_init.c: Likewise.
1138         * shadow/fgetspent_r.c: Likewise.
1139         * shadow/lckpwdf.c: Likewise.
1140         * signal/sigrelse.c: Likewise.
1141         * stdio-common/asprintf.c: Likewise.
1142         * stdio-common/dprintf.c: Likewise.
1143         * stdio-common/getw.c: Likewise.
1144         * stdio-common/putw.c: Likewise.
1145         * stdio-common/snprintf.c: Likewise.
1146         * stdio-common/sprintf.c: Likewise.
1147         * stdio-common/sscanf.c: Likewise.
1148         * stdlib/lrand48_r.c: Likewise.
1149         * stdlib/mrand48_r.c: Likewise.
1150         * string/argz-replace.c: Likewise.
1151         * string/envz.c: Likewise.
1152         * sunrpc/auth_des.c: Likewise.
1153         * sunrpc/auth_unix.c: Likewise.
1154         * sunrpc/bindrsvprt.c: Likewise.
1155         * sunrpc/clnt_gen.c: Likewise.
1156         * sunrpc/clnt_perr.c: Likewise.
1157         * sunrpc/clnt_simp.c: Likewise.
1158         * sunrpc/clnt_tcp.c: Likewise.
1159         * sunrpc/clnt_udp.c: Likewise.
1160         * sunrpc/get_myaddr.c: Likewise.
1161         * sunrpc/key_call.c: Likewise.
1162         * sunrpc/netname.c: Likewise.
1163         * sunrpc/openchild.c: Likewise.
1164         * sunrpc/pmap_rmt.c: Likewise.
1165         * sunrpc/rpc_dtable.c: Likewise.
1166         * sunrpc/rtime.c: Likewise.
1167         * sunrpc/svc_run.c: Likewise.
1168         * sunrpc/svc_simple.c: Likewise.
1169         * sunrpc/svc_tcp.c: Likewise.
1170         * sunrpc/svc_udp.c: Likewise.
1171         * sunrpc/svcauth_des.c: Likewise.
1172         * sunrpc/xdr_array.c: Likewise.
1173         * sunrpc/xdr_rec.c: Likewise.
1174         * sunrpc/xdr_ref.c: Likewise.
1175         * sunrpc/xdr_stdio.c: Likewise.
1176         * sysdeps/generic/abort.c: Likewise.
1177         * sysdeps/generic/dl-sysdep.c: Likewise.
1178         * sysdeps/generic/fstatfs64.c: Likewise.
1179         * sysdeps/generic/ftruncate64.c: Likewise.
1180         * sysdeps/generic/getrlimit64.c: Likewise.
1181         * sysdeps/generic/glob.c: Likewise.
1182         * sysdeps/generic/prof-freq.c: Likewise.
1183         * sysdeps/generic/putenv.c: Likewise.
1184         * sysdeps/generic/statfs64.c: Likewise.
1185         * sysdeps/generic/ttyname_r.c: Likewise.
1186         * sysdeps/generic/utmp_file.c: Likewise.
1187         * sysdeps/generic/vlimit.c: Likewise.
1188         * sysdeps/generic/vtimes.c: Likewise.
1189         * sysdeps/posix/cuserid.c: Likewise.
1190         * sysdeps/posix/euidaccess.c: Likewise.
1191         * sysdeps/posix/mkstemp.c: Likewise.
1192         * sysdeps/posix/mktemp.c: Likewise.
1193         * sysdeps/posix/pread.c: Likewise.
1194         * sysdeps/posix/pread64.c: Likewise.
1195         * sysdeps/posix/profil.c: Likewise.
1196         * sysdeps/posix/pwrite.c: Likewise.
1197         * sysdeps/posix/pwrite64.c: Likewise.
1198         * sysdeps/posix/sigblock.c: Likewise.
1199         * sysdeps/posix/sigpause.c: Likewise.
1200         * sysdeps/posix/ttyname.c: Likewise.
1201         * sysdeps/posix/ttyname_r.c: Likewise.
1202         * sysdeps/posix/waitid.c: Likewise.
1203         * sysdeps/unix/getlogin_r.c: Likewise.
1204         * sysdeps/unix/grantpt.c: Likewise.
1205         * sysdeps/unix/rewinddir.c: Likewise.
1206         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1207         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1208         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1209         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1210         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1211         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1212         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1213         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1214         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1215         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1216         * sysvipc/sys/shm.h: Likewise.
1217         * time/ctime_r.c: Likewise.
1218         * time/strptime.c: Likewise.
1219         * wcsmbs/mbrlen.c: Likewise.
1220         * wcsmbs/wcsdup.c: Likewise.
1221         * wcsmbs/wcsxfrm.c: Likewise.
1222         * wctype/wcfuncs.c: Likewise.
1224         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1225         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1226         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1227         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1228         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1229         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1230         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1231         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1233         * grp/fgetgrent_r.c: Use explicit locking of the stream.
1235         * elf/Makefile (rtld-routines): Add dl-environ.
1236         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1237         to...
1238         * sysdeps/generic/dl-environ.c: here.  New file.
1240         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1241         * libio/Versions: Add fputs_unlocked.
1242         * libio/iofputs_u.c: New file.
1243         * libio/stdio.h: Add prototype for fputs_unlocked.
1245         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1246         * sunrpc/rpc/clnt.h: Likewise.
1247         * sunrpc/rpc/pmap_clnt.h: Likewise.
1248         * sunrpc/rpc/svc.h: Likewise.
1249         * sunrpc/rpc/xdr.h: Likewise.
1251         * sysdeps/i386/memchr.S: Correct for more strict gas.
1252         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1253         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1254         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1255         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1257 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1259         * configure.in: Change message for binutils version from
1260         2.8.1.0.17->2.8.1.0.23.
1262 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
1264         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1265         Patch by John Tobey <jtobey@banta-im.com>.
1267 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1269         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1270         instead of sysconf.
1272 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
1274         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1275         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1276         (conv_error): Likewise.
1277         (input_error): Likewise.
1278         (memory_error): Likewise.
1280 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1282         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1283         implementation.  Include <entry.h>.  Replace references to symbol
1284         _start with macro ENTRY_POINT.
1285         (__libc_uid): Remove.
1286         (__libc_multiple_libcs): New variable.
1287         (__libc_stack_end): New variable.
1288         (_dl_hwcap_mask): New variable.
1289         (_dl_important_hwcaps): New function.
1290         (_dl_show_auxv): Mark internal.
1292 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1294         * mach/Makefile: Create target directory before generating
1295         mach-syscalls.mk.
1296         * mach/Machrules: Invoke awk using AWK variable.  Create target
1297         directory before generating server stubs.
1299 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1301         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1303         * configure.in: Allow egcs-2.92.
1305 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1307         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1308         chapter files.  Exorcise the chapters, chapters-incl mess.
1309         Support inserting doc chapters from add-on modules.
1310         (chapters): New variable.
1311         (add-chapters): New variable.
1312         (appendices): New variable.
1313         (libc.texinfo): New target.
1314         (clean): Fix bugs.
1315         (realclean): Fix bugs.
1317         * manual/texis.awk: New file.
1318         * manual/libc-texinfo.sh: New file.
1319         * manual/libc-texinfo.in: New file.
1321         * manual/conf.texi (top @node): Remove next pointer.
1322         * manual/lang.texi (top @node): Remove prev pointer.
1324         * manual/job.texi (top @node): Add explicit pointers.
1325         * manual/message.texi (top @node): Add explicit pointers.
1326         * manual/nss.texi (top @node): Add explicit pointers.
1327         * manual/process.texi (top @node): Add explicit pointers.
1328         * manual/startup.texi (top @node): Add explicit pointers.
1329         * manual/terminal.texi (top @node): Add explicit pointers.
1330         * manual/users.texi (top @node): Add explicit pointers.
1332         * manual/arith.texi: Add %MENU% tag.
1333         * manual/conf.texi: Add %MENU% tag.
1334         * manual/contrib.texi: Add %MENU% tag.
1335         * manual/ctype.texi: Add %MENU% tag.
1336         * manual/errno.texi: Add %MENU% tag.
1337         * manual/filesys.texi: Add %MENU% tag.
1338         * manual/header.texi: Add %MENU% tag.
1339         * manual/install.texi: Add %MENU% tag.
1340         * manual/intro.texi: Add %MENU% tag.
1341         * manual/io.texi: Add %MENU% tag.
1342         * manual/job.texi: Add %MENU% tag.
1343         * manual/lang.texi: Add %MENU% tag.
1344         * manual/llio.texi: Add %MENU% tag.
1345         * manual/locale.texi: Add %MENU% tag.
1346         * manual/maint.texi: Add %MENU% tag.
1347         * manual/math.texi: Add %MENU% tag.
1348         * manual/mbyte.texi: Add %MENU% tag.
1349         * manual/memory.texi: Add %MENU% tag.
1350         * manual/message.texi: Add %MENU% tag.
1351         * manual/nss.texi: Add %MENU% tag.
1352         * manual/pattern.texi: Add %MENU% tag.
1353         * manual/pipe.texi: Add %MENU% tag.
1354         * manual/process.texi: Add %MENU% tag.
1355         * manual/search.texi: Add %MENU% tag.
1356         * manual/setjmp.texi: Add %MENU% tag.
1357         * manual/signal.texi: Add %MENU% tag.
1358         * manual/socket.texi: Add %MENU% tag.
1359         * manual/startup.texi: Add %MENU% tag.
1360         * manual/stdio.texi: Add %MENU% tag.
1361         * manual/string.texi: Add %MENU% tag.
1362         * manual/sysinfo.texi: Add %MENU% tag.
1363         * manual/terminal.texi: Add %MENU% tag.
1364         * manual/time.texi: Add %MENU% tag.
1365         * manual/users.texi: Add %MENU% tag.
1367 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1369         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1370         Update.
1372 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1374         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1375         style declaration to avoid warning.
1376         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1378 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1380         * elf/rtld.c (process_dl_debug): Add missing continue.
1382 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1384         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1385         code needs it.
1387 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1389         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1390         sysd-dirs-done.
1391         * Makerules: Don't generate version maps too early.
1392         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1393         subdirs has changed.
1395 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1397         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1399 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1401         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1402         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1403         return value.
1405 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1407         * elf/dl-open.c (dl_open_worker): New function.
1408         (_dl_open): Call it to do the actual work while catching errors.
1409         * elf/dl-close.c (_dl_close): Only call termination function if
1410         the initialisation function was called.
1412 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1414         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1415         Reported by Felix von Leitner <leitner@amdiv.de>.
1417 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1419         * Make-dist (+sysdep-tsrcs): Add Versions.
1421 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1423         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1424         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1425         * sysdeps/powerpc/Versions: New file.
1426         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1427         and __errno_location.
1428         * misc/Versions: Add brk and sbrk.
1429         * posix/Versions: Add environ, __environ and _environ.
1430         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1432 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1434         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1435         Patch by Zack Weinberg.
1437 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1439         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1440         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1441         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1443 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1445         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1447 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1449         * posix/unistd.h: Simplify #ifdefs.
1451         * libio/libio.h: Undo last change due to possible C++ problems.
1452         * libio/fileops.h: Likewise.
1454 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1456         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1457         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1458         * io/utime.h: Define time_t also for __USE_XOPEN.
1459         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1460         Define *_t types except for pid_t also for __USE_XOPEN.
1461         Define S_* macros also for __USE_XOPEN.
1462         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1463         THOUSEP also for __USE_XOPEN.
1464         * math/math.c: Define M_* macros also for __USE_XOPEN.
1465         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1466         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1467         defined.
1468         * posix/glob.h: Likewise for GLOB_NOSYS.
1469         * posix/regex.h: Likewise for REG_NOSYS.
1470         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1471         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1472         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1473         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1474         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1475         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1476         for __USE_POSIX199309.
1477         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1478         constants also for __USE_XOPEN.
1479         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1481         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1482         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1484         * libio/stdio.h: Don't declare fclose_unlocked.
1486         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1488 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1490         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1491         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1492         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1493         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1494         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1495         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1496         prototype for getopt.
1497         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1498         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1499         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1500         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1501         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1502         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1503         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1504         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1505         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1506         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1507         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1508         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1509         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1510         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1511         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1512         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1513         getc_unlocked, getchar_unlocked, putc_unlocked and
1514         putchar_unlocked.
1516         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1517         from here ...
1518         * stdio-common/Versions: ... to here.
1520 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1522         * Makerules (versioning): Correct typo.
1524 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1526         * elf/Versions: Add _dl_mcount_wrapper_check.
1527         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1528         _dl_mcount_wrapper_check.
1529         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1531         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1532         internal_function.
1533         * elf/ldsodefs.h: Likewise.
1535         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1537         * libio/stdio.h: Make sure va_list is defined for X/Open.
1538         Define P_tmpdir for X/Open.
1540         * posix/regex.h: Fix typo.
1542         * posix/unistd.h: Define intptr_t if not already happened.
1543         Add pthread_atfork prototype.
1544         * sysdeps/generic/bits/types.h: Define __intptr_t.
1545         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1546         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1547         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1548         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1549         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1550         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1551         * sysdeps/wordsize-64/stdint.h: Likewise.
1553         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1555         * signal/Makefile (headers): Add bits/sigthread.h.
1556         * signal/signal.h: Include bits/sigthread.h.
1557         * sysdeps/generic/bits/sigthread.h: New file.
1559         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1561         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1562         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1563         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1564         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1566         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1568         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1569         programs.
1570         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1571         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1572         names.
1574         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1576         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1577         Remove O_READ and O_WRITE definition.
1579         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1580         and RLIM_SAVED_CUR.
1582         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1584 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1586         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1587         scripts directory.  Pass move-if-change to awk.
1588         (common-generated): Add $(version-maps) and sysd-versions.
1589         * versions.awk: Moved to...
1590         * scripts/versions.awk: ... here.  Use move-if-change to void
1591         touching unchanged files.  Print "version-maps = ..." instead of
1592         "all-version-maps = ..." and without $(common-objpfx).  Explain
1593         expected variable names.
1594         * Makefile (distribute): Updated.
1596 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1598         * misc/getttyent.c (getttyent): Don't return with locked stream.
1599         * misc/mntent_r.c (__getmntent_r): Likewise.
1601 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1603         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1604         if stream is line buffered.
1605         (_io_file_overflow): Likewise.
1606         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1607         streams writing '\n' flushes the string.
1609 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1611         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1612         * elf/dl-support.c: Define it here...
1613         * elf/rtld.c: ...and here.
1615 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1617         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1619 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1621         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1622         __ino64_t definition.
1623         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1624         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1626         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1627         script if lddlibc4 failed.
1628         Reported by B. D. Elliott <bde@accessone.com>.
1630 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1632         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1633         Improve generated strings a bit.
1635 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1637         * posix/Makefile (generated): Remove $(objpfx) from the names.
1639 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1641         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1642         format string.
1644         * libio/iofread_u.c: Include <stdio.h> for prototype.
1645         * libio/iofwrite_u.c: Likewise.
1647 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1649         * db2/Versions: New file.
1651 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1653         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1654         ($(common-objpfx)sysd-versions): Remove rule.
1655         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1656         Pass name of Versions.def file to script and redirect output to
1657         target.  Include it and make all generated version maps depend on
1658         it.
1659         * versions.awk: Print out variable definition containing all
1660         generated version maps.  Print error messages to stderr.  Remove
1661         temp file.
1663 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1665         * posix/annexc.c (check_header): Terminate macro name before
1666         comparing.
1667         (get_null_defines): Allow builtin macros with parameters.
1668         (fmt, testfmt): Add -D_LIBC.
1669         * posix/Makefile: Remove bogus duplicate include directories from
1670         annexc test command.
1672 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1674         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1675         password scheme.
1676         (_nss_nis_getpwnam_r): Likewise.
1677         (_nss_nis_getpwuid_r): Likewise.
1679 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1681         * libio/Versions: Move symbols whose source lives in
1682         stdio-common to ...
1683         * stdio-common/Versions: ... here.
1684         * stdio/Versions: Add missing symbols.
1686 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1688         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1689         __syscall_sendmsg.
1690         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1691         __syscall_recvmsg.
1692         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1693         and make __recvmsg and recvmsg weak aliases.
1694         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1695         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1696         and __syscall_sendmsg.
1698 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1700         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1701         stream.
1702         * inet/ruserpass.c (token): Likewise.
1703         * nss/nsswitch.c (nss_parse_file): Likewise.
1704         * intl/localealias.c: Likewise.  Also for ferror.
1705         * time/getdate.c (__getdate_r): Likewise.
1707         * libio/Makefile (routines): Add iofgets_u.
1708         * libio/iofgets_u.c: New file.
1709         * libio/Versions: Add fgets_unlocked.
1710         * libio/stdio.h: Add prototype for fgets_unlocked.
1712         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1713         * misc/getusershell.c (initshells): Likewise.
1714         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1715         fgets_unlocked.
1716         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1717         * resolv/res_init.c (res_init): Likewise.
1718         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1720 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1722         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1723         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1725 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1727         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1728         _unlocked functions.
1730         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1731         is a private FILE.
1733 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1735         * csu/Makefile: Build crt files in lib pass.
1736         * db2/Makefile (distribute): Add mutex/sco.cc.
1737         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1738         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1739         s-proto.d if avoid-generated is set.
1741         * sysdeps/alpha/Dist: List only one file per line.
1742         * sysdeps/generic/Dist: Likewise.
1743         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1744         * sysdeps/sparc/sparc32/Dist: Likewise.
1745         * sysdeps/unix/Dist: Likewise.
1746         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1748         * sysdeps/mach/hurd/i386/Dist: New file.
1749         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1750         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1751         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1752         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1754 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1756         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1757         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1759         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1761         * time/tzfile.c (decode): Optimize by using bswap_32.
1762         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1763         __tzname array values.
1764         (__tzfile_compute): Correct setting of __tzname array values.
1765         * time/tzset.c (__tzstring): Clean up a bit.
1767 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1769         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1771 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1773         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1774         that fd can be bigger than FD_SETSIZE.
1776 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1778         * nscd/grpcache.c: Include <unistd.h>.
1779         * nscd/pwdcache.c: Likewise.
1781         * nis/nis_modify.c: Include <string.h>.
1782         * nis/nis_add.c: Likewise.
1783         * nis/nis_checkpoint.c: Likewise.
1784         * posix/runptests.c: Likewise.
1785         * sysdeps/generic/statvfs64.c: Likewise.
1786         * sysdeps/generic/fstatvfs64.c: Likewise.
1788 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1790         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1791         to match data from Unicode.
1792         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1794 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1796         * stdio-common/printf.h: Define printf_function and
1797         printf_arginfo_function types using __PMT not __P.
1798         Reported by Marc Lehmann.
1800 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1802         * assert/test-assert.c: New test.
1803         * assert/test-assert-perr.c: New test.
1804         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1806 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1808         BSD-style SCM_CREDS support.
1810         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1811         SCM_CREDS.
1812         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1813         visible SCM_CREDS packet to what the kernel wants.
1814         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1815         SCM_CREDS packet output by kernel to what users want.
1817         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1818         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1819         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1820         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1822         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1823         __sendmsg and __recvmsg to sysdep_routines.
1824         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1826 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1828         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1829         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1830         * nscd/nscd.c: Check, if pthread_create fails.
1832 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1834         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1835         format strings.
1836         * stdio-common/bug1.c (main): Likewise.
1837         * stdio-common/bug5.c (main): Likewise.
1838         * stdio-common/tstgetln.c (main): Likewise.
1839         * elf/sprof.c (generate_call_graph): Likewise.
1840         (load_shobj): Likewise.
1841         * posix/runptests.c (main): Likewise.
1842         * string/tst-strlen.c (main): Likewise.
1844         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1845         variable q3.
1846         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1848 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1850         * wctype/Versions: Add __towctrans.
1851         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1853 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1855         * grp/initgroups.c (compat_call): Only call dynamically loaded
1856         functions if they are really present.
1858 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1860         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1861         #ifdef that contains __BEGIN_DECLS.
1863 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1865         * libio/iofwrite.c: Fix return value when size == 0.
1867 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1869         * posix/Makefile (distribute): Add annexc.c.
1870         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1872 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1875         bits/pthreadtypes.h here, and do not clobber headers.
1877         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1879 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1881         * timezone/tst-timezone.c: Add tests for tzname variable.
1883 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1885         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1886         rule that lists all of them as targets.
1887         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1888         fragment that defines $(vers-libs) based on contents of that file;
1889         then include it.
1890         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1891         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1892         Predicate all this on avoid-generated unset as well as versioning.
1894 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1896         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1898 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1900         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1901         a copy.
1902         * Makefile: Add rules to generate map files.
1903         (distribute): Remove libc.map, add Versions.def and versions.awk.
1904         * Makerules: Change rules to find map files on common-objpfx.
1905         * elf/Makefile: Likewise.
1906         * md5-crypt/Makefile: Likewise.
1907         * nis/Makefile (libnsl-map): Remove.
1908         * Versions.def: New file.
1909         * versions.awk: New file.
1910         * argp/Versions: New file.
1911         * assert/Versions: New file.
1912         * catgets/Versions: New file.
1913         * csu/Versions: New file.
1914         * ctype/Versions: New file.
1915         * db/Versions: New file.
1916         * debug/Versions: New file.
1917         * dirent/Versions: New file.
1918         * elf/Versions: New file.
1919         * gmon/Versions: New file.
1920         * grp/Versions: New file.
1921         * hesiod/Versions: New file.
1922         * hurd/Versions: New file.
1923         * iconv/Versions: New file.
1924         * inet/Versions: New file.
1925         * intl/Versions: New file.
1926         * io/Versions: New file.
1927         * libio/Versions: New file.
1928         * linuxthreads/Versions: New file.
1929         * locale/Versions: New file.
1930         * login/Versions: New file.
1931         * malloc/Versions: New file.
1932         * math/Versions: New file.
1933         * md5-crypt/Versions: New file.
1934         * misc/Versions: New file.
1935         * nis/Versions: New file.
1936         * nss/Versions: New file.
1937         * posix/Versions: New file.
1938         * pwd/Versions: New file.
1939         * resolv/Versions: New file.
1940         * resource/Versions: New file.
1941         * rt/Versions: New file.
1942         * setjmp/Versions: New file.
1943         * shadow/Versions: New file.
1944         * signal/Versions: New file.
1945         * socket/Versions: New file.
1946         * stdio/Versions: New file.
1947         * stdio-common/Versions: New file.
1948         * stdlib/Versions: New file.
1949         * streams/Versions: New file.
1950         * string/Versions: New file.
1951         * sunrpc/Versions: New file.
1952         * sysdeps/alpha/Versions: New file.
1953         * sysdeps/alpha/fpu/Versions: New file.
1954         * sysdeps/i386/Versions: New file.
1955         * sysdeps/sparc/Versions: New file.
1956         * sysdeps/unix/sysv/Versions: New file.
1957         * sysdeps/unix/sysv/linux/Versions: New file.
1958         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1959         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1960         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1961         * sysvipc/Versions: New file.
1962         * termios/Versions: New file.
1963         * time/Versions: New file.
1964         * wcsmbs/Versions: New file.
1965         * wctype/Versions: New file.
1966         * libc.map: Removed.
1967         * db/libdb.map: Removed.
1968         * elf/libdl.map: Removed.
1969         * hesiod/libnss_hesiod.map: Removed.
1970         * hurd/libhurduser.map: Removed.
1971         * hurd/libmachuser.map: Removed.
1972         * linuxthreads/libpthread.map: Removed.
1973         * locale/libBrokenLocale.map: Removed.
1974         * login/libutil.map: Removed.
1975         * math/libm.map: Removed.
1976         * md5-crypt/libcrypt.map: Removed.
1977         * nis/libnsl.map: Removed.
1978         * nis/libnsl_compat.map: Removed.
1979         * nis/libnss_nis.map: Removed.
1980         * nis/libnss_nisplus.map: Removed.
1981         * nss/libnss_db.map: Removed.
1982         * nss/libnss_files.map: Removed.
1983         * resolv/libnss_dns.map: Removed.
1984         * resolv/libresolv.map: Removed.
1985         * rt/librt.map: Removed.
1987         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1988         Fix typos.
1990         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1991         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1993         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1994         correct size.
1996 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1998         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1999         in comment.
2001         * nscd/nscd.c: Include unistd.h.
2003 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
2005         * math/libm-test.c: Adjust delta for indentities1_test because gcc
2006         became cleverer.
2008 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2010         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
2012 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2014         * scripts/test-installation.pl: Include <stdio.h> in test program
2015         to make it strictly conforming.
2017 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2019         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2020         not a strong alias.
2021         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
2022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2024         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
2026 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2028         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2029         not a strong alias.
2031 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
2033         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
2034         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
2035         bits/pthreadtypes.h.
2037 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
2039         * include/aio.h: New file.
2040         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
2041         (tests): Build and run annexc program.
2042         * posix/annexc.c: New file.
2043         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
2044         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
2045         * rt/aio_misc.c: Include limits.h.
2046         * rt/aio_notify.c: Include errno.h.
2047         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
2048         Define size_t.
2049         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2050         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2052         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
2053         kernel doesn't do this.
2054         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
2055         __USE_LARGEFILE64 is defined.
2056         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
2057         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
2058         if requested.
2059         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
2061         * stdlib/isomac.c: Avoid include_next warning.
2063 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
2065         * argp/argp.h: Use __PMT instead of __P for function pointer.
2066         * iconv/gconv.h: Likewise.
2067         * io/fts.h: Likewise.
2068         * io/ftw.h: Likewise.
2069         * libio/libio.h: Likewise.
2070         * malloc/mcheck.h: Likewise.
2071         * misc/search.h: Likewise.
2072         * posix/glob.h: Likewise.
2073         * resolv/resolv.h: Likewise.
2074         * signal/signal.h: Likewise.
2075         * stdlib/stdlib.h: Likewise.
2076         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2077         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2079 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2081         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
2083 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2085         * posix/wordexp.c (parse_param): Fix memory leak.
2087 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2089         * libc.map: Export _IO_ftrylockfile.
2091 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2093         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
2094         __get[pu]id.
2096 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2098         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
2100         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
2101         same search list twice.
2103 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2105         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
2106         used to optimize loop/select.
2108 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2110         * sysdeps/generic/init-first.c: Don't define __libc_pid.
2111         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2112         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2113         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2114         * sysdeps/arm/init-first.c: Likewise.
2115         * posix/getopt_init.c: Don't use __libc_pid.
2116         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2117         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2118         * libc.map: Remove __libc_uid and __libc_pid.
2120 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2122         * sunrpc/rtime.c (rtime): Use poll instead of select.
2124 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2126         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
2127         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2128         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2129         Patches from FreeBSD current.
2131 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2133         * nscd/connections.c (handle_new_request): Handle POLLHUP
2134         correctly.
2135         (close_sockets): Correct parameter to dbg_log.
2137 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
2139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2140         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
2141         (elf_machine_fixup_plt): Likewise.
2142         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2143         _dl_pagesize not set, use system call to always get correct answer.
2144         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2145         (__syscall_getpagesize): Add
2147 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
2149         * resolv/res_send.c (res_send): Fix typo.
2151 1998-06-25  Andi Kleen <ak@muc.de>
2153         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2154         * resolv/res_send.c (res_send): Likewise.
2156 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2158         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2159         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2161 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
2163         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2164         * math/atest-exp2.c (exp_mpn, main): Likewise.
2165         * math/atest-sincos.c (main): Likewise.
2167         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
2168         base handling away from strtoul.  Always reset errno.
2170         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2172         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2173         _dl_profile_map if _dl_name_match_p.
2174         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
2175         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
2177         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2178         as early-clobber.
2180         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2181         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2182         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2184 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2186         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2188 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2190         * nis/nis_call.c: Don't copy server structure.
2191         * nis/nis_intern.h: Remove unused entries.
2192         * nis/nis_table.c: Rewrite __create_ib_request.
2194 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
2196         * configure.in: Check for -fexceptions.
2197         * config.make.in: Define exceptions, not no-exceptions.
2198         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
2199         __P to use throw().
2200         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2201         $(exceptions).
2202         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2203         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2204         lfind, and lsearch prototpypes.
2205         * stdlib/stdlib.h: Likewise for bsearch and qsort.
2207 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2209         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2211 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2213         * Makefile (remove-old-headers): Make phony.
2215         * configure.in: Substitute @old_glibc_headers@.
2217 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2219         * libc.map: Remove __libc_uid.
2221 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2223         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2224         typos.
2226 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2228         * libc.map: Add Alpha-specific io function from protected namespace.
2230 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
2232         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2233         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2234         CPPFLAGS.
2236         * libc.map: Export __sigaction.
2238 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2240         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2241         (from Linux 2.1.107).
2243 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
2245         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2246         position when file was opened here.
2247         Reported by Howard Chu <hyc@platinum.com>.
2249         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2250         undefined in a second inclusion.
2252 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2254         * sysdeps/mach/hurd/i386/Makefile: New file.
2255         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2256         __libc_init_secure.
2257         (_hurd_stack_setup): Renamed
2258         from __libc_init_first.
2259         (__libc_init_first): New function.
2260         * sysdeps/mach/hurd/i386/static-start.S: New file.
2262 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2264         * sysdeps/mach/hurd/i386/init-first.c
2266 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2268         * grp/initgroups.c: Use _CALL_DL_FCT.
2270 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2272         * elf/rtld.c (process_dl_debug): Add missing continue.
2274 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2276         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2278 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2280         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2282 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
2284         * config.make.in: Remove LDAP support.
2285         * nss/Makefile: Likewise.
2287 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2289         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2290         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2291         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2292         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2294 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2296         * mach/Makefile: Change `mv' invocations to `mv -f'.
2297         * mach/Machrules: Likewise.
2299 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2301         * config.make.in (old-glibc-headers): Add it.
2303         * configure.in: Add test for glibc 2.0.x headers.
2305         * Makefile (headers2_0): New variable - contains so far only
2306         Linux/Intel glibc 2.0.x headers.
2307         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2308         (install): Depend on remove-old-headers.
2310 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2312         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2313         make ftruncate a weak alias.
2314         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2315         __ftruncate.
2316         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2317         (truncate): Fix function defenition to match prototype.
2319 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2321         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2322         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2324 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2326         * sysdeps/generic/glob.c: Make it possible to include glob.h
2327         before loading glob.c.
2328         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2330 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2332         * nscd/connections.c: Use poll() instead of select().
2334 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2336         * sysdeps/generic/Dist: Fix typo.
2338 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2340         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2341         * nis/nis_addmember.c: Likewise.
2342         * nis/nis_call.c: Likewise.
2343         * nis/nis_creategroup.c: Likewise.
2344         * nis/nis_destroygroup.c: Likewise.
2345         * nis/nis_findserv.c: Likewise.
2346         * nis/nis_ismember.c: Likewise.
2347         * nis/nis_print.c: Likewise.
2348         * nis/nis_print_group_entry.c: Likewise.
2349         * nis/nis_removemember.c: Likewise.
2350         * nis/nis_verifygroup.c: Likewise.
2351         * nis/ypclnt.c: Likewise.
2353         * nis/nis_file.c: Close file handles.
2355         * nis/nis_callback.c: Fix typo.
2357 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2359         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2360         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2361         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2362         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2363         * nis/nss_nis/nis-initgroups.c: Likewise.
2364         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2365         __nss_lookup_function and make it public.
2366         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2367         module if exists, else use old method.
2369 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2371         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2372         definition.
2373         * nss/getXXent_r.c (set_function, end_function, get_function):
2374         Likewise.  Reported by Thorsten Kukuk.
2376         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2378 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2380         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2381         1998-06-16 and distribute kernel_termios.h.
2383         * nis/Makefile (distribute): Add nis_xdr.h.
2385 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2387         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2388         kernels that don't have sigaltstack.
2390 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2392         * sysdeps/generic/bits/sem.h: Don't define union semun.
2394         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2396         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2397         here.
2398         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2399         definition here.
2401 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2403         * signal/signal.h: Add prototype for __sigaltstack.
2404         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2405         Remove sigstack entry.
2406         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2407         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2409         * sysdeps/i386/backtrace.c: Add casts.
2411 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2413         * intl/dcgettext.c: use complete type name.
2414         * intl/hash-string.h: Likewise.
2416         * intl/localealias.c: Undo patch from 1998-04-29.
2417         * intl/l10nflist.c: Likewise.
2418         * intl/loadinfo.h: Likewise.
2420 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2422         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2424 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2426         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2427         _dl_mcount, _dl_mcount_wrapper.
2428         * elf/Makefile (routines): Add dl-profstub.
2429         * elf/dl-profstub.c: New file.
2430         * elf/dl-support.c: Don't define _dl_profile_map.
2431         * elf/rtld.c: Likewise.
2432         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2433         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2434         Define _CALL_DL_FCT.
2435         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2436         loaded object.
2437         * iconv/gconv_db.c: Likewise.
2438         * iconv/skeleton.c: Likewise.
2439         * nss/getXXbyYY_r.c: Likewise.
2440         * nss/getXXent_r.c: Likewise.
2441         * nss/nsswitch.c: Likewise.
2443 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2445         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2446         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2447         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2449 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2451         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2452         longestdbl.
2454 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2456         * iconvdata/Makefile (modules): Add MACINTOSH.
2457         (MACINTOSH-routines): New variable.
2458         (distribute): Add macintosh.c.
2459         (awk-generated-headers): Add macintosh.h.
2460         Add rule for macintosh.h generation.
2461         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2462         * iconvdata/macintosh.c: New file.
2464 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2466         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2468         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2469         only should happen for cy != 0.
2471         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2472         glob.h.
2474 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2476         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2477         to compare stack addresses.
2479 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2481         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2482         defining prototypes.
2484 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2486         * sysdeps/sparc/sparc32/dl-machine.h
2487         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2488         flushes as the kernel will emulate it when the underlying cpu does
2489         not implement flush.
2491         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2492         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2494         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2495         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2496         trampoline code.
2498         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2499         (__clone): Branch to label .Lerror not __clone_syscall_error.
2500         (.Lerror): Fixup EINVAL setting.
2501         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2502         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2504         (__syscall_getgroups, __syscall_setgroups): Add.
2506         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2507         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2508         around sa_mask data.
2510 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2512         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2514         * string/Makefile: Make sure test-ffs does not use builtins.
2516 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2518         * sunrpc/svc.c: Check for NULL pointer.
2520         * nis/libnsl.map: Add public NIS+ xdr functions.
2522         * nis/rpcsvc/nis_callback.h: New file.
2523         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2524         * nis/nis_xdr.h: ... here.
2526         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2527         pointers, use NIS+ defines where possible.
2528         * nis/nis_cache.c: Likewise.
2529         * nis/nis_cache2_xdr.c: Likewise.
2530         * nis/nis_call.c: Likewise.
2531         * nis/nis_checkpoint.c: Likewise.
2532         * nis/nis_clone_dir.c: Likewise.
2533         * nis/nis_clone_obj.c: Likewise.
2534         * nis/nis_clone_res.c: Likewise.
2535         * nis/nis_creategroup.c: Likewise.
2536         * nis/nis_file.c: Likewise.
2537         * nis/nis_free.c: Likewise.
2538         * nis/nis_getservlist.c: Likewise.
2539         * nis/nis_local_names.c: likewise.
2540         * nis/nis_lookup.c: Likewise.
2541         * nis/nis_mkdir.c: Likewise.
2542         * nis/nis_modify.c: Likewise.
2543         * nis/nis_ping.c: Likewise.
2544         * nis/nis_print.c: Likewise.
2545         * nis/nis_remove.c: Likewise.
2546         * nis/nis_removemember.c: Likewise.
2547         * nis/nis_rmdir.c: Likewise.
2548         * nis/nis_server.c: Likewise.
2549         * nis/nis_table.c: Likewise.
2550         * nis/nis_util.c: Likewise.
2551         * nis/nis_verifygroup.c: Likewise.
2552         * nis/nis_xdr.c: Likewise.
2553         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2554         * nis/nis_xdr.c: ... to here.
2556 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2558         * iconvdata/ksc5601.h: Clean up a bit.
2560 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2562         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2563         and process incoming data.
2564         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2565         fragments as invalid.
2566         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2568 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2570         Removal of duplicates like "the the".
2571         * manual/time.texi (TZ Variable): Likewise.
2572         * manual/users.texi (Manipulating the Database): Likewise.
2573         * manual/sysinfo.texi (Filesystem handling): Likewise.
2574         * manual/signal.texi (Signaling Yourself): Likewise.
2575         * manual/message.texi (Message Translation): Likewise.
2576         (Common Usage): Likewise.
2577         * manual/llio.texi: Likewise.
2578         * manual/arith.texi (Old-style number conversion): Likewise.
2579         * manual/argp.texi (Argp): Likewise.
2580         (Argp Parsers): Likewise.
2581         (Argp Help Filtering): Likewise.
2583         * hesiod/README.hesiod: Correct typo.
2585         * manual/llio.texi: Correct typos.
2586         * manual/sysinfo.texi: Likewise.
2588 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2590         * rt/aio.h: Rename __op to __operation for g++.
2592 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2594         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2595         script.
2596         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2597         * iconvdata/gen-8bit.sh: Clean up sed script.
2599         * iconvdata/Makefile: Remove all PERL conditionals; build all
2600         the modules all the time.  Export AWK.
2601         (gen-8bit-gap): Delete setting of PERL.
2602         (gen-8bit-gap-1): Likewise.
2603         (perl-generated-headers): Renamed awk-generated-headers.
2605         * iconvdata/gap.pl: Removed.
2606         * iconvdata/gaptab.pl: Removed.
2607         * iconvdata/gap.awk: New file.
2608         * iconvdata/gaptab.awk: New file.
2610 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2612         * sysdeps/generic/Dist: Add errno-loc.c.
2614         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2615         __new_* functions.
2617 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2619         * stdio-common/bug12.c: New test for fread()/fseek().
2620         * stdio-common/Makefile (tests): Add bug12.
2622 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2624         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2625         constant.
2626         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2627         * debug/execinfo.h: Update declaration.
2629 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2631         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2632         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2633         * debug/execinfo.h: Update declaration.
2635 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2637         * manual/llio.texi: Fix spelling.
2638         * manual/sysinfo.texi: Fix spelling.
2640 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2642         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2643         alias for old name.  Put this on __libc_subfreeres.
2644         * misc/search.h: Declare it.
2646 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2648         * string/bits/string2.h (strcmp): Add missing parens around macro
2649         parameters.
2651 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2653         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2655         * manual/filesys.texi: Document LFS functions.
2656         * manual/llio.texi: Likewise.
2657         * manual/stdio.texi: Likewise.
2658         * manual/time.texi: Likewise.
2660         * manual/llio.texi: Document AIO functions.
2662         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2663         * sysdeps/generic/setrlimit.c: Likewise.
2664         * sysdeps/generic/setrlimit64.c: Likewise.
2665         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2666         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2668 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2670         * sysdeps/generic/getenv.c: Fix last change.
2672 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2674         * sysdeps/generic/backtrace.c: Provide generic implementation.
2676 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2678         * configure.in: Give visual feedback of the default directories we
2679         added.
2681 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2683         * io/fts.c (fts_build): Define oflag only if needed.
2685 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2687         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2689 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2691         * libc.map: Don't export argp's fmtstream handling functions.
2693         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2694         * manual/llio.texi: Document more LFS functions and start documenting
2695         the AIO functions.
2697 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2699         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2700         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2701         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2702         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2704 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2706         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2707         makes it easier to undump emacs.
2708         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2709         for when the endianness can't be determined.
2711 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2713         * nss/Makefile: Add files publickey database support.
2714         * nss/libnss_files.map: Export the required functions.
2715         * nss/nss_files/files-key.c: Implement it.
2716         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2718 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2720         * iconv/gconv_builtin.h: Add aliases for CORBA.
2721         * iconvdata/gconv-modules: Likewise.
2723 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2725         * math/libm-test.c (main): Call exp10_test.
2726         (exp10_test): New function which tests exp10.
2728 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2730         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2731         sigstack.
2733         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2734         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2735         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2737 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2739         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2740         in the variable, not its GOT slot.
2742 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2744         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2745         inline.
2746         * sysdeps/m68k/fpu/e_exp10.c: New file.
2747         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2748         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2750         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2751         _dl_profile_map only if the name matches.
2752         (_dl_start_user): Remember stack address.
2753         * sysdeps/m68k/elf/start.S: Pass new argument to
2754         __libc_start_user.
2756         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2757         definition.
2758         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2759         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2760         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2761         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2762         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2764 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2766         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2767         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2768         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2769         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2770         prototypes.
2771         * sysdeps/libm-i387/e_exp10.S: New file.
2772         * sysdeps/libm-i387/e_exp10f.S: New file.
2773         * sysdeps/libm-i387/e_exp10l.S: New file.
2774         * sysdeps/libm-ieee754/e_exp10.c: New file.
2775         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2776         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2777         * sysdeps/libm-ieee754/w_exp10.c: New file.
2778         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2779         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2780         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2782 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2784         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2785         sys/elf.h and sys/reg.h.
2786         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2787         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2788         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2789         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2791         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2792         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2794 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2796         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2797         __data member only for gcc.  Reported by ak@muc.de.
2799         * misc/mntent.h: Undo last patch.
2800         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2801         * misc/tst/mntent.c: Adjust code for this change.
2803         * io/fts.c: Updated from a slightly more recent BSD version.
2804         * io/fts.h: Likewise.
2806         * libc.map: Add __libc_stack_end.
2808         * db2/Makefile (routines): Add lock_region.
2809         * db2/config.h: Update from db-2.4.14.
2810         * db2/db.h: Likewise.
2811         * db2/db_185.h: Likewise.
2812         * db2/db_int.h: Likewise.
2813         * db2/btree/bt_close.c: Likewise.
2814         * db2/btree/bt_compare.c: Likewise.
2815         * db2/btree/bt_conv.c: Likewise.
2816         * db2/btree/bt_cursor.c: Likewise.
2817         * db2/btree/bt_delete.c: Likewise.
2818         * db2/btree/bt_open.c: Likewise.
2819         * db2/btree/bt_page.c: Likewise.
2820         * db2/btree/bt_put.c: Likewise.
2821         * db2/btree/bt_rec.c: Likewise.
2822         * db2/btree/bt_recno.c: Likewise.
2823         * db2/btree/bt_rsearch.c: Likewise.
2824         * db2/btree/bt_search.c: Likewise.
2825         * db2/btree/bt_split.c: Likewise.
2826         * db2/btree/bt_stat.c: Likewise.
2827         * db2/btree/btree.src: Likewise.
2828         * db2/btree/btree_auto.c: Likewise.
2829         * db2/clib/getlong.c: Likewise.
2830         * db2/common/db_appinit.c: Likewise.
2831         * db2/common/db_apprec.c: Likewise.
2832         * db2/common/db_byteorder.c: Likewise.
2833         * db2/common/db_err.c: Likewise.
2834         * db2/common/db_log2.c: Likewise.
2835         * db2/common/db_region.c: Likewise.
2836         * db2/common/db_salloc.c: Likewise.
2837         * db2/common/db_shash.c: Likewise.
2838         * db2/db/db.c: Likewise.
2839         * db2/db/db.src: Likewise.
2840         * db2/db/db_auto.c: Likewise.
2841         * db2/db/db_conv.c: Likewise.
2842         * db2/db/db_dispatch.c: Likewise.
2843         * db2/db/db_dup.c: Likewise.
2844         * db2/db/db_overflow.c: Likewise.
2845         * db2/db/db_pr.c: Likewise.
2846         * db2/db/db_rec.c: Likewise.
2847         * db2/db/db_ret.c: Likewise.
2848         * db2/db/db_thread.c: Likewise.
2849         * db2/db185/db185.c: Likewise.
2850         * db2/db185/db185_int.h: Likewise.
2851         * db2/dbm/dbm.c: Likewise.
2852         * db2/hash/hash.c: Likewise.
2853         * db2/hash/hash.src: Likewise.
2854         * db2/hash/hash_auto.c: Likewise.
2855         * db2/hash/hash_conv.c: Likewise.
2856         * db2/hash/hash_debug.c: Likewise.
2857         * db2/hash/hash_dup.c: Likewise.
2858         * db2/hash/hash_func.c: Likewise.
2859         * db2/hash/hash_page.c: Likewise.
2860         * db2/hash/hash_rec.c: Likewise.
2861         * db2/hash/hash_stat.c: Likewise.
2862         * db2/include/btree.h: Likewise.
2863         * db2/include/btree_ext.h: Likewise.
2864         * db2/include/clib_ext.h: Likewise.
2865         * db2/include/common_ext.h: Likewise.
2866         * db2/include/cxx_int.h: Likewise.
2867         * db2/include/db.h.src: Likewise.
2868         * db2/include/db_185.h.src: Likewise.
2869         * db2/include/db_am.h: Likewise.
2870         * db2/include/db_auto.h: Likewise.
2871         * db2/include/db_cxx.h: Likewise.
2872         * db2/include/db_dispatch.h: Likewise.
2873         * db2/include/db_ext.h: Likewise.
2874         * db2/include/db_int.h.src: Likewise.
2875         * db2/include/db_page.h: Likewise.
2876         * db2/include/db_shash.h: Likewise.
2877         * db2/include/db_swap.h: Likewise.
2878         * db2/include/hash.h: Likewise.
2879         * db2/include/hash_ext.h: Likewise.
2880         * db2/include/lock.h: Likewise.
2881         * db2/include/lock_ext.h: Likewise.
2882         * db2/include/log.h: Likewise.
2883         * db2/include/log_ext.h: Likewise.
2884         * db2/include/mp.h: Likewise.
2885         * db2/include/mp_ext.h: Likewise.
2886         * db2/include/mutex_ext.h: Likewise.
2887         * db2/include/os_ext.h: Likewise.
2888         * db2/include/os_func.h: Likewise.
2889         * db2/include/queue.h: Likewise.
2890         * db2/include/shqueue.h: Likewise.
2891         * db2/include/txn.h: Likewise.
2892         * db2/lock/lock.c: Likewise.
2893         * db2/lock/lock_conflict.c: Likewise.
2894         * db2/lock/lock_deadlock.c: Likewise.
2895         * db2/lock/lock_region.c: Likewise.
2896         * db2/lock/lock_util.c: Likewise.
2897         * db2/log/log.c: Likewise.
2898         * db2/log/log.src: Likewise.
2899         * db2/log/log_archive.c: Likewise.
2900         * db2/log/log_auto.c: Likewise.
2901         * db2/log/log_compare.c: Likewise.
2902         * db2/log/log_findckp.c: Likewise.
2903         * db2/log/log_get.c: Likewise.
2904         * db2/log/log_put.c: Likewise.
2905         * db2/log/log_rec.c: Likewise.
2906         * db2/log/log_register.c: Likewise.
2907         * db2/mp/mp_bh.c: Likewise.
2908         * db2/mp/mp_fget.c: Likewise.
2909         * db2/mp/mp_fopen.c: Likewise.
2910         * db2/mp/mp_fput.c: Likewise.
2911         * db2/mp/mp_fset.c: Likewise.
2912         * db2/mp/mp_open.c: Likewise.
2913         * db2/mp/mp_pr.c: Likewise.
2914         * db2/mp/mp_region.c: Likewise.
2915         * db2/mp/mp_sync.c: Likewise.
2916         * db2/mutex/68020.gcc: Likewise.
2917         * db2/mutex/mutex.c: Likewise.
2918         * db2/mutex/parisc.gcc: Likewise.
2919         * db2/mutex/parisc.hp: Likewise.
2920         * db2/mutex/sco.cc: Likewise.
2921         * db2/os/os_abs.c: Likewise.
2922         * db2/os/os_alloc.c: Likewise.
2923         * db2/os/os_config.c: Likewise.
2924         * db2/os/os_dir.c: Likewise.
2925         * db2/os/os_fid.c: Likewise.
2926         * db2/os/os_fsync.c: Likewise.
2927         * db2/os/os_map.c: Likewise.
2928         * db2/os/os_oflags.c: Likewise.
2929         * db2/os/os_open.c: Likewise.
2930         * db2/os/os_rpath.c: Likewise.
2931         * db2/os/os_rw.c: Likewise.
2932         * db2/os/os_seek.c: Likewise.
2933         * db2/os/os_sleep.c: Likewise.
2934         * db2/os/os_spin.c: Likewise.
2935         * db2/os/os_stat.c: Likewise.
2936         * db2/os/os_unlink.c: Likewise.
2937         * db2/progs/db_archive/db_archive.c: Likewise.
2938         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2939         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2940         * db2/progs/db_dump/db_dump.c: Likewise.
2941         * db2/progs/db_dump185/db_dump185.c: Likewise.
2942         * db2/progs/db_load/db_load.c: Likewise.
2943         * db2/progs/db_printlog/db_printlog.c: Likewise.
2944         * db2/progs/db_recover/db_recover.c: Likewise.
2945         * db2/progs/db_stat/db_stat.c: Likewise.
2946         * db2/txn/txn.c: Likewise.
2947         * db2/txn/txn.src: Likewise.
2948         * db2/txn/txn_auto.c: Likewise.
2949         * db2/txn/txn_rec.c: Likewise.
2951         * elf/rtld.c: Move definition of __libc_stack_end to ...
2952         * sysdeps/generic/dl-sysdep.h: ...here.
2954         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2955         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2956         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2958         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2959         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2960         before following it.
2962 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2964         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2965         from mntent correctly.
2967 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2969         * sunrpc/Makefile (generated): Correct typo.
2971 1998-06-04  Philip Blundell  <philb@gnu.org>
2973         * elf/elf.h (EM_ARM, et al.): New definitions.
2974         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2976 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2978         * localedata/SUPPORTED: Add sk_SK.
2979         * localedata/locales/sk_SK: New file.
2981 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2983         * Makeconfig (subdirs): Add debug.
2984         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2985         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2986         backtrace_symbols.
2987         * sysdeps/generic/backtrace.c: New file.
2988         * sysdeps/generic/backtracesyms.c: New file.
2989         * sysdeps/generic/elf/backtracesyms.c: New file.
2990         * sysdeps/i386/backtrace.c: New file.
2991         * debug/Makefile: New file.
2992         * debug/backtrace-tst.c: New file.
2993         * debug/execinfo.h: New file.
2995 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2997         * elf/sprof.c: Implement call graph profiling.
2999         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
3001 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3003         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
3004         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3005         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3006         Noticed by Jake Garver <garver@valkyrie.net>.
3008 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3010         * libio/genops.c (__underflow): Read character from read pointer
3011         as unsigned.
3012         (__uflow): Likewise.
3014 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
3016         * libc.map: Add _dl_profile.
3017         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
3018         this to ELF_DYNAMIC_RELOCATE.
3019         Always allocate array for relocation result if LD_PROFILE is defined.
3020         * elf/ldsodefs.h: Adjust prototypes.
3021         * elf/dl-open.c (_dl_open): Call relocation function with extra
3022         argument.
3023         * elf/rtld.c: Likewise.
3024         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
3025         Correct loop condition.
3026         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
3027         consider_profile to runtime setup function.
3028         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
3029         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
3031         * elf/dl-support.c: Define __libc_stack_end.
3032         * elf/rtld.c: Likewise.
3033         * sysdeps/generic/libc-start.c: Store last stack address in
3034         __libc_stack_end.
3035         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
3036         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
3038         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
3039         Include <stdint.h>, not <inttypes.h>.
3041         * elf/sprof.c: Implement flat profiling.
3043         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
3044         _IO_funlockfile explicitly.
3045         * libio/fileops.c: Likewise.
3046         * libio/fputc.c: Likewise.
3047         * libio/freopen.c: Likewise.
3048         * libio/freopen64.c: Likewise.
3049         * libio/fseek.c: Likewise.
3050         * libio/fseeko.c: Likewise.
3051         * libio/fseeko64.c: Likewise.
3052         * libio/ftello.c: Likewise.
3053         * libio/ftello64.c: Likewise.
3054         * libio/getc.c: Likewise.
3055         * libio/getchar.c: Likewise.
3056         * libio/iofclose.c: Likewise.
3057         * libio/iofflush.c: Likewise.
3058         * libio/iofgetpos.c: Likewise.
3059         * libio/iofgetpos64.c: Likewise.
3060         * libio/iofgets.c: Likewise.
3061         * libio/iofputs.c: Likewise.
3062         * libio/iofread.c: Likewise.
3063         * libio/iofsetpos.c: Likewise.
3064         * libio/iofsetpos64.c: Likewise.
3065         * libio/ioftell.c: Likewise.
3066         * libio/iofwrite.c: Likewise.
3067         * libio/iogetdelim.c: Likewise.
3068         * libio/iogets.c: Likewise.
3069         * libio/ioputs.c: Likewise.
3070         * libio/ioseekoff.c: Likewise.
3071         * libio/ioseekpos.c: Likewise.
3072         * libio/iosetbuffer.c: Likewise.
3073         * libio/iosetvbuf.c: Likewise.
3074         * libio/ioungetc.c: Likewise.
3075         * libio/iovsprintf.c: Likewise.
3076         * libio/iovsscanf.c: Likewise.
3077         * libio/oldfileops.c: Likewise.
3078         * libio/oldiofclose.c: Likewise.
3079         * libio/peekc.c: Likewise.
3080         * libio/putc.c: Likewise.
3081         * libio/putchar.c: Likewise.
3082         * libio/rewind.c: Likewise.
3084         * malloc/mtrace.c: Pretty print.
3086         * misc/mntent.h (struct mentent): Make string elements const char *.
3088         * nis/nis_printf.c: Optimize I/O a little bit.
3090         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
3091         * sysdeps/generic/sigset-cvt-mask.h: New file.
3092         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
3093         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
3094         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
3095         sigset-cvt-mask.h to do the dirty work.
3096         Patches by Joe Keane.
3098         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
3100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
3101         syscall_error label in case of PIC anonymous.
3102         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
3103         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
3104         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
3105         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
3106         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
3107         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
3108         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
3110 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
3112         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
3113         we cannot declare the struct element as const.
3114         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
3115         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
3117 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3119         * manual/Makefile: Include ../Makeconfig earlier.
3120         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
3121         exist.
3122         (dir-add.texinfo): Remove useless $(SHELL).
3124 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3126         * Makefile (others): Build programs from install-bin.
3127         * configure.in: Modify config.make only if is was just created and
3128         move that command to second argument of AC_OUTPUT.  Add command to
3129         set config_vars in config.status.
3131 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3133         * malloc/Makefile (address-width): Fix conditional.
3135 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3137         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
3138         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
3139         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
3140         version GLIBC_2.1.
3142 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3144         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3145         (Floating Point Parameters): Likewise.
3147 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3149         * hurd/Makefile (routines): Add cthreads.
3151 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3153         * login/login.c (login): Let pututline take care of finding the
3154         positin to insert the UTMP entry.  This corrects a bug where ssh
3155         was not reusing UTMP entries marked as DEAD_PROCESS.
3156         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3158 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3160         * login/Makefile (tests): New variable, add tst-utmp and
3161         tst-utmpx.
3162         * login/tst-utmp.c: New file.
3163         * login/tst-utmpx.c: New file.
3165 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3167         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3168         aliases for _hurd_nerr, for programs that don't use sys_errlist,
3169         but need sys_err.
3171 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3173         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3174         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3176 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3178         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3179         make __read a weak alias.  Use ANSI-style function definition.
3180         * sysdeps/mach/hurd/write.c: Likewise.
3182 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3184         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3185         _sys_errlist.
3187 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
3189         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3190         Renamed from librtld.so.
3192 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3194         * libc.map: Remove _IO_getline_info which was erroneously
3195         introduced in section GLIBC_2.0.
3196         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3198 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3200         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3201         created a weak alias.
3202         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3204 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
3206         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3207         ftruncate function, and create a weak alias to ftruncate.
3209 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3211         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3212         * inet/getnetgrent_r.c: Likewise.
3213         * nss/getXXbyYY_r.c: Likewise.
3214         * nss/getXXent_r.c: Likewise.
3215         * pwd/fgetpwent_r.c: Likewise.
3216         * shadow/sgetspent_r.c: Likewise.
3217         * shadow/fgetspent_r.c: Likewise.
3218         * sunrpc/publickey.c: Likewise.
3220 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3222         * hurd/libhurduser.map: New file.
3223         * mach/libmachuser.map: Likewise.
3225         * libc.map: Add Hurd-specific functions to version 2.1.
3226         Add __flshfp and __fillbf.
3228 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3230         * manual/signal.texi (Basic Signal Handling): Fix typo.
3231         * manual/errno.texi (Error Codes): Likewise.
3233 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
3235         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3236         instead of <sys/socket.h>.
3237         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3239         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3240         Finally make it working.
3241         Patch by Mark Hatle <fray@kernel.crashing.org>.
3243 1998-03-22  Paul Eggert  <eggert@twinsun.com>
3245         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3246         a Solaris 2.6 bug.
3248 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
3250         * stdlib/gmp-impl.h: Support strange mixed-endian double format
3251         used by ARM systems.
3252         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3253         FE_EXCEPT_SHIFT.
3254         * sysdeps/arm/bits/fenv.h: Deleted.
3255         * sysdeps/arm/fpu/ieee754.h: New file.
3256         * sysdeps/arm/gmp-mparam.h: New file.
3257         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3258         implementation.
3260 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
3262         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3264         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3265         of ((unused)).  Reported by Bruno Haible.
3267 1998-05-31  Philip Blundell  <philb@gnu.org>
3269         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3270         referring to errno and _errno.
3272         * sysdeps/arm/fpu/feholdexcpt.c: New file.
3274         * sysdeps/i386/fpu_control.h: Fix typo.
3276         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3277         (_JMPBUF_UNWINDS): Added.
3278         * sysdeps/arm/fpu/bits/setjmp.h: New file.
3280 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
3282         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3283         order to build header files, not `generated'.
3285         * Rules (before-compile): New target which depends on all
3286         $(before-compile) files.
3288 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3290         * nis/nis_call.c: Make directory search faster.
3292         * nis/nis_callback.c: Insert public key of user in callback data.
3294         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3296         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3298         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3300         * nis/nis_intern.h: Remove duplicated prototype.
3302 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3304         * sunrpc/auth_des.c: Move prototypes from here ...
3305         * sunrpc/rpc/auth.h: ... to here.
3307         * sunrpc/clnt_tcp.c: Add more control flags.
3308         * sunrpc/clnt_udp.c: Likewise.
3310         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3311         domainname.
3313         * sunrpc/rpc/clnt.h: Document, which control flags are not
3314         implementable.
3316         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3318 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3320         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3321         files crash the program.
3323         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3324         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3325         Reported by Deborah Wallach <kerr@pa.dec.com>.
3327 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3329         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3330         on whether this is a stable release or not (keeps snapshot bug
3331         reports out of the database).
3333         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3334         * sysdeps/arm/sysdep.h: Likewise.
3335         * sysdeps/i386/sysdep.h: Likewise.
3336         * sysdeps/m68k/sysdep.h: Likewise.
3337         * sysdeps/mach/mips/sysdep.h: Likewise.
3338         * sysdeps/mach/sys/reboot.h: Likewise.
3339         * sysdeps/mach/sysdep.h: Likewise.
3340         * sysdeps/unix/alpha/sysdep.h: Likewise.
3341         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3342         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3343         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3344         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3345         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3346         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3347         * sysdeps/unix/i386/sysdep.h: Likewise.
3348         * sysdeps/unix/mips/sysdep.h: Likewise.
3349         * sysdeps/unix/sparc/sysdep.h: Likewise.
3350         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3351         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3352         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3353         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3354         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3357         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3359 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3361         * mach/Machrules: Use $(move-if-change).
3363 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3365         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3366         * Makerules (lib%.so): Depend on $(+interp).
3367         (libc.so): Add interp.os to list of dependencies.
3368         (interp-obj): Remove variable.
3369         * mach/Machrules (+interp): Define to empty since libhurduser and
3370         libmachuser don't need to have the interpreter set.
3372 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3374         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3376         * resolv/gethnamaddr.c: Likewise.
3378         * resolv/res_comp.c: Likewise.
3380 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3382         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3383         so that transparent union works.
3385 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3387         * manual/texinfo.tex: Update to last available version.
3389         * timezone/africa: Update from tzdata1998e.
3390         * timezone/antarctica: Likewise.
3391         * timezone/asia: Likewise.
3392         * timezone/australasia: Likewise.
3393         * timezone/europe: Likewise.
3394         * timezone/iso3166.tab: Likewise.
3395         * timezone/northamerica: Likewise.
3396         * timezone/tzselect.ksh: Likewise.
3397         * timezone/zone.tab: Likewise.
3399 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3401         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3402         Reported by Matt McLean <keys@brio.yikes.com>.
3404 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3406         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3407         do-gencat-test.  Use automatic variables.
3408         ($(objpfx)de.msg): Fix reference to po file.
3410 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3412         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3413         $(move-if-change).
3415 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3417         * intl/dcgettext.c: Fix typo.
3419 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3421         * configure.in: Allow more make versions e.g 3.76.90.
3423 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3425         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3427         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3428         for Hurd.  Patch by Mark Kettenis.
3430 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3432          * mach/Machrules (+preinit, +postinit): Define these variables to
3433          empty because libhurduser and libmachuser don't need startup
3434          files.
3436 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3438          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3439          instead of a raw bitmask.
3441 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3443         * Makeconfig (rpath-dirs): New variable.
3444         (rpath-link): Use it.
3445         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3446         (db-objpfx): Removed.
3447         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3448         * md5-crypt/Makefile: Likewise.
3449         * sysdeps/mach/hurd/Makefile: Likewise.
3451         * Makeconfig (move-if-change): New variable.
3452         * iconvdata/Makefile (move-if-change): Removed.
3453         * manual/Makefile (move-if-change): Set only if undefined, use
3454         local script by default.
3455         * sunrpc/Makefile (move-if-change): Removed.
3456         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3457         $(move-if-change).
3459          * elf/Makefile: Remove all references to obsolete file
3460          $(objpfx)rtldtbl.h.
3461          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3463 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3465         * elf/dl-close.c (_dl_close): Add debugging message.
3467 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3469         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3470         to get Linux version and not gcc version.
3471         Reported by Alan Curry <pacman@cqc.com>.
3473 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3475         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3476         pointers - return unknown error message instead.
3477         Reported by Alan Curry <pacman@cqc.com>.
3479 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3481         * iconvdata/Makefile (modules, sed-generated-headers,
3482         perl-generated-headers): ibm424.h is perl generated.  Make
3483         necessary modifications to compile without perl.
3485 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3487         * hesiod/hesiod.c (read_config_file): Fix typo.
3489 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3491         * version.h: Bump VERSION.
3493         * csu/Makefile (distribute): Add munch-tmpl.c.
3495 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3497         * nis/nis_defaults.c: Fix buffer problems and typos.
3499 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3501         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3502         Patch by Fred Fish.
3504 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3506         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3507         overwriting bugs.
3509         * libio/strops.c (_IO_str_underflow): Read newly available
3510         character from buffer as unsigned.
3512 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3514         * catgets/Makefile (distribute): Add xopen-msg.h.
3515         (generated): Add de.msg and de.cat.
3516         (tests): Add do-gencat-test.
3517         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3518         * catgets/xopen-msg.h: New file.
3520 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3522         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3523         functions.  Optimize filename creation a bit.
3525 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3527         * stdlib/random_r.c: Help gcc to optimize the code.
3528         Patch by Joe Keane <jgk@jgk.org>.
3530 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3532         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3533         tsearch calls.
3535 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3537         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3538         it.
3540 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3542         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3543         * wcsmbs/wcsrtombs.c: Likewise.
3545         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3546         * wcsmbs/wcsmbs-tst1.c: New file.
3548         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3550         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3551         as 1.
3553         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3554         weak.
3556 1998-05-21  Philip Blundell  <philb@gnu.org>
3558         * sysdeps/arm/fpu_control.h: Replace stub file with real
3559         implementation.
3560         * sysdeps/arm/fpu/bits/fenv.h: New file.
3561         * sysdeps/arm/fpu/fesetround.c: Likewise.
3562         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3563         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3564         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3565         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3566         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3567         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3569 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3571         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3572         read instead of mmap.
3574 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3576         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3577         directly instead of include_next.  Add missing semicolons.
3578         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3579         Add missing semicolons.
3581 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3583         * iconvdata/gconv-modules: Add more aliases to please java
3584         environments.
3586 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3588         * stdio-common/vfprintf.c (process_arg): Fix typo.
3590         * iconvdata/TESTS: New tests for EUC-KR.
3592         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3593         * iconvdata/testdata/EUC-KR: New file.
3595 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3597         * math/libm-test.c (hypot_test): Fix a typo.
3599 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3601         * stdio-common/vfprintf.c: When precision is specified for %ls or
3602         %S handle it correctly.
3604 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3606         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3607         the" in one line - fixed it.
3608         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3609         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3610         * posix/unistd.h: Likewise
3612 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3614         * Makeconfig (rpath-link): Add resolvobjdir.
3615         (resolvobjdir): New variable.
3616         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3618 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3620         * elf/dl-close.c: Call shared object terminators at the right time.
3621         Patch by Philippe Troin <phil@fifi.org>.
3623 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3625         * Make-dist (+tsrcs): Also add *.map for every member of
3626         $(extra-libs).
3628         * Makefile (distribute): Don't distribute scripts/printsources and
3629         scripts/=__ify.  Distribute FAQ.in.
3630         (rpm/%): Don't pass subdirs to sub-make.
3632         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3633         instead of $(no_deps).
3635 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3637         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3638         (KNOWN_VALUE, STORE_VALUE): Do it right.
3639         (setenv): Remove unused variable.
3641 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3643         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3644         (CFLAGS-zdump.c): Add $(tz-cflags).
3646         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3647         return type.
3649 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3651         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3652         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3653         if use_localtime.
3654         * time/tzset.c: Update prototype of __tzfile_compute.
3655         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3656         tm_zone and tm_offset here if __use_tzfile.
3658 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3660         * Makerules: Install libc.a even if there are no object file.
3662 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3664         * Makerules (do-makelib): Don't force creating library from
3665         scratch, which is faster and gets correct behaviour if $(subdirs)
3666         is incomplete.
3668 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3670         * Makerules (do-stamp): Make it work when building in source
3671         directory.
3673 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3675         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3676         inhibit-rpath.
3677         * elf/dl-support.c: Likewise.
3678         * elf/ldsodefs.h: Likewise.
3679         * elf/rtld.c: Likewise.
3680         * iconvdata/run-iconv-test.sh: Likewise.
3682 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3684         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3685         variable using the value.
3686         * elf/ldsodefs.h: Declare _dl_ignore_path.
3687         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3688         object against list in _dl_ignore_path and ignore RPATH if on the list.
3689         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3690         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3691         to make sure we get the correct helper libraries loaded.
3693         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3694         "RPATH" string in call to fillin_rpath instead.
3695         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3697 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3699         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3700         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3702 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3704         * manual/terminal.texi (I/O Queues): Fix typo.
3706         * manual/stdio.texi (Closing Streams): Fix grammar.
3708         * manual/arith.texi (Absolute Value): Correct typo.
3709         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3711 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3713         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3714         LD_PROFILE_OUTPUT in SUID binaries.
3715         * intl/dcgettext.c: In SUID binaries don't let language part of
3716         locale value contain path elements.
3717         * intl/explodename.h: Define new function _nl_find_language.
3718         * intl/loadinfo.h: Declare _nl_find_language.
3719         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3720         language part it drop the value is path element is contained.
3722         * locale/setlocale.c: Fix typo.
3724 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3726         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3728         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3730         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3731         log, not a byte-count.
3733         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3734         a.out compatibility.
3736 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3738         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3739         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3740         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3741         * posix/unistd.h: Likewise.
3742         * math/math.h: Likewise.
3743         * manual/users.texi (Manipulating the Database): Likewise.
3744         * manual/signal.texi (Job Control Signals): Likewise.
3745         * manual/message.texi (The gencat program): Likewise.
3746         * manual/filesys.texi (Hard Links): Likewise.
3747         * manual/math.texi (SVID Random): Likewise.
3748         * manual/llio.texi (Waiting for I/O): Likewise.
3749         * manual/io.texi (File Name Errors): Likewise.
3750         * manual/conf.texi (String Parameters): Likewise.
3751         * manual/arith.texi (Infinity): Likewise.
3752         * malloc/malloc.c: Likewise.
3753         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3754         * csu/Makefile: Likewise.
3756 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3758         * manual/memory.texi: Add back accidently removed line.
3760 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3762         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3763         (timeout_handler): New function.
3764         (LOCK_FILE, UNLOCK_FILE): New macros.
3765         Implement file locking with timeout.
3766         (getutent_r_file, internal_getut_r, getutline_r_file,
3767         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3768         locking.
3770 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3772         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3773         directory.
3775 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3777         * rpm/Makefile: Delete inclusion of version.mk.
3779 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3781         * libc.map: Add all libio functions needed libstdc++ with version
3782         2.0, sort entries.
3784 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3786         * iconvdata/Makefile (generated): Add *.stmp files.
3788 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3790         * timezone/Makefile (testdata, build-testdata): New variables, use
3791         them in rules for test data.
3792         ($(objpfx)tst-timezone.out): Depend on test data.
3793         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3794         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3795         New rules to build test data.
3796         (tst-timezone-ENV): Pass TZDIR to point to test data.
3798 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3800         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3801         (the designation sequence is disturbing).
3803 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3805         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3806         * sunrpc/xdr_rec.c: Likewise.
3808 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3810         * posix/Makefile (tests): Add runptests.
3811         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3812         (before-compile): Add ptestcases.h.
3813         (ptestscases.h): Add rule to generate from PTESTS.
3814         * posix/runptests.c: New file.
3815         * posix/PTESTS: New file.
3816         * posix/PTESTS2C.sed: New file.
3818 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3820         * iconv/loop.c: Let user add code to use and set paramaters.
3822         * iconvdata/iso-2022-kr.c: Correct to-loop.
3824         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3825         point to output buffer.
3827         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3828         hanja.
3830         * iconvdata/TESTS: Add ISO-2022-KR test.
3831         * iconvdata/testdata/ISO-2022-KR: New file.
3833 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3835         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3836         and internal_use.
3837         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3838         and internal_use.
3839         * wcsmbs/btowc.c: Likewise.
3840         * wcsmbs/mbrtowcs.c: Likewise.
3841         * wcsmbs/mbsnrtowcs.c: Likewise.
3842         * wcsmbs/mbsrtowcs.c: Likewise.
3843         * wcsmbs/wcrtomb.c: Likewise.
3844         * wcsmbs/wcsnrtombs.c: Likewise.
3845         * wcsmbs/wcsrtombs.c: Likewise.
3846         * wcsmbs/wctob.c: Likewise.
3847         * iconv/skeleton.c: Increment invocation_counter.
3848         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3849         sequence first.
3851         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3852         * iconvdata/iso-2022-jp.c: Likewise.
3853         * iconvdata/iso646.c: Likewise.
3855         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3857 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3859         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3861         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3862         overwriting existing values if it fits.
3864 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3866         * posix/wordexp-test.c: Avoid duplicate messages.
3868         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3869         tsearch.  Correctly interpret values returned by those functions.
3870         (unsetenv): Store pointer to string, not pointer to string pointer.
3872         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3873         DST information and offset in them.
3874         * time/tzset.c (__tz_convert): Pass extra parameters to
3875         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3877 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3879         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3880         stamp files to avoid unnecessary recompilation.
3881         (gen-8bit-gap-table): Likewise.
3882         (move-if-change): New variable.
3883         (all generated .h rules): Change to be .stmp rules.
3884         (%.h): New rule; depend on %.stmp; no commands.
3885         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3886         gen-8bit-gap-1.sh.
3888 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3890         * Makerules (libc-map): Deleted.
3891         (load-map-file): Set to the appropriate compiler switch, not
3892         just the file name.  If libfoo-map is not set, look for a
3893         libfoo.map in the current directory and $(..).
3894         (map-file): New variable, contains just the mapfile name.
3895         (build-shlib): Adjust for new value of load-map-file.
3896         (libc.so): Correct dependencies.
3898         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3899         may not be set anymore.
3901         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3902         Delete libdl-map.  Tweak ld.so link rule to work with changed
3903         variable settings in Makerules.
3904         * iconvdata/Makefile: Tweak build-module to work with changed
3905         variable settings in Makerules.
3907         * db/Makefile: Delete libdb-map.
3908         * hesiod/Makefile: Delete libnss_hesiod-map.
3909         * linuxthreads/Makefile: Delete libpthread-map.
3910         * locale/Makefile: Delete libBrokenLocale-map.
3911         * login/Makefile: Delete libutil-map.
3912         * math/Makefile: Delete libm-map.
3913         * md5-crypt/Makefile: Delete libcrypt-map.
3914         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3915         libnss_nisplus-map, and libnss_compat-map.
3916         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3917         libnss_ldap-map.
3918         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3919         * rt/Makefile: Delete librt-map.
3921 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3923         * configure.in: Instead of substituting `yes' or `no' for whether
3924         --no-whole-archive is available, set @no_whole_archive@ to the
3925         appropriate gcc switch or the empty string.  Likewise for
3926         -fno-exceptions.
3927         * config.make.in: Replace have-no-whole-archive with
3928         no-whole-archive and have-no-exceptions with no-exceptions.
3929         * Makerules: Delete stanzas setting no-whole-archive and
3930         no-exceptions.
3932         * sunrpc/Makefile: Use move-if-change to update generated .h
3933         and .c files.
3935 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3937         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3938         of strchr loop.
3940 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3942         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3943         (__tzfile_compute): Likewise.
3945 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3947         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3948         defines from Linux 2.1.102.
3950 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3952         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3954 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3956         * inet/netinet/in.h: Add defines for multicast.
3957         Reported by Jeremy Hall <jhall@UU.NET>.
3959         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3960         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3961         and unsetenv.  Optimize _LIBC case.
3962         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3963         Define functions with leading __.
3965         * time/tzfile.c: Correct handling of global variables daylight,
3966         timezone, and tzname.
3967         * time/tzset.c: Likewise.
3968         * timezone/Makefile (tests): Add tst-timezone.
3969         * timezone/tst-timezone.c: New file.
3971 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3973         * timezone/asia: Update from tzdata1998d.
3974         * timezone/australasia: Likewise.
3975         * timezone/europe: Likewise.
3977 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3979         * string/string.h: Don't use the optimized versions for the string
3980         functions if optimizing for space.
3982         * stdlib/tst-strtod.c: Add test for -0.0.
3984         * io/ftwtest-sh: Prevent tests from being run by root.
3986         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3987         last addition.  Patch by wkpark@chem.skku.ac.kr.
3989 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3991         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3992         table.
3994 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3996         * iconvdata/gen-8bit.sh: New file.
3997         * iconvdata/gen-8bit-gap.sh: New file.
3998         * iconvdata/gen-8bit-gap-1.sh: New file.
3999         * iconvdata/Makefile (generate-8bit-table): Use shell script
4000         instead of writing the commands directly.
4001         (generate-8bit-gap-table): Likewise.
4002         ($(objpfx)iso8859-7jp.h): Likewise.
4003         (generated headers): Depend on shell script instead of Makefile.
4004         (before-compile): Add $(perl-generated-headers) only if perl is
4005         available.
4006         (headers): Depend on $(perl-generated-headers) only if perl is
4007         available.
4008         (sed-generated-headers): Remove iso8859-7jp.h.
4010 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4012         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
4013         (/): Removed.
4015 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4017         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
4018         formed charset names to getfct.  Let user override charset
4019         selection by mention charset in locale name.
4021 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
4023         * posix/glob.c: Move to ...
4024         * sysdeps/generic/glob.c: ...here.
4025         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
4026         elements.
4027         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
4028         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
4029         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
4030         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
4031         subdir.
4032         * libc.map [GLIBC_2.1]: Add glob and globfree.
4034 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4036         * sunrpc/Makefile (generated): Restore old list.
4038 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4040         * rt/Makefile (tests): Define only if we have a thread library.
4042         * nis/ypclnt.c: Add: #include <errno.h>.
4044 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4046         * configure.in: Define and substitute RELEASE as well as
4047         VERSION.
4048         * config.make.in: Add RELEASE and VERSION to be substituted.
4049         * Makeconfig: Delete all references to version.mk.
4050         * Make-dist: Likewise.
4051         * MakeTAGS: Likewise.
4052         * elf/Makefile: Likewise.
4054 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4056         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
4057         yp_get_default_domain.
4059 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4061         * sysdeps/posix/profil.c (__profil): Don't define act and timer
4062         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
4064 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4066         * malloc/malloc.c: Fix for NO_THREADS case.
4068 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
4070         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4071         Remove statfs and fstatfs.
4072         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
4073         and pwrite as EXTRA.
4074         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4076 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
4078         * libc.map: Add capget and capset.
4080 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4082         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4083         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
4084         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
4085         and Matt McLean <keys@brio.yikes.com>.
4087 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
4089         * misc/Makefile (tests): Add tst-mntent.
4090         * misc/tst-mntent.c: New file.
4092 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4094         * autolock.sh: Removed.
4095         * manual/move-if-change: Removed.
4097         * scripts: New directory.
4098         * =__ify: Moved to scripts.
4099         * config.guess: Likewise.
4100         * config.sub: Likewise.
4101         * gen-FAQ.pl: Likewise.
4102         * install-sh: Likewise.
4103         * mkinstalldirs: Likewise.
4104         * move-if-change: Likewise.
4105         * printsources: Likewise.
4106         * rellns.sh: Likewise.
4107         * test-installation.pl: Likewise.
4109         * configure.in: Look in scripts for config.guess, config.sub,
4110         install-sh.
4111         * Makefile: Distribute all above files in their
4112         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
4113         * manual/Makefile: Find mkinstalldirs and move-if-change in
4114         $(..)scripts.  Drop them from distribute.  Minor cleanups.
4115         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
4116         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
4117         * timezone/Makefile: Find rellns-sh in scripts.
4119 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4121         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
4122         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
4124 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4126         * Makefile (+subdir-inits): Delete variable.
4127         (+init_subdirs): Likewise.
4128         (aux): Likewise.
4129         (before-compile): Likewise.
4130         (libc-init): Delete stanza.
4131         (version-info.h): Delete rule and associated variable.
4132         (distribute): Don't distribute moved files.
4133         * Makerules (interp-obj): It lives in elf now.  Only use it
4134         if $(elf) is set.  Delete rule to build it.
4135         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
4136         version.o and version-info.h.  Minor cleanups.
4137         (routines): Add libc-init, sysdep, version.
4138         (generated): Add version-info.h.
4139         * elf/Makefile: Build interp.os.
4141         * interp.c: Moved to elf.
4142         * set-init.c: Moved to csu.
4143         * munch-init.c: Likewise.
4144         * munch.awk: Likewise.
4145         * version.c: Likewise.
4147         * Rules: Unconfuse syntax highlighting with a fake comment.
4149 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4151         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4152         syscalls.
4154 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4156         * iconvdata/Makefile (generated): Set to *-generated-headers
4157         plus gconv-modules.
4158         (tests): Set to iconv-test.
4159         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4160         * posix/Makefile (generated): Set to wordexp-test-result*.
4161         * sunrpc/Makefile (generated): Remove rpcsvc/*.
4162         (generated-dirs): Add rpcsvc.
4163         * libio/Makefile: Clean up.
4165 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
4167         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4168         * Makerules: Likewise.
4169         (+depfiles): Also add sysdep-others.
4170         * Rules: Likewise.
4171         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4172         * iconvdata/Makefile (distribute): Add TESTS.
4173         * localedata/Makefile (repertoires): Rename to repertoiremaps.
4174         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4175         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4176         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4177         sysdep-others, not others.
4178         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4181 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
4183         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4184         cost_hi and cost_lo.
4185         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4186         Cost parameter and set cost_lo to INT_MAX.
4187         (add_module): Take new parameter and use it to initialize cost_lo.
4188         (read_conf_file): Count modules being loaded and use counter for
4189         new parameter to add_module.
4190         * iconv/gconv_db.c (find_derivation): When look for cost examine
4191         cost_hi and cost_lo.
4193 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
4195         * string/bits/string2.h: Don't use unsigned char * unless really
4196         necessary since this disturbs C++.
4197         * sysdeps/i386/i486/bits/string.h: Likewise.
4198         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4200 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4202         * malloc/malloc.c (top_check): Fix last change.
4204 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4206         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4207         Patch by Matt McLean <keys@brio.yikes.com>.
4209 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4211         * Makerules (lib): Put back dependency on lib-noranlib.
4212         ($(subdirs-stamps)): Remove dependency on stamp.* again.
4214 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4216         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4217         test in __pow2 implementation.
4219 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4221         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4222         Still need *FLAGS-.o because we still sometimes build .o files.
4223         * db2/Makefile: Don't build libndbm.a if !build-static.
4225 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4227         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
4229 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4231         * configure.in: New test for broken gcc on PowerPC.
4232         * sysdeps/powerpc/atomicity.h: Use result of test.
4233         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
4235         * math/libm-test.c: Update many of the epsilon to match actual
4236         performance.
4238         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4239         * sysdeps/libm-ieee754/e_expf.c: Likewise.
4240         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4241         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
4243         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
4245         * sysdeps/powerpc/elf/libc-start.c: New file.
4246         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4247         * sysdeps/powerpc/elf/start.c: Delete.
4249         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4250         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
4252         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4253         few patches.
4255 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
4257         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4258         test for integer.
4260         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4261         * sysdeps/libm-i387/e_powl.S: Likewise.
4263 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4265         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4266         (malloc_check, free_check, realloc_check, memalign_check): Use
4267         them to improve overrun checking.  Overruns of a single byte and
4268         corruption of the top chunk are now detected much more reliably.
4270 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4272         * math/libm-test.c (pow_test): Add test for special value from PR
4273         libc/590.
4275 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
4277         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4278         including linux/errno.h.
4280 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
4282         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4283         Use correct types.
4284         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4285         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
4287 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4289         * Makerules (elide-routines.*): Fix assignments.
4290         (do-makelib): Fix typo.
4291         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4292         makefile.
4294 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4296         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4297         $(objpfx)sysd-dirs): Move them...
4298         * Makeconfig: ... here.
4299         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4300         (stubs): Fix circular depedency.
4301         (do-makelib): Clean up.
4302         (lib): Don't depend on lib-noranlib.
4303         ($(objpfx)stamp.oS): Remove special case for empty
4304         static-only-routines.
4305         (elide-routines.o): Add $(static-only-routines).
4306         (elide-routines$o): Define this instead of elide-routines.$o.
4307         * manual/Makefile (stubs): Fix circular dependency.
4309 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4311         * libio/Makefile (routines): Remove duplicate oldiofclose.
4313 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4315         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4317 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4319         * libio/stdio.h: Fix typo in __REDIRECT.
4320         * io/sys/stat.h: Likewise.
4321         Reported by Myles Uyema <myles@uyema.nws.net>.
4323 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4325         * locale/programs/localedef.c (options): Fix help message.
4327 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4329         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4330         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4332 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4334         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4335         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4336         (ptmalloc_init): Use new function in thread_at_fork call.
4337         (thread_atfork_static): Likewise.
4338         Suggested by Wolfram Gloger and Xavier Leroy.
4340 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4342         * signal/signal.h: Move definitions of struct sigstack and
4343         struct sigaltstack into separate file and include it.
4344         * sysdeps/generic/bits/sigstack.h: New file.
4345         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4346         * signal/Makefile (headers): Add bits/sigstack.h.
4348 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4350         * elf/rtld.c (dl_main): Fix check for number of references to
4351         interpreter object.
4353 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4355         * elf/rtld.c (dl_main): Check has_interp after executing platform
4356         specific code.
4358 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4360         * iconvdata/run-iconv-test.sh: Fix typo.
4362 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4364         * Makerules (+depfiles): Add depfiles for $(tests-static).
4365         Simplified.
4367 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4369         * manual/terminal.texi (Special Characters): Fix description of
4370         c_cc indexes.
4372 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4374         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4375         array.
4376         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4377         of c_cc array.
4379 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4381         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4383 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4385         * intl/locale.alias: Update russian entry.
4387 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4389         * Makerules (static-only-routines): Reimplement in terms of
4390         elide-routines.os.
4391         (shared-only-routines): Reimplement in terms of
4392         elide-routines.X [where X is all object-suffixes except .os].
4394         (stubs): Create stubs file inside the subdir.
4395         (common-mostlyclean): Remove stubs file from inside the subdir.
4396         * Makefile (subdir-stubs): Look for stubs files inside the
4397         subdirs.
4398         * manual/Makefile (stubs): Create dummy stubs file inside the
4399         subdir.
4401 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4403         Build speed improvement: make ar less of a bottleneck.
4405         * Makerules (stamp$o): Just record the object list for later
4406         use.
4407         (libc_foo.a): New rule, depends on subdir stamp files; builds
4408         and ranlibs the library from the lists saved in those files.
4410         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4411         (subdirs-stamp-o): Likewise.
4413         (ar-symtab-name): Delete variable.
4414         (lib%.a): Delete target.
4415         (libc_foo.a(bar.%)): Delete target.
4416         (libc_foo.a($(ar-symtab-name))): Delete target.
4418         (objects objs): Just depend on libobjs and extra-objs.
4419         (libobjs): Depend on the stamp files, not the objects.
4420         (extra-objs): New target, just depends on the extra-objs list.
4422         (CREATE_ARFLAGS): Kill the `ar S' hack.
4424         * config.make.in (have-ar-S): Deleted.
4425         * configure.in: Delete test for `ar S'.  Add test to determine
4426         whether ranlib does anything useful.
4428 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4430         * inet/tst-ether_aton.c: Include <stdio.h>.
4432 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4434         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4436         * locale/Makefile (distribute): Add programs/repertoire.h.
4437         (localedef-modules): Add repertoire.
4438         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4439         * locale/programs/repertoire.c: New file.
4440         * locale/programs/repertoire.h: New file.
4441         * locale/programs/charmap.c: Starting fixing character set handling
4442         to handle multi-byte encodings.
4443         * locale/programs/charset.c: Likewise.
4444         * locale/programs/charset.h: Likewise.
4445         * locale/programs/ld-collate.c: Likewise.
4446         * locale/programs/ld-ctype.c: Likewise.
4447         * locale/programs/linereader.c: Likewise.
4448         * locale/programs/localedef.c: Likewise.
4449         * locale/programs/locfile-kw.gperf: Likewise.
4450         * locale/programs/locfile-kw.h: Likewise.
4451         * locale/programs/locfile-token.h: Likewise.
4452         * locale/programs/locfile.h: Likewise.
4453         * locale/programs/stringtrans.c: Likewise.
4455         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4456         path, extended with "/locales/".
4458 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4460         * sysdeps/arm/memset.S: Fix off by one error.
4462         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4463         __syscall_error rather than syscall_error directly.
4465 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4467         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4468         mmap() syscall for ARM.
4470         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4471         binaries.
4473 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4475         * locale/programs/localedef.c: Recognize repertoire-map option.
4477 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4479         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4480         converting non-hex numbers.
4481         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4483 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4485         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4486         check overflow.
4487         * resolv/Makefile (tests): New, add tst-aton.
4488         * resolv/tst-aton.c: New file.
4490 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4492         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4493         semicolon.
4495 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4497         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4498         by letting the later modify the variable computing the total directly.
4499         * wcsmbs/mbsrtowcs.c: Likewise.
4500         * wcsmbs/wcsnrtombs.c: Likewise.
4501         * wcsmbs/wcsrtombs.c: Likewise.
4503         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4504         it is not used.
4505         * wcsmbs/wctoc.c: Likewise.
4507         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4508         * wcsmbs/wcsrtombs.c: Likewise.
4510         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4512 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4514         * iconv/skeleton.c: Correct counting of actually converted
4515         characters.
4517         * intl/localealias.c (read_alias_file): Use unsigned char for
4518         local variables.  Remove unused variable tp.
4519         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4520         for type of codeset.  For loosing Solaris systems.
4521         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4522         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4523         len if not needed.
4524         Patches by Jim Meyering.
4526         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4527         wcsrtombs must put it into initial state.
4529 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4531         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4532         argument of bswap_XX macro.
4534 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4536         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4537         variable name.
4539 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4541         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4542         semun and use stdarg macros to get the value.
4543         * sysdeps/generic/semctl.c: Don't use union semun.
4545         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4547         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4549         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4550         strings.h.
4552         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4553         defines grouping.
4555         * intl/hash-string.h: Don't include values.h.
4557         * inet/Makefile (tests): Add tst-ether_aton.
4558         * inet/tst-ether_aton.c: New file.
4560         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4561         in hex conversion.
4562         * inet/ether_aton.c (ether_aton): Declare result variable static.
4563         Reported by ahyung@unixg.ubc.ca.
4565         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4566         Define macro _SEM_SEMUN_UNDEFINED instead.
4567         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4569         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4570         * stdio-common/Makefile (tests): Add tst-wc-printf.
4572 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4574         * manual/stdio.texi (Variable Arguments Output): Correct variable
4575         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4577 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4579         * intl/dcgettext.c: Remove unneeded definition of
4580         internal_function.
4582 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4584         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4585         instead of do-iconv-test.
4586         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4587         empty.
4589 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4591         * string/string.h: Fix feature test.
4593 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4595         * iconvdata/iso646.c (BODY): Don't use character constants that
4596         depend on signedness of char.
4598 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4600         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4601         (sysdep_routines): Add s_pread64 and s_pwrite64.
4603 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4605         * iconvdata/Makefile (distribute): Remove generated .h files.
4606         * iconvdata/koi8-r.h: Removed.
4607         * iconvdata/latin-greek-1.h: Removed.
4608         * iconvdata/latin-greek.h: Removed.
4610         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4611         * iconvdata/KOI-8: Likewise.
4612         * iconvdata/KOI-8..UTF8: Likewise.
4613         * iconvdata/KOI8-R: Likewise.
4614         * iconvdata/KOI8-R..UTF8: Likewise.
4616 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4618         * streams/Makefile (headers): Add sys/stropts.h.
4619         * streams/sys/stropts.h: New file.
4621 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4623         * sysdeps/unix/sysv/linux/ttyname.c,
4624         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4625         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4627 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4629         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4630         argument of _itoa_word.
4632 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4634         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4635         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4636         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4637         sigprocmask, resp., instead of EXTRA.
4639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4640         s_pread64 and s_pwrite64.
4642 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4644         * iconvdata/Makefile: Correct rules to generate gap table.
4645         * iconvdata/gap.pl: Simplify.
4647         * iconvdata/TESTS: Name new tests.
4648         * iconvdata/testdata/CP1250: New file.
4649         * iconvdata/testdata/CP1250..UTF8: New file.
4650         * iconvdata/testdata/CP1251: New file.
4651         * iconvdata/testdata/CP1251..UTF8: New file.
4652         * iconvdata/testdata/CP1252: New file.
4653         * iconvdata/testdata/CP1252..UTF8: New file.
4654         * iconvdata/testdata/CP1253: New file.
4655         * iconvdata/testdata/CP1253..UTF8: New file.
4656         * iconvdata/testdata/CP1254: New file.
4657         * iconvdata/testdata/CP1254..UTF8: New file.
4658         * iconvdata/testdata/CP1255: New file.
4659         * iconvdata/testdata/CP1255..UTF8: New file.
4660         * iconvdata/testdata/CP1256: New file.
4661         * iconvdata/testdata/CP1256..UTF8: New file.
4662         * iconvdata/testdata/CP1257: New file.
4663         * iconvdata/testdata/CP1257..UTF8: New file.
4665 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4667         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4668         * iconvdata/iso-2022-kr.c: New file.
4670         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4671         and ISO-2022-KR.
4673 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4675         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4676         iso8859-8 and iso8859-10.
4677         * iconvdata/iso8859-5.c: Change to use gap method.
4678         * iconvdata/iso8859-7.c: Likewise.
4679         * iconvdata/iso8859-8.c: Likewise.
4680         * iconvdata/iso8859-10.c: Likewise.
4682         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4683         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4684         end of the loop.
4685         * iconvdata/iso-2022-jp.c: New file.
4687         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4688         * iconvdata/ksc5601.h: Unify function interfaces.
4689         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4690         * iconvdata/uhc.c: Likewise.
4692         * iconvdata/gb2312.h: Use correct types.
4694         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4695         size elements of data.
4697 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4699         * string/tst-svc.expect: Adapt for change in .input.
4700         * string/tst-svc.input: More tests.
4702 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4704         * iconvdata/Makefile: Add rules for new modules.
4705         * iconvdata/gconv-modules: Likewise.
4706         * iconvdata/cp737.c: New file.
4707         * iconvdata/cp737.h: New file.
4708         * iconvdata/cp775.c: New file.
4709         * iconvdata/cp775.h: New file.
4710         * iconvdata/cp874.c: New file.
4711         * iconvdata/cp874.h: New file.
4713 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4715         * iconvdata/Makefile: Create target directory before generating
4716         headers.
4718 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4720         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4721         __USER_LABEL_PREFIX__.
4722         (__ASMNAME, __ASMNAME2): New macros.
4724 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4726         * elf/dl-load.c: Include sys/param.h for MAX.
4728 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4730         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4731         __ftruncate the strong symbol, and add weak alias.
4732         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4734 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4736         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4737         Patch by Joe Keane <jgk@jgk.org>.
4739         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4740         free()ing.
4742 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4744         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4745         Patch by Thomas Bushnell, n/BSG.
4747 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4749         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4751 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4753         * iconvdata/Makefile: Put generated headers in build directory.
4755 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4757         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4758         strsep as current directory.
4760         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4761         Java.  Add definitions for unicodelittle implementation.
4762         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4763         * iconv/gconv_simple.c: Define unicodelittle functions.
4765         * iconv/iconv_prog.c: Make program print information about position
4766         of illegal character in input.
4768         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4769         comparison of charset name.
4770         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4771         * iconvdata/ebcdic-at-de-a.c: Likewise.
4772         * iconvdata/ebcdic-at-de.c: Likewise.
4773         * iconvdata/ebcdic-ca-fr.c: Likewise.
4774         * iconvdata/euccn.c: Likewise.
4775         * iconvdata/eucjp.c: Likewise.
4776         * iconvdata/euckr.c: Likewise.
4777         * iconvdata/euctw.c: Likewise.
4778         * iconvdata/hp-roman8.c: Likewise.
4779         * iconvdata/iso6937.c: Likewise.
4780         * iconvdata/iso8859-1.c: Likewise.
4781         * iconvdata/iso8859-10.c: Likewise.
4782         * iconvdata/iso8859-2.c: Likewise.
4783         * iconvdata/iso8859-3.c: Likewise.
4784         * iconvdata/iso8859-4.c: Likewise.
4785         * iconvdata/iso8859-5.c: Likewise.
4786         * iconvdata/iso8859-6.c: Likewise.
4787         * iconvdata/iso8859-7.c: Likewise.
4788         * iconvdata/iso8859-8.c: Likewise.
4789         * iconvdata/iso8859-9.c: Likewise.
4790         * iconvdata/johab.c: Likewise.
4791         * iconvdata/koi-8.c: Likewise.
4792         * iconvdata/koi8-r.c: Likewise.
4793         * iconvdata/latin-greek-1.c: Likewise.
4794         * iconvdata/latin-greek.c: Likewise.
4795         * iconvdata/sjis.c: Likewise.
4796         * iconvdata/t61.c: Likewise.
4797         * iconvdata/uhc.c: Likewise.
4799         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4800         * iconvdata/TESTS: Add tests for ISO646 module.
4801         * iconvdata/gconv-modules: Add new modules.
4802         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4803         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4804         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4805         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4806         * iconvdata/testdate/DIN_66003: Likewise.
4807         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4808         * iconvdata/testdate/DS_2089: Likewise.
4809         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4810         * iconvdata/testdate/ES: Likewise.
4811         * iconvdata/testdate/ES..UTF8: Likewise.
4812         * iconvdata/testdate/ES2: Likewise.
4813         * iconvdata/testdate/ES2..UTF8: Likewise.
4814         * iconvdata/testdate/GB_1988-80: Likewise.
4815         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4816         * iconvdata/testdate/IT: Likewise.
4817         * iconvdata/testdate/IT..UTF8: Likewise.
4818         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4819         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4820         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4821         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4822         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4823         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4824         * iconvdata/testdate/KSC5636: Likewise.
4825         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4826         * iconvdata/testdate/MSZ_7795.3: Likewise.
4827         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4828         * iconvdata/testdate/NC_NC00-10: Likewise.
4829         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4830         * iconvdata/testdate/NF_Z_62-010: Likewise.
4831         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4832         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4833         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4834         * iconvdata/testdate/NS_4551-1: Likewise.
4835         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4836         * iconvdata/testdate/NS_4551-2: Likewise.
4837         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4838         * iconvdata/testdate/PT: Likewise.
4839         * iconvdata/testdate/PT..UTF8: Likewise.
4840         * iconvdata/testdate/PT2: Likewise.
4841         * iconvdata/testdate/PT2..UTF8: Likewise.
4842         * iconvdata/testdate/SEN_850200_B: Likewise.
4843         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4844         * iconvdata/testdate/SEN_850200_C: Likewise.
4845         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4847         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4848         * iconvdata/cns11643l1.h: Likewise.
4849         * iconvdata/latin-greek-1.h: Likewise.
4850         * iconvdata/latin-greek.h: Likewise.
4851         * iconvdata/koi8-r.h: Likewise.
4852         * iconvdata/jis0212.h: Likewise.
4853         * iconvdata/gb2312.h: Likewise.
4854         * iconvdata/ksc5601.h: Likewise.
4856         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4858         * iconvdata/Makefile: Add rules for lots of more modules.
4859         * iconvdata/cp1250.c: New file.
4860         * iconvdata/cp1251.c: New file.
4861         * iconvdata/cp1252.c: New file.
4862         * iconvdata/cp1253.c: New file.
4863         * iconvdata/cp1254.c: New file.
4864         * iconvdata/cp1255.c: New file.
4865         * iconvdata/cp1256.c: New file.
4866         * iconvdata/cp1257.c: New file.
4867         * iconvdata/ebcdic-dk-no-a.c: New file.
4868         * iconvdata/ebcdic-dk-no.c: New file.
4869         * iconvdata/ebcdic-es-a.c: New file.
4870         * iconvdata/ebcdic-es-s.c: New file.
4871         * iconvdata/ebcdic-es.c: New file.
4872         * iconvdata/ebcdic-fi-se-a.c: New file.
4873         * iconvdata/ebcdic-fi-se.c: New file.
4874         * iconvdata/ebcdic-fr.c: New file.
4875         * iconvdata/ebcdic-is-friss.c: New file.
4876         * iconvdata/ebcdic-it.c: New file.
4877         * iconvdata/ebcdic-pt.c: New file.
4878         * iconvdata/ebcdic-uk.c: New file.
4879         * iconvdata/ebcdic-us.c: New file.
4880         * iconvdata/ibm037.c: New file.
4881         * iconvdata/ibm038.c: New file.
4882         * iconvdata/ibm1004.c: New file.
4883         * iconvdata/ibm1026.c: New file.
4884         * iconvdata/ibm1047.c: New file.
4885         * iconvdata/ibm256.c: New file.
4886         * iconvdata/ibm273.c: New file.
4887         * iconvdata/ibm274.c: New file.
4888         * iconvdata/ibm275.c: New file.
4889         * iconvdata/ibm277.c: New file.
4890         * iconvdata/ibm278.c: New file.
4891         * iconvdata/ibm280.c: New file.
4892         * iconvdata/ibm281.c: New file.
4893         * iconvdata/ibm284.c: New file.
4894         * iconvdata/ibm285.c: New file.
4895         * iconvdata/ibm290.c: New file.
4896         * iconvdata/ibm297.c: New file.
4897         * iconvdata/ibm420.c: New file.
4898         * iconvdata/ibm423.c: New file.
4899         * iconvdata/ibm424.c: New file.
4900         * iconvdata/ibm437.c: New file.
4901         * iconvdata/ibm500.c: New file.
4902         * iconvdata/ibm850.c: New file.
4903         * iconvdata/ibm851.c: New file.
4904         * iconvdata/ibm852.c: New file.
4905         * iconvdata/ibm855.c: New file.
4906         * iconvdata/ibm857.c: New file.
4907         * iconvdata/ibm860.c: New file.
4908         * iconvdata/ibm861.c: New file.
4909         * iconvdata/ibm862.c: New file.
4910         * iconvdata/ibm863.c: New file.
4911         * iconvdata/ibm864.c: New file.
4912         * iconvdata/ibm865.c: New file.
4913         * iconvdata/ibm868.c: New file.
4914         * iconvdata/ibm869.c: New file.
4915         * iconvdata/ibm870.c: New file.
4916         * iconvdata/ibm871.c: New file.
4917         * iconvdata/ibm875.c: New file.
4918         * iconvdata/ibm880.c: New file.
4919         * iconvdata/ibm891.c: New file.
4920         * iconvdata/ibm903.c: New file.
4921         * iconvdata/ibm904.c: New file.
4922         * iconvdata/ibm905.c: New file.
4923         * iconvdata/ibm918.c: New file.
4925         * locale/iso-4217.def: Update.
4926         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4928         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4929         formats.
4931 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4933         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4934         LD_LIBRARY_PATH.
4936 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4938         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4939         * Makefile: Likewise.
4940         * posix/Makefile: Likewise.
4941         * sysdeps/mach/hurd/Makefile: Likewise.
4943 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4945         * sysdeps/mach/hurd/bits/dirent.h: New file.
4946         * sysdeps/mach/hurd/readdir64.c: New file.
4947         * sysdeps/mach/hurd/readdir64_r.c: New file.
4949 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4951         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4952         dprintf): Synchronize declarations with libio/stdio.h.
4954 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4956         * elf/dlerror.c (dlerror): Don't assume that
4957         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4958         well-protected, so just use it directly.
4960 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4962         * io/ftw.h (ftw): Fix typo.
4964 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4966         * sysdeps/gnu/utmp_file.c: Fix typo.
4968 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4970         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4971         one part of a test fails move on to the next test.
4973 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4975         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4977 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4979         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4980         as pointers, not signed integers.
4982 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4984         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4986 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4988         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4989         asm symbol name of functions.
4990         * include/features.h: Kill redundant test.
4992         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4993         * io/ftw.h: Likewise.
4994         * io/sys/stat.h: Likewise.
4995         * io/sys/statfs.h: Likewise.
4996         * io/sys/statvfs.h: Likewise.
4997         * libio/stdio.h: Likewise.
4998         * resource/sys/resource.h: Likewise.
4999         * rt/aio.h: Likewise.
5001         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
5002          __FAVOR_BSD.
5003         * signal/signal.h: Use new macros for BSD vs. SysV signal().
5005         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
5006         a dummy library.
5007         * misc/bsd-compat.c: Removed.
5009 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
5011         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
5012         function declaration.
5013         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
5014         and use them in conversion function.
5015         * iconvdata/Makefile (modules): Re-add ISO6446.
5016         * iconvdata/TEST: Add tests for ASCII variants.
5017         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
5018         * iconvdata/testdata/ANSI_X3.4-1968: New file.
5019         * iconvdata/testdata/BS_4730: New file.
5020         * iconvdata/testdata/BS_4730..UTF8: New file.
5022 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
5024         * iconv/gconv.h (struct gconv_step): Add element stateful.
5025         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
5026         to zero for all internal conversions.
5027         * iconv/skeleton.c: Initialize stateful depending on whether or not
5028         RESET_STATE is defined to one or zero respectively.
5029         * stdlib/mblen.c: Use stateful element of currently selected
5030         converter for result if S is NULL.
5031         * stdlib/mbtowc.c: Likewise.
5032         * stdlib/wctomb.c: Likewise.
5034 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
5036         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
5038         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
5040         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
5041         character in comparison with uint32_t.
5042         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
5043         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
5044         Optimize BODY a bit.
5046         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
5047         be defined.
5049         * iconv/skeleton.c: Also reset converted counter in case of an error.
5050         Call reset function using correct value for output buffer start.
5052         * iconvdata/Makefile: Re-enable tests.
5054         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
5055         value for to-conversion.
5057         * iconvdata/TESTS: Add new third column.
5058         * iconvdata/run-iconv-test.sh: Add support for charsets which are
5059         not ASCII based.
5060         * iconvdata/testdata/suntzus: New file.
5062         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
5063         while reading.  Correctly used base.  Little optimization.
5064         (__strtoul_internal): Likewise.
5066         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
5067         was wrong.  Use explicit variable.
5069 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5071         * configure.in: Check for awk.
5072         * config.make.in: Add AWK to be substituted.
5074         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
5075         * manual/users.texi: Fix typo exposed by above rewrite.
5077         * Makefile: Invoke awk using AWK variable.
5078         * csu/Makefile: Likewise.
5079         * elf/Makefile: Likewise.
5080         * mach/Makefile: Likewise.
5081         * manual/Makefile: Likewise.
5082         * sysdeps/gnu/Makefile: Likewise.
5083         * sysdeps/mach/hurd/Makefile: Likewise.
5084         * sysdeps/unix/Makefile: Likewise.
5085         * timezone/Makefile: Likewise.
5087 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5089         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
5090         array index translation.
5091         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
5092         these are defined.
5094         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
5096         * sysdeps/mach/hurd/errlist.c: New file.
5097         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
5098         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
5099         semantics, so rename it.
5101 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5103         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
5104         conversions.
5106 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
5108         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
5109         * wcsmbs/wcsnrtombs.c: Likewise.
5111 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
5113         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
5115         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
5117         * time/strftime.c (my_strftime): Initialize pad variable in
5118         declaration.
5120         * iconvdata/big5.c: Don't use character constants in comparisons
5121         with unsigned value.
5123 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
5125         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
5126         __libc_siglongjmp to GLIBC_2.1.
5128         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
5129         __strerror_r.
5131         * iconv/Makefile: Don't run tests now.
5133         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
5134         with correct output buffer.
5136         Major rewrite of the low-level gconv functionality.
5137         * iconv/gconv.c: Rewritten.
5138         * iconv/gconv.h: Likewise.
5139         * iconv/gconv_builtin.c: Likewise.
5140         * iconv/gconv_builtin.h: Likewise.
5141         * iconv/gconv_conf.c: Likewise.
5142         * iconv/gconv_int.h: Likewise.
5143         * iconv/gconv_open.c: Likewise.
5144         * iconv/gconv_simple.c: Likewise.
5145         * iconv/iconv.c: Likewise.
5146         * iconvdata/8bit-gap.c: Likewise.
5147         * iconvdata/8bit-generic.c: Likewise.
5148         * iconvdata/Makefile: Likewise.
5149         * iconvdata/big5.c: Likewise.
5150         * iconvdata/cns11643.c: Likewise.
5151         * iconvdata/cns11643.h: Likewise.
5152         * iconvdata/cns11643l1.c: Likewise.
5153         * iconvdata/cns11643l1.h: Likewise.
5154         * iconvdata/ebcdic-at-de-a.c: Likewise.
5155         * iconvdata/ebcdic-at-de.c: Likewise.
5156         * iconvdata/ebcdic-ca-fr.c: Likewise.
5157         * iconvdata/euccn.c: Likewise.
5158         * iconvdata/eucjp.c: Likewise.
5159         * iconvdata/euckr.c: Likewise.
5160         * iconvdata/euctw.c: Likewise.
5161         * iconvdata/gb2312.c: Likewise.
5162         * iconvdata/gb2312.h: Likewise.
5163         * iconvdata/hp-roman8.c: Likewise.
5164         * iconvdata/iso646.c: Likewise.
5165         * iconvdata/iso6937.c: Likewise.
5166         * iconvdata/iso8859-1.c: Likewise.
5167         * iconvdata/iso8859-10.c: Likewise.
5168         * iconvdata/iso8859-2.c: Likewise.
5169         * iconvdata/iso8859-3.c: Likewise.
5170         * iconvdata/iso8859-4.c: Likewise.
5171         * iconvdata/iso8859-5.c: Likewise.
5172         * iconvdata/iso8859-6.c: Likewise.
5173         * iconvdata/iso8859-7.c: Likewise.
5174         * iconvdata/iso8859-8.c: Likewise.
5175         * iconvdata/iso8859-9.c: Likewise.
5176         * iconvdata/jis0201.c: Likewise.
5177         * iconvdata/jis0201.h: Likewise.
5178         * iconvdata/jis0208.c: Likewise.
5179         * iconvdata/jis0208.h: Likewise.
5180         * iconvdata/jis0212.c: Likewise.
5181         * iconvdata/jis0212.h: Likewise.
5182         * iconvdata/johab.c: Likewise.
5183         * iconvdata/koi-8.c: Likewise.
5184         * iconvdata/koi8-r.c: Likewise.
5185         * iconvdata/ksc5601.c: Likewise.
5186         * iconvdata/ksc5601.h: Likewise.
5187         * iconvdata/latin-greek-1.c: Likewise.
5188         * iconvdata/latin-greek.c: Likewise.
5189         * iconvdata/run-iconv-test.sh: Likewise.
5190         * iconvdata/sjis.c: Likewise.
5191         * iconvdata/t61.c: Likewise.
5192         * iconvdata/uhc.c: Likewise.
5193         * wcsmbs/btowc.c: Likewise.
5194         * wcsmbs/mbrtowc.c: Likewise.
5195         * wcsmbs/mbsnrtowcs.c: Likewise.
5196         * wcsmbs/mbsrtowcs.c: Likewise.
5197         * wcsmbs/wcrtomb.c: Likewise.
5198         * wcsmbs/wcsmbsload.c: Likewise.
5199         * wcsmbs/wcsnrtombs.c: Likewise.
5200         * wcsmbs/wcsrtombs.c: Likewise.
5201         * wcsmbs/wctob.c: Likewise.
5202         * iconv/loop.c: New file.
5203         * iconv/skeleton.c: New file.
5205         * stdlib/mblen.c: Handle empty input string correctly.
5206         * stdlib/mbtowc.c: Likewise.
5208         * posix/getopt.c: Various cleanups.
5210         * sysdeps/arm/bits/setjmp.h: Add copyright text.
5211         * sysdeps/i386/bits/setjmp.h: Likewise.
5212         * sysdeps/m68k/bits/setjmp.h: Likewise.
5213         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5214         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5216         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5217         and make longjmp weak alias.
5219 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
5221         * iconv/Makefile (routines): Only include gconv_dl if building for
5222         an ELF system - dynamic linking is not available on a.out.
5223         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5224         due to above check.
5225         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5226         routines from gconv_dl.
5228 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
5230         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5231         we can compile without libio.
5233 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
5235         * sysdeps/mach/hurd/Subdirs: Remove login.
5237 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
5239         * db2/compat.h: Include <errno.h>, to make sure we get the
5240         definition of EFTYPE before we define it ourselves.
5242 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5244         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5245         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5246         Fix typo to allow inclusion from sys/ioctl.h again.
5248 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5250         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
5252 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5254         * libc.map: Export __strerror_r.  Remove _strerror_internal.
5256 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5258         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5259         Also undefine __strcasestr.
5261 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5263         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5264         aliases do not work with global variables due to copy relocations.
5266 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
5268         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
5270 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
5272         * signal/sighold.c: Include stddef.h for NULL definition.
5273         * signal/sigrelse.c: Likewise.
5274         * sysdeps/posix/sigignore.c: Likewise.
5275         * sysdeps/posix/sigset.c: Likewise.
5276         * sysdeps/posix/waitid.c: Likewise.
5277         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5278         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5279         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5280         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5281         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5283 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
5285         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5286         * login/getutent.c (getutxent): Remove alias.
5287         * login/getutent_r.c (setutxent, pututxline, endutxent):
5288         Remove aliases.
5289         * login/getutid.c (getutxid): Remove alias.
5290         * login/getutline.c (getutxline): Remove alias.
5291         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5292         __getutid, __getutline and __pututline.
5293         * login/utmpx.h: Moved to ...
5294         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5295         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5296         and updwtmpx.
5297         * login/updwtmp.c: Moved to ...
5298         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5299         allowing file name transformation.
5300         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5301         additional file name transformation.
5302         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5303         * login/utmp_file.c: Moved to ...
5304         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5305         Generalized by allowing file name transformation.  Do not
5306         print error message.  Library functions should not print them.
5307         Reported by Jim Meyering.
5308         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5309         with additional file name transformation.
5310         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5311         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5312         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5313         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5314         and bits/utmpx.h.
5315         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5316         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5317         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5318         Define if __USE_GNU.
5319         * sysdeps/generic/setutxent.c: New file.
5320         * sysdeps/generic/getutxent.c: New file.
5321         * sysdeps/generic/endutxent.c: New file.
5322         * sysdeps/generic/getutxid.c: New file.
5323         * sysdeps/generic/getutxline.c: New file.
5324         * sysdeps/generic/pututxline.c: New file.
5325         * sysdeps/generic/utmpxname.c: New file.
5326         * sysdeps/generic/updwtmpx.c: New file.
5327         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5328         * sysdeps/generic/bits/utmpx.h: Remove.
5330 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5332         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5333         ~root test.
5335 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5337         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5339 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5341         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5342         variable using _G_stat64.
5343         * libio/fileops.c: Remove macro definition of fstat, it is in the
5344         global header.
5345         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5347 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5349         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5350         <willy@odie.barnet.ac.uk>.
5352 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5354         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5355         required by IPv6 Basic API.
5356         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5357         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5358         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5359         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5361 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5363         Don't name internal representation since it might be different from
5364         the external form (namely on little endian machines).
5365         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5366         UCS4 into references to INTERNAL.
5367         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5368         Add endianess support to UCS functions.  Change references to
5369         UCS4 into references to INTERNAL.
5370         * iconv/gconv_int.h: Change references to UCS4 into references to
5371         INTERNAL.
5372         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5373         * iconvdata/gconv-modules: Change accordingly.
5374         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5376         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5377         overflow.
5378         * iconvdata/8bit-gap.c: Likewise.
5379         * iconvdata/8bit-generic.c: Likewise.
5380         * iconvdata/big5.c: Likewise.
5381         * iconvdata/euccn.c: Likewise.
5382         * iconvdata/eucjp.c: Likewise.
5383         * iconvdata/euckr.c: Likewise.
5384         * iconvdata/euctw.c: Likewise.
5385         * iconvdata/iso646.c: Likewise.
5386         * iconvdata/iso6937.c: Likewise.
5387         * iconvdata/iso8859-1.c: Likewise.
5388         * iconvdata/johab.c: Likewise.
5389         * iconvdata/sjis.c: Likewise.
5390         * iconvdata/t61.c: Likewise.
5391         * iconvdata/uhc.c: Likewise.
5393         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5394         * iconvdata/8bit-generic.c: Likewise.
5396         * iconvdata/TESTS: Add more tests.
5398         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5400 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5402         * iconvdata/Makefile: Better rules to run tests.
5404         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5405         * iconvdata/testdata/ISO-8859-10: Likewise.
5406         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5407         * iconvdata/testdata/ISO-8859-2: Likewise.
5408         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5409         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5410         * iconvdata/testdata/ISO-8859-3: Likewise.
5411         * iconvdata/testdata/ISO-8859-4: Likewise.
5412         * iconvdata/testdata/ISO-8859-5: Likewise.
5413         * iconvdata/testdata/ISO-8859-6: Likewise.
5414         * iconvdata/testdata/ISO-8859-7: Likewise.
5415         * iconvdata/testdata/ISO-8859-8: Likewise.
5416         * iconvdata/testdata/ISO-8859-9: Likewise.
5418 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5420         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5421         intermediate result (if available).
5423         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5424         last change.
5426         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5427         (distribute): Add run-iconv-test.sh and testdata/*.
5429         * stdlib/testmb.c (main): Simplify mbc array handling.
5431 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5433         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5434         return value on overflow.
5436 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5438         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5439         bits.
5441 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5443         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5444         of non-standard function setbuffer.
5446 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5448         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5450 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5452         * iconvdata/Makefile: Add rules to run tests.
5453         * iconvdata/TESTS: New file.
5454         * iconvdata/run-iconv-test.sh: New file.
5455         * iconvdata/testdata/ISO-8859-1: New file.
5457         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5458         not stdout.
5460 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5462         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5463         counter element of step.
5465         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5467         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5468         termination test.
5469         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5470         ACTUALLY.
5471         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5473 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5475         * Makefile: Include makeconfig before defining rule to regenerate
5476         configure files.
5478         * configure.in: Remove restriction on compiling without static
5479         libs.
5481 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5483         * test-skeleton.c: Provide hook for initializing code before the fork.
5484         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5485         removed.
5487         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5488         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5489         * libio/libioP.h: Adopt _IO_cleanup prototype.
5491         * stdlib/Makefile (tests): Add test-canon2.
5492         * stdlib/test-canon2.c: New file.
5493         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5494         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5495         symlink sequences.
5496         (__realpath): Make real function which checks RESOLVED parameter for
5497         not being NULL.
5499 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5501         * catgets/open_catalog.c (__open_catalog): Fix problems with
5502         reading non-files.  Always close file.
5503         Reported by Cristian Gafton <gafton@redhat.com>.
5505         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5507 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5509         * libc.map: Add various low-level I/O functions.
5511 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5513         * string/Makefile (routines): Remove strerror_r.
5514         * string/strerror_r.c: Removed.
5515         * string/strerror.c: Call __strerror_r for doing the real work.
5516         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5517         add weak alias strerror_r.
5518         * sysdeps/mach/_strerror.c: Likewise.
5519         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5520         * elf/dl-error.c (_dl_signal_error): Likewise.
5521         * elf/dl-profile.c (_dl_start_profile): Likewise.
5522         * gmon/gmon.c (write_gmon): Likewise.
5523         * stdio-common/perror.c: Likewise.
5524         * stdio-common/vfprintf.c: Likewise.
5526 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5528         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5529         (sysdep_headers): Add netatalk/at.h.
5531 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5533         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5534         Formatting fixes.
5536 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5538         * posix/regex.c: Rename __re_syntax_options back to
5539         re_syntax_options, aliases do not work with global variables due
5540         to copy relocations.
5541         (regex_compile): Use syntax parameter instead of
5542         re_syntax_options.
5544 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5546         * configure.in: Document that enable-force-install is default.
5548 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5550         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5551         all needed 36 bits.
5552         * sysdeps/posix/mkstemp.c: Likewise.
5554 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5556         * iconvdata/8bit-gap.c: Simplify step data handling.
5557         * iconvdata/8bit-generic.c: Likewise.
5558         * iconvdata/big5.c: Likewise.
5559         * iconvdata/euccn.c: Likewise.
5560         * iconvdata/eucjp.c: Likewise.
5561         * iconvdata/euckr.c: Likewise.
5562         * iconvdata/euctw.c: Likewise.
5563         * iconvdata/iso6937.c: Likewise.
5564         * iconvdata/iso8859-1.c: Likewise.
5565         * iconvdata/jis0208.h: Likewise.
5566         * iconvdata/jis0212.c: Likewise.
5567         * iconvdata/jis0212.h: Likewise.
5568         * iconvdata/johab.c: Likewise.
5569         * iconvdata/ksc5601.h: Likewise.
5570         * iconvdata/sjis.c: Likewise.
5571         * iconvdata/t61.c: Likewise.
5572         * iconvdata/uhc.c: Likewise.
5574 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5576         * manual/texinfo.texi: Updated from last version.
5578 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5580         * iconvdata/cns11643.c: New file.
5581         * iconvdata/cns11643.h: New file.
5582         * iconvdata/cns11643l1.c: New file.
5583         * iconvdata/cns11643l1.h: New file.
5584         * iconvdata/euctw.c: New file.
5585         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5586         * iconvdata/gconv-modules: Likewise.
5588         * iconvdata/eucjp.c: Several bug fixes and improvements.
5589         * iconvdata/gb2312.h: Likewise.
5590         * iconvdata/jis0201.h: Likewise.
5591         * iconvdata/jis0208.h: Likewise.
5592         * iconvdata/jis0212.h: Likewise.
5594 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5596         * iconvdata/eucjp.c: New file.
5597         * iconvdata/euccn.c: New file.
5598         * iconvdata/gb2312.h: New file.
5599         * iconvdata/gb2312.c: New file.
5600         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5601         * iconvdata/gconv-modules: Likewise.
5603         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5605 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5607         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5608         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5609         Patch by Mark Hatle <fray@kernel.crashing.org>.
5611 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5613         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5614         comment.
5615         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5616         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5618 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5620         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5622         * iconvdata/Makefile: Add rules for big5 conversion.
5623         * iconvdata/gconv-modules: Likewise.
5624         * iconvdata/big5.c: New file.
5626         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5627         Patch by Jim Meyering.
5629 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5631         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5633         * rt/lio_listio.c: Correct total counter handling.
5635         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5636         from request queue.
5638         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5639         of signal on exit even more.
5641         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5642         instead of call to pthread_cond_init.
5643         * rt/lio_listio.c (lio_listio): Likewise.
5644         * rt/lio_listio64.c (lio_listio64): Likewise.
5646         * nis/nis_findserv.c: Include sys/socket.h.
5648 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5650         * Makeconfig (rtobjdir): New variable.
5651         (rpath-link): Add rtobjdir and thread directory, if available.
5653         * test-skeleton.c: Add support to remove temporary files.
5654         Always define test_dir.  Improve message about expected signal.
5656         * rt/Makefile (tests): Add tst-aio.
5657         Add rules for tst-aio to be linked with librt and thread library.
5658         * rt/aio_misc.c: Correct fundamental bugs.
5659         * rt/aio_suspend.c: Correct bug in test for available request.
5660         Initialize conditional variable.
5661         * rt/lio_listio.c: Initialize conditional variable.
5662         * rt/lio_listio64.c: Likewise.
5663         * rt/tst-aio.c: New file.
5665         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5666         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5667         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5668         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5669         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5670         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5671         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5673 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5675         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5677 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5679         * elf/dl-load.c (open_path): Use correct name for test whether
5680         directory in load path exists.
5682         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5683         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5684         Patches by Tom Rini <trini@kernel.crashing.org>.
5686         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5687         * wcsmbs/wcstod_l.c: Likewise.
5688         * wcsmbs/wcstold_l.c: Likewise.
5690         * include/byteswap.h: New file.
5692         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5693         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5695         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5696         declaration.  Patch by Richard Henderson.
5698 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5700         * manual/process.texi (SIGCHLD example): Save errno.
5702 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5704         * posix/regex.c: Define regerror really as __regerror.
5705         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5706         regerror and regfree.
5708         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5709         * stdlib/strtod_l.c: Likewise.
5710         * stdlib/strtold_l.c: Likewise.
5712         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5714         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5716         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5717         Patch by Christian Gafton.
5719 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5721         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5722         for if_indextoname.
5724 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5726         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5728         * manual/socket.texi (Interface Naming): Fix typo.
5730 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5732         * manual/examples/filesrv.c (main): Remove filename first.
5734         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5735         ?F_UNIX.
5737         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5738         instead of PF_UNIX.
5740         * manual/examples/filecli.c (main): Use AF_LOCAL
5741         instead of AF_UNIX.
5743 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5745         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5746         signgam weak alias.
5747         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5748         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5749         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5750         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5751         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5752         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5754         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5756 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5758         * configure.in: Add new option --enable-force-install.  Substitute
5759         force_install.
5760         * config.make.in (force-install): Set from configure.
5761         * Makerules (force-install): New phony target.
5762         * Makeconfig (+force): New variable.
5763         * Makefile: Use it in dependency list of installation targets.
5764         * db/Makefile: Likewise.
5765         * db2/Makefile: Likewise.
5766         * elf/Makefile: Likewise.
5767         * hurd/Makefile: Likewise.
5768         * iconv/Makefile: Likewise.
5769         * iconvdata/Makefile: Likewise.
5770         * intl/Makefile: Likewise.
5771         * localedata/Makefile: Likewise.
5772         * login/Makefile: Likewise.
5773         * po/Makefile: Likewise.
5774         * sunrpc/Makefile: Likewise.
5775         * sysdeps/mach/hurd/Makefile: Likewise.
5776         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5777         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5778         * timezone/Makefile: Likewise.
5780 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5782         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5783         alloc_size.  Pass return value of getcwd syscall to realloc.
5785 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5787         * manual/socket.texi: Spelling fixes.
5789 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5791         * elf/dl-load.c (print_search_path): Remove unused variable.
5793 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5795         * login/utmp_file.c: use __ftruncate not ftruncate.
5796         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5797         for system call and make ftruncate weak alias.
5798         * posix/unistd.h: Add prototype for __ftruncate.
5799         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5800         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5801         instead of snprintf and readv.
5802         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5803         snprintf.
5804         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5805         directly.
5807 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5809         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5810         * iconv/gconv_db.c: Use __ protected regex functions.
5811         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5812         * posix/getopt_init.c: Use __getpid not getpid.
5813         * posix/regex.c: Rename all global functions to start with __ and
5814         make old names weak aliases.
5815         * posix/regex.h: Adopt prototypes for this.
5816         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5817         a weak alias and use __getcwd instead of getcwd.
5818         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5819         * stdlib/strtod.c: Use __btowc instead of btowc.
5820         * stdlib/strtol.c: Likewise.
5821         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5822         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5823         and sys_errlist are weak.
5824         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5825         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5826         * wcsmbs/mbsnrtowcs.c: Likewise.
5827         * wcsmbs/mbsrtowcs.c: Likewise.
5828         * wcsmbs/wcsnrtombs.c: Likewise.
5829         * wcsmbs/wcsrtombs.c: Likewise.
5830         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5831         weak alias.
5832         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5833         * wctype/wctype.c: Define function as __wctype and make wctype
5834         weak alias.
5835         * wctype/wctype.h: Declare __wctype.
5837 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5839         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5841 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5843         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5844         stat64.
5845         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5846         functions.
5847         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5848         for __llseek.
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5850         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5851         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5852         make it a weak alias.
5853         * posix/unistd.h: Declare __lseek64.
5855         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5856         (_IO_file_stat): Fix typo.
5857         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5858         block size from the file.  Use __mempcpy if _LIBC.
5860 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5862         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5863         * wcsmbs/mbrtowc.c: Likewise.
5864         * wcsmbs/mbsnrtowcs.c: Likewise.
5865         * wcsmbs/mbsrtowcs.c: Likewise.
5866         * wcsmbs/wcrtomb.c: Likewise.
5867         * wcsmbs/wcsnrtombs.c: Likewise.
5868         * wcsmbs/wcsrtombs.c: Likewise.
5869         * wcsmbs/wctob.c: Likewise.
5871         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5872         position of next output character correctly.
5873         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5875         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5877         * stdlib/strtod.c: Don't use mbtowc.
5879 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5881         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5882         what we want is smaller than a buffer.
5884 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5886         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5887         this function.
5889 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5891         * configure.in: Recognize --with-headers flag and determine
5892         commandline options to be used in compilation.
5893         * Makeconfig (+includes): Use $(sysincludes).
5894         * config.make.in (sysincludes): Define from SYSINCLUDES.
5895         * glibcbug.in: Use SYSINCLUDES information.
5896         Patches by Zack Weinberg.
5898 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5900         * glibcbug.in: On linux, report version of kernel headers seen
5901         by compiler.
5903 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5905         * libc.map: Add __asprintf to GLIBC_2.1.
5906         * elf/dlerror.c: Use __asprintf, not asprintf.
5907         * libio/stdio.h: Declare __asprintf.
5908         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5909         a weak alias.
5911         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5912         to avoid inclusion from libc_pic.a.
5914         * elf/dl-runtime.c: Undo last patch.
5916         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5918         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5919         as default, use NULL.
5921 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5923         * resolv/Makefile: Include ../Makeconfig - needed for building
5924         static NSS module.
5926 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5928         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5929         static-nss since we don't want hesiod in the static NSS.
5931         * nss/Makefile: Build only nss_files as static.
5933         * nss/function.def: Remove support for service db.
5935 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5937         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5939 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5941         * posix/wordexp-test.c: Make IFS per test-case.
5943 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5945         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5946         ENVIRONMENT.
5948 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5950         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5951         `-print-file-name' to find as and ld.
5953 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5955         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5956         template is wrong.  Remove unused varaible `ignored'.
5958 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5960         * libc.map: Export __libc_sa_len.
5962         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5964 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5966         * iconv/gconv.c: Take care for NULL arguments.
5967         * iconv/gconv_dl.c: Make find_func function global.
5968         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5969         Add prototypes for ASCII conversion functions.
5970         * iconv/gconv_simple.c: Add ASCII conversion functions.
5971         * locale/C-ctype.c: Correct charset name.
5973         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5974         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5975         wcsmbsload.
5976         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5977         * wcsmbs/mbrtowc.c: Likewise.
5978         * wcsmbs/mbsnrtowcs.c: Likewise.
5979         * wcsmbs/mbsrtowcs.c: Likewise.
5980         * wcsmbs/wcrtomb.c: Likewise.
5981         * wcsmbs/wcsnrtombs.c: Likewise.
5982         * wcsmbs/wcsrtombs.c: Likewise.
5983         * wcsmbs/wctob.c: Likewise.
5984         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5985         prototypes for wmemr*.
5986         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5987         * wcsmbs/wcsnlen.c: New file.
5988         * wcsmbs/wcsmbsload.c: New file.
5989         * wcsmbs/wcsmbsload.h: New file.
5991         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5993         * manual/install.texi: Describe some more critical points.
5995         * string/string.h: Add prototype for __strnlen.
5996         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5998         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5999         much less predictable names.
6000         * sysdeps/posix/mkstemp.c: Likewise.
6002 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6004         * manual/libc.texinfo (Top): Change "file namespace" to "local
6005         namespace".
6007         * manual/socket.texi: Change file namespace to local namespace.
6008         (Out-of-Band Data): Remove unneeded variable link.
6009         (Host Address Functions): Use uint32_t consequently and add a
6010         number of clarifications for IPv4/IPv6, classless addresses.
6011         (Internet Namespace): Added some paragraphs about IPv6.
6012         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6014 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
6016         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
6018         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
6019         (NI_NUMERICHOST, et al.): Tidy up and add comments.
6020         (AI_NUMERICHOST): Define.
6021         (getnodebyname): New prototype.
6022         (AI_V4MAPPED, et al.): New constants.
6024         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
6025         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
6026         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
6027         for socket.
6028         * sysdeps/unix/sysv/linux/sa_len.c: New file.
6029         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
6031         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
6033         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
6034         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
6035         * socket/Makefile (headers): Add bits/sockunion.h.
6036         * socket/sys/socket.h: Include <bits/sockunion.h>
6037         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
6038         <sys/socket.h>, to avoid getting sockaddr_union defined.
6039         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
6040         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6041         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6043         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
6044         (2.2.x kernels won't have it).
6046 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
6048         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
6049         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
6050         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
6051         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
6053 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
6055         * manual/socket.texi (Socket Addresses): Fix a typo.
6056         (Interface Naming): New section.
6058 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6060         * configure.in: Check for CC using $ac_tool_prefix, to handle
6061         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
6062         * config.make.in: Add MIG to be substituted.
6063         * mach/Machrules: Don't define MIG variable.
6065         Patch by Gordon Matzigkeit <gord@profitpress.com>.
6067 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
6069         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
6070         strdupa to copy rpath.
6072 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6074         * configure.in: Fix gcc version check.
6076         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
6077         confusing.
6079 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
6081         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
6082         of ptsname_r.
6084         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
6085         like ttyname_r.
6086         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
6087         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
6088         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
6089         of __ptsname_r accordingly.
6090         * login/openpty.c (openpty): Likewise.
6092 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
6094         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
6096 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6098         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
6100         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
6102 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6104         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
6105         return value for better error checking.
6107 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6109         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
6110         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
6112         * elf/elf.h (EM_SPARC64): Remove.
6113         (EM_SPARC32PLUS, EM_SPARCV9): Add.
6114         (HWCAP_SPARC_V9): Add.
6116         * elf/ldsodefs.h (_dl_hwcap): Declare.
6117         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
6118         Weaken so dlopen from static progies works.
6119         (WEAKADDR): New macro.
6120         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
6121         (LD_SO_PRELOAD): New macro.
6122         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
6123         (elf_machine_rela): Weaken _dl_rtld_map.
6125         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
6126         to __clone, and remove the later's alias.
6127         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6129         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
6130         the kernel's structure.
6132         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
6133         Sparc needs a custom value of __KERNEL_NCCS.
6135 1998-04-06  Richard Henderson  <rth@cygnus.com>
6137         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
6139         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
6140         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6142 1998-04-06  Richard Henderson  <rth@cygnus.com>
6144         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6145         as the buffer is not properly aligned.
6146         Reported by Juan Cespedes <cespedes@debian.org>.
6148 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6150         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6151         instead of AF_FILE.
6153 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
6155         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6156         and wc*tomb* functions.
6158 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
6160         * sysdeps/unix/start.c: Fix typo.
6162 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
6164         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
6166 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
6168         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6169         expressions and using array variables.
6170         * sysdeps/libm-ieee754/e_asin.c: Likewise.
6171         * sysdeps/libm-ieee754/e_j0.c: Likewise.
6172         * sysdeps/libm-ieee754/e_j1.c: Likewise.
6173         * sysdeps/libm-ieee754/e_log.c: Likewise.
6174         * sysdeps/libm-ieee754/e_pow.c: Likewise.
6175         * sysdeps/libm-ieee754/k_cos.c: Likewise.
6176         * sysdeps/libm-ieee754/k_sin.c: Likewise.
6177         * sysdeps/libm-ieee754/k_tan.c: Likewise.
6178         * sysdeps/libm-ieee754/s_atan.c: Likewise.
6179         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6180         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6181         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6182         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6184 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
6186         * iconv/gconv.c: Rewrite of the low-level of gconv.
6187         * iconv/gconv.h: Likewise.
6188         * iconv/gconv_builtin.h: Likewise.
6189         * iconv/gconv_close.c: Likewise.
6190         * iconv/gconv_db.: Likewise.
6191         * iconv/gconv_dl.c: Likewise.
6192         * iconv/gconv_int.h: Likewise.
6193         * iconv/gconv_open.c: Likewise.
6194         * iconv/gconv_simple.c: Likewise.
6195         * iconvdata/8bit-gap.c: Adapt for rewrite.
6196         * iconvdata/8bit-generic.c: Likewise.
6197         * iconvdata/euckr.c: Likewise.
6198         * iconvdata/iso646.c: Likewise.
6199         * iconvdata/iso6937.c: Likewise.
6200         * iconvdata/iso8859-1.c: Likewise.
6201         * iconvdata/johab.c: Likewise.
6202         * iconvdata/sjis.c: Likewise.
6203         * iconvdata/t61.c: Likewise.
6204         * iconvdata/uhc.c: Likewise.
6206 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
6208         * iconv/gconv_int.h: New file.  Internal header.
6209         * iconv/Makefile (distribute): Add gconv_int.h.
6210         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6211         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6212         * iconv/gconv_close.c: Likewise.
6213         * iconv/gconv_conf.c: Likewise.
6214         * iconv/gconv_db.c: Likewise.
6215         * iconv/gconv_dl.c: Likewise.
6216         * iconv/gconv_int.h: Likewise.
6217         * iconv/gconv_open.c: Likewise.
6218         * iconv/iconv.c: Likewise.
6219         * iconv/iconv_close.c: Likewise.
6220         * iconv/iconv_open.c: Likewise.
6221         * iconv/iconv_prog.c: Likewise.
6223 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6225         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6226         missing braces.
6228 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6230         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6232 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6234         Based on patch from Pat Beirne:
6235         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6236         PIC and non-PIC now.  Correctly negate error number.
6237         (errno): Use `%' not `@' in .type directives.
6239 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6241         * sysdeps/i386/strtok.S: Change to use single exit point.
6242         * sysdeps/i386/i686/strtok.S: Likewise.
6244 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6246         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6247         default.
6249 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6251         * Makerules (installed-libcs): Fix typo.
6253 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6255         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6256         (UHC-routines): Remove ksc5601.
6258 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6260         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6261         introduced in last change.
6263 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
6265         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6266         before 2.1.92.
6268 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6270         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
6272         * stdlib/isomac.c: Use -isystem instead of -I for system include
6273         dir.
6275 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
6277         * resolv/res_comp.c (underscorechar): New.
6278         (middlechar): Allow '_'.
6280 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6282         * intl/explodename.c (stdlib.h): Include that file only if
6283         STDC_HEADERS or _LIBC.
6284         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6285         Patch by Philippe De Muyter <phdm@macqel.be>.
6287 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6289         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6290         (AC_PROG_CHECK_VER): New macro.
6291         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6292         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6294 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6296         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6297         * sysdeps/i386/i686/strtok.S: New file
6298         * sysdeps/i386/i686/strtok_r.S: New file
6300 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6302         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6303         type to __off64_t.
6304         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6305         parameter as __off64_t instead of __off_t.
6306         (ftello): Make alias for ftello64 instead of ftello.  Change
6307         return type to __off64_t.
6309 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6311         * sysdeps/i386/bits/string.h: Fix various typos.
6312         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6314         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6316 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6318         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6319         lchown syscall correctly.  [PR libc/541].
6321 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6323         * localedata/Makefile: Correct testsuite rules.
6325         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6326         * iconvdata/iso646.c: Fix conversion from UCS4.
6328         * elf/ldsodefs.h: Mark internal function with internal_function.
6329         * elf/dl-addr.c: Likewise.
6330         * elf/dl-close.c: Likewise.
6331         * elf/dl-debug.c: Likewise.
6332         * elf/dl-deps.c: Likewise.
6333         * elf/dl-error.c: Likewise.
6334         * elf/dl-fini.c: Likewise.
6335         * elf/dl-init.c: Likewise.
6336         * elf/dl-load.c: Likewise.
6337         * elf/dl-lookup.c: Likewise.
6338         * elf/dl-object.c: Likewise.
6339         * elf/dl-open.c: Likewise.
6340         * elf/dl-profile.c: Likewise.
6341         * elf/dl-reloc.c: Likewise.
6342         * elf/dl-runtime.c: Likewise.
6343         * elf/dl-symbol.c: Likewise.
6344         * elf/dl-version.c: Likewise.
6345         * elf/dlerror.c: Likewise.
6346         * sysdeps/generic/dl-sysdep.c: Likewise.
6347         * sysdeps/i386/dl-machine.h: Likewise.
6348         * intl/finddomain.c: Likewise.
6349         * intl/gettextP.h: Likewise.
6350         * intl/loadmsgcat.c: Likewise.
6352 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6354         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6355         * iconv/gconv_builtin.h: Add definitions for new builtins.
6356         * iconv/gconv.h: Add prototypes for new builtins.
6358         * iconvdata/Makefile (modules): Add ISO646.
6359         Add rules for ISO646 module.
6360         (distribute): Add iso646.c.
6361         * iconvdata/gconv-modules: Add module and alias definition for
6362         ISO646 charsets.
6363         * iconvdata/iso646.c: New file.
6365 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6367         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6368         * iconv/iconv_prog.c: Implement --list option to print available
6369         coded character sets.
6371 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6373         Make fread() read large blocks straight to the user buffer.
6375         * libio/fileops.c (_IO_file_xsgetn): New function.
6376         (_IO_file_jumps): Use it.
6377         * libio/libioP.h: Prototype it.
6379 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6381         * iconv/gconv_conf.c (builtin_aliases): New variable.
6382         (__gconv_read_conf): Add builtin aliases.
6383         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6384         noop macro before including gconv_builtin.h.
6385         * iconv/gconv_builtin.h: Add alias names.
6387         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6388         number of converted bytes correctly.
6390 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6392         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6393         we only wait for a replay.
6395 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6397         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6398         EUC-KR modules.
6400 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6402         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6403         use PLTJMP() rather than explicit (PLT).
6405         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6406         __libc_start_main().
6408         Based on patch from Pat Beirne:
6409         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6410         Always define, not only #ifndef PIC.
6411         (DO_CALL): Pass fifth argument correctly in R4.
6412         (PSEUDO): Correct test for error, call syscall_error through PLT
6413         if PIC.
6415 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6417         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6418         definitions.
6420 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6422         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6423         JOHAB.so.
6425 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6427         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6428         lstat64.
6430 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6432         * manual/Makefile: Use object-suffixes-for-libc instead of
6433         object-suffixes.
6434         * rpm/Makefile (install-lib): Likewise.
6436 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6438         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6440         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6441         `m68*', not only `m68k'.
6443 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6445         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6447         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6448         install lddlibc4.
6450 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6452         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6453         EUC-KR.
6455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6456         comment.
6458 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6460         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6461         the init stuff.
6463 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6465         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6466         adjtimex syscall.
6467         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6468         adjtimex.
6469         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6471 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6473         * Makerules (install): Change comment for libc.so following the
6474         libc_nonshared changes.
6476 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6478         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6480         * iconvdata/gap.pl: Avoid using %#06x.
6482 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6484         * Makerules: Use $? instead of S^ when invoking ar.
6486 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6488         * db2/compat.h: Allow EFTYPE being defined.
6489         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6490         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6491         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6492         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6493         (__libc_once): Correctly unlock semaphore.
6494         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6495         * sysdeps/unix/bsd/getpt.c: Fix typo.
6496         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6498 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6500         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6501         macros.
6503 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6505         * include/mntent.h: New file.
6507         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6508         * elf/dl-load.c: Rewrite search path handling.
6509         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6510         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6511         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6512         * elf/ldsodefs.h: Add prototype.
6514 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6516         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6518         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6519         function.
6521         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6523         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6524         New function.
6525         (HWCAP_IMPORTANT): New definition.
6527 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6529         * elf/dl-open.c (_dl_open): Fix a typo.
6530         (_dl_global_scope_alloc): Make it static.
6532 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6534         * Makerules: Remove duplicate rules to handle stamp.oS.
6536 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6538         * manual/examples/inetsrv.c (main): Change prototype of
6539         make_socket following change in mkisock.c.
6541         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6542         example host.
6543         (main): Change prototype of init_sockaddr following change in
6544         isockadd.c.
6546         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6547         * manual/examples/isockad.c (init_sockaddr): Likewise.
6549         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6550         lines for clarification.
6551         (make_named_socket): Use strncpy instead of strcpy.
6552         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6554 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6556         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6557         determining libs to remove.
6558         (postclean): Add soversions.mk.
6559         * Makerules (common-mostlyclean): Add tests-static and generated
6560         files.
6562 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6564         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6565         scanning for \0.
6566         (__strncat_g): Add i686 specific code.
6568 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6570         * manual/install.texi (Reporting Bugs): Ask to include section
6571         names in reports.
6573 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6575         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6576         guard against direct inclusion.
6578 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6580         Rework support for libc_nonshared.a:
6581         * Makeconfig (object-suffixes-for-libc): New variable.
6582         * Rules: Remove handling of static-only and shared-only routines.
6583         * Makerules: Handle them here instead.  Use
6584         object-suffixes-for-libc instead of object-suffixes when dealing
6585         with libc objects.
6586         (object-suffixes-for-rules): Remove variable.
6587         (elide-routines.oS): Elide all routines except static-only
6588         routines.
6589         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6590         empty.
6591         (installed-libcs): Remove special case for .oS.
6592         (rmobjs): Likewise.
6594 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6596         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6597         do-tst-rpmatch): New targets.
6598         (test): Use them.
6599         (install-locales): Ignore comment lines.
6601 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6603         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6604         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6605         ($(objpfx)rtldtbl.h): Likewise.
6606         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6608 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6610         * manual/string.texi (Finding Tokens in a String): Extend strsep
6611         description and correct example.
6613 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6615         * manual/socket.texi: Remove misguided explicit line breaks and
6616         fix the formatting problem instead by reformulating the
6617         paragraphs.
6618         * manual/filesys.texi: Likewise.
6619         * manual/conf.texi: Likewise.  Don't typeset table with index
6620         fonts, that looks worse than a minimally overfull line.
6622 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6624         * nscd/Makefile (nscd-modules): Move definition outside of
6625         conditional.
6627         * pwd/Makefile: Use have-thread-library to test for thread
6628         library.
6630 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6632         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6634         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6636 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6638         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6640 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6642         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6644         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6645         Reported by Andreas Jaeger.
6647 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6649         * elf/Makefile: Fix typo.
6650         (distribute): Add dl-librecon.h.
6651         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6652         * elf/ldd.sh.in: Likewise.
6653         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6654         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6655         Use strsep correctly.
6656         (process_envvars): Allow platform specific variables.
6657         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6658         (_dl_load_cache_lookup): Test cache IDs found against
6659         _dl_correct_cache_id.
6660         * sysdeps/generic/dl-librecon.h: New file.
6661         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6663         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6665 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6667         * config.make.in (ldd-rewrite-script): New variable.
6668         * configure.in: Substitute ldd-rewrite-script.
6669         * elf/Makefile: Rewrite rules to generate ldd script.
6670         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6671         * elf/ldd.sh.in: Likewise.
6672         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6673         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6674         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6675         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6676         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6678 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6680         * inet/rcmd.c (iruserok): Remain setuid to the local user
6681         while .rhosts is actually read, to make .rhosts-over-NFS work
6682         (PR libc/524).  Use iruserfopen() for security checks on both
6683         hosts.equiv and .rhosts.  General cleanup.
6684         (iruserfopen): New function, performs careful checking on
6685         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6686         stuff plus hard links to files.
6688 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6690         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6692         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6694 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6696         * sysdeps/i386/i486/bits/string.h: Fix typos.
6698 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6700         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6701         strong alias.
6703         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6705         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6706         Added.  Used by libm.so on alpha.
6708 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6710         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6711         defined.
6713 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6715         * Makerules (object-suffixes-for-rules): Add .oS only for
6716         building shared library.
6717         Add ranlib rule for nonshared library.
6718         (rmobjs): Fix typo.
6720         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6721         into for shared library only.
6722         (CPPFLAGS-.oS): Add -DPIC.
6723         (libtypes): Use $(object-suffixes-for-rules) instead of
6724         $(object-suffixes).
6726 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6728         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6729         and install lddlibc4.
6731 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6733         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6734         hash.
6735         * iconvdata/gaptab.pl: Likewise.
6737 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6739         * Rules: Allow Makefiles to specify test-static for tests which
6740         cannot be linked dynamically.
6741         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6742         tests-static.
6744         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6746         * misc/error.c: Pretty print.
6748 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6750         * Makerules (libc_nonshared-name): Remove variable.
6751         (installed-libcs): Use libc-name instead.
6752         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6753         dynamic linker.
6755         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6756         libc.a.  Remove explicit reference to dynamic linker.
6758 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6760         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6761         to wchar_t.
6762         * iconv/iconv_prog.c: Correctly test for write failure.
6763         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6764         * iconvdata/gconv-modules: Likewise.
6765         * iconvdata/euckr.c: New file.
6766         * iconvdata/johab.c: New file.
6767         * iconvdata/ksc5601.c: New file.
6768         * iconvdata/ksc5601.h: New file.
6769         * iconvdata/uhc.c: New file.
6770         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6772         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6773         * stdio/fopen.c: Correct handling of 'x' flag.
6774         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6776 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6778         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6779         * sunrpc/rpcsvc/key_prot.x: Likewise.
6780         * sunrpc/key_prot.c: Likewise.
6782 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6784         * sysdeps/i386/bits/string.h: Correct things which never worked.
6785         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6786         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6788 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6790         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6791         defined.  Reported by Thorsten Kukuk.
6793 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6795         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6797 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6799         * manual/install.texi (Supported Configurations): Add
6800         arm-linuxaout and arm-none.
6802 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6804         * version.h (VERSION): Bump to 2.0.93.
6806 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6808         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6810         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6812         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6813         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6815 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6817         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6819 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6821         Put the static-only routines in a separate library.
6822         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6823         variables.
6824         (all-object-suffixes): Add .oS.
6825         * Makerules (libc_static-name): New variable.
6826         (installed-libcs): Add libc_nonshared.a.
6827         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6828         (object-suffixes-for-rules): New variable.  Use it instead of
6829         object-suffixes for generating compilation rules.
6830         (rmobjs): Also remove *.oS.
6831         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6832         ($(objpfx)stamp.oS): New target.
6834 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6836         * Makefile (FAQ): Automatically check in regenerated FAQ.
6838 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6840         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6842 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6844         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6845         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6847         * sysdeps/generic/stub_warning: Removed.
6849         * Makefile (distribute): Add include/des.h.
6851         * manual/Makefile (distribute): Change dir-add.texi to
6852         dir-add.texinfo.
6854         * glibcbug.in: Create files safely when mktemp is not available.
6856         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6857         Patch by a sun <asun@saul1.u.washington.edu>.
6859 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6861         * libc.map: Rename getname to getnetname.
6863 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6865         * manual/maint.texi: Use supported platform in examples.
6867         * manual/install.texi: Document some installation tips.
6869 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6871         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6872         Fix a bug so that it returns an error if a numeric parameter is
6873         unset and WRDE_UNDEF is set.
6874         Patch by Andreas Schwab and Tim Waugh.
6875         * posix/wordexp-test.c: Add new new test.
6877 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6879         * posix/regex.c (regex_compile): Last patch wasn't entirely
6880         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6882 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6884         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6886 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6888         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6889         clobbered registers don't appear as operands.
6891 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6893         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6894         Solaris' sake.
6896         * posix/regex.c (regex_compile): Don't allow non-alphabet
6897         characters in character set name.
6899 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6901         * posix/wordexp.c (w_newword): New function.
6902         (do_parse_glob): New function.
6903         (parse_glob): Use do_parse_glob.  Now handles the case where a
6904         variable expansion causes a field-split.
6905         (wordexp): Use w_newword.
6906         (parse_arith): Likewise.
6907         (exec_comm): Likewise.
6908         (parse_comm): Likewise.
6909         (parse_param): Likewise.
6910         (parse_backtick): Likewise.
6912 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6914         * posix/wordexp-tst.sh: Another test.
6916         * posix/wordexp-test.c: Two new tests.
6918         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6919         directly (the code using realloc was buggy).
6920         (parse_param): Fix typo in comment.
6922 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6924         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6926 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6928         * libc.map: Add more rpc auth functions/variables.
6930         * nscd/nscd.c: Add -g option to argp options.
6932 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6934         * configure.in: Be prepared for gcc 2.9.10 and up.
6935         * configure.in: Add missing disabling of quote characters in
6936         compiler version check.  Reported by HJ Lu.
6938 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6940         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6942 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6944         * intl/locale.alias: Fix spelling of romanian.
6946         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6947         (distribute): Remove des.h.
6948         * include/des.h: New file.
6949         * sunrpc/des.h: Moved to ...
6950         * sunrpc/rpc/rpc_des.h: ...here.
6952 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6954         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6955         Fix paren.
6957 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6959         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6960         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6962 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6964         * elf/ldsodesf.h: New file.
6965         * elf/Makefile (distribute): Add ldsodefs.h.
6966         * elf/link.h: Separate internal information in exter header.
6967         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6968         * elf/dl-minimal.c: Likewise.
6969         * sysdeps/generic/dl-sysdep.c: Likewise.
6970         * elf/sprof.c: Likewise.
6971         * elf/dlsym.c: Likewise.
6972         * elf/dlvsym.c: Likewise.
6973         * elf/dlerror.c: Likewise.
6974         * elf/dladdr.c: Likewise.
6975         * elf/dlclose.c: Likewise.
6976         * elf/dlopen.c: Likewise.
6977         * elf/dl-addr.c: Likewise.
6978         * elf/dl-close.c: Likewise.
6979         * elf/dl-debug.c: Likewise.
6980         * elf/dl-deps.c: Likewise.
6981         * elf/dl-error.c: Likewise.
6982         * elf/dl-fini.c: Likewise.
6983         * elf/dl-init.c: Likewise.
6984         * elf/dl-load.c: Likewise.
6985         * elf/dl-lookup.c: Likewise.
6986         * elf/dl-object.c: Likewise.
6987         * elf/dl-open.c: Likewise.
6988         * elf/dl-profile.c: Likewise.
6989         * elf/dl-reloc.c: Likewise.
6990         * elf/dl-runtime.c: Likewise.
6991         * elf/dl-support.c: Likewise.
6992         * elf/dl-symbol.c: Likewise.
6993         * elf/dl-version.c: Likewise.
6994         * sysdeps/generic/dl-cache.c: Likewise.
6995         * sysdeps/generic/libc-start.c: Likewise.
6996         * iconv/gconv_dl.c: Likewise.
6997         * nss/nsswitch.c: Likewise.
6999 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
7001         * manual/nss.texi: The database is not called network but networks.
7002         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
7004 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7006         * configure.in: Correct test for compiler version.
7007         Check that LD_LIBRARY_PATH doesn't contain current path.
7009 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
7011         * elf/dl-close.c (_dl_close): Fix byte count while removing
7012         the shared object from the global scope list and optimize
7013         a little bit.
7015 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7017         * manual/filesys.texi (Scanning Directory Content): Add missing
7018         closing brace.
7019         (Scanning Directory Content): Fix text.
7021 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7023         * manual/memory.texi (Heap Consistency Checking): Add paragraph
7024         explaining difference of -lmcheck and MALLOC_CHECK_.
7026 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7028         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
7029         typos in comments.
7031 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7033         * test-skeleton.c (main): Fix test for exit signal.
7035 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7037         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
7039 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7041         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
7042         appropriate.
7044 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7046         * libc.map: Export __strtok_r.
7048 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
7050         * posix/regex.c (re_compile_fastmap): Remove unused variable
7051         num_regs and adjust comment.
7052         Patch by Jim Meyering <meyering@ascend.com>.
7054         * math/math.h (M_*l): Extend long double constants to be usable
7055         for 128 bit floats.  Patch by Richard Henderson.
7057 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7059         * sysdeps/m68k/m68020/wordcopy.S: New file.
7061 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
7063         * posix/wordexp.c: Rewrite parse_param.
7064         Patch by Tim Waugh and Andreas Schwab.
7066 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7068         * Rules: Update timestamps on empty object files.
7070 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
7072         * manual/filesys.texi (Scanning Directory Content): Add description
7073         of 64 bits scandir function and friends.
7075 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7077         * glibcbug.in: Use mktemp to generate unique file name for
7078         temporary files.
7080         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
7081         ptsname_r.  Use cast for execve call.
7083 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
7085         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
7086         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
7087         * io/sys/statvfs.h: New file.
7088         * sysdeps/generic/fstatvfs.h: New file.
7089         * sysdeps/generic/statvfs.h: New file.
7090         * sysdeps/generic/fstatvfs64.h: New file.
7091         * sysdeps/generic/statvfs64.h: New file.
7092         * sysdeps/generic/bits/statvfs.h: New file.
7093         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
7094         * sysdeps/unix/sysv/linux/statvfs.c: New file.
7095         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
7097         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
7098         and f_ffree elements.
7100         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
7101         mount options in enum.
7103 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7105         * configure.in: Check for recent egcs/gcc.
7107 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7109         * libc.map: Add alphasort64, scandir64, versionsort64.
7110         * dirent/Makefile (routines): Add scandir64, alphasort64, and
7111         versionsort64.
7112         * dirent/alphasort64.c: New file.
7113         * dirent/scandir64.c: New file.
7114         * dirent/versionsort64.c: New file.
7115         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
7116         versionsort.
7117         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
7118         old name weak alias.
7119         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7121         * dirent/alphasort.c: Use strcoll instead of strcmp.
7123         * dirent/scandir.c: Optimize a bit.
7125         * dirent/versionsort.c: Pretty print.
7127 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7129         * string/string.h: Add prototype for __strtok_r.
7131 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7133         * posix/Makefile: Fix typo in last change.
7135 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7137         * dirent/dirent.h (scandir): Make argument of select function const.
7138         * dirent/scandir.c (scandir): Likewise.
7139         Reported by David.Faure@insa-lyon.fr [PR libc/512].
7141 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
7143         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7144         weak alias.
7145         * sysdeps/i386/strtok_r.c: Likewise.
7147         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7148         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7149         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7150         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7151         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7152         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
7154 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7156         * intl/localealias.c: Remove unneeded define for strdup.
7158 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
7160         * manual/argp.texi: Adjust for better TeX output.
7161         * manual/arith.texi: Likewise.
7162         * manual/conf.texi: Likewise.
7163         * manual/filesys.texi: Likewise.
7164         * manual/header.texi: Likewise.
7165         * manual/lgpl.texinfo: Likewise.
7166         * manual/math.texi: Likewise.
7167         * manual/message.texi: Likewise.
7168         * manual/pattern.texi: Likewise.
7169         * manual/process.texi: Likewise.
7170         * manual/signal.texi: Likewise.
7171         * manual/socket.texi: Likewise.
7172         * manual/startup.texi: Likewise.
7173         * manual/stdio.texi: Likewise.
7174         * manual/terminal.texi: Likewise.
7175         * manual/examples/rprintf.c: Likewise.
7176         * manual/examples/testopt.c: Likewise.
7177         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7179 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
7181         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7182         parameter name after seeing a digit if it's enclosed in braces.
7184 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7186         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
7188 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7190         * manual/memory.texi (Heap Consistency Checking): Document
7191         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
7193 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7195         * manual/Makefile: Add missing rules.
7197 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7199         * timezone/Makefile (generated): Define to remove all stamp files.
7201         * sysdeps/generic/strsep.c: Also undefine __strsep.
7203         * string/strdup.c: Undefine __strdup and strdup first.
7204         * string/strndup.c: Likewise.
7206         * string/bits/string2.h: Correct strtok_r and strsep.
7207         Add strndup optimization.
7209         * sysdeps/generic/strsep.c: Little optimization.
7211 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
7213         * string/bits/string2.h: Add optimization for strdup.
7214         Always define __strsep and __strtok_r and make real names available
7215         when feature select macros are defined.
7217 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7219         * manual/install.texi (Installation): Use i486-linux as example
7220         instead of the unsupported sunos4.
7221         (Reporting Bugs): Mention glibcbug script.
7222         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
7224 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7226         * posix/wordexp-tst.sh: Make portable.  Add more tests.
7228         * posix/Makefile (do-globtest do-wordexp-test): New targets.
7230 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
7232         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7233         * sysdeps/generic/libc-start.c: ...here, replacing former content.
7235         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7236         netpacket/packet.h.
7238         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
7240 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7242         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7243         in enumerator for strict standard compliance.
7244         * sysdeps/generic/bits/resource.h: Likewise.
7246 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
7248         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7249         (PLTJMP): New macro.
7251         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7252         longjmp() when floating point enabled.
7253         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7254         * sysdeps/arm/__longjmp.S: Remove floating point code.
7255         * sysdeps/arm/setjmp.S: Likewise.
7257         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7258         * sysdeps/arm/bsd-_setjmp.S: Likewise.
7260         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7261         memset().
7263         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7264         prototype.
7266 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
7268         Based on patches from Pat Beirne and Scott Bambrough:
7270         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
7272         * sysdeps/arm/bits/fenv.h: New file.
7274         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
7275         * sysdeps/arm/elf/setjmp.S: Likewise.
7276         * sysdeps/arm/elf/start.S: Likewise.
7277         * sysdeps/arm/init-first.c: Likewise.
7278         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7279         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
7280         comment about floating point to reflect current reality.
7282         * sysdeps/unix/arm/brk.S: Support PIC.
7283         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7284         re-entrant code.
7285         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7286         return; call syscall_error through PLT.
7287         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7289 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7291         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7292         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7295 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7297         * dirent/list.c (test): Return error value.
7298         (main): Exit with error value.
7300         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7302         * Makefile (distribute): Add test-skeleton.c.
7303         * test-skeleton.c: New file.
7304         * dirent/Makefile (tests): Add opendir-tst1.
7305         * dirent/opendir-tst1.c: New file.
7307 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7309         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7310         Optimize memory handling.
7311         * sysdeps/unix/closedir.c: Optmize memory handling.
7313 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7315         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7316         handling.  Optimize a bit.
7318 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7320         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7321         (parse_param): Fold in Andreas' fixes to do with when the end of
7322         the parameter name has been reached, and quoting inside ${...}.
7323         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7324         $((echo);(ls)).
7326 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7328         * manual/maint.texi: Split out installation and contribution
7329         sections to their own appendices.  Misc cleanups.
7330         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7331         * manual/contrib.texi: New file.
7332         * manual/libc.texinfo: Pull in new appendices.
7333         * manual/header.texi: Correct node pointer.
7335 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7337         * manual/process.texi (Process Completion): Clarify return value
7338         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7340 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7342         * posix/wordexp-test.c: Add more tests.
7343         (testit): Fix logic.
7345         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7346         /dev/null instead of closing it, close pipe.  Always chop off all
7347         trailing newlines.  Kill and reap child before returning error.
7348         (w_addword, parse_glob): Fix memory leak.
7349         (wordexp): Fix dangling pointer problem.
7351 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7353         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7355         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7357         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7358         directory index by only the language.
7360 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7362         * posix/wordexp-tst.sh: Store test results in the
7363         ${common_objpfx}posix directory.
7365         * posix/wordexp-test.c: Remove temporary directory afterwards.
7367 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7369         * libc.map: Export internal versions of cancelable functions.
7371 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7373         * Makerules (MAKEFLAGS): Append `r'.
7375 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7377         * Makeconfig: Define have-thread-library, shared-thread-library
7378         and static-thread-library if a thread library is available.  Don't
7379         define rt.
7380         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7381         nscd-routines to nscd-modules.  Use shared-thread-library and
7382         static-thread-library in dependencies.
7383         * rt/Makefile: Only compile librt if have-thread-library is
7384         defined.
7385         * Makefile (subdirs): Always include rt subdir.
7387 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7389         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7391 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7393         * configure.in: Recognize variations for 32 MIPS processors.
7394         Don't assume ELF systems always have .weak, test for .weakext.
7396 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7398         * configure.in: Irix6 is an ELF platform.
7400 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7402         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7403         unmapping the last loaded segment.
7405 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7407         * configure.in: Set base_os for Irix6.
7408         Correct test for .weakext.
7410 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7412         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7413         (new_line) to _dl_debug_message call.
7415 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7417         * posix/wordexp.c (parse_param): Perform field-splitting after
7418         expanding positional parameter.
7420         * posix/wordexp-tst.sh: Test that field-splitting is performed
7421         after expanding positional parameter.
7423         * posix/wordexp.c (parse_param): Fixed memory leak in
7424         field-splitting after parameter expansion.
7426 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7428         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7429         (get_toplvl_escape): Correctly terminate loop at EOF.
7430         Patch by Cristian Gafton <gafton@redhat.com>.
7432 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7434         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7435         (test_strsep): Likewise.  Correct horrible bugs.
7437         * string/bits/string2.h (strcspn): Optimize also reject string of
7438         length 2 and 3.
7439         (strspn): Likewise.
7440         (strpbrk): Likewise.
7441         (strsep): Likewise.  Correct bug with successive separators and
7442         separators at the end of the string.
7443         * sysdeps/generic/strsep.c: Correct bug with successive separators
7444         and separators at the end of the string.
7446 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7448         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7449         etc) now handled, as well as $$ (pid).
7451         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7452         (distribute): Add wordexp-tst.sh.
7454         * posix/wordexp-tst.sh: New file.
7456         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7457         number of positional parameters.  Renamed substitute_length to
7458         seen_hash.
7459         Don't free(env) is env is NULL.
7461 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7463         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7465 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7467         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7468         for output file replacing gmon.out.
7469         Patch by Dean Gaudet <dgaudet@arctic.org>.
7471 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7473         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7474         up namespace.  Optimize finding end of line.
7476 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7478         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7479         securely.  Optimized.
7480         (process_dl_debug): Add ':' to list of separators.  Optimized.
7482 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7484         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7485         isless, islessequal, islessgreater, isunordered): Return zero or
7486         one.
7488 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7490         * posix/wordexp-test.c: More tests.
7491         (main): Set up arena for pathname expansion tests (in a temporary
7492         directory).
7493         (testit): Don't check word count or word vector if return value is
7494         non-zero.
7496         * posix/wordexp.c (exec_comm): Always chop off terminating
7497         linefeed (just like bash does).
7498         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7499         (!env || !*env)".
7500         (parse_param): For assignment inside parameter expansion, use all
7501         expanded words in assignment rather than just the first.
7502         (parse_param): Corrected return value for parameter expansion of
7503         an unset variable when WRDE_UNDEF is in effect.
7504         (parse_dollars): Don't field-split if quoted.
7505         (wordexp): Opening brace character isn't allowed unquoted.
7507 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7509         * elf/dlerror.c: Fix concurrency problems with error string and
7510         number.
7512         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7513         filter/auxiliary are being loaded.
7515 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7517         * elf/dlerror.c (last_object_name): Removed.
7518         (dlerror): Don't use last_object_name.
7519         (_dl_error_run): Omit second argument to _dl_catch_error.
7520         * elf/dl-error.c (struct catch): Remove objname member.
7521         (_dl_signal_error): Construct string including objname when given.
7522         (_dl_catch_error): Remove objname handling.
7523         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7524         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7525         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7526         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7527         * iconv/gconv_dl.c (dlerror_run): Likewise.
7528         [Corrects PR libc/501].
7530 1998-03-12  Matthias Urlichs <smurf@noris.de>
7532         * nscd/nscd.c: Ignore SIGPIPE.
7534 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7536         * nscd/nscd_getgr_r.c: Use __ protected names.
7537         * nscd/nscd_getpw_r.c: Likewise.
7539 1998-03-12  Matthias Urlichs <smurf@noris.de>
7541         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7542         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7543         null bytes are not transmitted.
7545 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7547         * powerpc/syscalls.list: Correct typo.
7548         * alpha/syscalls.list: Likewise.
7549         * mips/syscalls.list: Likewise.
7551 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7553         * socket/sys/socket.h: Add prototype for __socket.
7555 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7557         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7559         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7560         constants.
7562         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7563         definition here.
7564         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7565         definition here.
7567         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7568         AF_* and PF_* constants.
7570         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7572 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7574         * elf/rtld.c: Update help message.
7575         Install link maps for preloaded objects using main_map as loader.
7577         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7578         * elf/dl-profile.c: Likewise.
7580         * elf/dlsym.c: Little optimization.
7581         * elf/dlvsym.c: Likewise.
7583 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7585         * posix/wordexp-test.c: Move test for parameter list at the very
7586         beginning.
7588 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7590         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7591         WRDE_REUSE flag is set.
7592         (parse_param): Allow `*', `@', and numbers in parameter names.
7593         (parse_dollars): Differentiate between arithmetic expansion and a
7594         command substitution that starts immediately with a sub-shell
7595         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7596         (parse_param): Memory allocated with __alloca in a block was
7597         referenced outside that block.  Adjusted to use malloc/free.
7598         (parse_param): Adjusted field-splitting algorithm so that there is
7599         not necessarily a field split at the end of a parameter expansion.
7601 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7603         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7604         don't free words that have already been allocated.
7605         (parse_param): A dollar sign on its own will never have a pattern
7606         associated with it (like "${HOME%%/}" has), so don't try to free it.
7607         (parse_glob): Attempt to glob when an unquoted `[' is found
7608         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7609         (parse_glob): Sorted out quoting in a glob-able word.
7610         (parse_param): Added $* and $@ handling.
7612 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7614         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7615         parsing it.
7617 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7619         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7620         _dl_debug_message.
7622 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7624         * elf/dl-misc.c: Default for debug output should be stderr.
7625         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7626         * elf/dl-lookup.c: reference_name may be NULL or empty.
7628 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7630         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7632 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7634         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7636         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7638 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7640         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7643 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7645         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7646         init stuff.
7648 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7650         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7651         flag.
7653         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7654         syslog daemon.
7655         (closelog_internal): Don't do anything if not connected.
7657 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7659         * libc.map: Add _dl_debug_message.
7660         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7661         before every line.
7662         * elf/fini.c: Correctly use new _dl_debug_message function.
7663         * elf/init.c: Likewise.
7664         * elf/dl-lookup.c: Likewise.
7665         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7666         * elf/dl-load.c: Likewise.  Add more debugging prints.
7667         * elf/dl-reloc.c: Likewise.
7668         * elf/dl-version.c: Likewise.
7669         * elf/dl-support.c: Add variables for debugging.
7670         * elf/rtld.c: Likewise.  Recognize new debug options.
7671         * elf/link.h: Declare new variables.
7673         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7675 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7677         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7678         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7680 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7682         * posix/wordexp-test.c (command_line_test): New function to allow
7683         testing of specific cases from the command-line.
7685 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7687         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7688         * elf/dl-fini.c (_dl_fini): Likewise.
7689         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7691         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7692         symbol in debug message.
7693         (_dl_lookup_versioned_symbol_skip): Likewise.
7695 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7697         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7698         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7699         * manual/filesys/texi: Document this.
7701 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7703         * manual/filesys.texi: Document the change below.
7705 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7707         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7708         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7710 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7712         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7713         instead scope.  If debugging display information about symbol
7714         resolving.
7715         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7716         (_dl_lookup_symbol_skip): Likewise.
7717         (_dl_lookup_versioned_symbol): Likewise.
7718         (_dl_lookup_versioned_symbol_skip): Likewise.
7719         * elf/dl-support.c: Define _dl_debug_symbols.
7720         * elf/link.h: Add declaration for _dl_debug_symbols.
7721         * elf/rtld.c: Define _dl_debug_symbols.
7722         (process_dl_debug): Recognize symbols option.
7724 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7726         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7727         in correct format.
7728         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7729         with correct parameters.
7730         [!PIC]: Initialize __libc_multiple_libcs.
7732 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7734         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7735         * elf/rtld.c (_dl_debug_bindings): Add definition.
7736         (process_dl_debug): Recognize bindings option.  Update help message.
7737         * elf/link.h (struct link_map): Add l_versyms member.
7738         (_dl_debug_bindings): Add declaration.
7739         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7740         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7741         and l_reloc_result.
7742         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7743         (sym_val): Remove a member, add m as link_map.
7744         (do_lookup): Return result appropriately.
7745         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7746         Call do_lookup correctly.
7747         (_dl_lookup_symbol_skip): Likewise.
7748         (_dl_lookup_versioned_symbol): Likewise.
7749         (_dl_lookup_versioned_symbol_skip): Likewise.
7751 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7753         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7754         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7756         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7757         * libc.map: Add chown to GLIBC_2.1.
7758         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7759         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7761 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7763         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7764         weak alias.
7765         * sysdeps/alpha/ffs.c: Likewise.
7766         * sysdeps/am29k/ffs.c: Likewise.
7767         * sysdeps/i386/ffs.c: Likewise.
7768         * sysdeps/i960/ffs.c: Likewise.
7769         * sysdeps/m68k/ffs.c: Likewise.
7770         * sysdeps/m88k/ffs.c: Likewise.
7771         * sysdeps/powerpc/ffs.c: Likewise.
7772         * sysdeps/rs6000/ffs.c: Likewise.
7773         * sysdeps/vax/ffs.s: Likewise.
7774         * string/string.h: Declare __ffs.
7775         * libc.map: Export it.
7776         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7777         __builtin_ffs, which is not guaranteed to be namespace clean.
7779 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7781         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7782         table, which is much more likely to exist than debugging symbols.
7783         (printsym): Remove const.
7784         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7785         header table.
7787         * libc.map: Export __profile_frequency, used by elf/sprof, to
7788         avoid infinite recursion during startup.
7790 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7792         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7793         Readd lost negate.
7795         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7797 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7799         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7801 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7803         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7804         LD_PRELOAD, and LD_VERBOSE.
7805         (dl_main): Use global variables set by process_envvars instead of
7806         calling getenv.
7807         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7808         LD_LIBRARY_PATH value, this comes with the parameter.
7809         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7810         ("LD_LIBRARY_PATH") to _dl_init_paths.
7812 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7814         * elf/rtld.c (dl_main): Delay initialization of path structure if
7815         the dynamically linker is invoked implicitly until we read the
7816         dynamic section.
7818 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7820         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7822 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7824         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7825         Linux 2.0 and 2.1.
7827         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7829 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7831         * Makeconfig (nisobjdir): Set to path to nis directory.
7832         (rpath-link): Add nisobjdir.
7833         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7835         * elf/Makefile: Pretty print.
7836         * elf/dl-lookup.c: Include unistd.h.
7837         * elf/dl-runtime.c: Likewise.
7839         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7840         (distribute): Add tst-rpmatch.sh.
7841         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7843         New tests for rpmatch function by
7844         Jochen Hein <jochen.hein@delphi.central.de>.
7845         * localedata/tst-rpmatch.c: New file.
7846         * localedata/tst-rpmatch.sh: New file.
7848         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7849         * localedata/locales/de_AT: Likewise.
7851         * posix/getopt.c: Update contact address.
7852         * posix/getopt1.c: Pretty print.
7854         * sysdeps/generic/libc-start.c: Do most of the initialization now
7855         here instead of in start.S.
7856         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7857         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7859         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7860         profil_counter to be public.
7862 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7864         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7865         (parse_param): Coded parameter length expansion (${#var}).
7866         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7867         (parse_param): Cleaned up (fixed) error handling.
7869         * posix/wordexp-test.c: IFS now includes non-whitespace character
7870         (comma).  Added more tests.
7872 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7874         * elf/link.h: Fix typos.
7875         Reported by Andreas Jaeger.
7877         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7878         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7880 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7882         * argp/argp-help.c: Remove last bits of using gettext instead of
7883         dgettext.
7885 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7887         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7888         __libc_start_main.
7889         * csu/Makefile (routines): Add libc-start.
7890         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7891         * elf/dl-lookup.c: Likewise.
7892         * elf/dl-version.c: Likewise.
7893         * sysdeps/i386/dl-machine.h: Likewise.
7894         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7895         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7896         _dl_sysdep_message macros which use _dl_sysdep_output.
7897         * elf/dl-fini.c: Write out which destructor is called while debugging.
7898         * elf/dl-init.c: Likewise for constructor.
7899         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7900         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7901         _dl_sysdep_message.  Add _dl_sysdep_output.
7902         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7903         this file can be opened.
7904         For LD_DEBUG=libs also set _dl_debug_impcalls.
7905         * sysdeps/generic/dl-cache.c: Include unistd.h.
7906         * sysdeps/generic/libc-start.c: New file.
7907         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7908         * sysdeps/i386/elf/start.S: Don't call main directly, call
7909         __libc_start_main instead.
7911         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7913 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7915         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7917 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7919         * argp/argp.h (struct argp): Add new field domain.
7920         * argp/argp-help.c: Change all gettext calls to dgettext and use
7921         domain field from appropriate argp in call.
7922         * argp/argp-parse.c: Likewise.
7924 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7926         * posix/wordexp-test.c: Change testsuite so that it can run even
7927         for ~root != /root.
7929 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7931         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7933 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7935         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7936         Don't store into global errno if we already store through
7937         __errno_location.
7938         * sysdeps/unix/i386/sysdep.S: Likewise.
7939         * sysdeps/unix/alpha/sysdep.S: Likewise.
7940         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7943         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7944         PIC).
7946 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7948         * sysdeps/generic/sysdep.h (L): Remove definition.
7949         * sysdeps/i386/sysdep.h (L): Define it here instead.
7951 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7953         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7955         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7957 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7959         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7960         declaration style to avoid warnings.
7962 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7964         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7965         "LD_DEBUG".
7967 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7969         * posix/Makefile (tests): Add wordexp-test.
7970         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7971         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7973 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7975         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7976         dependencies.
7978         * elf/link.h (struct r_search_path_elem): Add two new field for
7979         lib path debugging.
7980         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7981         variable accordingly.
7982         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7983         is considered next along with information about load paths.
7984         * sysdeps/generic/dl-cache.c: Likewise.
7985         * elf/dl-support.c: Define _dl_debug_libs.
7986         * elf/genrtldtbl.awk: Add initializers for two new field in
7987         struct r_search_path_elem.
7989 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7991         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7992         * sysdeps/m68k/lshift.S: Likewise.
7993         * sysdeps/m68k/rshift.S: Likewise.
7994         * sysdeps/m68k/sub_n.S: Likewise.
7995         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7996         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7997         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7999         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
8000         [_LIBC_REENTRANT]: Don't store into global errno.
8002         * sysdeps/m68k/sysdep.h: New file.
8003         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
8004         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
8005         (DO_CALL): Change to expect syscall name as argument.
8006         (PSEUDO): Pass syscall_name to DO_CALL.
8007         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
8008         errno.
8010 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
8012         * elf/rtld.c: Speed up processing of environment variables.  Do
8013         only one run on the environment by avoiding to call getenv.
8014         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
8015         function.  Used by patch above.
8017 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8019         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
8020         running nscd.
8021         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
8022         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
8023         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
8025 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
8027         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
8028         module cannot be found.  Reported by Andreas Jaeger.
8030 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8032         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
8033         on platforms which default to unsigned chars.
8034         * nscd/nscd_getpw_r.c: Likewise.
8035         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
8036         defining it.
8038 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8040         * elf/Makefile (install-bin): Change = to += for sprof to install
8041         ldd also.
8043 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
8045         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
8047 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
8049         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
8051 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8053         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
8054         that a failure to connect to nscd doesn't change errno.
8056 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8058         * manual/maint.texi (Reporting Bugs): Change
8059         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
8061         * locale/iso-4217.def: Likewise
8063 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
8065         * manual/texinfo.tex: Updated.
8067 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8069         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
8070         value.
8071         * sysdeps/posix/pathconf.c: Likewise.
8072         * posix/getconf.c: Print `undefined' if pathconf returns -1
8073         without setting errno.
8075 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
8077         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
8078         problem.
8079         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
8080         Patches by Elliot Lee <sopwith@cuc.edu>.
8082 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
8084         * elf/link.h (struct link_map): Add new field l_reloc_result.
8085         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
8086         of relocation for the object to be profiled.
8087         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
8088         to NULL.
8089         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
8090         array here.
8091         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
8092         contains a result from a previous run use this instead of computing
8093         the value again.
8094         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
8096 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8098         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
8099         offsets into the GOT.
8100         (RTLD_START): Likewise.
8102 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
8104         * elf/sprof.c: Cleanup a bit.
8106 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
8108         * sysdeps/generic/sysdep.h (L): New. Define.
8110         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
8112         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
8114         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
8115         to have only one exit point for functions.
8116         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8117         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
8118         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
8119         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8120         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8122 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8124         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
8125         reset errno so that errno isn't set to ENOSYS in the first call.
8126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
8127         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8128         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8129         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8131 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
8133         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
8134         * sysdeps/i386/addmul_1.S: Likewise.
8135         * sysdeps/i386/lshift.S: Likewise.
8136         * sysdeps/i386/mul_1.S: Likewise.
8137         * sysdeps/i386/rshift.S: Likewise.
8138         * sysdeps/i386/sub_n.S: Likewise.
8139         * sysdeps/i386/submul_1.S: Likewise.
8140         * sysdeps/i386/i586/add_n.S: Likewise.
8141         * sysdeps/i386/i586/addmul_1.S: Likewise.
8142         * sysdeps/i386/i586/lshift.S: Likewise.
8143         * sysdeps/i386/i586/mul_1.S: Likewise.
8144         * sysdeps/i386/i586/rshift.S: Likewise.
8145         * sysdeps/i386/i586/sub_n.S: Likewise.
8146         * sysdeps/i386/i586/submul_1.S: Likewise.
8148         * sysdeps/i386/sysdep.h: Extend last change.
8150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8151         to have only one exit point for functions.
8153 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8155         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
8156         search.
8158 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
8160         * Makerules: Generate libc.so with absolute paths for the used
8161         shared objects.
8163         * config.make.in: Add MAKEINFO definition.
8165 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8167         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8168         (ENTRY): Use STABS_FUN.
8169         (END): Use STABS_FUN_END.
8170         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
8172         * elf/Makefile: Add rules to build sprof program.
8173         * elf/sprof.c: New file.
8175 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8177         * misc/syslog.c (openlog_internal): Insert missing closing brace.
8179 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8181         * configure.in: Check for working msgfmt version (from GNU gettext
8182         0.10 or later).
8184 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8186         * configure.in: Avoid //s in sysdirs.
8187         Patch by Roland McGrath.
8189         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
8191 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
8193         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8194         setting _dl_global_scope for RTLD_GLOBAL.
8196 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8198         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8199         possible lists of object-suffixes are taken care of.
8201 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
8203         * timezone/private.h: Update from tzcode1998c.
8204         * timezone/zic.c: Likewise.
8205         * timezone/antarctica: Updated from tzdata1998c.
8206         * timezone/asia: Likewise.
8207         * timezone/australasia: Likewise.
8208         * timezone/europe: Likewise.
8209         * timezone/southamerica: Likewise.
8211 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8213         * posix/glob.c (glob_in_dir): Add support for cases insensitive
8214         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
8216 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
8218         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8219         Changed type of TWO43, TWO52 from float to double.
8220         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8221         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8222         Changed type of TWO43 from float to double.
8223         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8224         Use __isinff.
8226 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
8228         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8229         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8230         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
8232 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
8234         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8235         kernel_termios.h.
8236         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8237         Clean up random whitespace.
8238         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8239         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8241         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
8243 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
8245         * shlib-versions: Match alpha*.
8246         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8247         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
8249         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8250         Implement copysign* with and without __ prefix.
8251         Likewise for fabs; use builtin for gcc 2.8.
8252         (floor*): New.
8253         (fdim*): New.
8255         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8256         (R_SPARC*): Match current v9 ABI.
8258         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
8260         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8261         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8262         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8263         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8264         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8265         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8266         * sysdeps/unix/grantpt.c (argv): Fix consts.
8267         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8268         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8270 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8272         * misc/syslog.c: Change to allow user the interpretation of the
8273         outcome even with syslog having no return value.
8275 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8277         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8278         that the number of program headers is >0 (which is wrong for the
8279         loader itself).
8281 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8283         * Makefile (distribute): Add README.libm.
8285 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8287         * time/clocktest.c (main): Correct typo: "--" -> "==".
8289 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8291         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8292         inline function.
8293         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8294         inline functions.
8296         * math/libm.map (__atan2): Added.
8298 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8300         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8301         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8303         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8304         bug.
8306 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8308         * manual/arith.texi (Old-style number conversion): Correct
8309         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8311 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8313         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8314         but does not require it.  Handle missing argv[] values gracefully.
8315         * posix/execl.c: Likewise.
8316         * posix/execle.c: Likewise.
8318 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8320         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8321         bit.
8322         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8324 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8326         * libc.map: Add __adjtimex.
8328 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8330         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8331         Remove memset.
8333 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8335         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8336         to 64.
8338         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8340         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8341         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8343         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8344         for shared library.
8346         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8348         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8349         Added adjtimex and old_adjtimex.
8351         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8352         New.
8353         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8354         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8356         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8357         symbols only for shared library.
8358         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8359         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8360         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8361         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8362         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8363         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8364         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8366         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8367         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8368         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8369         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8370         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8371         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8372         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8373         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8375         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8376         rusage pointer.
8378         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8379         New macros.
8380         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8381         timex and __adjtimex, respectively.
8383         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8385         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8387 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8389         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8390         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8392 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8394         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8396 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8398         * Makefile.in: Disable built-in rules.
8400 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8402         * sysdeps/i386/fpu/t_exp.c: Move to ...
8403         * sysdeps/libm-i387/t_exp.c: ... here.
8405 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8407         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8408         from __exp2_deltatable.
8410 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8412         * nis/ypclnt.c (yp_master): Check result of strdup.
8413         Patch by Thorsten Kukuk.
8415 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8417         * nis/ypclnt.c: Give clnt handle after error checking free, change
8418         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8420 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8422         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8423         Patch by Joe Keane <jgk@jgk.org>.
8425         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8426         * misc/fstab.c: Remove casts in fs_type assignments.
8428 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8430         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8431         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8432         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8433         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8434         * sysdeps/powerpc/bits/fenv.h: Likewise.
8435         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8436         * sysdeps/generic/bits/fenv.h: Likewise.
8437         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8438         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8439         * sysdeps/powerpc/test-arith.c (main): Likewise.
8441 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8443         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8444         the comparison macros.
8446 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8448         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8449         (__log2): Fixed return values.
8450         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8452 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8454         * math/math.h (isunordered): Rename local variables to ensure
8455         correct code.  Reported by HJ Lu.
8457 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8459         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8460         isless, islessequal, islessgreater, isunordered): Fix syntax for
8461         fucompip instruction.
8462         (isless, islessequal): Fix logic.
8464 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8466         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8467         (comparisons_test): New tests for comparison macros.
8469 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8471         * Makeconfig: Filter out frame-pointer effecting options when
8472         compiling profiling or debugging code.
8473         * config.h.in (internal_function): Don't define here if PROF is
8474         defined.
8475         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8476         state.
8477         (__monstartup): If calloc fails set error state and mark array as
8478         not allocated.
8479         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8480         to free array if not  successfully allocated.
8482         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8483         Include elf.h to get macro definitions.
8484         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8486 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8488         * elf/ldd.sh.in: Add compatibility for broken old shells.
8489         * elf/ldd.bash.in: Likewise.
8491 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8493         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8495         * time/clocktest.c (main): Check signal return error.
8497 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8499         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8500         "/" and use do-install-program. Reported by Mark M. Kettenis.
8501         (subdir_install):  Likewise.
8503 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8505         * sunrpc/rpc_sample.c: Fix typo.
8507         * nscd/connections.c: Use locale.
8508         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8509           calloc result.
8510         * nscd/nscd.c: Check if init functions fails.
8511         * nscd/nscd_conf.c: Allow disabling of group cache.
8512         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8513         * nscd/pwdcache.c: Fix debug messages.
8515 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8517         * libc.map: Add __monstartup and _mcleanup for profiling support.
8519 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8521         * libc.map: Export __getpagesize, for binary compatibility with
8522         2.0.
8524 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8526         * posix/globtest.sh: Use --library-path instead of
8527         LD_LIBRARY_PATH.
8528         * localedata/sort-test.sh: Likewise.
8529         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8531 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8533         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8534         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8535         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8537         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8538         kernel_sigaction): Define.
8539         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8540         kernel_sigaction): Define.
8542 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8544         * math/libm-test.c: Change epsilons for libm-ieee754.
8546 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8548         * sysdeps/i386/__longjmp.S: Fix race condition.
8549         Reported by Bruno Haible <haible@ilog.fr>.
8551 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8553         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8554         * iconvdata/8bit-gap.c: Likewise.
8555         * iconvdata/8bit-generic.c: Likewise.
8556         * iconvdata/iso6937.c: Likewise.
8557         * iconvdata/iso8859-1.c: Likewise.
8558         * iconvdata/sjis.c: Likewise.
8559         * iconvdata/t61.c: Likewise.
8561 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8563         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8564         feature tests by positive feature tests.
8566 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8568         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8570 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8572         * elf/dlvsym.c (dlvsym_doit): More corrections.
8573         Patch by Andreas Jaeger.
8575 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8577         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8579 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8581         * libc.map: More reordering for GLIBC_2.1 symbols.
8583 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8585         * libc.map: Move some functions from version GLIBC_2.0 to
8586         GLIBC_2.1, reorder declarations.
8588 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8590         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8591         Patch by zab@thebrain.grumblesmurf.net.
8593 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8595         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8596         NIS+ functions with version GLIBC_2.1.
8598 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8600         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8601         with 2.0 binaries.  Reported by Thorsten Kukuk.
8603 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8605         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8607         * elf/dlsym.c (dlsym_doit): Likewise.
8609 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8611         * elf/link.h: Correct typos.
8613         * iconv/iconv_prog.c: Correct typo.
8615 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8617         * iconv/Makefile: Add rules to build and install iconv program.
8618         * iconv/iconv_prog.c: New file.
8620 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8622         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8623         _dl_lookup_symbol_skip call.
8624         * elf/dlvsym.c (dlvsym_doit): Likewise.
8626 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8628         * libio/iovsscanf.c: Do not include errno.h.
8630 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8632         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8633         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8634         pulling in the whole error list.
8635         (__dcgettext, dcgettext): Removed.
8636         * libc.map: Export _strerror_internal.
8638 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8640         * sysdeps/i386/fpu/t_exp.c: New file.
8642 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8644         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8645         everything with version GLIBC_2.1.
8646         * hesiod/libnss_hesiod.map: Likewise.
8648 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8650         * manual/arith.texi (Old-style number conversion): This node is a
8651         section, not a subsection.
8653 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8655         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8657 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8659         * elf/rtld.c (dl_main): Make sure that the library search paths
8660         have been initialized before the first call to _dl_map_object.
8662 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8664         * Makerules (common-generated): Add libc_pic.os.
8666 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8668         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8669         of the executable.
8671 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8673         * sysdeps/m68k/fpu/t_exp.c: New file.
8675 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8677         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8678         to global errno variable anymore.
8680 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8682         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8683         If PRELOADED is nonzero check in case of an SUID application
8684         whether the shared object has the SUID bit set.
8685         Fix some other problems with handling shared objects in system
8686         specific directories.
8687         (_dl_map_object): Also take extra parameter and pass it to open_path.
8688         * elf/link.h (_dl_map_object): Correct prototype and comment.
8689         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8690         * elf/dl-open.c (_dl_open): Likewise.
8691         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8693         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8695 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8697         * math/libm-test.c (modf_test): Add test for 1.5.
8699         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8700         0 to get always an int.
8702 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8704         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8705         version GLIBC_2.1.
8707 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8709         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8710         trying to read another character.
8712 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8714         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8715         name to lowercase.
8717         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8718         name to lowercase, add test for big enough buffer.
8720 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8722         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8723         Make compatible with older kernels.  Patch by Richard Henderson.
8725 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8727         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8729         * localedata/tst-locale.sh: Comment out first test for now.
8731 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8733         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8734         as 1.
8735         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8736         Likewise.
8738         * libio/iogetline.c (_IO_getline_info): Renamed from
8739         _IO_getline.
8740         (_IO_getline): Just call _IO_getline_info.
8742         * libio/libioP.h (_IO_getline_info): New declaration.
8744         * libc.map (_IO_getline_info, __write): Added.
8746 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8748         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8749         const char* to shut up gcc.
8751 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8753         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8754         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8756         * math/math.h: Define M_* constants always as `double' and add new
8757         macros M_*l which are of type `long double'.
8758         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8759         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8760         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8761         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8762         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8763         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8764         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8765         * math/libm-tst.c: Likewise.
8767         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8768         define as long double unconditionally.
8770 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8772         * manual/arith.texi (Old-style number conversion): Correct some
8773         typos.
8775 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8777         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8778         Restore.
8780         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8782 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8784         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8785         on $(rtld-ldscript).
8787         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8788         starting from 0 not only from `from'.
8789         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8791 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8793         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8794         pass value (or NULL) to _dl_init_paths.
8795         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8796         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8797         environment variable.
8798         * elf/link.h: Change prototype for _dl_init_paths.
8799         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8801         * localedata/Makefile (distribute): Add test files.
8803 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8805         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8806         test1.def, test2.def, test3.def, test4.def}: Simple input files
8807         for localedef. Contributed by Yung-Ching Hsiao
8808         <yhsiao@cae.wisc.edu>.
8810         * localedata/Makefile (tests): Call tst-locale.sh.
8812         * localedata/tst-locale.sh: New file, regression tests for some
8813         localedef problems.
8815 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8817         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8819         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8820         terminated.
8821         * nis/nss_nisplus/nisplus-network.c: Likewise.
8822         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8823         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8824         * nis/nss_nisplus/nisplus-service.c: Likewise.
8826         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8827         and support generating thread safe RPC code.
8828         * sunrpc/rpc_main.c: Add changes.
8829         * sunrpc/rpc_clntout.c: Likewise.
8830         * sunrpc/rpc_cout.c: Likewise.
8831         * sunrpc/rpc_hout.c: Likewise.
8832         * sunrpc/rpc_parse.c: Likewise.
8833         * sunrpc/rpc_sample.c: Likewise.
8834         * sunrpc/rpc_scan.c: Likewise.
8835         * sunrpc/rpc_svcout.c: Likewise.
8836         * sunrpc/rpc_util.c: Likewise.
8837         * sunrpc/rpc_util.h: Add new structs and prototypes.
8838         * sunrpc/proto.h: Remove prototypes for static functions.
8840 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8842         * locale/programs/ld-messages.c (messages_finish): Don't skip
8843         error checking when being quiet.
8844         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8845         (set_class_defaults): Likewise.
8846         * locale/programs/charmap.c (parse_charmap): Likewise.
8847         * locale/programs/ld-collate.c (collate_finish): Likewise.
8848         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8849         * locale/programs/ld-time.c (time_finish): Likewise.
8850         * locale/programs/locfile.c (write_locale_data): Likewise.
8852         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8853         unknown characters and empty ranges.
8854         * locale/programs/ld-collate.c (collate_order_elem): When
8855         processing an ellipsis properly form a linked list in the result
8856         table, fix typo when allocating ordering array.
8857         [PR libc/419]
8859 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8861         * elf/Makefile (ld-map): Define.
8862         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8863         `$(rtld-ldscript)'.
8864         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8865         on $(ld-map).
8866         (rtld-link): Combine the two versions of this definition.  Fixed
8867         to make it work when no symbol versioning is used.
8869 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8871         * Makeconfig (build-program-cmd): Use --library-path parameter to
8872         ld.so instead of environment variable.
8874         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8875         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8877 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8879         * Make-dist: Respect with-cvs setting.
8880         * MakeTAGS (all-pot): Likewise.
8881         * sysdeps/sparc/sparc32/Makefile: Likewise.
8882         * sysdeps/mach/hurd/Makefile: Likewise.
8883         * stdlib/Makefile: Likewise.
8884         * posix/Makefile: Likewise.
8885         * intl/Makefile: Likewise.
8886         * po/Makefile (linguas): Likewise
8888 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8890         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8892 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8894         * libc.map: Add __strcasecmp.
8896         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8897         module.
8899         * nss/getXXent_r.c: If no more module is found don't try to call
8900         setXXent functions but leave unsuccessfully.
8902         * malloc/obstack.h: Cleanups.
8904         * sysdeps/wordsize-32/stdint.h: New file.
8905         * sysdeps/wordsize-64/stdint.h: New file.
8906         * sysdeps/generic/stdint.h: New file.
8907         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8908         * sysdeps/wordsize-64/inttypes.h: Likewise.
8909         * stdlib/Makefile (headers): Add stdint.h.
8911 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8913         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8915 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8917         * timezone: New directory.
8918         * time/README, time/africa, time/antarctica, time/asia,
8919         time/australasia, time/backward, time/checktab.awk,
8920         time/etcetera, time/europe, time/factory, time/ialloc.c,
8921         time/iso3166.tab, time/leapseconds, time/northamerica,
8922         time/pacificnew, time/private.h, time/scheck.c,
8923         time/solar87, time/solar88, time/solar89, time/southamerica,
8924         time/systemv, time/test-tz.c, time/tzfile.h,
8925         time/tzselect.ksh, time/yearistype, time/zdump.c,
8926         time/zic.c, time/zone.tab: Moved to timezone.
8927         * time/tzfile.c: Include tzfile.h from timezone subdir.
8928         * time/tzset.c: Likewise.
8929         * time/Makefile: Cut out all code relating to timezones...
8930         * timezone/Makefile: ...and paste it in here.
8931         * Makefile (subdirs): Add timezone.
8933 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8935         * libc.map (_sys_nerr): Added.
8937         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8938         versioned symbol.
8940 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8942         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8943         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8944         Reported by Craig Metz <cmetz@inner.net>.
8946 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8948         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8949         instead of strcasecmp.
8950         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8952         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8954 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8956         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8957         Patch by Dean Gaudet <dgaudet@arctic.org>.
8959 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8961         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8963 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8965         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8966         with no poll syscall, just include the BSD version.
8967         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8968         kernel without the syscall, include the stub version.
8969         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8970         * sysdeps/generic/getresuid.c: New file.
8971         * sysdeps/generic/getresgid.c: New file.
8973 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8975         * stdio-common/vfscanf.c: Correct last change a bit.
8977 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8979         * elf/Makefile: Don't use --version-script parameter to link ld.so
8980         unconditionally.
8982 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8984         * math/Makefile: Add t_exp.
8985         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8986         constants.
8987         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8988         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8989         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8990         better accuracy.
8991         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8992         algorithm for very large/very small arguments.
8993         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8994         correct algorithm for very large/very small arguments; adjust for
8995         new table.
8996         * sysdeps/libm-ieee754/t_exp.c: New file.
8997         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8999         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
9000         back, with comment that explains what breaks when you remove it :-(.
9002         * localedata/xfrm-test.c: Avoid integer overflow.
9004         * stdlib/strfmon.c: char is unsigned, sometimes.
9006         * sysdeps/powerpc/Makefile: Remove quad float support.
9007         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
9008         * sysdeps/powerpc/quad_float.h: Likewise.
9009         * sysdeps/powerpc/test-arith.c: Likewise.
9010         * sysdeps/powerpc/test-arithf.c: Likewise.
9012         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
9013         * sysdeps/generic/s_exp2f.c: Likewise.
9015         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
9016         don't try anything if _SOFT_FLOAT.
9018 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9020         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
9021         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
9022         * wctype/wctype.c: Likewise.
9023         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
9024         changed.  They are incompatible with the _ISxxx values from
9025         <ctype.h> on little endian machines.
9026         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
9027         bit number.  This fixes the real bug and restores the integrity of
9028         the ctype locale file.
9029         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
9030         * wctype/wcfuncs_l.c: Likewise.
9031         * wctype/wcextra.c: Likewise.
9032         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
9033         byte swapping.
9035 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
9038         into .bss segment instead of .common, so that aliases on it work.
9040         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
9041         .size directives, put into .bss segment instead of initializing it
9042         to 4.
9044 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
9046         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
9048         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
9049         functions.
9050         Make names without __ weak aliases.
9051         (__libc_release, __libc_version): Make them static.
9053         * include/gnu/libc-version.h: New file.
9054         * Makefile (headers): Add gnu/libc-version.h.
9056 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
9058         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
9059         and use x for member name.
9060         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
9062         * stdlib/drand48.c: Change according to member name change.
9063         * stdlib/drand48_r.c: Likewise.
9064         * stdlib/lcong48_r.c: Likewise.
9065         * stdlib/lrand48.c: Likewise.
9066         * stdlib/lrand48_r.c: Likewise.
9067         * stdlib/mrand48.c: Likewise.
9068         * stdlib/mrand48_r.c: Likewise.
9069         * stdlib/seed48.c: Likewise.
9070         * stdlib/seed48_r.c: Likewise.
9071         * stdlib/srand48_r.c: Likewise.
9073 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9075         * nss/test-netdb.c: Add some more test cases.
9077 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
9079         * libio/iovsscanf.c: Undo last change modifying errno.
9081 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9083         * stdio-common/vfscanf.c: Never try to read another character
9084         after EOF.  Don't decrement read_in after EOF, it wasn't
9085         incremented in the first place.
9086         (NEXT_WIDE_CHAR): Set First, not first.
9088 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
9090         * db/Makefile ($(inst_libdir)/libndbm.a,
9091         $(inst_libdir)/libndbm.so): New targets.
9092         * db2/Makefile: Likewise.
9094 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
9096         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
9097         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
9099 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9101         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
9102         <streambuf.h>.
9103         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9105 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9107         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
9108         versioned symbols.
9110 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
9112         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
9113         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
9114         Added for libdl.so.
9116 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9118         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
9119         extra syscall.
9121         * grp/Makefile: Fix logic when checking for thread package.
9122         * pwd/Makefile: Likewise.
9124 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
9126         * elf/Makefile (rtld-map): Replaced by libc-map.
9128         * elf/rtld.map: Removed.
9130         * libc.map (__libc_enable_secure, _dl_catch_error,
9131         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
9132         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
9133         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
9134         _dl_object_relocation_scope, _dl_relocate_object,
9135         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
9136         _r_debug): Added for ld.so.
9138 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
9140         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
9141         DO_VERSIONING.
9142         * libio/iofdopen.c: Ditto.
9143         * libio/iofopen.c: Ditto.
9144         * libio/oldfileops.c: Ditto.
9146         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
9147         version GLIBC_2.1.
9149         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
9150         oldsiglist from sysdep_routines and shared-only-routines.
9152         * sysdeps/unix/sysv/linux/errlist.c: New.
9153         * sysdeps/unix/sysv/linux/errlist.h: New.
9154         * sysdeps/unix/sysv/linux/sizes.h: New.
9155         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
9156         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
9158         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
9160         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
9161         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
9162         directive.
9164         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
9166         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
9167         (oldsiglist.c): Removed.
9169         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
9170         (_sys_siglist): Use SYS_SIGLIST instead.
9171         (_sys_nerr): Use SYS_NERR instead.
9173         * sysdeps/gnu/errlist.c: Rebuilt.
9175 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
9177         * elf/Makefile (others-static): New, set to ldconfig.
9178         ($(objpfx)ldconfig): Removed.
9180         * Rules (binaries-all, binaries-static, binaries-shared): New.
9181         Create targets for $(binaries-static) and $(binaries-shared).
9183         * Makeconfig (+link-static, link-libc-static,
9184         link-extra-libs-static): New for static linking.
9186 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9188         * manual/memory.texi (Using the Memory Debugger): Fix typo.
9190         * math/libm-test.c (modf_test): Add one more test for modf.
9192 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
9194         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9195         Rename from __libc_have_rt_sigs and leave as COMMON data.
9197 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
9199         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
9200         of __finite.
9202 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
9204         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
9206 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
9208         * misc/tst-efgcvt.c: Add yet more tests.
9209         * misc/efgcvt_r.c: And correct for these tests again.
9210         Reported by HJ Lu.
9212         * isomac.c: Move to...
9213         * stdlib/isomac.c: ...here.
9214         * Makefile: Move rules for handling isomac...
9215         * stdlib/Makefile: ...to here.
9217 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9219         * misc/tst-efgcvt.c: Add more tests.
9220         * misc/efgcvt_r.c: Correct result for above new tests.
9222 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
9224         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9225         NDIGIT <= 0.
9227 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
9229         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
9230         if the programs weren't built.
9232 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
9234         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
9235         FE_TONEAREST, soldier on regardless and do the best we can.
9236         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
9238 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
9240         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
9241         _STDIO_H, before including <bits/stdio_lim.h>.
9243         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
9245         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
9246         exist.
9248         * sysdeps/arm/sys/ucontext.h: New file.
9250 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
9252         * manual/stdio.texi (Formatted Output Functions): Explicitly say
9253         that the return value from snprintf() does not count the
9254         terminating NUL as a character.
9256 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9258         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
9259         add description for sete[ug]id and general cleanup.
9260         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9262 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9264         * Makefile (parent-clean): Don't remove makefile fragments here.
9265         (postclean): New variable.
9266         (clean): Remove makefile fragments here.
9267         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
9268         (generated): Add isomac and isomanc.out.
9269         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
9270         avoid-generated is set.
9271         (postclean-generated): Add soversion.mk.
9272         ($(common-objpfx)version.mk): Don't include if avoid-generated is
9273         set.
9274         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
9275         avoid-generated is set.
9276         (common-generated): Add libc.so and libc.so$(libc.so-version).
9277         (generated): Add versioned libraries.
9278         (common-mostlyclean): Also remove %.so and %_pic.a.
9279         * csu/Makefile (generated): Add abi-tag.h.
9280         * db2/Makefile (extra-objs): Add getlong.o.
9281         * elf/Makefile (generated): Add ld.so, ldd and
9282         $(rtld-installed-name).
9283         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
9284         * malloc/Makefile (generated): Add mtrace.
9285         * po/Makefile: Don't include version.mk, not needed any more.
9286         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
9287         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
9288         syscall.h -> sys/syscall.h.
9289         (common-generated): Add s-proto.d.
9290         (postclean-generated): Add sysd-syscalls.
9291         * localedata/Makefile (test-output): Add all output files.
9292         (generated): Add test-input and test-output.
9293         (generated-dirs): Add all the dirs.
9295 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9297         * Makefile (test-output, generated, generated-dirs): New
9298         variables.
9300 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9302         * resolv/nss_dns/dns-host.c: Various code cleanups.
9304 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9306         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9307         From Philip Blundell <pb@nexus.co.uk>.
9308         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9310 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9312         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9313         Suggested by debian/sparc porters.
9315 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9317         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9318         for ecvt and fcvt.
9320 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9322         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9323         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9325         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9326         defined even if __USE_POSIX is not defined.
9328 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9330         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9331         to support obsolete tty major numbers correctly.
9333 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9335         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9336         directory first and ignore install error.
9338         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9339         128 from ptyno and fix a typo for the BSD style pty.
9341 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9343         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9344         syscalls.list's.
9346 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9348         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9349         getresuid and getresgid.
9351         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9352         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9354         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9355         s_getres[ug]id.
9357         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9358         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9359         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9360         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9362 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9364         * nscd/grpcache.c: Include <stdlib.h>.
9366 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9368         * stdlib/atoll.c: Fix comments.
9370         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9371         * sysdeps/posix/ttyname_r.c: Ditto.
9373 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9375         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9376         __USE_MISC, independent of __USE_UNIX98.
9378 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9380         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9381         Rename from __libc_have_rt_sigs and leave as COMMON data.
9383 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9385         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9386         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9388         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9389         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9390         version symbols.
9391         * include/libc-symbols.h (symbol_version, default_symbol_version):
9392         Provide asm versions and correct !DO_VERSIONING versions.
9393         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9394         the weak symbol list.
9396         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9397         Rename from __libc_have_rt_sigs and leave as COMMON data.
9398         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9399         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9400         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9402 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9404         * sunrpc/Makefile: Correct dependencies of rpcgen.
9406 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9408         * nscd/Makefile: Fix test for available linuxthreads add-on.
9409         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9411 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9413         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9415 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9417         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9419         * manual/errno.texi (Error Messages): Correct description of
9420         strerror_r.  Pointed out by jonas@bagge.se.
9422 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9424         * manual/socket.texi (Host Address Functions): Clarify description
9425         of inet_network.
9427 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9429         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9430         (grantpt): Delete superfluous cast.
9432 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9434         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9435         elf/ldso_install instead of elf/subdir_install.
9436         (elf/ldso_install): New target.
9438         * elf/Makefile (ldso_install): New target.
9440 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9442         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9443         of 1998-01-06.
9445 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9447         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9448         constant expressions.
9450 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9452         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9453         for __nss_configure_lookup.
9454         (output_hostent): Remove unused variable.
9456 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9458         * string/tst-inlcall.c: Fix format string.
9460 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9462         * inet/netinet/in.h: Rename second parameter of bindresvport to
9463         avoid buggy gcc warning. [PR libc/412]
9465 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9467         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9468         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9470         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9471         Follow POSIX and make tv_sec a time_t.
9472         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9473         new tv64 syscall as well as fall back to tv32.
9474         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9475         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9476         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9477         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9478         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9479         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9480         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9481         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9483         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9484         * include/rpcsvc/nis_tags.h: Likewise.
9485         * include/rpcsvc/nislib.h: Likewise.
9487 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9489         * libc.map: Add _h_errno.
9490         * inet/herrno.c: Make _h_errno weak alias.
9492         * login/Makefile (distribute): Add pty-internal.h.
9494         * nscd/Makefile (distribute): Add all the files missing.
9496         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9497         are available.
9499         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9500         and report status at the end.
9502         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9504         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9505         variable.
9506         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9507         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9510 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9512         * configure.in: Fix --enable-add-ons code.
9514 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9516         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9517         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9518         [PR libc/441]
9520         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9521         occurence in cache.  Reported by Rudolf Leitgeb
9522         <leitgeb@leland.stanford.edu>.
9523         [PR libc/440]
9525 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9527         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9528         that it never is EINTR (which is tested for in _IO_vfscanf).
9530         * Makefile.in: Call sub-make with CVSOPTS.
9532         * elf/Makefile (distribute): Add dl-procinfo.h.
9534         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9536 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9538         * version.h (VERSION): Bump to 2.0.92.
9540 1998-01-31  Phil Blundell  <philb@gnu.org>
9542         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9543         alias for __new_sys_siglist.
9545 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9547         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9548         getgrgid_r.c if thread package is available.
9549         * pwd/Makefile: Likewise.
9550         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9551         * grp/getgrgid_r.c: Likewise.
9552         * pwd/getpwnam_r.c: Likewise.
9553         * pwd/getpwuid_r.c: Likewise.
9555 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9557         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9558         with error to allow user intervention.
9559         * nss/getXXent_r.c: Likewise.
9561 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9563         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9564         AT_PLATFORM string.  Pretty print AT_BASE info.
9566         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9567         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9568         * sysdeps/generic/dl-procinfo.h: New file.
9569         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9571 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9573         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9575         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9576         thread and not pthread_detach.
9578         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9580 1998-01-31  Phil Blundell  <philb@gnu.org>
9582         * configure.in: Add --without-cvs option to suppress automatic
9583         checkin of regenerated files.
9584         * config.make.in: Likewise.
9585         * Makefile: Respect with-cvs setting.
9586         * Makerules: Likewise.
9588         * configure.in: Allow the standalone ARM port to be configured.
9590 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9592         * grp/getgrgid_r.c: Define USE_NSCD.
9593         * grp/getgrnam_r.c: Likewise.
9594         * pwd/getpwuid_r.c: Likewise.
9595         * pwd/getpwnam_r.c: Likewise.
9597         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9599         * nss/getXXbyYY_r.c: Try at first nscd.
9601         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9602         * nscd/connections.c: New file.
9603         * nscd/dbg_log.c: New file.
9604         * nscd/dbg_log.h: New file.
9605         * nscd/grpcache.c: New file.
9606         * nscd/nscd.c: New file.
9607         * nscd/nscd.h: New file.
9608         * nscd/nscd_conf.c: New file.
9609         * nscd/nscd_stat.c: New file.
9610         * nscd/pwdcache.c: New file.
9612         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9613         * nscd/nscd_getpw_r.c: Likewise.
9614         * nscd/nscd_proto.h: New, prototypes for client functions.
9616         * nscd/nscd.conf: New, example for a configuration file.
9617         * nscd/nscd.init: New, example for a startup script.
9619         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9620         avoid deadlocks.
9621         * nscd/getgrnam_r.c: Likewise.
9622         * nscd/getpwnam_r.c: Likewise.
9623         * nscd/getpwuid_r.c: Likewise.
9625 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9627         * intl/Makefile: Use CVSOPTS in cvs invocation.
9628         * po/Makefile: Likewise.
9629         * posix/Makefile: Likewise.
9630         * stdlib/Makefile: Likewise.
9632 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9634         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9635         [PR libc/410]
9636         * misc/Makefile (tests): Add tst-efgcvt.
9637         * misc/tst-efgcvt.c: New file.
9639 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9641         * posix/regex.c: Add some more cleanups by Akim Demaille.
9643 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9645         * signal/signal.h: Revert last change.
9646         * string/strsignal.c: Regard signal number NSGI as illegal.
9647         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9648         members.
9650 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9652         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9653         * Makerules: Use CVSOPTS in cvs invocation.
9654         * Makefile: Likewise.
9655         * MakeTAGS: Likewise.
9656         * Make-dist: Likewise.
9658 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9660         * sysdeps/generic/memmem.c: Correct last change.
9662 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9664         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9665         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9667 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9669         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9670         before using RPC.
9672 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9674         * manual/memory.texi (Heap Consistency Checking): mcheck is
9675         declared in <mcheck.h>.
9676         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9678 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9680         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9681         beginning of haystack.
9683 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9685         * nss/nss_files/files-service.c: Correct last patch.
9687 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9689         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9690         __libc_have_rt_sigs.
9691         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9692         including <bits/setjmp.h>.
9693         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9694         Patch from the Debian glibc/SPARC package.
9696 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9698         * sysdeps/alpha/bzero.S: Fix a typo.
9699         * sysdeps/alpha/htonl.S: Ditto.
9700         * sysdeps/alpha/htons.S: Ditto.
9702 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9704         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9706 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9708         * include/cpio.h: Move to ...
9709         * posix/cpio.h: ...here.
9711         * locale/programs/ld-collate.c: Fix typo.
9713         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9715         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9717         * login/utmp_file.c (pututline_file): Don't always report success
9718         if similar entry is found.  Patch by Mark M. Kettenis.
9720 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9722         * manual/Makefile: Don't try to install the info files if makeinfo
9723         is not available.
9725 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9727         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9728         kernel's network ioctls, rather than using <linux/sockios.h> to
9729         get them.  This way we are sure of maintaining compatibility if
9730         the kernel interface should change.
9732 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9734         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9736 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9738         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9741 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9743         Implement System V pseudoterminal handling.
9745         * login/Makefile
9746         (routines): Add getpt, grantpt, unlockpt, ptsname.
9747         (libutil-routines): Remove pty. Add openpty, forkpty.
9748         (distribute): New internal header pty-internal.h.
9749         (others): Add the helper program, pt_chown.
9750         (install-others): Install it, in $(libexecdir), mode 4755.
9752         * login/pty-internal.h: New file.
9753         * login/openpty.c: New file.
9754         * login/forkpty.c: New file.
9755         * login/programs/pt_chown.c: New file.
9757         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9758         * stdlib/stdlib.h: Prototype them.
9760         * config.make.in: Define $(libexecdir).
9761         * Makeconfig: Define $(inst_libexecdir).
9763         * sysdeps/generic/pty.c: Removed.
9764         * sysdeps/unix/sysv/linux/pty.c: Removed.
9766         * sysdeps/generic/getpt.c: Stub out.
9767         * sysdeps/generic/grantpt.c: Likewise.
9768         * sysdeps/generic/ptsname.c: Likewise.
9769         * sysdeps/generic/unlockpt.c: Likewise.
9771         * sysdeps/unix/grantpt.c: New file.
9772         * sysdeps/unix/bsd/getpt.c: New file.
9773         * sysdeps/unix/bsd/unlockpt.c: New file.
9774         * sysdeps/unix/sysv/linux/getpt.c: New file.
9775         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9776         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9778 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9780         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9782 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9784         * nss/Makefile (tests): Add rule for test-netdb.c.
9786         * nss/test-netdb.c: New file.
9788 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9790         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9791         really kept as a variable.  Patch by Richard Henderson,
9792         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9794         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9795         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9796         entries as not existing.
9798 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9800         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9801         zero in alternate form with precision of zero, which must produce
9802         "0".  Add braces to avoid ambiguous `else'.
9804 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9806         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9807         problem with strncpy.
9808         * nis/nss_compat/compat-pwd.c: Likewise.
9809         * nis/nss_compat/comapt-spwd.c: Likewise.
9811 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9813         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9814         by uch@nop.or.jp. [PR libc/437]
9816 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9818         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9820 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9822         * stdio-common/test-popen.c: Include <errno.h>.
9824         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9825         close.
9827         * inet/getnetgrent_r.c: Include <errno.h>.
9829         * db2/db/db_conv.c: Include <string.h> for memcpy.
9831         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9832         so that memcpy is declared.
9834         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9836         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9838 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9840         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9841         overflow while reading line with fgets.
9842         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9844 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9846         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9847         unsigned short, not short.
9848         Reported by Andreas Jaeger.
9850 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9852         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9853         (ccept->accept).
9855         * sysdeps/generic/inttypes.h: Fix spelling.
9857 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9859         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9861         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9863 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9865         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9866         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9867         field for hh modifier.
9868         * stdio-common/vfprint.c: Use is_char field and do not depend in
9869         is_short having the value 2.
9870         Bug reported by Andreas Jaeger.
9872 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9874         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9875         PIC && DO_VERSIONING.
9877 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9879         * Rules: Add rules for $(common-objpfx)dummy$o.
9881 1998-01-26  Richard Henderson  <rth@cygnus.com>
9883         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9884         unimplemented OSF/1 definitions so that they are not accidentally seen.
9886         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9887         of the trampoline function into the macro.
9888         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9889         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9890         kernel 2.1.82 has this fixed.
9892         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9893         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9895 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9897         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9898         support sigaction on kernels > 2.1.7x.
9900 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9902         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9903         if it is empty.
9905         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9906         Patch by David Engel <david@sw.ods.com>.
9908         * configure.in: Fix another typo in --enable-add-ons code.
9910 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9912         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9914 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9916         * nss/nss_files/files-network.c: Correct order of parameters for
9917         getnetbyaddr.
9919 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9921         * db2/Makefile (routines): Add os_alloc.
9922         * db2/db.h: Update from db-2.3.16.
9923         * db2/db_185.h: Likewise.
9924         * db2/db_int.h: Likewise.
9925         * db2/btree/bt_close.c: Likewise.
9926         * db2/btree/bt_cursor.c: Likewise.
9927         * db2/btree/bt_delete.c: Likewise.
9928         * db2/btree/bt_open.c: Likewise.
9929         * db2/btree/bt_page.c: Likewise.
9930         * db2/btree/bt_put.c: Likewise.
9931         * db2/btree/bt_rec.c: Likewise.
9932         * db2/btree/bt_recno.c: Likewise.
9933         * db2/btree/btree_auto.c: Likewise.
9934         * db2/common/db_appinit.c: Likewise.
9935         * db2/common/db_apprec.c: Likewise.
9936         * db2/common/db_err.c: Likewise.
9937         * db2/common/db_region.c: Likewise.
9938         * db2/common/db_shash.c: Likewise.
9939         * db2/db/db.c: Likewise.
9940         * db2/db/db_auto.c: Likewise.
9941         * db2/db/db_conv.c: Likewise.
9942         * db2/db/db_dispatch.c: Likewise.
9943         * db2/db/db_dup.c: Likewise.
9944         * db2/db/db_pr.c: Likewise.
9945         * db2/db/db_rec.c: Likewise.
9946         * db2/db185/db185.c: Likewise.
9947         * db2/dbm/dbm.c: Likewise.
9948         * db2/hash/hash.c: Likewise.
9949         * db2/hash/hash_auto.c: Likewise.
9950         * db2/hash/hash_dup.c: Likewise.
9951         * db2/hash/hash_page.c: Likewise.
9952         * db2/hash/hash_rec.c: Likewise.
9953         * db2/include/btree_ext.h: Likewise.
9954         * db2/include/clib_ext.h: Likewise.
9955         * db2/include/common_ext.h: Likewise.
9956         * db2/include/db.h.src: Likewise.
9957         * db2/include/db_185.h.src: Likewise.
9958         * db2/include/db_am.h: Likewise.
9959         * db2/include/db_ext.h: Likewise.
9960         * db2/include/db_int.h.src: Likewise.
9961         * db2/include/hash_ext.h: Likewise.
9962         * db2/include/lock_ext.h: Likewise.
9963         * db2/include/log.h: Likewise.
9964         * db2/include/log_auto.h: Likewise.
9965         * db2/include/log_ext.h: Likewise.
9966         * db2/include/mp.h: Likewise.
9967         * db2/include/mp_ext.h: Likewise.
9968         * db2/include/mutex_ext.h: Likewise.
9969         * db2/include/os_ext.h: Likewise.
9970         * db2/include/os_func.h: Likewise.
9971         * db2/include/txn_ext.h: Likewise.
9972         * db2/lock/lock.c: Likewise.
9973         * db2/lock/lock_util.c: Likewise.
9974         * db2/log/log.c: Likewise.
9975         * db2/log/log.src: Likewise.
9976         * db2/log/log_archive.c: Likewise.
9977         * db2/log/log_auto.c: Likewise.
9978         * db2/log/log_get.c: Likewise.
9979         * db2/log/log_put.c: Likewise.
9980         * db2/log/log_rec.c: Likewise.
9981         * db2/log/log_register.c: Likewise.
9982         * db2/mp/mp_bh.c: Likewise.
9983         * db2/mp/mp_fget.c: Likewise.
9984         * db2/mp/mp_fopen.c: Likewise.
9985         * db2/mp/mp_fput.c: Likewise.
9986         * db2/mp/mp_pr.c: Likewise.
9987         * db2/mp/mp_sync.c: Likewise.
9988         * db2/mutex/mutex.c: Likewise.
9989         * db2/os/os_alloc.c: Likewise.
9990         * db2/os/os_config.c: Likewise.
9991         * db2/os/os_stat.c: Likewise.
9992         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9993         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9994         * db2/progs/db_load/db_load.c: Likewise.
9995         * db2/progs/db_printlog/db_printlog.c: Likewise.
9996         * db2/progs/db_recover/db_recover.c: Likewise.
9997         * db2/progs/db_stat/db_stat.c: Likewise.
9998         * db2/txn/txn.c: Likewise.
10000         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
10001         Unmap memory blocks in reverse order of allocation.
10002         Call munmap with load address added to offset.
10003         Bug reported by Miguel de Icaza.
10005         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
10006         up weight array.
10008         * localedata/locales/cs_CZ: Update by Michael Mraka
10009         <michael@informatics.muni.cz>.
10011         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
10012         __USE_BSD.
10014         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
10015         reading line with fgets.
10016         * nis/nss_compat/compat-pwd.c: Likewise.
10017         * nis/nss_compat/compat-spwd.c: Likewise.
10018         * nss/nss_files/files-XXX.c: Likewise.
10019         * nss/nss_files/files-alias.c: Likewise.
10020         * shadow/fgetspent_r.c: Likewise.
10022         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
10024         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
10025         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10026         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10028         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
10029         FP register content in ucontext_t.
10031 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10033         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
10034         calculation.  Patch by Markus Schoder
10035         <Markus.Schoder@dresdner-bank.de>.
10037         * math/libm-test.c (modf_test): Add more tests for modf.
10039         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
10040         munlock according to Unix98.
10042 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10044         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
10045         AF_INET.
10047 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
10049         * sysdeps/posix/ttyname.c: Handle symbolic links.
10050         * sysdeps/posix/ttyname_r.c: Ditto.
10052 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
10054         * db2/makedb.c (process_input): Write terminating \0 for value.
10055         (print_database): Simply print value string, don't use length.
10057 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10059         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
10060         exit of loop.
10062 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10064         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
10065         close all sockets.
10067 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
10069         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
10070         sigset.
10071         * signal/sighold.c: New file.
10072         * signal/sigrelse.c: New file.
10073         * sysdeps/generic/sigignore.c: New file.
10074         * sysdeps/generic/sigset.c: New file.
10075         * sysdeps/posix/sigignore.c: New file.
10076         * sysdeps/posix/sigset.c: New file.
10077         * signal/signal.h: Add prototypes for new functions.
10079         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
10080         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
10081         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
10082         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
10084 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
10086         * posix/wordexp.c: Added IFS field-splitting in parameter and
10087         command substitution.  Fixed an IFS-related bug that caused an
10088         infinite loop.
10090 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
10092         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
10093         and swapcontext.
10094         * stdlib/ucontext.h: Correct prototypes.
10095         * sysdeps/generic/getcontext.c: New file.
10096         * sysdeps/generic/setcontext.c: New file.
10097         * sysdeps/generic/makecontext.c: New file.
10098         * sysdeps/generic/swapcontext.c: New file.
10099         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
10101 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
10103         * resource/sys/resource.h: Remove #include of ulimit.h which is
10104         not allowed by SUSv2 and not available on other systems.
10105         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
10107         * streams/Makefile: New file.
10108         * streams/stropts.h: New file.
10109         * sysdeps/generic/bits/stropts.h: New file.
10110         * sysdeps/generic/isastream.c: New file.
10111         * sysdeps/generic/getmsg.c: New file.
10112         * sysdeps/generic/getpmsg.c: New file.
10113         * sysdeps/generic/putmsg.c: New file.
10114         * sysdeps/generic/putpmsg.c: New file.
10115         * sysdeps/generic/fattach.c: New file.
10116         * sysdeps/generic/fdetach.c: New file.
10117         * sysdeps/unix/inet/Subdirs: Add streams.
10118         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
10119         __t_uscalar_t.
10120         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10121         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10122         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10123         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10125         * sysdeps/mach/_strerror.c: Follow changes of generic version to
10126         handle small buffers correctly.
10128 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
10130         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10131         Remove the 3rd arg and add declaration for _dl_runtime_resolve
10132         and _dl_runtime_profile.
10134 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
10136         * include/cpio.h: New file.  Mainly copied from GNU cpio.
10137         * posix/Makefile (headers): Add cpio.h.
10139 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10141         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
10142         to routines.
10143         * nis/nis_cache.c: New file.
10144         * nis/nis_cache2.h: New file.
10145         * nis/nis_cache2_xdr.c: New file.
10146         * nis/nis_call.c: Changes for cache2_info parameter.
10147         * nis/nis_checkpoint.c: Likewise.
10148         * nis/nis_intern.h: Likewise.
10149         * nis/nis_mkdir.c: Likewise.
10150         * nis/nis_ping.c: Likewise.
10151         * nis/nis_rmdir.c: Likewise.
10152         * nis/nis_server.c: Likewise.
10153         * nis/nis_util.c: Likewise.
10155 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10157         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
10158         return/errnop codes.
10159         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10160         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10161         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10162         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10163         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10164         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10165         * nis/nss_nisplus/nisplus-rpc.c: Likewise
10166         * nis/nss_nisplus/nisplus-service.c: Likewise.
10167         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10169 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10171         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
10172         * nis/nss_nis/nis-ethers.c: Likewise.
10173         * nis/nss_nis/nis-grp.c: Likewise.
10174         * nis/nss_nis/nis-hosts.c: Likewise.
10175         * nis/nss_nis/nis-network.c: Likewise.
10176         * nis/nss_nis/nis-proto.c: Likewise.
10177         * nis/nss_nis/nis-hosts.c: Likewise.
10178         * nis/nss_nis/nis-network.c: Likewise.
10179         * nis/nss_nis/nis-proto.c: Likewise.
10180         * nis/nss_nis/nis-publickey.c: Likewise.
10181         * nis/nss_nis/nis-pwd.c: Likewise.
10182         * nis/nss_nis/nis-rpc.c: Likewise.
10183         * nis/nss_nis/nis-service.c: Likewise.
10184         * nis/nss_nis/nis-spwd.c: Likewise.
10186 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
10188         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
10189         Added to follow latest kernel development.
10191 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
10193         * nss/db-Makefile: Handle empty and comment lines better.
10194         ($(VAR_DB)/services.db): Generate entries with missing protocol
10195         value.
10197 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10199         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
10200           NULL.
10201           (getservbyname): Allow proto == NULL.
10202           Pointed out by David N. Welton <davidw@gate.cks.com>.
10203           [PR libc/430].
10205 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
10207         * nis/nislib/nislib.h: Finally removed.
10209         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
10210         C compiler.  From Kaveh Ghazi.
10211         (TYPE_MINIMUM): Define.
10212         (TYPE_MAXIMUM): Define.
10213         (TIME_T_MIN): Use TYPE_MINIMUM.
10214         (TIME_T_MAX): Use TYPE_MAXIMUM.
10215         Patch by Jim Meyering <meyering@ascend.com>.
10217 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
10219         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
10220         __pread64, __pwrite64, and __getpid.
10222         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
10223         versions.
10225 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10227         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
10228         cancelable socket functions as __libc_xxx with __xxx as weak
10229         alias.
10230         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
10231         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10233         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
10234         redefined.
10235         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10236         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
10237         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10238         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10240         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
10241         and __xxx a weak alias.
10242         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10243         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10244         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10245         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10246         * sysdeps/unix/sysv/linux/send.S: Likewise.
10247         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10248         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10250 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10252         * locale/langinfo.h: Add defines.
10254         * dirent/dirent.h: Add defines for DT_*, check also for
10255         _DIRENT_HAVE_D_TYPE.
10256         Suggested by Roland McGrath.
10258 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10260         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
10261         Update from Linux 2.1.73+79.
10263         * README.template: Update information about possible
10264         configurations.
10266         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
10267         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10268         [PR libc/417].
10270         * manual/time.texi (Priority): Correct description of
10271         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10272         [PR libc/416].
10274 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
10276         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
10277         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
10279 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
10281         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
10282         Andreas Jaeger.
10284 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
10286         * locale/programs/ld-collate.c: Little optimizations.
10288         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10290         * string/Makefile (tests): Add tst-inlcall.
10291         * string/tst-inlcall.c: New file.
10293         * string/strsignal.c: Add support for real-time signals.
10295         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10296         presense of small buffer.
10298         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10300         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10301         for i686.
10303         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10304         _NSIG + 1.
10306 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10308         * Rules: Add explicit rule for dummy.o; at least one library needs
10309           it and it isn't autogenerated by the default rules.
10311 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10313         * math/libm-test.c: Tweak epsilons.
10315 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10317         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10318         child.
10319         (feenv_mask_test): Likewise.
10321 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10323         * Makeconfig: Don't export CPPFLAGS.
10325 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10327         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10328         message.
10330 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10332         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10333         terminating null in key size.
10335 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10337         * nss/nss_files/files-service.c: Fix allocation size to include
10338         length of PROTO.
10340         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10341         applicable.  Fix return value and error checking.
10342         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10343         unparsable lines.
10344         (DB_LOOKUP): Allocate space for terminating null byte.
10346         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10347         uids specially.
10349         * db2/makedb.c (process_input): Continue processing if a duplicate
10350         key is encountered.
10352 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10354         * time/tzfile.h: Updated from tzcode1998b.
10355         * time/zdump.c: Likewise.
10356         * time/zic.c: Likewise.
10357         * time/africa: Update from tzdata1998b.
10358         * time/antarctica: Likewise.
10359         * time/asia: Likewise.
10360         * time/australasia: Likewise.
10361         * time/etcetera: Likewise.
10362         * time/europe: Likewise.
10363         * time/leapseconds: Likewise.
10364         * time/northamerica: Likewise.
10365         * time/southamerica: Likewise.
10367 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10369         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10370         lookups ignoring case.
10371         * nss/nss_files/files-network.c: Do network lookups ignoring
10372         case.
10373         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10374         case.
10375         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10376         case insensitive comparing.
10377         Patches by Cristian Gafton <gafton@redhat.com>.
10379 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10381         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10382         by Roland McGrath. [PR libc/395]
10384 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10386         * manual/arith.texi (Parsing of Integers): Correct description of
10387         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10388         [PR libc/396]
10390 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10392         * misc/lsearch.c (lsearch): Return a pointer to the new element
10393         if one was "allocated".
10395 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10397         * string/strsignal.c: NSIG is not a valid index into
10398         _sys_siglist.  Don't zap the last character of the "Unknown
10399         signal" message.
10401 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10403         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10404         ellipsis expressions.
10406         * locale/programs/charset.c (insert_char): Correctly insert value
10407         of eliipsis expression.
10409 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10411         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10412         <bits/setjmp.h>.
10413         * sysdeps/powerpc/setjmp.S: Likewise.
10414         Patches by Matt McLean <keys@keys.got.net>.
10416         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10418         * Makefile: Undo last patch.
10419         (distribute): Add test-installation.pl.
10421         * configure.in: Correct handling of --enable-add-ons without parameter.
10422         Correct address of WWW pages.
10424         * libc.map: Add _nl_domain_bindings.
10426         * db2/mutex/tsl_parisc.s: New file.
10428         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10429         and extra-module.mk.
10431         * localedata/Makefile (distribute): New.  Add all the files.
10433         * stdlib/Makefile (headers): Add inttypes.h.
10434         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10435         * sysdeps/generic/inttypes.h: New file.
10436         * sysdeps/generic/strtoimax.c: New file.
10437         * sysdeps/generic/strtoumax.c: New file.
10438         * sysdeps/generic/wcstoimax.c: New file.
10439         * sysdeps/generic/wcstoumax.c: New file.
10440         * sysdeps/wordsize-32/Dist: Removed.
10441         * sysdeps/wordsize-32/Makefile: Removed.
10442         * sysdeps/wordsize-64/Dist: Removed.
10443         * sysdeps/wordsize-64/Makefile: Removed.
10444         * sysdeps/generic/bits/environments.h: New file.
10446         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10447         header is still not correct.
10449         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10450         * posix/unistd.h: Likewise.
10451         * sysdeps/generic/sys/mman.h: Likewise.
10452         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10454         * manual/arith.texi: Change definition of mul macro.
10455         * manual/math.texi: Likewise.
10457         * misc/Makefile (routines): Add mmap64.
10458         * sysdeps/generic/mmap64.c: New file.
10459         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10460         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10461         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10462         aliases to mmap.
10463         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10465         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10467         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10469         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10471         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10472         FOPEN_MAX also when included by limits.h.
10473         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10475         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10476         and netrom/netrom.h.
10477         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10478         oldsiglist to sysdep_routines, not aux.
10479         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10481         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10482         and SOL_NETROM definition.
10484         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10486         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10487         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10489 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10491         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10493         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10494         sa_handler with k_sa_handler.
10495         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10496         strong alias.
10497         Reported by a sun.
10499         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10500         __libc_have_rt_sigs here.
10501         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10502         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10503         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10504         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10506 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10508         * sysdeps/powerpc/atomicity.h: New file.
10509         * sysdeps/mach/powerpc/machine-lock.h: New file.
10511         * Rules: Use -fpic to build anything that might end up in a users'
10512         shared library.
10514         * sysdeps/powerpc/s_fdim.c: New file.
10515         * sysdeps/powerpc/s_fdimf.c: New file.
10516         * sysdeps/powerpc/s_fmax.S: New file.
10517         * sysdeps/powerpc/s_fmaxf.S: New file.
10518         * sysdeps/powerpc/s_fmin.S: New file.
10519         * sysdeps/powerpc/s_fminf.S: New file.
10520         * sysdeps/powerpc/s_llrint.c: Now is for double.
10521         * sysdeps/powerpc/s_llrintf.c: New file.
10522         * sysdeps/powerpc/s_llround.c: Now is for double.
10523         * sysdeps/powerpc/s_llroundf.c: New file.
10524         * sysdeps/powerpc/s_lrint.c: Now is for double.
10525         * sysdeps/powerpc/s_lrintf.S: New file.
10526         * sysdeps/powerpc/s_lround.c: Now is for double.
10527         * sysdeps/powerpc/s_lroundf.c: New file.
10528         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10529         lrintf, fdim, fdimf.
10531         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10532         file directly, use its parent.
10534         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10535         (for the third time).
10537 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10539         * posix/sched.h: timespec is in <time.h>.
10541         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10543 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10545         * configure.in: Stop with error if --disable-static is used when
10546         the shared lib uses this library.
10548         * gen-FAQ.pl: I've perl installed in /usr/bin.
10550         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10552         Fix Unix98 conformance problems in the headers.
10553         * catgets/nl_types.h: Define nl_item.
10554         * grp/grp.h: Define gid_t.
10555         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10556         * include/nl_types.h: New file.
10557         * include/ulimit.h: New file.
10558         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10559         constants in POSIX mode.
10560         * io/utime.h: Get definition for time_t.
10561         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10562         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10563         * libio/stdio.h: Define va_list.  Make snprintf also available is
10564         __USE_UNIX98.  Declare getopt function and variables.
10565         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10566         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10567         * math/math.h: Defined M_* constants as double for Unix98 mode.
10568         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10569         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10570         * posix/regex.h: Define REG_NOSYS.
10571         * posix/wordexp.h: Define WRDE_NOSYS.
10572         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10573         500 for Unix98.
10574         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10575         somewhere else as well.  Define clock_t for Unix98.
10576         * posix/sys/wait.h: Define pid_t.
10577         * pwd/pwd.h: Define gid_t, uid_t.
10578         * resource/Makefile (headers): Add ulimit.h.
10579         * resource/ulimit.h: New file.
10580         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10581         instead of second argument.
10582         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10583         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10584         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10585         * signal/signal.h: Define pid_t.
10586         * string/string.h: Don't declare BSD string functions in POSIX mode.
10587         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10588         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10589         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10590         and POSIX.
10592         * inet/test_ifindex.c: Change test so that it does not fail for
10593         interface aliases.
10595         * locale/programs/locale.c (show_info): Use correct cast sequence
10596         for 64bit machines.
10598         * malloc/malloc.c: __malloc_initialized now signals three states:
10599         uninitialized, initializing, initialized.  Used in mcheck.
10600         * malloc/mcheck.c (mabort): Add '\n' to messages.
10601         (mcheck): Allow installation when malloc is uninitialized or is
10602         just initializing.
10604         * manual/memory.texi: Explain mtrace output a bit more.
10606         * math/libm-test.c: Add more epsilons.
10608         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10610         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10611         instead of strcpy for security.
10612         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10613         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10614         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10616         * nss/digits_dots.c: Pretty print.
10618         * posix/getconf.c (vars): Add symbols for programming environment
10619         recognition.  Recognize --version.
10621         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10622         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10623         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10625         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10626         __need_FOPEN_MAX.
10627         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10628         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10629         __need_FOPEN_MAX.
10631         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10632         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10634         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10635         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10636         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10637         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10638         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10639         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10641         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10642         SCNu*.
10643         * sysdeps/wordsize-64/inttypes.h: Likewise.
10645         * time/africa: Update from tzdata1997j.
10646         * time/antarctica: Likewise.
10647         * time/asia: Likewise.
10648         * time/australasia: Likewise.
10649         * time/backward: Likewise.
10650         * time/etcetera: Likewise.
10651         * time/europe: Likewise.
10652         * time/factory: Likewise.
10653         * time/northamerica: Likewise.
10654         * time/pacificnew: Likewise.
10655         * time/southamerica: Likewise.
10657         * time/tzfile.h: Update from tzcode1997h.
10658         * time/zic.c: Likewise.
10660         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10661         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10662         isw*() functions for Unix98.
10663         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10664         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10665         is defined.
10667 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10669         * locale/duplocale.c: Increase usage_count only if less than
10670         MAX_USAGE_COUNT.
10671         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10672         MAX_USAGE_COUNT.
10673         * locale/setlocale.c: Likewise.
10675 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10677         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10678         dependency to make it easier to install it selectively.
10680         * Makerules (.SUFFIXES): Don't define any suffixes.
10682 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10684         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10685         * sysdeps/generic/statfs64.c: Emulate using statfs.
10686         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10687         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10688         * sysdpes/generic/ftruncate64.c: New file.
10689         * sysdpes/generic/truncate64.c: New file.
10691         * sysdeps/generic/bits/stat.h: Add LFS support.
10692         * sysdeps/generic/bits/statfs.h: Likewise.
10694         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10695         [__USE_FILE_OFFSET64]: Make long long constant.
10696         (RLIM64_INFINITY): Likewise.
10698         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10699         for LFS support.
10700         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10701         * sysdeps/generic/bits/resource.h: Likewise.
10703         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10705         * include/features.h: Don't prevent LFS support from defining BSD
10706         and SYSV things.
10708         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10709         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10710         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10712         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10713         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10714         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10716         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10717         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10718         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10719         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10720         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10721         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10722         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10723         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10724         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10725         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10726         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10727         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10728         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10729         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10730         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10731         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10732         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10733         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10734         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10735         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10737         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10738         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10739         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10740         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10741         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10743         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10745         [$(subdir)=dirent]: Add getdents64.
10746         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10748         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10750 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10752         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10754         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10755         * sysdeps/generic/getrlimit64.c: Likewise.
10756         * sysdeps/generic/setrlimit.c: Likewise.
10757         * sysdeps/generic/setrlimit64.c: Likewise.
10759 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10761         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10762         using versioning.
10764         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10766         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10768 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10770         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10771         after the codeset name.
10773 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10775         * libc.map: Add get_kernel_syms.
10777 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10779         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10780         static.
10781         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10782         Likewise.  Fix condition.
10784 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10786         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10788 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10790         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10791         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10793 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10795         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10796         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10797         instead.  Oops.
10799 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10801         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10803 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10805         * math/libm-test.c (catanh_test): Change epsilon.
10806         Reported by H.J. Lu.
10808 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10810         * libc.map (__getpid): Added for linuxthreads.
10812 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10814         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10815         it if gcc uses static variable in DWARF2 unwind information
10816         for exception support.
10818         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10820         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10821         HAVE_DWARF2_UNWIND_INFO_STATIC.
10823         * libc.map (__register_frame*, __deregister_frame*): Make them
10824         global.
10826 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10828         * math/libm-test.c: Add more tests for "normal" values.
10830 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10832         * stdio-common/printf_fphex.c: Fix printing of long double number
10833         with a biased exponent of zero.  Fix rounding.
10835 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10837         * sunrpc/rpc_main.c: Accept new flag -$.
10838         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10840 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10842         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10843         dynamic linker first, in case the interface has changed.
10845 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10847         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10848         order.
10850 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10852         * math/tgmath.h: Check for double first, for architectures where
10853         sizeof (long double) == sizeof (double).
10855 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10857         * math/libm-test.c: New tests for "normal" values added for most
10858         functions.
10860 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10862         * version.h (VERSION): Bump to 2.0.91.
10864         * db2/makedb.c (process_input): Fix typo in message.
10865         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10867         * elf/dynamic-link.h: Pretty print.
10869         * elf/rtld.c: Allow multiple preloading of a shared object.
10871         * include/limits.h: Prevent multiple inclusion.
10873         * malloc/Makefile (headers): Add mcheck.h.
10874         (distribute): Remove it here.
10875         * malloc/mcheck.h: Pretty print.
10876         * malloc/mtrace.c (mallenv): Make `const'.
10877         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10878         are none.
10879         * manual/memory.texi: Update descriptor of malloc hooks.
10881         * posix/Makefile (routines): Add waitid.
10882         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10883         on __id_t.
10884         * posix/sys/wait.h: Define idtype_t type.
10885         Add prototype for waitid.
10886         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10887         * sysdeps/generic/waitid.c: Stub for waitid.
10888         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10889         the __need_siginfo_t defined.
10890         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10891         * sysdeps/generic/bits/types.h: Define __id_t.
10892         Correct definition of __FDMASK.
10893         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10894         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10895         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10897         * sysdeps/posix/waitid.c: New file.
10898         Provided by Zack Weinberg.
10900         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10902         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10903         Add missing parameters.
10905         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10906         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10907         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10908         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10909         initialized.
10911         * sysdeps/i386/dl-machine.h: Little cleanup.
10913         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10914         (__finite): Mark function as const.
10915         Add inline code for __ieee754_atan2.
10917         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10918         (but don't use it now).
10919         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10920         __atan.
10921         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10922         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10923         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10924         real part.
10925         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10926         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10927         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10928         __ieee754_atan2 to base 10.
10929         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10930         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10932         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10933         old_kernel_sigaction.
10935         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10937         * wctype/Makefile (routines): Add wctype_l.
10938         * wctype/wctype.h: Add declaration of __wctype_l.
10939         * wctype/wctype_l.c: New file.
10941 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10943         * locale/C-ctype.c: Correct data for isw* functions.
10944         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10945         byte order.
10946         * wctype/test_wctype.c: Add test for isw* functions.
10947         * wctype/wctype.c: Return value with expected byte order.
10949 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10951         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10953 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10955         * iconvdata/Makefile: Fix a typo.
10957         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10958         oldsiglist for shared library.
10960         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10961         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10963         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10964         sys_siglist, sys_sigabbrev): New file. Make them as the old
10965         version GLIBC_2.0.
10967         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10968         to GLIBC_2.1.
10970 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10972         * libio/iofgets.c (_IO_fgets): Return an error only if there
10973         is a new error.
10974         * libio/iogets.c (_IO_gets): Ditto.
10976 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10978         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10980         * libio/Makefile (routines, shared-only-routines): Add
10981         oldiofdopen.
10983         * libio/fileops.c: Don't use _IO_FILE_complete.
10984         * libio/iofdopen.c: Ditto.
10985         * libio/iofopen.c: Ditto.
10986         * libio/iofopen64.c: Ditto.
10987         * libio/iopopen.c: Ditto.
10988         * libio/iovdprintf.c: Ditto.
10990         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10992         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10993         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10995         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10996         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10998         * libio/libio.h (_IO_FILE): Add more fields.
10999         (_IO_FILE_complete): Defined and make _IO_FILE be the old
11000         one if _IO_USE_OLD_IO_FILE is defined
11001         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
11002         them _IO_FILE_complete.
11004         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
11005         to adjust vtable.
11006         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
11007         _IO_JUMPS.
11008         (_IO_FILE_complete): Commented out.
11010         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
11011         * libio/oldiofclose.c: Ditto.
11012         * libio/oldiofopen.c: Ditto.
11013         * libio/oldstdfiles.c: Ditto.
11015         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
11016         for the old _IO_FILE.
11018         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
11019         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
11020         and stderr.
11022         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
11023         and remove INAME.
11025         * libio/stdio.c (stdin, stdout, stdin): Don't use
11026         _IO_FILE_complete.
11028         * libio/oldiofdopen.c: New.
11030         * stdio-common/vfprintf.c (buffered_vfprintf): Set
11031         hp->_vtable_offset to 0.
11033 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
11035         * libc.map (_IO_file_open): Added.
11037         * libio/libioP.h (_IO_file_open): Declared.
11039         * libio/fileops.c (_IO_file_open): New.
11040         (_IO_file_fopen): Call _IO_file_open ().
11042         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
11043         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11045 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11047         * signal/signal.h: Fix selection of signal semantics to match
11048         comment.
11050 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11052         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
11053         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
11054         rt_sigreturn.
11055         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
11056         [$(subdir)=signal]: Remove rt_sigreturn.
11057         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
11058         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
11059         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
11061 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11063         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
11064         declarations.
11066 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11068         * iconvdata/extra-module.mk: Expand extra-objs now.
11070 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11072         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
11073         inline functions by feature tests to avoid warning about missing
11074         prototype declarations.
11076 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11078         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
11079         return code for non existent +name entries.
11080         * nis/nss_compat/compat-pwd.c: Likewise.
11081         * nis/nss_compat/compat-spwd.c: Likewise.
11083 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
11085         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
11086         (EIO): Likewise.
11087         (ENOSPC): Likewise.
11088         (EEXIST): Likewise.
11089         (__errno_location): Likewise.
11091         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
11093         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
11095 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11097         * sunrpc/publickey.c: Use new NSS interface.
11099 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
11101         * manual/malloc.texi: Document mtrace/muntrace and the concept.
11103 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11105         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
11106         value, to match spirit of the standard.
11107         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
11108         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
11109         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
11111 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11113         * manual/signal.texi (Signal Stack): Remove spurious @item.
11115 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11117         * rt/aio.h: Remove double semicolon.
11119         * rt/librt.map: Add aio_init.
11121 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
11123         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
11124         * Makefile (subdirs): Replace rt by $(rt).
11126         * shlib-versions: Use version .2 for NSS modules.
11128         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
11129         argument.
11130         * pwd/fgetpwent_r.c: Likewise.
11131         * spwd/fgetspent_r.c: Likewise.
11132         * spwd/sgetspent_r.c: Likewise.
11133         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
11134         Store error number in *ERRNOP.  Little optimization.
11135         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
11136         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
11137         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
11138         (__internal_getnetgrent_r): New argument.
11139         Call __internal_setnetgrent_reuse with new argument.
11140         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
11141         * inet/netgroup.h: Add argument to prototypes.
11142         * nis/nisplus-parser.h: Likewise.
11143         * nis/nss_compat/compat-grp.c: Change everything to store error
11144         code through provided pointer and not use errno.
11145         * nis/nss_compat/compat-pwd.c: Likewise.
11146         * nis/nss_compat/compat-spwd.c: Likewise.
11147         * nis/nss_nis/nis-alias.c: Likewise.
11148         * nis/nss_nis/nis-ethers.c: Likewise.
11149         * nis/nss_nis/nis-grp.c: Likewise.
11150         * nis/nss_nis/nis-hosts.c: Likewise.
11151         * nis/nss_nis/nis-netgrp.c: Likewise.
11152         * nis/nss_nis/nis-network.c: Likewise.
11153         * nis/nss_nis/nis-proto.c: Likewise.
11154         * nis/nss_nis/nis-publickey.c: Likewise.
11155         * nis/nss_nis/nis-pwd.c: Likewise.
11156         * nis/nss_nis/nis-rpc.c: Likewise.
11157         * nis/nss_nis/nis-service.c: Likewise.
11158         * nis/nss_nis/nis-spwd.c: Likewise.
11159         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11160         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11161         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11162         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11163         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
11164         * nis/nss_nisplus/nisplus-network.c: Likewise.
11165         * nis/nss_nisplus/nisplus-parser.c: Likewise.
11166         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11167         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
11168         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11169         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11170         * nis/nss_nisplus/nisplus-service.c: Likewise.
11171         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11172         * nss/nss_db/db-XXX.c: Likewise.
11173         * nss/nss_db/db-alias.c: Likewise.
11174         * nss/nss_db/db-netgrp.c: Likewise.
11175         * nss/nss_files/files-XXX.c: Likewise
11176         * nss/nss_files/files-alias.c: Likewise
11177         * nss/nss_files/files-netgrp.c: Likewise
11178         * nss/nss_files/files-parse.c: Likewise
11179         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
11180         parameter of get functions.
11181         * nss/getXXent_r.c: Likewise.
11183         * localedata/tst-fmon.c: Print debug info if test fails.
11185         * rt/Makefile (routines): Add aio_notify.
11186         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
11187         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
11188         * rt/aio_fsync.c: Likewise.
11189         * rt/aio_misc.c: Likewise.
11190         * rt/aio_misc.h: Likewise.
11191         * rt/aio_read.c: Likewise.
11192         * rt/aio_read64.c: Likewise.
11193         * rt/aio_suspend.c: Likewise.
11194         * rt/aio_write.c: Likewise.
11195         * rt/aio_write64.c: Likewise.
11196         * rt/lio_listio.c: Likewise.
11197         * rt/lio_listio64.c: Likewise.
11198         * rt/aio_notify.c: New file.
11200         * sysdeps/generic/bits/sigset.h: Pretty print.
11202         * sysdeps/posix/pwrite.c: Define weak alias only if function is
11203         really defined as __pwrite.
11205         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
11206         instead of pread64.
11207         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11209         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11210         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
11211         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
11212         size in syscall.
11213         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11214         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11215         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
11216         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11217         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11218         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11219         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
11220         for ACT being NULL.
11221         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
11222         RT signals.
11223         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
11224         __NR_pread is not defined.
11225         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
11226         __NR_pwrite is not defined.
11228 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11230         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
11231         handle for /etc/group back in some more cases.
11232         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
11233         handle for /etc/passwd back in some more cases.
11234         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
11235         handle for /etc/shadow back in some more cases.
11237 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
11239         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
11240         beyound its size.
11241         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
11242         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
11244 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
11246         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
11247         handling.  Don't use macros, we need functions.  Use inline functions
11248         for optimization.
11249         * sysdeps/wordsize-64/inttypes.h: Likewise.
11250         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
11251         and wcstoumax.
11252         * sysdeps/wordsize-64/Makefile: Likewise.
11253         * sysdeps/wordsize-32/Dist: Likewise.
11254         * sysdeps/wordsize-64/Dist: Likewise.
11255         * sysdeps/wordsize-32/strtoimax.c: New file.
11256         * sysdeps/wordsize-32/strtoumax.c: New file.
11257         * sysdeps/wordsize-32/wcstoimax.c: New file.
11258         * sysdeps/wordsize-32/wcstoumax.c: New file.
11259         * sysdeps/wordsize-64/strtoimax.c: New file.
11260         * sysdeps/wordsize-64/strtoumax.c: New file.
11261         * sysdeps/wordsize-64/wcstoimax.c: New file.
11262         * sysdeps/wordsize-64/wcstoumax.c: New file.
11264 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
11266         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
11267         that transparent union works.
11268         * sysdeps/generic/wait4.c (__wait4): Likewise.
11269         * sysdeps/generic/wait.c (__wait): Likewise.
11271         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
11272         size_t.
11274         * sysdeps/generic/syscall.c (syscall): Return value and arg are
11275         long, to match prototype.
11277         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
11278         have mremap() yet.
11280         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
11282         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
11284         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
11286         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
11287         __rlim_t.
11289         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11291         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11293         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11294         __S_IFLNK.
11296         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11297         <bits/stdio_lim.h>.
11298         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11300 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11302         * posix/sys/wait.h: Don't use transparent unions in C++.
11304 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11306         * time/time.h: Add strfxtime.
11308         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11309         sysv_signal, strfxtime, pread64, pwrite64.
11311 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11313         Alpha changes for EGCS:
11314         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11315         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11316         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11317         (_start): Likewise.
11318         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11320 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11322         The kernel expects the arguments in a different order.
11323         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11324         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11326         * FAQ.in: New file.
11327         * gen-FAQ.pl: New file.
11328         * Makefile (FAQ): Add rule to generate from FAQ.in.
11330         * iconvdata/Makefile: Treat libJIS like the other modules.
11332         * rt/librt.map: New file.
11334         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11335         inclusion.
11336         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11337         comment.
11339 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11341         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11342         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11343         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11344         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11346 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11348         * string/bits/string2.h: Fix spellings.
11350         * string/string.h: Fix spellings.
11352 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11354         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11355         declaration to __syscall_rt_sigaction.
11357         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11358         non-existant <sigcontext.h>.
11360 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11362         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11363         typo.
11365 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11367         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11369         * Makeconfig (shared-thread-library): Correct spelling.
11371         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11372         <asm/pci.h>.
11374 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11376         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11377         constants from Linux headers. Pointed out by
11378         csmall@scooter.o.i.net. [PR libc/369]
11380 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11382         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11384 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11386         * configure.in: If --enable-add-ons is given without an
11387         argument, set the addons list to all subdirs with a configure
11388         script.
11390 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11392         * Makeconfig: Add shared-thread-library variable.
11394         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11395         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11396         here.
11397         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11398         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11399         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11400         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11401         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11402         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11403         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11404         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11405         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11406         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11407         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11408         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11409         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11410         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11411         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11412         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11413         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11414         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11415         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11416         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11417         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11418         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11419         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11420         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11421         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11423         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11424         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11425         * signal/Makefile (headers): Add bits/siginfo.h.
11426         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11427         (distribute): Add testrtsig.h.
11428         * signal/allocrtsig.c: New file.
11429         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11430         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11431         __libc_current_sigrtmax.
11432         * sysdeps/generic/sigqueue.c: New file.
11433         * sysdeps/generic/sigtimedwait.c: New file.
11434         * sysdeps/generic/sigwaitinfo.c: New file.
11435         * sysdeps/generic/testrtsig.h: New file.
11436         * sysdeps/generic/bits/siginfo.h: New file.
11437         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11438         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11439         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11440         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11441         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11442         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11443         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11444         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11445         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11446         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11447         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11448         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11449         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11450         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11451         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11452         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11453         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11454         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11455         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11456         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11457         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11458         and _POSIX_REALTIME_SIGNALS.
11459         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11460         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11461         update _NSIG.
11462         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11463         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11464         definitions.
11466         * Makefile (subdirs): Add rt.
11467         * shlib-versions: Add entry for librt.
11468         * rt/Makefile: New file.
11469         * rt/aio.h: New file.
11470         * rt/aio_cancel.c: New file.
11471         * rt/aio_error.c: New file.
11472         * rt/aio_fsync.c: New file.
11473         * rt/aio_misc.c: New file.
11474         * rt/aio_misc.h: New file.
11475         * rt/aio_read.c: New file.
11476         * rt/aio_read64.c: New file.
11477         * rt/aio_return.c: New file.
11478         * rt/aio_suspend.c: New file.
11479         * rt/aio_write.c: New file.
11480         * rt/aio_write64.c: New file.
11481         * rt/lio_listio.c: New file.
11482         * rt/lio_listio64.c: New file.
11483         * sysdeps/generic/aio_sigqueue.c: New file.
11484         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11485         * sysdeps/unix/sysv/linux/Dist: Add new files
11486         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11487         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11488         rt_sigqueueinfo, rt_sigaction.
11490         * posix/Makefile (headers): Add bits/environments.h.
11491         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11492         and _CS_LFS_CFLAGS on 64bit platforms.
11493         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11494         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11495         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11496         compilation modules.
11497         * sysdeps/wordsize-32/bits/environments.h: New file.
11498         * sysdeps/wordsize-64/bits/environments.h: New file.
11500         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11501         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11502         __libc_pid.
11503         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11504         0xf00baa.
11506         * string/string.h: Add declaration of __strverscmp.
11507         * string/strverscmp.c: Rename function ot __strverscmp and make old
11508         name weak alias.
11510         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11511         * sysdeps/generic/enbl-secure.c: Likewise.
11512         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11514         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11516         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11518 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11520         * posix/sys/wait.h: Use __transparent_union__ instead of
11521         transparent_union.  Reported by Roland McGrath.
11523 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11525         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11526         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11527         [PR libc/366].
11529         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11531         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11533 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11535         * grp/initgroups.c: Increase buffer if it is too small.
11537 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11539         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11540         fields, this is no ISO C.  Reported by Andreas Jaeger.
11542 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11544         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11546 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11548         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11549         _SYS_UTSNAME_H not _UTSNAME_H.
11551 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11553         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11554         computing s_scale.
11556 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11558         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11559         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11560         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11562         * math/libm-test.c (csqrt_test): Add testcase.
11564 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11566         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11567         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11568         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11570 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11572         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11574 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11576         * math/libm-test.c (acos_test): Add more tests.
11577         (asin_test): Likewise.
11578         (atan_test): Likewise.
11579         (exp_test): Likewise.
11580         (sin_test): Likewise.
11581         (sqrt_test): Likewise.
11582         (cpow_test): Likewise.
11583         (csqrt_test): Likewise.
11584         (cexp_test): Correct typo in gcc version test.
11586 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11588         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11589         <bits/setjmp.h>.
11590         * sysdeps/arm/setjmp.S: Likewise.
11592         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11594 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11596         * stdio/stdio.h: Add prototype for tmpfile64().
11598 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11600         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11601         prototype to keep in step with libio version.
11603         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11605 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11607         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11608         cross-compiling.
11610 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11612         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11613         load GOT ptr before jumping to _exit.
11614         Reported by Xavier Leroy.
11616 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11618         * Makefile (subdirs): Add iconvdata and localedata.
11620         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11622         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11624         * iconvdata/8bit-gap.c: New file.
11625         * iconvdata/8bit-generic.c: Renamed from ...
11626         * iconvdata/iso8859-generic.c: ...this.
11627         * iconvdata/configure: Removed.
11628         * iconvdata/Makefile: Add new modules and better rules.
11629         * iconvdata/iso6937.c: Minor bug fixes.
11630         * iconvdata/iso8859-1.c: Likewise.
11631         * iconvdata/t61.c: Likewise.
11632         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11633         Minor bug fixes.
11634         * iconvdata/iso8859-3.c: Likewise.
11635         * iconvdata/iso8859-4.c: Likewise.
11636         * iconvdata/iso8859-5.c: Likewise.
11637         * iconvdata/iso8859-6.c: Likewise.
11638         * iconvdata/iso8859-7.c: Likewise.
11639         * iconvdata/iso8859-8.c: Likewise.
11640         * iconvdata/iso8859-9.c: Likewise.
11641         * iconvdata/iso8859-10.c: Likewise.
11642         * iconvdata/ebcdic-at-de-a.c: New file.
11643         * iconvdata/ebcdic-at-de.c: New file.
11644         * iconvdata/ebcdic-ca-fr.c: New file.
11645         * iconvdata/hp-roman8.c: New file.
11646         * iconvdata/koi-8.c: New file.
11647         * iconvdata/koi8-r.c: New file.
11648         * iconvdata/koi8-h.c: New file.
11649         * iconvdata/latin-greek-1.c: New file.
11650         * iconvdata/latin-greek-1.h: New file.
11651         * iconvdata/latin-greek.c: New file.
11652         * iconvdata/latin-greek.h: New file.
11653         * iconvdata/jis0201.c: New file.
11654         * iconvdata/jis0201.h: New file.
11655         * iconvdata/jis0208.c: New file.
11656         * iconvdata/jis0208.h: New file.
11657         * iconvdata/jis0212.c: New file.
11658         * iconvdata/jis0212.h: New file.
11659         * iconvdata/sjis.c: New file.
11660         * iconvdata/gap.pl: New file.  Script to generate table header.
11661         * iconvdata/gaptab.pl: New file.
11662         * iconvdata/gconv-modules: Add info about new modules.
11664         * locale/programs/charmap.c: Also examine alias names given in charmap
11665         files.
11667         * localedata/*: Add to here from add-on.  We need the information
11668         to generate tables for iconv.
11670         Update from db-2.3.14.
11671         * db2/Makefile: Updated.
11672         * db2/config.h: Likewise.
11673         * db2/db.h: Likewise.
11674         * db2/db_int.h: Likewise.
11675         * db2/btree/bt_cursor.c: Likewise.
11676         * db2/btree/bt_delete.c: Likewise.
11677         * db2/btree/bt_put.c: Likewise.
11678         * db2/btree/bt_search.c: Likewise.
11679         * db2/btree/bt_split.c: Likewise.
11680         * db2/btree/btree_auto.c: Likewise.
11681         * db2/common/db_appinit.c: Likewise.
11682         * db2/common/db_apprec.c: Likewise.
11683         * db2/common/db_err.c: Likewise.
11684         * db2/common/db_region.c: Likewise.
11685         * db2/db/db_auto.c: Likewise.
11686         * db2/db/db_dispatch.c: Likewise.
11687         * db2/db/db_ret.c: Likewise.
11688         * db2/dbm/dbm.c: Likewise.
11689         * db2/hash/hash_auto.c: Likewise.
11690         * db2/include/btree_ext.h: Likewise.
11691         * db2/include/common_ext.h: Likewise.
11692         * db2/include/db.h.src: Likewise.
11693         * db2/include/db_cxx.h: Likewise.
11694         * db2/include/db_ext.h: Likewise.
11695         * db2/include/db_int.h.src: Likewise.
11696         * db2/include/lock.h: Likewise.
11697         * db2/include/log.h: Likewise.
11698         * db2/include/mp.h: Likewise.
11699         * db2/include/mp_ext.h: Likewise.
11700         * db2/include/os_ext.h: Likewise.
11701         * db2/include/os_func.h: Likewise.
11702         * db2/lock/lock.c: Likewise.
11703         * db2/lock/lock_deadlock.c: Likewise.
11704         * db2/log/log.c: Likewise.
11705         * db2/log/log_archive.c: Likewise.
11706         * db2/log/log_auto.c: Likewise.
11707         * db2/log/log_get.c: Likewise.
11708         * db2/log/log_put.c: Likewise.
11709         * db2/mp/mp_bh.c: Likewise.
11710         * db2/mp/mp_fget.c: Likewise.
11711         * db2/mp/mp_fopen.c: Likewise.
11712         * db2/mp/mp_fput.c: Likewise.
11713         * db2/mp/mp_fset.c: Likewise.
11714         * db2/mp/mp_open.c: Likewise.
11715         * db2/mp/mp_pr.c: Likewise.
11716         * db2/mp/mp_region.c: Likewise.
11717         * db2/mp/mp_sync.c: Likewise.
11718         * db2/mutex/README: Likewise.
11719         * db2/mutex/mutex.c: Likewise.
11720         * db2/os/os_open.c: Likewise.
11721         * db2/os/os_func.c: Removed.
11722         * db2/os/os_config.c: New file.
11723         * db2/os/os_spin.c: New file.
11724         * db2/txn/txn.c: Likewise.
11725         * db2/txn/txn_auto.c: Likewise.
11727 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11729         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11730         __typeof for C++ since this fails for class members.
11731         Reported by Neal Becker <neal@ctd.comsat.com>.
11733 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11735         * configure.in: Check for a working makeinfo (3.11 or better).
11736         * config.make.in: Add MAKEINFO to be substituted.
11737         * manual/Makefile: Don't update info if makeinfo is too old.
11739 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11741         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11742         * sysdeps/alpha/__longjmp.S: Likewise.
11743         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11744         not <bits/termios.h>.
11746         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11747         __llseek and make llseek and lseek64 weak aliases.
11748         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11749         Patches by a sun <asun@zoology.washington.edu>.
11751 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11753         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11754         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11755         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11756         * misc/sys/syslog.h: Clean up BSD header.
11758 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11760         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11762         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11763         for ctan(+-inf,x).
11764         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11765         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11767         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11768         csqrt (-1), ctanh(i*pi/4).
11770 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11772         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11774 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11776         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11778 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11780         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11782 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11784         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11785         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11786         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11787         of GETCWD_STORYGE_CLASS and put the return type and the
11788         `internal_function' in the right order for gcc 2.7.2.
11790 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11792         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11793         incompatible with Linux 2.1.x.  Packages using modules
11794         (e.g. modutils) should/do provide their own version.  Suggested by
11795         Richard Henderson.
11797         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11800         [$(subdir)=socket]: Remove sys/module.h.
11802 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11804         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11805         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11807         * iconv/gconv_close.c: Correct freeing of descriptor data.
11808         * iconv/gconv_simple.c: Return correct error values for illegal or
11809         incomplete characters.
11811         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11812         development.
11813         * iconvdata/Makefile: New file.
11814         * iconvdata/configure: Likewise.
11815         * iconvdata/extra-module.mk: Likewise.
11816         * iconvdata/gconv-modules: Likewise.
11817         * iconvdata/iso6937.c: Likewise.
11818         * iconvdata/iso8859-1.c: Likewise.
11819         * iconvdata/iso8859-10.c: Likewise.
11820         * iconvdata/iso8859-10.h: Likewise.
11821         * iconvdata/iso8859-2.c: Likewise.
11822         * iconvdata/iso8859-2.h: Likewise.
11823         * iconvdata/iso8859-3.c: Likewise.
11824         * iconvdata/iso8859-3.h: Likewise.
11825         * iconvdata/iso8859-4.c: Likewise.
11826         * iconvdata/iso8859-4.h: Likewise.
11827         * iconvdata/iso8859-5.c: Likewise.
11828         * iconvdata/iso8859-5.h: Likewise.
11829         * iconvdata/iso8859-6.c: Likewise.
11830         * iconvdata/iso8859-6.h: Likewise.
11831         * iconvdata/iso8859-7.c: Likewise.
11832         * iconvdata/iso8859-7.h: Likewise.
11833         * iconvdata/iso8859-8.c: Likewise.
11834         * iconvdata/iso8859-8.h: Likewise.
11835         * iconvdata/iso8859-9.c: Likewise.
11836         * iconvdata/iso8859-9.h: Likewise.
11837         * iconvdata/iso8859-generic.c: Likewise.
11838         * iconvdata/t61.c: Likewise.
11840         * string/Makefile (routines): Add strcasestr.
11841         * string/string.h: Add prototype for strcasestr.
11842         * sysdeps/generic/strcasestr.c: New file.
11843         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11844         * wcsmbs/wcrtomb.c: Likewise.
11845         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11846         * wcsmbs/wcsnrtombs.c: Likewise.
11847         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11848         partial character is read.
11849         * wcsmbs/wcsrtombs.c: Likewise.
11850         * wcsmbs/wmemrtombs.c: Likewise.
11851         * wcsmbs/wmemrtowcs.c: Likewise.
11853         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11854         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11855         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11856         * sysdeps/i386/elf/setjmp.S: Likewise.
11857         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11858         <bits/termios.h>.
11860         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11861         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11863         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11864         * sysvipc/sys/ipc.h: Likewise.
11865         * sysvipc/sys/msg.h: Likewise.
11866         * sysvipc/sys/sem.h: Likewise.
11867         * sysvipc/sys/shm.h: Likewise.
11869         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11870         used directly.
11871         * sysdeps/alpha/bits/setjmp.h: Likewise.
11872         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11873         * sysdeps/arm/bits/endian.h: Likewise.
11874         * sysdeps/arm/bits/setjmp.h: Likewise.
11875         * sysdeps/generic/bits/byteswap.h: Likewise.
11876         * sysdeps/generic/bits/confname.h: Likewise.
11877         * sysdeps/generic/bits/dirent.h: Likewise.
11878         * sysdeps/generic/bits/dlfcn.h: Likewise.
11879         * sysdeps/generic/bits/endian.h: Likewise.
11880         * sysdeps/generic/bits/fenv.h: Likewise.
11881         * sysdeps/generic/bits/huge_val.h: Likewise.
11882         * sysdeps/generic/bits/in.h: Likewise.
11883         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11884         * sysdeps/generic/bits/ioctls.h: Likewise.
11885         * sysdeps/generic/bits/ipc.h: Likewise.
11886         * sysdeps/generic/bits/msq.h: Likewise.
11887         * sysdeps/generic/bits/poll.h: Likewise.
11888         * sysdeps/generic/bits/resource.h: Likewise.
11889         * sysdeps/generic/bits/sched.h: Likewise.
11890         * sysdeps/generic/bits/sem.h: Likewise.
11891         * sysdeps/generic/bits/setjmp.h: Likewise.
11892         * sysdeps/generic/bits/shm.h: Likewise.
11893         * sysdeps/generic/bits/sigaction.h: Likewise.
11894         * sysdeps/generic/bits/sigcontext.h: Likewise.
11895         * sysdeps/generic/bits/socket.h: Likewise.
11896         * sysdeps/generic/bits/stat.h: Likewise.
11897         * sysdeps/generic/bits/statfs.h: Likewise.
11898         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11899         * sysdeps/generic/bits/termios.h: Likewise.
11900         * sysdeps/generic/bits/time.h: Likewise.
11901         * sysdeps/generic/bits/uio.h: Likewise.
11902         * sysdeps/generic/bits/utmp.h: Likewise.
11903         * sysdeps/generic/bits/utmpx.h: Likewise.
11904         * sysdeps/generic/bits/utsname.h: Likewise.
11905         * sysdeps/generic/bits/waitflags.h: Likewise.
11906         * sysdeps/generic/bits/waitstatus.h: Likewise.
11907         * sysdeps/gnu/bits/utmp.h: Likewise.
11908         * sysdeps/gnu/bits/utmpx.h: Likewise.
11909         * sysdeps/i386/bits/byteswap.h: Likewise.
11910         * sysdeps/i386/bits/endian.h: Likewise.
11911         * sysdeps/i386/bits/huge_val.h: Likewise.
11912         * sysdeps/i386/bits/setjmp.h: Likewise.
11913         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11914         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11915         * sysdeps/m68k/bits/byteswap.h: Likewise.
11916         * sysdeps/m68k/bits/endian.h: Likewise.
11917         * sysdeps/m68k/bits/setjmp.h: Likewise.
11918         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11919         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11920         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11921         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11922         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11923         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11924         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11925         * sysdeps/mips/bits/dlfcn.h: Likewise.
11926         * sysdeps/mips/bits/endian.h: Likewise.
11927         * sysdeps/mips/bits/setjmp.h: Likewise.
11928         * sysdeps/mips/dec/bits/endian.h: Likewise.
11929         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11930         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11931         * sysdeps/mips/p40/bits/endian.h: Likewise.
11932         * sysdeps/powerpc/bits/endian.h: Likewise.
11933         * sysdeps/powerpc/bits/fenv.h: Likewise.
11934         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11935         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11936         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11937         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11938         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11939         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11940         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11941         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11942         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11943         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11944         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11945         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11946         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11947         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11948         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11949         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11950         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11951         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11952         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11953         * sysdeps/unix/common/bits/dirent.h: Likewise.
11954         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11955         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11956         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11957         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11958         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11959         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11960         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11961         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11962         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11963         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11964         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11965         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11966         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11967         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11968         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11969         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11970         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11971         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11972         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11973         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11974         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11975         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11976         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11977         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11978         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11979         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11980         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11981         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11982         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11983         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11984         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11985         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11986         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11987         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11989         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11990         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11991         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11992         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11993         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11994         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11995         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11996         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11997         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11998         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11999         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
12000         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
12001         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
12002         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
12003         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
12004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12006         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
12007         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
12008         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12009         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12010         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
12011         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
12012         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
12013         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
12014         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
12015         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
12016         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
12017         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
12018         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
12019         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
12020         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
12021         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
12022         * sysdeps/vax/bits/huge_val.h: Likewise.
12023         * sysdeps/vax/bits/setjmp.h: Likewise.
12024         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
12025         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
12027 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12029         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
12031 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
12033         * strftime.c (strftime):
12034         No longer any need to undef or declare if emacs is defined.
12035         (my_strftime): When checking a -1 returned by mktime, don't blow up
12036         if localtime_r returns NULL.
12038 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12040         * README.template: Fix spelling.
12042 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12044         * configure.in: Enhance --enable-add-ons description a wee bit.
12046 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12048         * glibcbug.in: Add more information of build environment and flags.
12050 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12052         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
12053         it into ENOENT.
12055 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
12057         * elf/dl-support.c: Call __libc_init_secure to make sure
12058         __libc_enable_secure is defined early.
12059         * sysdeps/generic/enbl-secure.c: Change function name to
12060         __libc_init_secure and make it global instead of a constructor.
12062         * iconv/gconv.c: Fix lots of bugs.
12063         * iconv/gconv.h: Likewise.
12064         * iconv/gconv_builtin.h: Likewise.
12065         * iconv/gconv_close.c: Likewise.
12066         * iconv/gconv_conf.c: Likewise.
12067         * iconv/gconv_db.c: Likewise.
12068         * iconv/gconv_dl.c: Likewise.
12069         * iconv/gconv_open.c: Likewise.
12070         * iconv/gconv_simple.c: Likewise.
12071         * iconv/iconv.c: Likewise.
12072         * iconv/iconv_close.c: Likewise.
12073         * iconv/iconv_open.c: Likewise.
12075         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
12076         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
12077         * wcsmbs/wmemrtombs.c: New file.
12078         * wcsmbs/wmemrtowcs.c: New file.
12080 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
12082         * iconv/gconv_simple.c: Fix lots of bugs.
12083         * iconv/iconv_open.c: Normalize names before passing them to
12084         __gconv_open.
12086         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
12088         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
12089         * stdio-common/test-popen.c: Add test for above change.
12091         * math/libm-test.c: Print test results also using %a format,
12092         specified in PRINTF_XEXPR macro.
12093         * math/test-double.c: Define PRINTF_XEXPR.
12094         * math/test-float.c: Likewise.
12095         * math/test-ldouble.c: Likewise.
12096         * math/test-idouble.c: Likewise.
12097         * math/test-ifloat.c: Likewise.
12098         * math/test-ildoubl.c: Likewise.
12100         * stdio-common/vfscanf.c: Recognize a in format specifier only as
12101         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
12102         FP number format.
12104         * stdlib/strtod.c: Little code cleanup.
12106         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
12107         compiling in math subdir.
12109         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
12110         instead of __LIBC_M81_MATH_INLINES.
12111         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
12112         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
12113         * sysdeps/m68k/fpu/e_pow.c: Likewise.
12114         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
12115         * sysdeps/m68k/fpu/k_cos.c: Likewise.
12116         * sysdeps/m68k/fpu/k_sin.c: Likewise.
12117         * sysdeps/m68k/fpu/k_tan.c: Likewise.
12118         * sysdeps/m68k/fpu/s_atan.c: Likewise.
12119         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
12120         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
12121         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
12122         * sysdeps/m68k/fpu/s_csin.c: Likewise.
12123         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
12124         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
12125         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
12126         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
12127         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
12128         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
12129         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
12130         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
12131         * sysdeps/m68k/fpu/s_modf.c: Likewise.
12132         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
12133         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
12134         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
12135         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
12136         __LIBC_INTERNAL_MATH_INLINES is defined.
12138         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
12139         of compare macros from ISO C 9X.  Optimize generic versions a bit.
12140         Define __signbit inline functions and __ieee754_sqrt which can be
12141         used if the ompiler is fixed.
12143         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
12145 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12147         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
12148         sysdeps/generic in the whole dep file, not only in the first line.
12150 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12152         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
12154 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12156         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
12157         place.
12159 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12161         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
12162         is non-empty.
12164 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
12166         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
12167         return value.
12169 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
12171         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
12172         readlink succeeds but the return value is too long.
12174         * stdio-common/printf_fphex.c: Determine sign of number correctly.
12176 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
12178         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
12179         __remqu for Alpha.
12181 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
12183         * sysdeps/generic/sys/ucontext.h: Stub context file.
12185         * libio/iofprintf.c: Removed.  We use the stdio-common version.
12187         * manual/Makefile (distribute): Add stdio-fp.c.
12189         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
12191         * db2/Makefile (distribute): Add include/os_func.h, README and
12192         mutex/tsl_parisc.s.
12194         * hesiod/Makefile (distribute): Add README.hesiod.
12196 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
12198         * iconv/gconv.c: Correctly call transformation function.
12200         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
12202 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12204         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
12205         wrong results for e.g. remquo (3,2, &x)).
12206         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
12207         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
12209 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12211         * configure.in (ld --version-script): Test if the same symbol
12212         maybe defined in all versions (needed by recent changes to
12213         libc.map and supported with binutils 2.8.1.0.17) and issue warning
12214         if versioning is not supported/enabled.
12215         (bash test): Correct test case.
12217         * math/libm-test.c: Added counting/reporting of number of test cases.
12219         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
12220         use awk instead.
12222         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
12224 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12226         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
12228 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
12230         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
12231         Replace revoke call by use of REVOKE.
12232         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
12233         empty and #include generic version.
12234         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12236 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
12238         * libc.map: Add socket functions with __libc_* names.
12239         Reported by Andreas Jaeger.
12241 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12243         * libc.map: Tidy up (remove duplicates, sort entries).
12245 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12247         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
12249 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
12251         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
12252         again after successful call.
12253         Patch by Marc Lehmann <pcg@goof.com>.
12255 1997-11-17  Paul Eggert  <eggert@twinsun.com>
12257         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
12258         as some hosts need this to declare localtime_r properly.
12260 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
12262         * libc.map: Add iconv_open, iconv, and iconv_close.
12264 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
12266         * iconv/Makefile: New file.
12267         * iconv/gconv.c: New file.
12268         * iconv/gconv.h: New file.
12269         * iconv/gconv_builtin.c: New file.
12270         * iconv/gconv_builtin.h: New file.
12271         * iconv/gconv_close.c: New file.
12272         * iconv/gconv_conf.c: New file.
12273         * iconv/gconv_db.c: New file.
12274         * iconv/gconv_dl.c: New file.
12275         * iconv/gconv_open.c: New file.
12276         * iconv/gconv_simple.c: New file.
12277         * iconv/iconv.c: New file.
12278         * iconv/iconv.h: New file.
12279         * iconv/iconv_close.c: New file.
12280         * iconv/iconv_open.c: New file.
12281         * include/gconv.h: New file.
12283         * Makeconfig: Define gconvdir.
12284         * Makefile (subdirs): Add iconv.
12286         * string/bits/string2.h: Add optimization for strtok_r.
12288         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12289         for NULL.
12290         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12291         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12293         * configure.in: Correct test for bash2.
12294         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12296         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12297         (CFLAGS-locfile.c): Likewise.
12298         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12300         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12301         non-existing entry if the table is full.
12303         * posix/regex.h: Pretty print.
12305         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12307         * sysdeps/posix/ctermid.c: Simplify a bit.
12309         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12311 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12313         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12314         <sys/types.h> instead of <asm/types.h>.
12316 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12318         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12320 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12322         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12323         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12324         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12325         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12326         fclose): Added to GLIBC_2.1.
12328         * libio/Makefile (routines, shared-only-routines): Add
12329         oldiofclose.  Remove oldfreopen.
12331         * libio/freopen.c (freopen): When PIC is defined, call
12332         _IO_old_freopen () for old stdio.
12334         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12335         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12336         for GLIBC_2.1.
12338         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12339         instead of _IO_file_close_it.
12341         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12342         to _IO_2_1_stdxxx_.
12343         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12344         is defined.
12346         * libio/libioP.h (_IO_old_do_flush): New.
12348         * libio/oldfileops.c (_IO_old_file_close_it,
12349         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12350         Call _IO_old_do_flush () instead of _IO_do_flush ().
12351         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12352         _IO_do_write ().
12354         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12355         instead of _IO_file_init ().
12356         Bind old symbols to version GLIBC_2.0.
12358         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12359         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12360         _IO_stdxxx_.
12361         (_IO_check_libio): New function in .init.
12363         * libio/oldiofclose.c: New file.
12365         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12366         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12367         (DEF_STDFILE): Don't use default_symbol_version.
12369         * libio/stdio.c (stdin, stdout, stderr): Set to
12370         _IO_2_1_stdxxx_._
12371         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12372         stdxxx.
12374         * csu/Makefile (distribute): Add init.c.
12375         (extra-objs): Add init.o for ELF.
12376         (start-installed-name): Add $(objpfx)init.o.
12378         * csu/init.c: New file.
12380 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12382         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12383         definition as the default.
12385 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12387         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12389 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12391         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12392         (PR 351).
12394 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12396         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12397         to preserve condition codes on function call.
12399 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12401         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12403 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12405         * math/libm-test.c (asin_test): Add epsilon for float.
12406         (tan_test): Add epsilon for float.
12407         (log1p_test): Add epsilon for float.
12408         (inverse_functions): Add epsilons.
12410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12411         net/if_packet.h.
12413         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12415 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12417         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12418         variable, since $(object-suffixes) is not defined yet.
12420 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12422         * db2/Makefile (distribute): db185/db185_int.src ->
12423         db185/db185_int.h.
12425 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12427         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12428         exactly one.
12430 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12432         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12433         name.
12434         * sysdeps/generic/e_acosl.c: Likewise.
12435         * sysdeps/generic/e_asinl.c: Likewise.
12436         * sysdeps/generic/e_atan2l.c: Likewise.
12437         * sysdeps/generic/e_expl.c: Likewise.
12438         * sysdeps/generic/e_fmodl.c: Likewise.
12439         * sysdeps/generic/e_j0l.c: Likewise.
12440         * sysdeps/generic/e_j1l.c: Likewise.
12441         * sysdeps/generic/e_jnl.c: Likewise.
12442         * sysdeps/generic/e_lgammal_r.c: Likewise.
12443         * sysdeps/generic/e_log10l.c: Likewise.
12444         * sysdeps/generic/e_logl.c: Likewise.
12445         * sysdeps/generic/e_powl.c: Likewise.
12446         * sysdeps/generic/e_sqrtl.c: Likewise.
12447         * sysdeps/generic/e_exp2l.c: Likewise.
12449 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12451         * Make-dist (+sysdep-names): Remove extra paren.
12452         * Makefile (distribute): Add stub-tag.h.
12453         * elf/Makefile (distribute): Add atomicity.h.
12454         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12456         [$(subdir)=socket]: Add net/if_packet.h.
12457         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12458         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12459         net/if_packet.h, scsi/sg.h.
12461 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12463         * Makefile (install): Quote $(CC) expansion.
12465 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12467         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12468         working /proc cwd and no restrictions on path length.  Following
12469         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12471 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12473         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12474         * nis/nss_compat/compat-pwd.c: Likewise.
12475         * nis/nss_compat/compat-spwd.c: Likewise.
12477 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12479         * sysdeps/libm-i387/s_fdim.S: New file.
12480         * sysdeps/libm-i387/s_fdimf.S: New file.
12481         * sysdeps/libm-i387/s_fdiml.S: New file.
12482         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12483         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12484         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12486 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12488         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12489         pointer to unsigned char.
12491 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12493         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12495         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12497         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12499 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12501         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12502         ilogb(0/NaN).
12503         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12504         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12506 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12508         * sysdeps/libm-i387/s_fmin.S: New file.
12509         * sysdeps/libm-i387/s_fminf.S: New file.
12510         * sysdeps/libm-i387/s_fminl.S: New file.
12511         * sysdeps/libm-i387/s_fmax.S: New file.
12512         * sysdeps/libm-i387/s_fmaxf.S: New file.
12513         * sysdeps/libm-i387/s_fmaxl.S: New file.
12514         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12515         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12516         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12517         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12518         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12519         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12521 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12523         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12524         * sysdeps/unix/sysv/linux/send.S: Likewise.
12525         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12526         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12527         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12528         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12529         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12530         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12531         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12533 See ChangeLog.7 for earlier changes.