Upload Tizen:Base source
[external/eglibc.git] / ChangeLog.8
1 1998-08-11 14:05  Ulrich Drepper  <drepper@cygnus.com>
2
3         * timezone/backward: Update from tzdata1998g.
4         * timezone/etcetera: Likewise.
5         * timezone/europe: Likewise.
6
7 1998-08-11  Philip Blundell  <pb@nexus.co.uk>
8
9         * sysdeps/generic/tempname.c (__path_search): Fix typo and
10         formatting.
11
12 1998-08-11  H.J. Lu  <hjl@gnu.org>
13
14         * malloc/malloc.c (free_check): Print pointer value using %p.
15         (realloc_check): Likewise.
16
17 1998-08-11 13:57  Ulrich Drepper  <drepper@cygnus.com>
18
19         * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
20         _IO_size_t.
21
22 1998-08-10 15:49  Ulrich Drepper  <drepper@cygnus.com>
23
24         * include/dirent.h: Protect from double inclusion.
25
26 1998-08-09  Mark Kettenis  <kettenis@phys.uva.nl>
27
28         * posix/glob.h: Add LFS support for glob and globfree.
29         * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
30         * posix/Makefile (routines): Add glob64.
31         * sysdeps/generic/glob64.c: New file.
32         * sysdeps/unix/sysv/linux/glob64.c: New file.
33         * sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
34         * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
35         * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
36         Elide function.
37         * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
38         for __new_glob.  Likewise for globfree64.
39         * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.
40
41 1998-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
42
43         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
44         -include flag from command.
45
46 1998-08-10  Ulrich Drepper  <drepper@cygnus.com>
47
48         * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small
49         decrement `entidx' to allow retrieving the same entry again.
50
51 1998-08-09 22:32  Ulrich Drepper  <drepper@cygnus.com>
52
53         * sysdeps/powerpc/ffs.c: Fix typo.  Add support for ffsl.
54         Patch by Matt McLean <keys@yikes.com>.
55
56 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
57
58         * sysdeps/powerpc/bits/setjmp.h: Use word to save condition
59         registers.
60         * sysdeps/powerpc/setjmp.S: Save condition registers.
61         * sysdeps/powerpc/__longjmp.S: Restore condition registers.
62
63 1998-08-09 09:40  Ulrich Drepper  <drepper@cygnus.com>
64
65         * nss/nss_files/files-XXX.c (internal_getent): In case of an read
66         error do not trust errno value, set it to ENOENT.
67
68         * db2/db_185.h: Move __ prototypes into include/* header.
69         * dirent/dirent.h: Likewise.
70         * elf/dlfcn.h: Likewise.
71         * gmon/sys/gmon.h: Likewise.
72         * grp/grp.h: Likewise.
73         * intl/libintl.h: Likewise.
74         * io/fcntl.h: Likewise.
75         * io/sys/stat.h: Likewise.
76         * io/sys/statfs.h: Likewise.
77         * io/sys/statvfs.h: Likewise.
78         * libio/stdio.h: Likewise.
79         * login/utmp.h: Likewise.
80         * misc/mntent.h: Likewise.
81         * misc/search.h: Likewise.
82         * misc/sys/file.h: Likewise.
83         * misc/sys/ioctl.h: Likewise.
84         * misc/sys/select.h: Likewise.
85         * misc/sys/uio.h: Likewise.
86         * misc/sys/ustat.h: Likewise.
87         * posix/unistd.h: Likewise.
88         * posix/sys/times.h: Likewise.
89         * posix/sys/wait.h: Likewise.
90         * pwd/pwd.h: Likewise.
91         * resource/ulimit.h: Likewise.
92         * resource/sys/resource.h: Likewise.
93         * setjmp/setjmp.h: Likewise.
94         * shadow/shadow.h: Likewise.
95         * signal/signal.h: Likewise.
96         * socket/sys/socket.h: Likewise.
97         * stdlib/alloca.h: Likewise.
98         * stdlib/stdlib.h: Likewise.
99         * string/string.h: Likewise.
100         * sysdeps/generic/sys/mman.h: Likewise.
101         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
102         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
103         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
104         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
105         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
106         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
107         * termios/termios.h: Likewise.
108         * time/time.h: Likewise.
109         * time/sys/time.h: Likewise.
110         * wcsmbs/wchar.h: Likewise.
111
112         * include/alloca.h: Add __ prototypes here.
113         * include/db_185.h: Likewise.
114         * include/dirent.h: Likewise.
115         * include/dlfcn.h: Likewise.
116         * include/fcntl.h: Likewise.
117         * include/grp.h: Likewise.
118         * include/libintl.h: Likewise.
119         * include/mntent.h: Likewise.
120         * include/pwd.h: Likewise.
121         * include/sched.h: Likewise.
122         * include/search.h: Likewise.
123         * include/setjmp.h: Likewise.
124         * include/shadow.h: Likewise.
125         * include/signal.h: Likewise.
126         * include/stdio.h: Likewise.
127         * include/stdlib.h: Likewise.
128         * include/string.h: Likewise.
129         * include/termios.h: Likewise.
130         * include/time.h: Likewise.
131         * include/ulimit.h: Likewise.
132         * include/unistd.h: Likewise.
133         * include/utmp.h: Likewise.
134         * include/wchar.h: Likewise.
135         * include/sys/file.h: Likewise.
136         * include/sys/gmon.h: Likewise.
137         * include/sys/ioctl.h: Likewise.
138         * include/sys/mman.h: Likewise.
139         * include/sys/resource.h: Likewise.
140         * include/sys/select.h: Likewise.
141         * include/sys/socket.h: Likewise.
142         * include/sys/stat.h: Likewise.
143         * include/sys/statfs.h: Likewise.
144         * include/sys/time.h: Likewise.
145         * include/sys/times.h: Likewise.
146         * include/sys/uio.h: Likewise.
147         * include/sys/wait.h: Likewise.
148
149         * Makeconfig (+includes): Search in $(..)include first.
150
151         * io/fstat.c: Undefine __fstat.
152         * io/lstat.c: Undefine __lstat.
153
154         * wcsmbs/Versions: Add __mbrlen.
155
156 1998-08-09  Ulrich Drepper  <drepper@cygnus.com>
157
158         * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
159
160 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
161
162         * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
163
164         * manual/filesys.texi: Document truncate and ftruncate.
165         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
166
167         * shadow/putspent.c: Lock stream while generating the output.
168
169         * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
170         (__msgwrite): Rewrite accordingly.
171         * sunrpc/svc_unix.c: Likewise.
172         * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
173         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
174         (sysdep_routines): Remove __sendmsg and __recvmsg.
175         * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
176         * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
177         * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
178         * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
179         * sysdeps/unix/sysv/linux/recvmsg.S: New file.
180         * sysdeps/unix/sysv/linux/sendmsg.S: New file.
181         * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
182         struct ucred.  Remove struct cmsgcred.
183         Patches by Thorsten Kukuk.
184
185 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
186
187         * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
188
189 1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>
190
191         * argp/argp-help.c: Prepare to be used outside glibc without gcc by
192         adding usual alloca cruft.
193         Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
194
195 1998-04-05  Jim Meyering  <meyering@ascend.com>
196
197         * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
198         This now depends on HAVE_BTOWC so systems that lack btowc (like
199         solaris-2.5.1) don't lose.
200
201 1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>
202
203         * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
204         * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
205         MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
206         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
207         instead of SA_ONSTACK.
208         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
209         sigaltstack, and created a weak alias.  Use SS_DISABLE and
210         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
211         * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
212         of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
213         * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
214         instead of SA_ONSTACK.
215         * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
216         * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
217         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
218         Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
219         SA_ONSTACK where appropriate.
220         * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
221         Likewise.
222         * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
223         Likewise.
224         * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
225         Likewise.
226         * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
227         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
228         the `ss_flags' member of `struct sigaltstack'.
229
230 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
231
232         * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
233         (shared-only-routines): Likewise.
234         * libio/oldtmpfile.c: New file
235         * stdio-common/tmpfile.c: Use __fdopen and __close.
236         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
237         tmpfile on symbol version GLIBC_2.1.
238         * stdio-common/tmpfile64.c: Use __fdopen and __close.
239         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
240         * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
241         * stdio-common/tempnam.c: Use __strdup instead of strdup.
242         * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
243         alias.
244         * sysdeps/generic/fdopen.c: Likewise.
245         * sysdeps/mach/hurd/fdopen.c: Likewise.
246         * stdio/stdio.h: Declare __fdopen.
247         * sunrpc/openchild.c: Use __fdopen instead of fdopen.
248         [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
249         * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
250         __stub_open64, it is never defined.
251
252 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
253
254         * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
255         * libio/iopopen.c: Unlink file before freeing it if command
256         creation failed.  Avoid unnessary casts.
257         * libio/iofdopen.c:  Avoid unnecessary cast.
258         * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
259         _IO_funlockfile.
260         * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
261
262 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
263
264         * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
265         __grpalloc, __grpscan and the corresponding pwd functions, they
266         were removed long ago.
267
268 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
269
270         * math/libm-test.c (csqrt_test): Adjust epsilons.
271         (casinh_test): Likewise.
272
273 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
274
275         * posix/globtest.sh: Fix typo.  Remove second test output file.
276
277 1998-08-07  Cristian Gafton  <gafton@redhat.com>
278
279         * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
280         * shadow/putspent.c (putspent): Likewise.
281         * grp/putgrent.c: New file.
282         * grp/Makefile (routines): Add putgrent.
283         * grp/Versions [GLIBC_2.1]: Add putgrent.
284         * grp/grp.h: Add putgrent prototype.
285
286 1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>
287
288         * elf/elf.h: More ELF definitions.
289
290 1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>
291
292         * stdio-common/tmpfile.c: Include unistd.h for close prototype.
293         * stdio-common/tmpfile64.c: Likewise.
294
295         * db2/makedb.c: Generate output file with same access permissions
296         the input file has.
297
298         * signal/signal.h: Pretty printing.
299
300 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
301
302         * misc/mktemp.c: Add include <stlib.h> for prototype, remove
303         unneccessary includes.
304         * misc/mkstemp.c: Likewise.
305
306 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
307
308         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
309         is defined.
310         * catgets/open_catalog.c: Likewise.
311         * iconv/iconv_prog.c: Likewise.
312         * intl/loadmsgcat.c: Likewise.
313         * locale/findlocale.c: Likewise.
314         * locale/loadlocale.c: Likewise.
315         * locale/programs/localedef.c: Likewise.
316         * malloc/malloc.c: Likewise.
317
318         * elf/elf.h: Fix typo.
319
320         * math/Makefile: Use $(LN_S) instead of ln.
321
322         * sysdeps/generic/getpgid.c: Fix return type.
323
324 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
325
326         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
327         __gen_tempname and simplify the interface.  Strip out the
328         code to do path search and create FILE objects.  This function
329         now takes a mktemp() style template and returns either a name
330         or a file descriptor.
331         (__path_search): New function; searches for directories for
332         temp files.
333         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
334         __path_search, not __stdio_gen_tempname.
335
336         * libio/stdio.h: Prototype __gen_tempname and __path_search,
337         not __stdio_gen_tempname.
338         * stdio/stdio.h: Likewise.
339
340         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
341         * stdio-common/tmpfile.c: Likewise.
342         * stdio-common/tmpfile64.c: Likewise.
343         * stdio-common/tmpnam.c: Likewise.
344         * stdio-common/tmpnam_r.c: Likewise.
345
346         * misc/mkstemp.c: New file.  Use __gen_tempname.
347         * misc/mktemp.c: Likewise.
348
349         * sysdeps/posix/mkstemp.c: Removed.
350         * sysdeps/posix/mktemp.c: Removed.
351         * sysdeps/generic/mkstemp.c: Removed.
352         * sysdeps/generic/mktemp.c: Removed.
353
354 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
355
356         * configure.in: Check, if door add-on is installed.
357         * config.make.in: Add have_doors.
358         * sunrpc/Makefile: Add HAVE_DOOR define.
359         * sunrpc/key_call.c: Add keyserv/door interface.
360
361         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
362         * sunrpc/clnt_unix.c: Likewise.
363
364 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
365
366         * inet/netinet/in.h (IN_CLASSC): Correct mask.
367         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
368         PR libc/727].
369
370 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
371
372         * misc/Makefile: Fix installation problem with --disable-shared.
373         * posix/Makefile: Likewise.
374
375 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
376
377         * posix/regex.c (re_search_2): Optimize searching for anchored
378         pattern if '^' cannot match at embedded newlines.
379         (regerror): Renamed from __regerror, which it should only be
380         called if _LIBC.
381
382 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
383
384         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
385
386 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
387
388         * sysdeps/generic/glob.c: Remove obsolete cast.
389
390 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
391
392         * Rules (tests): Fix last change.
393
394 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
395
396         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
397         Add sys_setresuid.
398
399 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
400
401         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
402         as real name for system call and make setresuid a weak alias.  Set
403         caller to seteuid.
404         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
405         `setresuid' syscall if availble.  Fixes problems with sendmail
406         which expects `seteuid' to not set the saved user ID.
407
408 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
409
410         * time/tzset.c (__tzstring): Get rid of excessive cleverness
411         which was causing stack corruption.
412
413 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
414
415         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
416         off-by-one in wordwrap algorithm when there' a space at the
417         beginning of the buffer.
418
419 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
420
421         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
422
423 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
424
425         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
426
427         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
428         definition.
429
430 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
431
432         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
433
434 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
435
436         * sysdeps/generic/glob.c: Undefine strdup before defining it,
437         because bits/string2.h may have defined it already.
438
439 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
440
441         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
442         Fix recognition of 'a' modifier vs. 'a' format.
443         (TYPEMOD): Removed.
444
445         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
446         for type modifiers.  Fix recognition of 'hh' modifier.
447
448 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
449
450         * sunrpc/svc_unix.c: Fix typo.
451
452 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
453
454         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
455         syscall.
456
457 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
458
459         * sysdeps/i386/ffs.c: Add ffsl entry point.
460         * sysdeps/i386/i686/ffs.c: Likewise.
461         * sysdeps/m68k/ffs.c: Likewise.
462         * sysdeps/powerpc/ffs.c: Likewise.
463
464         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
465         on i686.
466
467 1998-07-30  Richard Henderson  <rth@cygnus.com>
468
469         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
470
471         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
472         work around gcc bug.
473
474         * string/string.h (ffsl, ffsll): Prototype.
475         * string/Version (GLIBC_2.1): Add them.
476         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
477         entry points.
478         * sysdeps/alpha/ffsll.S: New file.  Empty.
479         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
480         * sysdeps/generic/ffsll.c: New file.
481         * string/Makefile (routines): Add ffsll.
482
483 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
484
485         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
486         strictly ISO C compliant programs.
487         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
488
489 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
490
491         * inet/protocols/rwhod.h: Correct typo in comment.
492
493         * configure.in: Use better regex for gettext.
494
495 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
496
497         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
498         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
499
500         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
501
502         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
503         caller/callee and the number of calls.
504
505 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
506
507         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
508         (__getpid): New function.
509         (abort): New function.
510
511 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
512
513         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
514
515         * nis/nis_cache2_xdr.c: Removed.
516         * nis/nis_cache.c: Removed.
517         * nis/nis_cache2.h: Removed.
518
519 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
520
521         * Rules (tests): Depend on tests-static only if build-static == yes.
522
523         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
524         only if build-static == yes.
525
526 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
527
528         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
529         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
530
531 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
532
533         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
534         statement, fix typo.
535         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
536
537 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
538
539         * manual/pattern.texi (More Flags for Globbing): Fix typo.
540
541         * manual/math.texi (Special Functions): Fix typo.
542
543         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
544         constant from Linux 2.1.112.
545
546         * posix/Makefile (install-lib): Compile libposix.a only if
547         build-static == yes.
548
549 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
550
551         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
552         declarations to file level.  Cope with unsupported
553         _SC_GETPW_R_SIZE_MAX.
554
555 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
556
557         * stdio-common/tst-printf.c: %z is now recognized by printf.
558
559         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
560         errors.
561         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
562         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
563         Patch by Stephen L Moshier <moshier@mediaone.net>.
564
565         * math/libm-test.c (csqrt_test): Correct typo in one test, add
566         another one.
567
568         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
569         latest kernel change.
570
571 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
572
573         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
574         inputs near DBL_MIN.
575
576 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
577
578         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
579         warnings when DNSSEC related records are received.
580         * resolv/gethnamaddr.c (getanswer): Likewise.
581         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
582
583         * signal/signal.h: Add prototype for sysv_signal.
584
585         * math/libm-test.c (tgamma_test): Remove redundant tests.
586
587         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
588         where foo does not exist in any of the subdirectories.
589         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
590
591         * posix/globtest.sh: Add test for this bug.
592
593         * posix/glob.h: Add GLOB_TILDE_CHECK.
594         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
595         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
596         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
597
598 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
599
600         * io/sys/statfs.h: Fix typos.
601         * io/sys/statvfs.h: Fix typos.
602
603 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
604
605         * version.h (VERSION): Bump to 2.0.95.
606
607         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
608         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
609         * math/libm-test.c: Split old gamma_test and move half of it in new
610         function tgamma_test.
611         * math/bits/mathcalls.h: Add declaration of tgamma.
612         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
613         tgamma errors.
614         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
615         and rename to ...
616         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
617         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
618         and rename to ...
619         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
620         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
621         and rename to ...
622         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
623         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
624         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
625         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
626
627         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
628         modifiers.
629         * stdio-common/vfprintf.c: Likewise.
630         * stdio-common/vfscanf.c: Likewise.
631         * manual/stdio.texi: Document new printf/scanf modifiers.
632
633         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
634         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
635
636 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
637
638         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
639         * sunrpc/Versions: Add new *unix_create functions.
640         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
641         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
642         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
643         with keyserv daemon.
644         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
645         * sunrpc/rpc/svc.h: Likewise.
646         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
647         * sunrpc/svc_tcp.c: Fix typos.
648         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
649
650         * nis/Makefile: Remove currently not working cache functions.
651         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
652         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
653         CLIENT handles.
654         * nis/nis_file.c: Fix memory leaks.
655         * nis/nis_intern.h: Move internal structs from here ...
656         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
657         * nis/nis_lookup.c: Try at first if last client handle works.
658         * nis/nis_table.c: Likewise.
659         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
660         * nis/nis_mkdir.c: Likewise.
661         * nis/nis_ping.c: Likewise.
662         * nis/nis_rmdir.c: Likewise.
663         * nis/nis_server.c: Likewise.
664         * nis/nis_util.c: Likewise.
665         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
666
667 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
668
669         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
670         define as LONG_MAX.
671
672 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
673
674         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
675         Correct test whether writev send all data.
676         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
677         received all data.
678
679 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
680
681         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
682
683 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
684
685         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
686         allow mode to be 0.
687         (__xstat): New function.
688         (__fxstat): New function.
689         (_dl_sysdep_read_whole_file): Removed.  The implementation in
690         `elf/dl-misc.c' now also works for the Hurd.
691
692 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
693
694         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
695
696         * posix/globtest.sh: Also add directories with NSS modules into the
697         library path.
698
699 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
700
701         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
702         strtol.
703         (INT_FIELD_MAYBE_NULL): Likewise.
704
705         * posix/globtest.c: Rewrite for extended test suite.
706         * posix/globtest.sh: More tests.
707         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
708
709         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
710         Use new macro.
711
712         * sysdeps/generic/readv.c: Correct return type.
713         * sysdeps/generic/writev.c: Likewise.
714
715 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
716
717         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
718         program_invocation_name when compiling outside of glibc.
719
720 1998-07-26  Philip Blundell  <philb@gnu.org>
721
722         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
723         like `@' in .type directives.
724
725         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
726         FE_TONEAREST exists for this platform before using it.
727         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
728
729         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
730         debugging code.  Correct handling of PC24 relocs.
731
732         * elf/Makefile (ld-map): Only define if versioning is in use.
733
734         * sysdeps/arm/fpu_control.h: Move to ...
735         * sysdeps/arm/fpu/fpu_control.h: ... here.
736         * sysdeps/generic/fpu_control.h: Made usable as a dummy
737         implementation.
738
739         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
740
741         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
742         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
743         implementation.
744         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
745         Based on patch from Scott Bambrough and Pat Beirne.
746
747         * shlib-versions: Add appropriate definitions for ARM machines.
748
749         * README.template: Mention that Linux/ARM with ELF works now.
750
751 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
752
753         * Makerules: Generate compilation rules for all object suffixes,
754         not only those currently selected, for sources in the current or
755         object directory.
756
757 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
758
759         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
760         match `/' in filename by a character class if requested.
761         * posix/testfnm.c: Rewritten.
762         * posix/testfnm.args: Removed.
763
764 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
765
766         * posix/annexc.c (limits_syms): Add missing symbols.
767         (stdarg_syms): Move va_list to `maybe' list.
768         (stdio_syms): Add FOPEN_MAX.
769
770 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
771
772         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
773         prevent conflict with __bswap_32.
774
775 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
776
777         * nscd/connections.c (pw_send_answer): Make one single writev call.
778         (gr_send_answer): Do the work in two writev calls.  This change
779         changes the protocol.
780
781         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
782         We now can do the job using two readv calls.
783
784 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
785
786         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
787         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
788
789         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
790         and Elf64_Vernaux.
791
792 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
793
794         * configure.in: Recognize pgcc as compiler.
795         Reported by sauron@angband.ee.ualberta.ca.
796
797 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
798
799         * nscd/dbg_log.c: Make sure, that debug message is really written.
800         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
801
802 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
803
804         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
805         Reported by bwelling@anomaly.munge.com [PR libc/720].
806
807         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
808         SVID more for gamma(x) with x integer <= 0.
809         Reported by Stephen L Moshier <moshier@mediaone.net>.
810
811         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
812         Correct test for SVID version of gamma.
813
814         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
815         emulation mode.
816         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
817         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
818
819         * string/string.h: Don't use string function optimization for C++
820         as long as we use macros.
821
822 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
823
824         * posix/fnmatch.c: Fix completely broken range matching.
825
826 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
827
828         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
829
830 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
831
832         * Makefile (headers2_0): Add sigstack.h.
833
834         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
835
836 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
837
838         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
839         Reported by Thorsten Kukuk.
840
841         * string/strcoll.c: Correct problem with empty strings.
842         * string/strxfrm.c: Likewise.
843         Reported by vbzoli@hbrt.hu [PR libc/719].
844
845 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
846
847         * sysdeps/posix/tempname.c: Use the random-name generator
848         already used by mktemp/mkstemp.  Honor TMPDIR.
849
850 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
851
852         * hurd/Makefile (routines): Remove cthreads.
853         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
854
855         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
856
857         * manual/Makefile (distribute): Add summary.texi.
858
859 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
860
861         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
862
863 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
864
865         * configure.in: Correct expression to match gcc version.
866
867         * configure.in: Move test for available port after machine
868         variable is defined.
869
870 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
871
872         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
873         message, copy the buffer and resize it to what the kernel
874         wants to see.  Bug found and analyzed by Thorsten Kukuk
875         <kukuk@weber-eb.uni-paderborn.de>
876
877 1998-07-20  Jose M. Moya  <josem@gnu.org>
878
879         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
880         value.
881
882 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
883
884         * sysdeps/mach/hurd/getdomain.c: New file.
885         * sysdeps/mach/hurd/setdomain.c: New file.
886
887 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
888
889         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
890         a weak alias.
891
892 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
893
894         * libio/libioP.h: Use __PMT in typedef.
895         * libio/strfile.h: Likewise.
896
897 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
898
899         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
900         buffer is too small.
901         Reported by John Levon <j_levon@ncc.co.uk>.
902
903 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
904
905         * shlib-versions: Remove definition for libSegFault.
906
907         * memory.texi: Comment out the relocating allocator description.
908         * manual/signal.texi: Remove reference to relocating allocator.
909         * manual/top-menu.texi: Regenerated.
910
911         * posix/fnmatch.c: Implement [: :] and change to recognize
912         ^ as negation only when not _POSIXLY_CORRECT.
913
914         * sysdeps/generic/glob.c: Add several optimizations.
915
916         * posix/glob.h: Undefine __PMT to prevent warnings.
917         Reported by Roland McGrath.
918
919         * posix/regex.c: Define namespace macros only for _LIBC.
920
921         * sysdeps/arm/dl-machine.h: Fix typo.
922
923         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
924         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
925         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
926         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
927         sigpending, sigqueue, and sigtimedwait.
928         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
929
930         * timezone/leapseconds: Update from tzdata1998f.
931
932 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
933
934         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
935         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
936         * libio/stdio.h: Fix typo.
937
938 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
939
940         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
941         magic memobj port arg parsing stuff.  Fix it someday when we are ready
942         to really use it.
943         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
944         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
945
946 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
947
948         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
949
950 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
951
952         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
953         a weak alias.
954         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
955         * sysdeps/generic/sigsuspend.c: Likewise.
956
957 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
958
959         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
960
961 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
962
963         * Makerules (map-file): Don't use $(wildcard) to find the
964         generated version script, instead look in $(version-maps).
965         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
966         is used.
967         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
968         if versioning is used.  Don't use $(wildcard) to find the
969         generated version script, instead look in $(verson-maps).
970
971 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
972
973         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
974         unused function handle.
975         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
976         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
977         * debug/catchsegv.sh: Fix argument processing, quoting and various
978         typos.  Put the crash info always in the current directory.  Find
979         program in $PATH if it contains no directory component.
980         * Makerules (install-lib.so-versioned,
981         install-lib.so-unversioned): New variables.
982         (install-lib-nosubdir): Depend on unversioned libs in
983         slibdir, not libdir.
984
985 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
986
987         * Make-dist (+tsrcs): Remove references to %-map variables and
988         *.map files.  Add Versions in subdirs.
989         * Makerules (distinfo-vars): Don't write out %-map variables.
990
991 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
992
993         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
994         Include <paths.h> instead.
995         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
996         * sysdeps/unix/sysv/linux/paths.h: Likewise.
997         Reported by Dale Scheetz <dwarf@polaris.net>.
998
999 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
1000
1001         * catgets/open_catalog.c: Strictly check whether catalog file is
1002         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
1003
1004 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1005
1006         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
1007
1008         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
1009
1010 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
1011
1012         * debug/catchsegv.sh: Fix several stupid bugs.
1013
1014         * shlib-versions: Define version for libSegFault.
1015         * debug/Makefile: Replace shared lib version number while rewriting.
1016
1017 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
1018
1019         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
1020         Suggested by Roland McGrath.
1021
1022 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1023
1024         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
1025         generation to control environment.
1026
1027 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
1028
1029         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
1030         Patch by John Tobey <jtobey@banta-im.com>.
1031
1032         * manual/llio.texi: Document readv/writev and mmap functions.
1033         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1034
1035 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1036
1037         * manual/Makefile (texis): Depend on texis.awk.
1038         (nonexamples): Filter out add-on chapters.
1039         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
1040         (stamp-summary): Depend on $(texis) except summary.texi.
1041         ($(inst_infodir)/libc.info): Simplify command.
1042         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
1043         Fix the generation of the detailed node listing to make it
1044         complete again.
1045         * manual/math.texi: Fix signature of lgamma_r.
1046
1047 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
1048
1049         * debug/Makefile (distribute): Add sigcontextinfo.h.
1050         Add rules to generate and install catchsegv.
1051         * debug/catchsegv.sh: New file.
1052
1053 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
1054
1055         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
1056         port instead of a Mach memory object.
1057         (__open): Likewise.
1058         (__libc_read): New function.
1059         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
1060         object.
1061
1062 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
1063
1064         * debug/Makefile (routines): Add backtracesymsfd.
1065         Add rules to generate libSegFault.
1066         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
1067         * debug/execinfo.h: Declare backtrace_symbols_fd.
1068         * sysdeps/generic/backtracesymsfd.c: New file.
1069         * sysdeps/generic/elf/backtracesymsfd.c: New file.
1070         * sysdeps/generic/segfault.c: New file.
1071         * sysdeps/generic/sigcontextinfo.h: New file.
1072         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
1073
1074         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
1075
1076 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
1077
1078         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
1079         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
1080
1081 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
1082
1083         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
1084         * assert/assert-perr.c: Likewise.
1085         * assert/assert.c: Likewise.
1086         * gconv_conf.c: Likewise.
1087         * libio/iofputs_u.c: Likewise.
1088         * malloc/mtrace.c: Likewise.
1089         * malloc/obstack.c: Likewise.
1090         * misc/error.c: Likewise.
1091         * misc/syslog.c: Likewise.
1092         * stdio-common/asprintf.c: Likewise.
1093         * stdio-common/dprintf.c: Likewise.
1094         * stdio-common/getw.c: Likewise.
1095         * stdio-common/putw.c: Likewise.
1096         * stdio-common/snprintf.c: Likewise.
1097         * stdio-common/sprintf.c: Likewise.
1098         * stdio-common/sscanf.c: Likewise.
1099         * sunrpc/svc_simple.c: Likewise.
1100         * sysdeps/generic/abort.c: Likewise.
1101
1102         * rt/aio_cancel.c: Don't define ECANCELED here.
1103         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
1104
1105 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
1106
1107         * argp/argp-fmtstream.c: Unify names of used global functions.
1108         * argp/argp-help.c: Likewise.
1109         * assert/assert-perr.c: Likewise
1110         * assert/assert.c: Likewise
1111         * dirent/scandir.c: Likewise
1112         * dirent/scandir64.c: Likewise
1113         * dirent/versionsort.c: Likewise
1114         * dirent/versionsort64.c: Likewise
1115         * gmon/bb_exit_func.c: Likewise.
1116         * gmon/gmon.c: Likewise.
1117         * grp/initgroups.c: Likewise.
1118         * iconv/gconv_conf.c: Likewise.
1119         * inet/getnameinfo.c: Likewise.
1120         * inet/getnetgrent_r.c: Likewise.
1121         * inet/inet_ntoa.c: Likewise.
1122         * inet/rcmd.c: Likewise.
1123         * inet/rexec.c: Likewise.
1124         * inet/ruserpass.c: Likewise.
1125         * io/fts.c: Likewise.
1126         * io/ftw.c: Likewise.
1127         * io/ftw64.c: Likewise.
1128         * io/getdirname.c: Likewise.
1129         * io/getwd.c: Likewise.
1130         * io/lockf.c: Likewise.
1131         * libio/iofdopen.c: Likewise.
1132         * libio/iopopen.c: Likewise.
1133         * login/utmp_daemon.c: Likewise.
1134         * malloc/mtrace.c: Likewise.
1135         * malloc/obstack.c
1136         * misc/daemon.c: Likewise.
1137         * misc/efgcvt_r.c: Likewise.
1138         * misc/err.c: Likewise.
1139         * misc/error.c: Likewise.
1140         * misc/fstab.c: Likewise.
1141         * misc/getpass.c: Likewise.
1142         * misc/getttyent.c: Likewise.
1143         * misc/mntent_r.c: Likewise.
1144         * misc/search.h: Likewise.
1145         * misc/syslog.c: Likewise.
1146         * nscd/nscd_getgr_r.c: Likewise.
1147         * nscd/nscd_getpw_r.c: Likewise.
1148         * posix/getpgrp.c: Likewise.
1149         * posix/wordexp.c: Likewise.
1150         * pwd/fgetpwent_r.c: Likewise.
1151         * pwd/getpw.c: Likewise.
1152         * resolv/herror.c: Likewise.
1153         * resolv/res_init.c: Likewise.
1154         * shadow/fgetspent_r.c: Likewise.
1155         * shadow/lckpwdf.c: Likewise.
1156         * signal/sigrelse.c: Likewise.
1157         * stdio-common/asprintf.c: Likewise.
1158         * stdio-common/dprintf.c: Likewise.
1159         * stdio-common/getw.c: Likewise.
1160         * stdio-common/putw.c: Likewise.
1161         * stdio-common/snprintf.c: Likewise.
1162         * stdio-common/sprintf.c: Likewise.
1163         * stdio-common/sscanf.c: Likewise.
1164         * stdlib/lrand48_r.c: Likewise.
1165         * stdlib/mrand48_r.c: Likewise.
1166         * string/argz-replace.c: Likewise.
1167         * string/envz.c: Likewise.
1168         * sunrpc/auth_des.c: Likewise.
1169         * sunrpc/auth_unix.c: Likewise.
1170         * sunrpc/bindrsvprt.c: Likewise.
1171         * sunrpc/clnt_gen.c: Likewise.
1172         * sunrpc/clnt_perr.c: Likewise.
1173         * sunrpc/clnt_simp.c: Likewise.
1174         * sunrpc/clnt_tcp.c: Likewise.
1175         * sunrpc/clnt_udp.c: Likewise.
1176         * sunrpc/get_myaddr.c: Likewise.
1177         * sunrpc/key_call.c: Likewise.
1178         * sunrpc/netname.c: Likewise.
1179         * sunrpc/openchild.c: Likewise.
1180         * sunrpc/pmap_rmt.c: Likewise.
1181         * sunrpc/rpc_dtable.c: Likewise.
1182         * sunrpc/rtime.c: Likewise.
1183         * sunrpc/svc_run.c: Likewise.
1184         * sunrpc/svc_simple.c: Likewise.
1185         * sunrpc/svc_tcp.c: Likewise.
1186         * sunrpc/svc_udp.c: Likewise.
1187         * sunrpc/svcauth_des.c: Likewise.
1188         * sunrpc/xdr_array.c: Likewise.
1189         * sunrpc/xdr_rec.c: Likewise.
1190         * sunrpc/xdr_ref.c: Likewise.
1191         * sunrpc/xdr_stdio.c: Likewise.
1192         * sysdeps/generic/abort.c: Likewise.
1193         * sysdeps/generic/dl-sysdep.c: Likewise.
1194         * sysdeps/generic/fstatfs64.c: Likewise.
1195         * sysdeps/generic/ftruncate64.c: Likewise.
1196         * sysdeps/generic/getrlimit64.c: Likewise.
1197         * sysdeps/generic/glob.c: Likewise.
1198         * sysdeps/generic/prof-freq.c: Likewise.
1199         * sysdeps/generic/putenv.c: Likewise.
1200         * sysdeps/generic/statfs64.c: Likewise.
1201         * sysdeps/generic/ttyname_r.c: Likewise.
1202         * sysdeps/generic/utmp_file.c: Likewise.
1203         * sysdeps/generic/vlimit.c: Likewise.
1204         * sysdeps/generic/vtimes.c: Likewise.
1205         * sysdeps/posix/cuserid.c: Likewise.
1206         * sysdeps/posix/euidaccess.c: Likewise.
1207         * sysdeps/posix/mkstemp.c: Likewise.
1208         * sysdeps/posix/mktemp.c: Likewise.
1209         * sysdeps/posix/pread.c: Likewise.
1210         * sysdeps/posix/pread64.c: Likewise.
1211         * sysdeps/posix/profil.c: Likewise.
1212         * sysdeps/posix/pwrite.c: Likewise.
1213         * sysdeps/posix/pwrite64.c: Likewise.
1214         * sysdeps/posix/sigblock.c: Likewise.
1215         * sysdeps/posix/sigpause.c: Likewise.
1216         * sysdeps/posix/ttyname.c: Likewise.
1217         * sysdeps/posix/ttyname_r.c: Likewise.
1218         * sysdeps/posix/waitid.c: Likewise.
1219         * sysdeps/unix/getlogin_r.c: Likewise.
1220         * sysdeps/unix/grantpt.c: Likewise.
1221         * sysdeps/unix/rewinddir.c: Likewise.
1222         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1223         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1224         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1225         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1226         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1227         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1228         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1229         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1230         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1231         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1232         * sysvipc/sys/shm.h: Likewise.
1233         * time/ctime_r.c: Likewise.
1234         * time/strptime.c: Likewise.
1235         * wcsmbs/mbrlen.c: Likewise.
1236         * wcsmbs/wcsdup.c: Likewise.
1237         * wcsmbs/wcsxfrm.c: Likewise.
1238         * wctype/wcfuncs.c: Likewise.
1239
1240         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1241         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1242         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1243         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1244         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1245         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1246         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1247         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1248
1249         * grp/fgetgrent_r.c: Use explicit locking of the stream.
1250
1251         * elf/Makefile (rtld-routines): Add dl-environ.
1252         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1253         to...
1254         * sysdeps/generic/dl-environ.c: here.  New file.
1255
1256         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1257         * libio/Versions: Add fputs_unlocked.
1258         * libio/iofputs_u.c: New file.
1259         * libio/stdio.h: Add prototype for fputs_unlocked.
1260
1261         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1262         * sunrpc/rpc/clnt.h: Likewise.
1263         * sunrpc/rpc/pmap_clnt.h: Likewise.
1264         * sunrpc/rpc/svc.h: Likewise.
1265         * sunrpc/rpc/xdr.h: Likewise.
1266
1267         * sysdeps/i386/memchr.S: Correct for more strict gas.
1268         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1269         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1270         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1271         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1272
1273 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1274
1275         * configure.in: Change message for binutils version from
1276         2.8.1.0.17->2.8.1.0.23.
1277
1278 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
1279
1280         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1281         Patch by John Tobey <jtobey@banta-im.com>.
1282
1283 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1284
1285         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1286         instead of sysconf.
1287
1288 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
1289
1290         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1291         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1292         (conv_error): Likewise.
1293         (input_error): Likewise.
1294         (memory_error): Likewise.
1295
1296 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1297
1298         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1299         implementation.  Include <entry.h>.  Replace references to symbol
1300         _start with macro ENTRY_POINT.
1301         (__libc_uid): Remove.
1302         (__libc_multiple_libcs): New variable.
1303         (__libc_stack_end): New variable.
1304         (_dl_hwcap_mask): New variable.
1305         (_dl_important_hwcaps): New function.
1306         (_dl_show_auxv): Mark internal.
1307
1308 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1309
1310         * mach/Makefile: Create target directory before generating
1311         mach-syscalls.mk.
1312         * mach/Machrules: Invoke awk using AWK variable.  Create target
1313         directory before generating server stubs.
1314
1315 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1316
1317         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1318
1319         * configure.in: Allow egcs-2.92.
1320
1321 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1322
1323         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1324         chapter files.  Exorcise the chapters, chapters-incl mess.
1325         Support inserting doc chapters from add-on modules.
1326         (chapters): New variable.
1327         (add-chapters): New variable.
1328         (appendices): New variable.
1329         (libc.texinfo): New target.
1330         (clean): Fix bugs.
1331         (realclean): Fix bugs.
1332
1333         * manual/texis.awk: New file.
1334         * manual/libc-texinfo.sh: New file.
1335         * manual/libc-texinfo.in: New file.
1336
1337         * manual/conf.texi (top @node): Remove next pointer.
1338         * manual/lang.texi (top @node): Remove prev pointer.
1339
1340         * manual/job.texi (top @node): Add explicit pointers.
1341         * manual/message.texi (top @node): Add explicit pointers.
1342         * manual/nss.texi (top @node): Add explicit pointers.
1343         * manual/process.texi (top @node): Add explicit pointers.
1344         * manual/startup.texi (top @node): Add explicit pointers.
1345         * manual/terminal.texi (top @node): Add explicit pointers.
1346         * manual/users.texi (top @node): Add explicit pointers.
1347
1348         * manual/arith.texi: Add %MENU% tag.
1349         * manual/conf.texi: Add %MENU% tag.
1350         * manual/contrib.texi: Add %MENU% tag.
1351         * manual/ctype.texi: Add %MENU% tag.
1352         * manual/errno.texi: Add %MENU% tag.
1353         * manual/filesys.texi: Add %MENU% tag.
1354         * manual/header.texi: Add %MENU% tag.
1355         * manual/install.texi: Add %MENU% tag.
1356         * manual/intro.texi: Add %MENU% tag.
1357         * manual/io.texi: Add %MENU% tag.
1358         * manual/job.texi: Add %MENU% tag.
1359         * manual/lang.texi: Add %MENU% tag.
1360         * manual/llio.texi: Add %MENU% tag.
1361         * manual/locale.texi: Add %MENU% tag.
1362         * manual/maint.texi: Add %MENU% tag.
1363         * manual/math.texi: Add %MENU% tag.
1364         * manual/mbyte.texi: Add %MENU% tag.
1365         * manual/memory.texi: Add %MENU% tag.
1366         * manual/message.texi: Add %MENU% tag.
1367         * manual/nss.texi: Add %MENU% tag.
1368         * manual/pattern.texi: Add %MENU% tag.
1369         * manual/pipe.texi: Add %MENU% tag.
1370         * manual/process.texi: Add %MENU% tag.
1371         * manual/search.texi: Add %MENU% tag.
1372         * manual/setjmp.texi: Add %MENU% tag.
1373         * manual/signal.texi: Add %MENU% tag.
1374         * manual/socket.texi: Add %MENU% tag.
1375         * manual/startup.texi: Add %MENU% tag.
1376         * manual/stdio.texi: Add %MENU% tag.
1377         * manual/string.texi: Add %MENU% tag.
1378         * manual/sysinfo.texi: Add %MENU% tag.
1379         * manual/terminal.texi: Add %MENU% tag.
1380         * manual/time.texi: Add %MENU% tag.
1381         * manual/users.texi: Add %MENU% tag.
1382
1383 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1384
1385         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1386         Update.
1387
1388 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1389
1390         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1391         style declaration to avoid warning.
1392         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1393
1394 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1395
1396         * elf/rtld.c (process_dl_debug): Add missing continue.
1397
1398 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1399
1400         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1401         code needs it.
1402
1403 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1404
1405         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1406         sysd-dirs-done.
1407         * Makerules: Don't generate version maps too early.
1408         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1409         subdirs has changed.
1410
1411 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1412
1413         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1414
1415 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1416
1417         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1418         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1419         return value.
1420
1421 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1422
1423         * elf/dl-open.c (dl_open_worker): New function.
1424         (_dl_open): Call it to do the actual work while catching errors.
1425         * elf/dl-close.c (_dl_close): Only call termination function if
1426         the initialisation function was called.
1427
1428 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1429
1430         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1431         Reported by Felix von Leitner <leitner@amdiv.de>.
1432
1433 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1434
1435         * Make-dist (+sysdep-tsrcs): Add Versions.
1436
1437 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1438
1439         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1440         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1441         * sysdeps/powerpc/Versions: New file.
1442         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1443         and __errno_location.
1444         * misc/Versions: Add brk and sbrk.
1445         * posix/Versions: Add environ, __environ and _environ.
1446         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1447
1448 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1449
1450         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1451         Patch by Zack Weinberg.
1452
1453 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1454
1455         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1456         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1457         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1458
1459 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1460
1461         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1462
1463 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1464
1465         * posix/unistd.h: Simplify #ifdefs.
1466
1467         * libio/libio.h: Undo last change due to possible C++ problems.
1468         * libio/fileops.h: Likewise.
1469
1470 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1471
1472         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1473         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1474         * io/utime.h: Define time_t also for __USE_XOPEN.
1475         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1476         Define *_t types except for pid_t also for __USE_XOPEN.
1477         Define S_* macros also for __USE_XOPEN.
1478         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1479         THOUSEP also for __USE_XOPEN.
1480         * math/math.c: Define M_* macros also for __USE_XOPEN.
1481         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1482         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1483         defined.
1484         * posix/glob.h: Likewise for GLOB_NOSYS.
1485         * posix/regex.h: Likewise for REG_NOSYS.
1486         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1487         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1488         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1489         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1490         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1491         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1492         for __USE_POSIX199309.
1493         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1494         constants also for __USE_XOPEN.
1495         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1496
1497         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1498         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1499
1500         * libio/stdio.h: Don't declare fclose_unlocked.
1501
1502         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1503
1504 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1505
1506         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1507         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1508         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1509         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1510         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1511         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1512         prototype for getopt.
1513         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1514         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1515         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1516         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1517         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1518         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1519         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1520         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1521         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1522         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1523         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1524         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1525         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1526         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1527         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1528         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1529         getc_unlocked, getchar_unlocked, putc_unlocked and
1530         putchar_unlocked.
1531
1532         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1533         from here ...
1534         * stdio-common/Versions: ... to here.
1535
1536 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1537
1538         * Makerules (versioning): Correct typo.
1539
1540 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1541
1542         * elf/Versions: Add _dl_mcount_wrapper_check.
1543         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1544         _dl_mcount_wrapper_check.
1545         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1546
1547         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1548         internal_function.
1549         * elf/ldsodefs.h: Likewise.
1550
1551         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1552
1553         * libio/stdio.h: Make sure va_list is defined for X/Open.
1554         Define P_tmpdir for X/Open.
1555
1556         * posix/regex.h: Fix typo.
1557
1558         * posix/unistd.h: Define intptr_t if not already happened.
1559         Add pthread_atfork prototype.
1560         * sysdeps/generic/bits/types.h: Define __intptr_t.
1561         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1562         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1563         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1564         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1565         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1566         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1567         * sysdeps/wordsize-64/stdint.h: Likewise.
1568
1569         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1570
1571         * signal/Makefile (headers): Add bits/sigthread.h.
1572         * signal/signal.h: Include bits/sigthread.h.
1573         * sysdeps/generic/bits/sigthread.h: New file.
1574
1575         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1576
1577         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1578         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1579         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1580         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1581
1582         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1583
1584         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1585         programs.
1586         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1587         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1588         names.
1589
1590         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1591
1592         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1593         Remove O_READ and O_WRITE definition.
1594
1595         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1596         and RLIM_SAVED_CUR.
1597
1598         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1599
1600 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1601
1602         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1603         scripts directory.  Pass move-if-change to awk.
1604         (common-generated): Add $(version-maps) and sysd-versions.
1605         * versions.awk: Moved to...
1606         * scripts/versions.awk: ... here.  Use move-if-change to void
1607         touching unchanged files.  Print "version-maps = ..." instead of
1608         "all-version-maps = ..." and without $(common-objpfx).  Explain
1609         expected variable names.
1610         * Makefile (distribute): Updated.
1611
1612 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1613
1614         * misc/getttyent.c (getttyent): Don't return with locked stream.
1615         * misc/mntent_r.c (__getmntent_r): Likewise.
1616
1617 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1618
1619         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1620         if stream is line buffered.
1621         (_io_file_overflow): Likewise.
1622         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1623         streams writing '\n' flushes the string.
1624
1625 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1626
1627         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1628         * elf/dl-support.c: Define it here...
1629         * elf/rtld.c: ...and here.
1630
1631 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1632
1633         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1634
1635 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1636
1637         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1638         __ino64_t definition.
1639         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1640         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1641
1642         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1643         script if lddlibc4 failed.
1644         Reported by B. D. Elliott <bde@accessone.com>.
1645
1646 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1647
1648         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1649         Improve generated strings a bit.
1650
1651 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1652
1653         * posix/Makefile (generated): Remove $(objpfx) from the names.
1654
1655 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1656
1657         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1658         format string.
1659
1660         * libio/iofread_u.c: Include <stdio.h> for prototype.
1661         * libio/iofwrite_u.c: Likewise.
1662
1663 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1664
1665         * db2/Versions: New file.
1666
1667 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1668
1669         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1670         ($(common-objpfx)sysd-versions): Remove rule.
1671         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1672         Pass name of Versions.def file to script and redirect output to
1673         target.  Include it and make all generated version maps depend on
1674         it.
1675         * versions.awk: Print out variable definition containing all
1676         generated version maps.  Print error messages to stderr.  Remove
1677         temp file.
1678
1679 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1680
1681         * posix/annexc.c (check_header): Terminate macro name before
1682         comparing.
1683         (get_null_defines): Allow builtin macros with parameters.
1684         (fmt, testfmt): Add -D_LIBC.
1685         * posix/Makefile: Remove bogus duplicate include directories from
1686         annexc test command.
1687
1688 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1689
1690         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1691         password scheme.
1692         (_nss_nis_getpwnam_r): Likewise.
1693         (_nss_nis_getpwuid_r): Likewise.
1694
1695 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1696
1697         * libio/Versions: Move symbols whose source lives in
1698         stdio-common to ...
1699         * stdio-common/Versions: ... here.
1700         * stdio/Versions: Add missing symbols.
1701
1702 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1703
1704         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1705         __syscall_sendmsg.
1706         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1707         __syscall_recvmsg.
1708         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1709         and make __recvmsg and recvmsg weak aliases.
1710         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1711         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1712         and __syscall_sendmsg.
1713
1714 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1715
1716         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1717         stream.
1718         * inet/ruserpass.c (token): Likewise.
1719         * nss/nsswitch.c (nss_parse_file): Likewise.
1720         * intl/localealias.c: Likewise.  Also for ferror.
1721         * time/getdate.c (__getdate_r): Likewise.
1722
1723         * libio/Makefile (routines): Add iofgets_u.
1724         * libio/iofgets_u.c: New file.
1725         * libio/Versions: Add fgets_unlocked.
1726         * libio/stdio.h: Add prototype for fgets_unlocked.
1727
1728         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1729         * misc/getusershell.c (initshells): Likewise.
1730         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1731         fgets_unlocked.
1732         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1733         * resolv/res_init.c (res_init): Likewise.
1734         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1735
1736 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1737
1738         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1739         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1740
1741 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1742
1743         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1744         _unlocked functions.
1745
1746         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1747         is a private FILE.
1748
1749 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1750
1751         * csu/Makefile: Build crt files in lib pass.
1752         * db2/Makefile (distribute): Add mutex/sco.cc.
1753         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1754         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1755         s-proto.d if avoid-generated is set.
1756
1757         * sysdeps/alpha/Dist: List only one file per line.
1758         * sysdeps/generic/Dist: Likewise.
1759         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1760         * sysdeps/sparc/sparc32/Dist: Likewise.
1761         * sysdeps/unix/Dist: Likewise.
1762         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1763
1764         * sysdeps/mach/hurd/i386/Dist: New file.
1765         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1766         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1767         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1768         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1769
1770 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1771
1772         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1773         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1774
1775         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1776
1777         * time/tzfile.c (decode): Optimize by using bswap_32.
1778         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1779         __tzname array values.
1780         (__tzfile_compute): Correct setting of __tzname array values.
1781         * time/tzset.c (__tzstring): Clean up a bit.
1782
1783 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1784
1785         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1786
1787 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1788
1789         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1790         that fd can be bigger than FD_SETSIZE.
1791
1792 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1793
1794         * nscd/grpcache.c: Include <unistd.h>.
1795         * nscd/pwdcache.c: Likewise.
1796
1797         * nis/nis_modify.c: Include <string.h>.
1798         * nis/nis_add.c: Likewise.
1799         * nis/nis_checkpoint.c: Likewise.
1800         * posix/runptests.c: Likewise.
1801         * sysdeps/generic/statvfs64.c: Likewise.
1802         * sysdeps/generic/fstatvfs64.c: Likewise.
1803
1804 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1805
1806         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1807         to match data from Unicode.
1808         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1809
1810 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1811
1812         * stdio-common/printf.h: Define printf_function and
1813         printf_arginfo_function types using __PMT not __P.
1814         Reported by Marc Lehmann.
1815
1816 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1817
1818         * assert/test-assert.c: New test.
1819         * assert/test-assert-perr.c: New test.
1820         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1821
1822 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1823
1824         BSD-style SCM_CREDS support.
1825
1826         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1827         SCM_CREDS.
1828         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1829         visible SCM_CREDS packet to what the kernel wants.
1830         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1831         SCM_CREDS packet output by kernel to what users want.
1832
1833         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1834         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1835         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1836         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1837
1838         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1839         __sendmsg and __recvmsg to sysdep_routines.
1840         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1841
1842 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1843
1844         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1845         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1846         * nscd/nscd.c: Check, if pthread_create fails.
1847
1848 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1849
1850         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1851         format strings.
1852         * stdio-common/bug1.c (main): Likewise.
1853         * stdio-common/bug5.c (main): Likewise.
1854         * stdio-common/tstgetln.c (main): Likewise.
1855         * elf/sprof.c (generate_call_graph): Likewise.
1856         (load_shobj): Likewise.
1857         * posix/runptests.c (main): Likewise.
1858         * string/tst-strlen.c (main): Likewise.
1859
1860         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1861         variable q3.
1862         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1863
1864 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1865
1866         * wctype/Versions: Add __towctrans.
1867         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1868
1869 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1870
1871         * grp/initgroups.c (compat_call): Only call dynamically loaded
1872         functions if they are really present.
1873
1874 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1875
1876         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1877         #ifdef that contains __BEGIN_DECLS.
1878
1879 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1880
1881         * libio/iofwrite.c: Fix return value when size == 0.
1882
1883 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1884
1885         * posix/Makefile (distribute): Add annexc.c.
1886         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1887
1888 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1889
1890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1891         bits/pthreadtypes.h here, and do not clobber headers.
1892
1893         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1894
1895 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1896
1897         * timezone/tst-timezone.c: Add tests for tzname variable.
1898
1899 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1900
1901         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1902         rule that lists all of them as targets.
1903         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1904         fragment that defines $(vers-libs) based on contents of that file;
1905         then include it.
1906         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1907         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1908         Predicate all this on avoid-generated unset as well as versioning.
1909
1910 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1911
1912         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1913
1914 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1915
1916         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1917         a copy.
1918         * Makefile: Add rules to generate map files.
1919         (distribute): Remove libc.map, add Versions.def and versions.awk.
1920         * Makerules: Change rules to find map files on common-objpfx.
1921         * elf/Makefile: Likewise.
1922         * md5-crypt/Makefile: Likewise.
1923         * nis/Makefile (libnsl-map): Remove.
1924         * Versions.def: New file.
1925         * versions.awk: New file.
1926         * argp/Versions: New file.
1927         * assert/Versions: New file.
1928         * catgets/Versions: New file.
1929         * csu/Versions: New file.
1930         * ctype/Versions: New file.
1931         * db/Versions: New file.
1932         * debug/Versions: New file.
1933         * dirent/Versions: New file.
1934         * elf/Versions: New file.
1935         * gmon/Versions: New file.
1936         * grp/Versions: New file.
1937         * hesiod/Versions: New file.
1938         * hurd/Versions: New file.
1939         * iconv/Versions: New file.
1940         * inet/Versions: New file.
1941         * intl/Versions: New file.
1942         * io/Versions: New file.
1943         * libio/Versions: New file.
1944         * linuxthreads/Versions: New file.
1945         * locale/Versions: New file.
1946         * login/Versions: New file.
1947         * malloc/Versions: New file.
1948         * math/Versions: New file.
1949         * md5-crypt/Versions: New file.
1950         * misc/Versions: New file.
1951         * nis/Versions: New file.
1952         * nss/Versions: New file.
1953         * posix/Versions: New file.
1954         * pwd/Versions: New file.
1955         * resolv/Versions: New file.
1956         * resource/Versions: New file.
1957         * rt/Versions: New file.
1958         * setjmp/Versions: New file.
1959         * shadow/Versions: New file.
1960         * signal/Versions: New file.
1961         * socket/Versions: New file.
1962         * stdio/Versions: New file.
1963         * stdio-common/Versions: New file.
1964         * stdlib/Versions: New file.
1965         * streams/Versions: New file.
1966         * string/Versions: New file.
1967         * sunrpc/Versions: New file.
1968         * sysdeps/alpha/Versions: New file.
1969         * sysdeps/alpha/fpu/Versions: New file.
1970         * sysdeps/i386/Versions: New file.
1971         * sysdeps/sparc/Versions: New file.
1972         * sysdeps/unix/sysv/Versions: New file.
1973         * sysdeps/unix/sysv/linux/Versions: New file.
1974         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1975         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1976         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1977         * sysvipc/Versions: New file.
1978         * termios/Versions: New file.
1979         * time/Versions: New file.
1980         * wcsmbs/Versions: New file.
1981         * wctype/Versions: New file.
1982         * libc.map: Removed.
1983         * db/libdb.map: Removed.
1984         * elf/libdl.map: Removed.
1985         * hesiod/libnss_hesiod.map: Removed.
1986         * hurd/libhurduser.map: Removed.
1987         * hurd/libmachuser.map: Removed.
1988         * linuxthreads/libpthread.map: Removed.
1989         * locale/libBrokenLocale.map: Removed.
1990         * login/libutil.map: Removed.
1991         * math/libm.map: Removed.
1992         * md5-crypt/libcrypt.map: Removed.
1993         * nis/libnsl.map: Removed.
1994         * nis/libnsl_compat.map: Removed.
1995         * nis/libnss_nis.map: Removed.
1996         * nis/libnss_nisplus.map: Removed.
1997         * nss/libnss_db.map: Removed.
1998         * nss/libnss_files.map: Removed.
1999         * resolv/libnss_dns.map: Removed.
2000         * resolv/libresolv.map: Removed.
2001         * rt/librt.map: Removed.
2002
2003         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
2004         Fix typos.
2005
2006         * elf/rtld.c (process_dl_debug): Recognize 'all'.
2007         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
2008
2009         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
2010         correct size.
2011
2012 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
2013
2014         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
2015         in comment.
2016
2017         * nscd/nscd.c: Include unistd.h.
2018
2019 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
2020
2021         * math/libm-test.c: Adjust delta for indentities1_test because gcc
2022         became cleverer.
2023
2024 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2025
2026         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
2027
2028 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2029
2030         * scripts/test-installation.pl: Include <stdio.h> in test program
2031         to make it strictly conforming.
2032
2033 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2034
2035         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2036         not a strong alias.
2037         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2040         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
2041
2042 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2043
2044         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2045         not a strong alias.
2046
2047 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
2048
2049         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
2050         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
2051         bits/pthreadtypes.h.
2052
2053 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
2054
2055         * include/aio.h: New file.
2056         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
2057         (tests): Build and run annexc program.
2058         * posix/annexc.c: New file.
2059         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
2060         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
2061         * rt/aio_misc.c: Include limits.h.
2062         * rt/aio_notify.c: Include errno.h.
2063         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
2064         Define size_t.
2065         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2066         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2067         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2068         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
2069         kernel doesn't do this.
2070         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
2071         __USE_LARGEFILE64 is defined.
2072         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
2073         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
2074         if requested.
2075         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
2076
2077         * stdlib/isomac.c: Avoid include_next warning.
2078
2079 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
2080
2081         * argp/argp.h: Use __PMT instead of __P for function pointer.
2082         * iconv/gconv.h: Likewise.
2083         * io/fts.h: Likewise.
2084         * io/ftw.h: Likewise.
2085         * libio/libio.h: Likewise.
2086         * malloc/mcheck.h: Likewise.
2087         * misc/search.h: Likewise.
2088         * posix/glob.h: Likewise.
2089         * resolv/resolv.h: Likewise.
2090         * signal/signal.h: Likewise.
2091         * stdlib/stdlib.h: Likewise.
2092         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2093         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2094
2095 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2096
2097         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
2098
2099 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100
2101         * posix/wordexp.c (parse_param): Fix memory leak.
2102
2103 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2104
2105         * libc.map: Export _IO_ftrylockfile.
2106
2107 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2108
2109         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
2110         __get[pu]id.
2111
2112 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2113
2114         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
2115
2116         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
2117         same search list twice.
2118
2119 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2120
2121         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
2122         used to optimize loop/select.
2123
2124 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2125
2126         * sysdeps/generic/init-first.c: Don't define __libc_pid.
2127         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2128         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2129         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2130         * sysdeps/arm/init-first.c: Likewise.
2131         * posix/getopt_init.c: Don't use __libc_pid.
2132         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2133         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2134         * libc.map: Remove __libc_uid and __libc_pid.
2135
2136 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2137
2138         * sunrpc/rtime.c (rtime): Use poll instead of select.
2139
2140 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2141
2142         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
2143         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2144         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2145         Patches from FreeBSD current.
2146
2147 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2148
2149         * nscd/connections.c (handle_new_request): Handle POLLHUP
2150         correctly.
2151         (close_sockets): Correct parameter to dbg_log.
2152
2153 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
2154
2155         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2156         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
2157         (elf_machine_fixup_plt): Likewise.
2158         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2159         _dl_pagesize not set, use system call to always get correct answer.
2160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2161         (__syscall_getpagesize): Add
2162
2163 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
2164
2165         * resolv/res_send.c (res_send): Fix typo.
2166
2167 1998-06-25  Andi Kleen <ak@muc.de>
2168
2169         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2170         * resolv/res_send.c (res_send): Likewise.
2171
2172 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2173
2174         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2175         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2176
2177 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
2178
2179         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2180         * math/atest-exp2.c (exp_mpn, main): Likewise.
2181         * math/atest-sincos.c (main): Likewise.
2182
2183         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
2184         base handling away from strtoul.  Always reset errno.
2185
2186         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2187
2188         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2189         _dl_profile_map if _dl_name_match_p.
2190         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
2191         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
2192
2193         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2194         as early-clobber.
2195
2196         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2197         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2198         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2199
2200 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2201
2202         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2203
2204 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2205
2206         * nis/nis_call.c: Don't copy server structure.
2207         * nis/nis_intern.h: Remove unused entries.
2208         * nis/nis_table.c: Rewrite __create_ib_request.
2209
2210 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
2211
2212         * configure.in: Check for -fexceptions.
2213         * config.make.in: Define exceptions, not no-exceptions.
2214         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
2215         __P to use throw().
2216         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2217         $(exceptions).
2218         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2219         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2220         lfind, and lsearch prototpypes.
2221         * stdlib/stdlib.h: Likewise for bsearch and qsort.
2222
2223 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2224
2225         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2226
2227 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2228
2229         * Makefile (remove-old-headers): Make phony.
2230
2231         * configure.in: Substitute @old_glibc_headers@.
2232
2233 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2234
2235         * libc.map: Remove __libc_uid.
2236
2237 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2238
2239         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2240         typos.
2241
2242 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2243
2244         * libc.map: Add Alpha-specific io function from protected namespace.
2245
2246 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
2247
2248         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2249         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2250         CPPFLAGS.
2251
2252         * libc.map: Export __sigaction.
2253
2254 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2255
2256         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2257         (from Linux 2.1.107).
2258
2259 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
2260
2261         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2262         position when file was opened here.
2263         Reported by Howard Chu <hyc@platinum.com>.
2264
2265         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2266         undefined in a second inclusion.
2267
2268 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2269
2270         * sysdeps/mach/hurd/i386/Makefile: New file.
2271         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2272         __libc_init_secure.
2273         (_hurd_stack_setup): Renamed
2274         from __libc_init_first.
2275         (__libc_init_first): New function.
2276         * sysdeps/mach/hurd/i386/static-start.S: New file.
2277
2278 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2279
2280         * sysdeps/mach/hurd/i386/init-first.c
2281
2282 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2283
2284         * grp/initgroups.c: Use _CALL_DL_FCT.
2285
2286 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2287
2288         * elf/rtld.c (process_dl_debug): Add missing continue.
2289
2290 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2291
2292         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2293
2294 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2295
2296         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2297
2298 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
2299
2300         * config.make.in: Remove LDAP support.
2301         * nss/Makefile: Likewise.
2302
2303 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2304
2305         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2306         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2307         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2308         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2309
2310 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2311
2312         * mach/Makefile: Change `mv' invocations to `mv -f'.
2313         * mach/Machrules: Likewise.
2314
2315 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2316
2317         * config.make.in (old-glibc-headers): Add it.
2318
2319         * configure.in: Add test for glibc 2.0.x headers.
2320
2321         * Makefile (headers2_0): New variable - contains so far only
2322         Linux/Intel glibc 2.0.x headers.
2323         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2324         (install): Depend on remove-old-headers.
2325
2326 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2327
2328         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2329         make ftruncate a weak alias.
2330         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2331         __ftruncate.
2332         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2333         (truncate): Fix function defenition to match prototype.
2334
2335 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2336
2337         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2338         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2339
2340 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2341
2342         * sysdeps/generic/glob.c: Make it possible to include glob.h
2343         before loading glob.c.
2344         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2345
2346 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2347
2348         * nscd/connections.c: Use poll() instead of select().
2349
2350 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2351
2352         * sysdeps/generic/Dist: Fix typo.
2353
2354 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2355
2356         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2357         * nis/nis_addmember.c: Likewise.
2358         * nis/nis_call.c: Likewise.
2359         * nis/nis_creategroup.c: Likewise.
2360         * nis/nis_destroygroup.c: Likewise.
2361         * nis/nis_findserv.c: Likewise.
2362         * nis/nis_ismember.c: Likewise.
2363         * nis/nis_print.c: Likewise.
2364         * nis/nis_print_group_entry.c: Likewise.
2365         * nis/nis_removemember.c: Likewise.
2366         * nis/nis_verifygroup.c: Likewise.
2367         * nis/ypclnt.c: Likewise.
2368
2369         * nis/nis_file.c: Close file handles.
2370
2371         * nis/nis_callback.c: Fix typo.
2372
2373 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2374
2375         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2376         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2377         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2378         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2379         * nis/nss_nis/nis-initgroups.c: Likewise.
2380         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2381         __nss_lookup_function and make it public.
2382         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2383         module if exists, else use old method.
2384
2385 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2386
2387         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2388         definition.
2389         * nss/getXXent_r.c (set_function, end_function, get_function):
2390         Likewise.  Reported by Thorsten Kukuk.
2391
2392         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2393
2394 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2395
2396         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2397         1998-06-16 and distribute kernel_termios.h.
2398
2399         * nis/Makefile (distribute): Add nis_xdr.h.
2400
2401 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2402
2403         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2404         kernels that don't have sigaltstack.
2405
2406 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2407
2408         * sysdeps/generic/bits/sem.h: Don't define union semun.
2409
2410         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2411
2412         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2413         here.
2414         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2415         definition here.
2416
2417 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2418
2419         * signal/signal.h: Add prototype for __sigaltstack.
2420         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2421         Remove sigstack entry.
2422         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2423         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2424
2425         * sysdeps/i386/backtrace.c: Add casts.
2426
2427 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2428
2429         * intl/dcgettext.c: use complete type name.
2430         * intl/hash-string.h: Likewise.
2431
2432         * intl/localealias.c: Undo patch from 1998-04-29.
2433         * intl/l10nflist.c: Likewise.
2434         * intl/loadinfo.h: Likewise.
2435
2436 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2437
2438         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2439
2440 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2441
2442         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2443         _dl_mcount, _dl_mcount_wrapper.
2444         * elf/Makefile (routines): Add dl-profstub.
2445         * elf/dl-profstub.c: New file.
2446         * elf/dl-support.c: Don't define _dl_profile_map.
2447         * elf/rtld.c: Likewise.
2448         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2449         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2450         Define _CALL_DL_FCT.
2451         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2452         loaded object.
2453         * iconv/gconv_db.c: Likewise.
2454         * iconv/skeleton.c: Likewise.
2455         * nss/getXXbyYY_r.c: Likewise.
2456         * nss/getXXent_r.c: Likewise.
2457         * nss/nsswitch.c: Likewise.
2458
2459 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2460
2461         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2462         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2463         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2464
2465 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2466
2467         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2468         longestdbl.
2469
2470 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2471
2472         * iconvdata/Makefile (modules): Add MACINTOSH.
2473         (MACINTOSH-routines): New variable.
2474         (distribute): Add macintosh.c.
2475         (awk-generated-headers): Add macintosh.h.
2476         Add rule for macintosh.h generation.
2477         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2478         * iconvdata/macintosh.c: New file.
2479
2480 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2481
2482         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2483
2484         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2485         only should happen for cy != 0.
2486
2487         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2488         glob.h.
2489
2490 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2491
2492         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2493         to compare stack addresses.
2494
2495 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2496
2497         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2498         defining prototypes.
2499
2500 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2501
2502         * sysdeps/sparc/sparc32/dl-machine.h
2503         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2504         flushes as the kernel will emulate it when the underlying cpu does
2505         not implement flush.
2506
2507         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2508         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2509
2510         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2511         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2512         trampoline code.
2513
2514         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2515         (__clone): Branch to label .Lerror not __clone_syscall_error.
2516         (.Lerror): Fixup EINVAL setting.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2518         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2520         (__syscall_getgroups, __syscall_setgroups): Add.
2521
2522         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2523         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2524         around sa_mask data.
2525
2526 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2527
2528         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2529
2530         * string/Makefile: Make sure test-ffs does not use builtins.
2531
2532 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2533
2534         * sunrpc/svc.c: Check for NULL pointer.
2535
2536         * nis/libnsl.map: Add public NIS+ xdr functions.
2537
2538         * nis/rpcsvc/nis_callback.h: New file.
2539         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2540         * nis/nis_xdr.h: ... here.
2541
2542         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2543         pointers, use NIS+ defines where possible.
2544         * nis/nis_cache.c: Likewise.
2545         * nis/nis_cache2_xdr.c: Likewise.
2546         * nis/nis_call.c: Likewise.
2547         * nis/nis_checkpoint.c: Likewise.
2548         * nis/nis_clone_dir.c: Likewise.
2549         * nis/nis_clone_obj.c: Likewise.
2550         * nis/nis_clone_res.c: Likewise.
2551         * nis/nis_creategroup.c: Likewise.
2552         * nis/nis_file.c: Likewise.
2553         * nis/nis_free.c: Likewise.
2554         * nis/nis_getservlist.c: Likewise.
2555         * nis/nis_local_names.c: likewise.
2556         * nis/nis_lookup.c: Likewise.
2557         * nis/nis_mkdir.c: Likewise.
2558         * nis/nis_modify.c: Likewise.
2559         * nis/nis_ping.c: Likewise.
2560         * nis/nis_print.c: Likewise.
2561         * nis/nis_remove.c: Likewise.
2562         * nis/nis_removemember.c: Likewise.
2563         * nis/nis_rmdir.c: Likewise.
2564         * nis/nis_server.c: Likewise.
2565         * nis/nis_table.c: Likewise.
2566         * nis/nis_util.c: Likewise.
2567         * nis/nis_verifygroup.c: Likewise.
2568         * nis/nis_xdr.c: Likewise.
2569         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2570         * nis/nis_xdr.c: ... to here.
2571
2572 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2573
2574         * iconvdata/ksc5601.h: Clean up a bit.
2575
2576 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2577
2578         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2579         and process incoming data.
2580         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2581         fragments as invalid.
2582         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2583
2584 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2585
2586         Removal of duplicates like "the the".
2587         * manual/time.texi (TZ Variable): Likewise.
2588         * manual/users.texi (Manipulating the Database): Likewise.
2589         * manual/sysinfo.texi (Filesystem handling): Likewise.
2590         * manual/signal.texi (Signaling Yourself): Likewise.
2591         * manual/message.texi (Message Translation): Likewise.
2592         (Common Usage): Likewise.
2593         * manual/llio.texi: Likewise.
2594         * manual/arith.texi (Old-style number conversion): Likewise.
2595         * manual/argp.texi (Argp): Likewise.
2596         (Argp Parsers): Likewise.
2597         (Argp Help Filtering): Likewise.
2598
2599         * hesiod/README.hesiod: Correct typo.
2600
2601         * manual/llio.texi: Correct typos.
2602         * manual/sysinfo.texi: Likewise.
2603
2604 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2605
2606         * rt/aio.h: Rename __op to __operation for g++.
2607
2608 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2609
2610         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2611         script.
2612         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2613         * iconvdata/gen-8bit.sh: Clean up sed script.
2614
2615         * iconvdata/Makefile: Remove all PERL conditionals; build all
2616         the modules all the time.  Export AWK.
2617         (gen-8bit-gap): Delete setting of PERL.
2618         (gen-8bit-gap-1): Likewise.
2619         (perl-generated-headers): Renamed awk-generated-headers.
2620
2621         * iconvdata/gap.pl: Removed.
2622         * iconvdata/gaptab.pl: Removed.
2623         * iconvdata/gap.awk: New file.
2624         * iconvdata/gaptab.awk: New file.
2625
2626 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2627
2628         * sysdeps/generic/Dist: Add errno-loc.c.
2629
2630         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2631         __new_* functions.
2632
2633 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2634
2635         * stdio-common/bug12.c: New test for fread()/fseek().
2636         * stdio-common/Makefile (tests): Add bug12.
2637
2638 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2639
2640         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2641         constant.
2642         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2643         * debug/execinfo.h: Update declaration.
2644
2645 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2646
2647         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2648         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2649         * debug/execinfo.h: Update declaration.
2650
2651 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2652
2653         * manual/llio.texi: Fix spelling.
2654         * manual/sysinfo.texi: Fix spelling.
2655
2656 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2657
2658         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2659         alias for old name.  Put this on __libc_subfreeres.
2660         * misc/search.h: Declare it.
2661
2662 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2663
2664         * string/bits/string2.h (strcmp): Add missing parens around macro
2665         parameters.
2666
2667 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2668
2669         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2670
2671         * manual/filesys.texi: Document LFS functions.
2672         * manual/llio.texi: Likewise.
2673         * manual/stdio.texi: Likewise.
2674         * manual/time.texi: Likewise.
2675
2676         * manual/llio.texi: Document AIO functions.
2677
2678         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2679         * sysdeps/generic/setrlimit.c: Likewise.
2680         * sysdeps/generic/setrlimit64.c: Likewise.
2681         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2682         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2683
2684 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2685
2686         * sysdeps/generic/getenv.c: Fix last change.
2687
2688 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2689
2690         * sysdeps/generic/backtrace.c: Provide generic implementation.
2691
2692 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2693
2694         * configure.in: Give visual feedback of the default directories we
2695         added.
2696
2697 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2698
2699         * io/fts.c (fts_build): Define oflag only if needed.
2700
2701 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2702
2703         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2704
2705 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2706
2707         * libc.map: Don't export argp's fmtstream handling functions.
2708
2709         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2710         * manual/llio.texi: Document more LFS functions and start documenting
2711         the AIO functions.
2712
2713 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2714
2715         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2716         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2717         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2718         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2719
2720 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2721
2722         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2723         makes it easier to undump emacs.
2724         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2725         for when the endianness can't be determined.
2726
2727 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2728
2729         * nss/Makefile: Add files publickey database support.
2730         * nss/libnss_files.map: Export the required functions.
2731         * nss/nss_files/files-key.c: Implement it.
2732         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2733
2734 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2735
2736         * iconv/gconv_builtin.h: Add aliases for CORBA.
2737         * iconvdata/gconv-modules: Likewise.
2738
2739 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2740
2741         * math/libm-test.c (main): Call exp10_test.
2742         (exp10_test): New function which tests exp10.
2743
2744 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2745
2746         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2747         sigstack.
2748
2749         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2750         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2751         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2752
2753 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2754
2755         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2756         in the variable, not its GOT slot.
2757
2758 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2759
2760         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2761         inline.
2762         * sysdeps/m68k/fpu/e_exp10.c: New file.
2763         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2764         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2765
2766         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2767         _dl_profile_map only if the name matches.
2768         (_dl_start_user): Remember stack address.
2769         * sysdeps/m68k/elf/start.S: Pass new argument to
2770         __libc_start_user.
2771
2772         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2773         definition.
2774         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2775         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2776         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2777         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2778         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2779
2780 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2781
2782         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2783         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2784         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2785         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2786         prototypes.
2787         * sysdeps/libm-i387/e_exp10.S: New file.
2788         * sysdeps/libm-i387/e_exp10f.S: New file.
2789         * sysdeps/libm-i387/e_exp10l.S: New file.
2790         * sysdeps/libm-ieee754/e_exp10.c: New file.
2791         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2792         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2793         * sysdeps/libm-ieee754/w_exp10.c: New file.
2794         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2795         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2796         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2797
2798 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2799
2800         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2801         sys/elf.h and sys/reg.h.
2802         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2803         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2804         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2805         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2806
2807         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2808         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2809
2810 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2811
2812         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2813         __data member only for gcc.  Reported by ak@muc.de.
2814
2815         * misc/mntent.h: Undo last patch.
2816         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2817         * misc/tst/mntent.c: Adjust code for this change.
2818
2819         * io/fts.c: Updated from a slightly more recent BSD version.
2820         * io/fts.h: Likewise.
2821
2822         * libc.map: Add __libc_stack_end.
2823
2824         * db2/Makefile (routines): Add lock_region.
2825         * db2/config.h: Update from db-2.4.14.
2826         * db2/db.h: Likewise.
2827         * db2/db_185.h: Likewise.
2828         * db2/db_int.h: Likewise.
2829         * db2/btree/bt_close.c: Likewise.
2830         * db2/btree/bt_compare.c: Likewise.
2831         * db2/btree/bt_conv.c: Likewise.
2832         * db2/btree/bt_cursor.c: Likewise.
2833         * db2/btree/bt_delete.c: Likewise.
2834         * db2/btree/bt_open.c: Likewise.
2835         * db2/btree/bt_page.c: Likewise.
2836         * db2/btree/bt_put.c: Likewise.
2837         * db2/btree/bt_rec.c: Likewise.
2838         * db2/btree/bt_recno.c: Likewise.
2839         * db2/btree/bt_rsearch.c: Likewise.
2840         * db2/btree/bt_search.c: Likewise.
2841         * db2/btree/bt_split.c: Likewise.
2842         * db2/btree/bt_stat.c: Likewise.
2843         * db2/btree/btree.src: Likewise.
2844         * db2/btree/btree_auto.c: Likewise.
2845         * db2/clib/getlong.c: Likewise.
2846         * db2/common/db_appinit.c: Likewise.
2847         * db2/common/db_apprec.c: Likewise.
2848         * db2/common/db_byteorder.c: Likewise.
2849         * db2/common/db_err.c: Likewise.
2850         * db2/common/db_log2.c: Likewise.
2851         * db2/common/db_region.c: Likewise.
2852         * db2/common/db_salloc.c: Likewise.
2853         * db2/common/db_shash.c: Likewise.
2854         * db2/db/db.c: Likewise.
2855         * db2/db/db.src: Likewise.
2856         * db2/db/db_auto.c: Likewise.
2857         * db2/db/db_conv.c: Likewise.
2858         * db2/db/db_dispatch.c: Likewise.
2859         * db2/db/db_dup.c: Likewise.
2860         * db2/db/db_overflow.c: Likewise.
2861         * db2/db/db_pr.c: Likewise.
2862         * db2/db/db_rec.c: Likewise.
2863         * db2/db/db_ret.c: Likewise.
2864         * db2/db/db_thread.c: Likewise.
2865         * db2/db185/db185.c: Likewise.
2866         * db2/db185/db185_int.h: Likewise.
2867         * db2/dbm/dbm.c: Likewise.
2868         * db2/hash/hash.c: Likewise.
2869         * db2/hash/hash.src: Likewise.
2870         * db2/hash/hash_auto.c: Likewise.
2871         * db2/hash/hash_conv.c: Likewise.
2872         * db2/hash/hash_debug.c: Likewise.
2873         * db2/hash/hash_dup.c: Likewise.
2874         * db2/hash/hash_func.c: Likewise.
2875         * db2/hash/hash_page.c: Likewise.
2876         * db2/hash/hash_rec.c: Likewise.
2877         * db2/hash/hash_stat.c: Likewise.
2878         * db2/include/btree.h: Likewise.
2879         * db2/include/btree_ext.h: Likewise.
2880         * db2/include/clib_ext.h: Likewise.
2881         * db2/include/common_ext.h: Likewise.
2882         * db2/include/cxx_int.h: Likewise.
2883         * db2/include/db.h.src: Likewise.
2884         * db2/include/db_185.h.src: Likewise.
2885         * db2/include/db_am.h: Likewise.
2886         * db2/include/db_auto.h: Likewise.
2887         * db2/include/db_cxx.h: Likewise.
2888         * db2/include/db_dispatch.h: Likewise.
2889         * db2/include/db_ext.h: Likewise.
2890         * db2/include/db_int.h.src: Likewise.
2891         * db2/include/db_page.h: Likewise.
2892         * db2/include/db_shash.h: Likewise.
2893         * db2/include/db_swap.h: Likewise.
2894         * db2/include/hash.h: Likewise.
2895         * db2/include/hash_ext.h: Likewise.
2896         * db2/include/lock.h: Likewise.
2897         * db2/include/lock_ext.h: Likewise.
2898         * db2/include/log.h: Likewise.
2899         * db2/include/log_ext.h: Likewise.
2900         * db2/include/mp.h: Likewise.
2901         * db2/include/mp_ext.h: Likewise.
2902         * db2/include/mutex_ext.h: Likewise.
2903         * db2/include/os_ext.h: Likewise.
2904         * db2/include/os_func.h: Likewise.
2905         * db2/include/queue.h: Likewise.
2906         * db2/include/shqueue.h: Likewise.
2907         * db2/include/txn.h: Likewise.
2908         * db2/lock/lock.c: Likewise.
2909         * db2/lock/lock_conflict.c: Likewise.
2910         * db2/lock/lock_deadlock.c: Likewise.
2911         * db2/lock/lock_region.c: Likewise.
2912         * db2/lock/lock_util.c: Likewise.
2913         * db2/log/log.c: Likewise.
2914         * db2/log/log.src: Likewise.
2915         * db2/log/log_archive.c: Likewise.
2916         * db2/log/log_auto.c: Likewise.
2917         * db2/log/log_compare.c: Likewise.
2918         * db2/log/log_findckp.c: Likewise.
2919         * db2/log/log_get.c: Likewise.
2920         * db2/log/log_put.c: Likewise.
2921         * db2/log/log_rec.c: Likewise.
2922         * db2/log/log_register.c: Likewise.
2923         * db2/mp/mp_bh.c: Likewise.
2924         * db2/mp/mp_fget.c: Likewise.
2925         * db2/mp/mp_fopen.c: Likewise.
2926         * db2/mp/mp_fput.c: Likewise.
2927         * db2/mp/mp_fset.c: Likewise.
2928         * db2/mp/mp_open.c: Likewise.
2929         * db2/mp/mp_pr.c: Likewise.
2930         * db2/mp/mp_region.c: Likewise.
2931         * db2/mp/mp_sync.c: Likewise.
2932         * db2/mutex/68020.gcc: Likewise.
2933         * db2/mutex/mutex.c: Likewise.
2934         * db2/mutex/parisc.gcc: Likewise.
2935         * db2/mutex/parisc.hp: Likewise.
2936         * db2/mutex/sco.cc: Likewise.
2937         * db2/os/os_abs.c: Likewise.
2938         * db2/os/os_alloc.c: Likewise.
2939         * db2/os/os_config.c: Likewise.
2940         * db2/os/os_dir.c: Likewise.
2941         * db2/os/os_fid.c: Likewise.
2942         * db2/os/os_fsync.c: Likewise.
2943         * db2/os/os_map.c: Likewise.
2944         * db2/os/os_oflags.c: Likewise.
2945         * db2/os/os_open.c: Likewise.
2946         * db2/os/os_rpath.c: Likewise.
2947         * db2/os/os_rw.c: Likewise.
2948         * db2/os/os_seek.c: Likewise.
2949         * db2/os/os_sleep.c: Likewise.
2950         * db2/os/os_spin.c: Likewise.
2951         * db2/os/os_stat.c: Likewise.
2952         * db2/os/os_unlink.c: Likewise.
2953         * db2/progs/db_archive/db_archive.c: Likewise.
2954         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2955         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2956         * db2/progs/db_dump/db_dump.c: Likewise.
2957         * db2/progs/db_dump185/db_dump185.c: Likewise.
2958         * db2/progs/db_load/db_load.c: Likewise.
2959         * db2/progs/db_printlog/db_printlog.c: Likewise.
2960         * db2/progs/db_recover/db_recover.c: Likewise.
2961         * db2/progs/db_stat/db_stat.c: Likewise.
2962         * db2/txn/txn.c: Likewise.
2963         * db2/txn/txn.src: Likewise.
2964         * db2/txn/txn_auto.c: Likewise.
2965         * db2/txn/txn_rec.c: Likewise.
2966
2967         * elf/rtld.c: Move definition of __libc_stack_end to ...
2968         * sysdeps/generic/dl-sysdep.h: ...here.
2969
2970         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2971         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2972         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2973
2974         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2975         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2976         before following it.
2977
2978 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2979
2980         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2981         from mntent correctly.
2982
2983 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2984
2985         * sunrpc/Makefile (generated): Correct typo.
2986
2987 1998-06-04  Philip Blundell  <philb@gnu.org>
2988
2989         * elf/elf.h (EM_ARM, et al.): New definitions.
2990         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2991
2992 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2993
2994         * localedata/SUPPORTED: Add sk_SK.
2995         * localedata/locales/sk_SK: New file.
2996
2997 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2998
2999         * Makeconfig (subdirs): Add debug.
3000         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
3001         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
3002         backtrace_symbols.
3003         * sysdeps/generic/backtrace.c: New file.
3004         * sysdeps/generic/backtracesyms.c: New file.
3005         * sysdeps/generic/elf/backtracesyms.c: New file.
3006         * sysdeps/i386/backtrace.c: New file.
3007         * debug/Makefile: New file.
3008         * debug/backtrace-tst.c: New file.
3009         * debug/execinfo.h: New file.
3010
3011 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
3012
3013         * elf/sprof.c: Implement call graph profiling.
3014
3015         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
3016
3017 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3018
3019         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
3020         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3021         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3022         Noticed by Jake Garver <garver@valkyrie.net>.
3023
3024 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3025
3026         * libio/genops.c (__underflow): Read character from read pointer
3027         as unsigned.
3028         (__uflow): Likewise.
3029
3030 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
3031
3032         * libc.map: Add _dl_profile.
3033         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
3034         this to ELF_DYNAMIC_RELOCATE.
3035         Always allocate array for relocation result if LD_PROFILE is defined.
3036         * elf/ldsodefs.h: Adjust prototypes.
3037         * elf/dl-open.c (_dl_open): Call relocation function with extra
3038         argument.
3039         * elf/rtld.c: Likewise.
3040         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
3041         Correct loop condition.
3042         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
3043         consider_profile to runtime setup function.
3044         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
3045         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
3046
3047         * elf/dl-support.c: Define __libc_stack_end.
3048         * elf/rtld.c: Likewise.
3049         * sysdeps/generic/libc-start.c: Store last stack address in
3050         __libc_stack_end.
3051         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
3052         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
3053
3054         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
3055         Include <stdint.h>, not <inttypes.h>.
3056
3057         * elf/sprof.c: Implement flat profiling.
3058
3059         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
3060         _IO_funlockfile explicitly.
3061         * libio/fileops.c: Likewise.
3062         * libio/fputc.c: Likewise.
3063         * libio/freopen.c: Likewise.
3064         * libio/freopen64.c: Likewise.
3065         * libio/fseek.c: Likewise.
3066         * libio/fseeko.c: Likewise.
3067         * libio/fseeko64.c: Likewise.
3068         * libio/ftello.c: Likewise.
3069         * libio/ftello64.c: Likewise.
3070         * libio/getc.c: Likewise.
3071         * libio/getchar.c: Likewise.
3072         * libio/iofclose.c: Likewise.
3073         * libio/iofflush.c: Likewise.
3074         * libio/iofgetpos.c: Likewise.
3075         * libio/iofgetpos64.c: Likewise.
3076         * libio/iofgets.c: Likewise.
3077         * libio/iofputs.c: Likewise.
3078         * libio/iofread.c: Likewise.
3079         * libio/iofsetpos.c: Likewise.
3080         * libio/iofsetpos64.c: Likewise.
3081         * libio/ioftell.c: Likewise.
3082         * libio/iofwrite.c: Likewise.
3083         * libio/iogetdelim.c: Likewise.
3084         * libio/iogets.c: Likewise.
3085         * libio/ioputs.c: Likewise.
3086         * libio/ioseekoff.c: Likewise.
3087         * libio/ioseekpos.c: Likewise.
3088         * libio/iosetbuffer.c: Likewise.
3089         * libio/iosetvbuf.c: Likewise.
3090         * libio/ioungetc.c: Likewise.
3091         * libio/iovsprintf.c: Likewise.
3092         * libio/iovsscanf.c: Likewise.
3093         * libio/oldfileops.c: Likewise.
3094         * libio/oldiofclose.c: Likewise.
3095         * libio/peekc.c: Likewise.
3096         * libio/putc.c: Likewise.
3097         * libio/putchar.c: Likewise.
3098         * libio/rewind.c: Likewise.
3099
3100         * malloc/mtrace.c: Pretty print.
3101
3102         * misc/mntent.h (struct mentent): Make string elements const char *.
3103
3104         * nis/nis_printf.c: Optimize I/O a little bit.
3105
3106         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
3107         * sysdeps/generic/sigset-cvt-mask.h: New file.
3108         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
3109         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
3110         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
3111         sigset-cvt-mask.h to do the dirty work.
3112         Patches by Joe Keane.
3113
3114         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
3115
3116         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
3117         syscall_error label in case of PIC anonymous.
3118         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
3119         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
3120         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
3121         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
3122         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
3123         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
3124         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
3125
3126 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
3127
3128         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
3129         we cannot declare the struct element as const.
3130         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
3131         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
3132
3133 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3134
3135         * manual/Makefile: Include ../Makeconfig earlier.
3136         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
3137         exist.
3138         (dir-add.texinfo): Remove useless $(SHELL).
3139
3140 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3141
3142         * Makefile (others): Build programs from install-bin.
3143         * configure.in: Modify config.make only if is was just created and
3144         move that command to second argument of AC_OUTPUT.  Add command to
3145         set config_vars in config.status.
3146
3147 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3148
3149         * malloc/Makefile (address-width): Fix conditional.
3150
3151 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3152
3153         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
3154         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
3155         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
3156         version GLIBC_2.1.
3157
3158 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3159
3160         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3161         (Floating Point Parameters): Likewise.
3162
3163 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3164
3165         * hurd/Makefile (routines): Add cthreads.
3166
3167 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3168
3169         * login/login.c (login): Let pututline take care of finding the
3170         positin to insert the UTMP entry.  This corrects a bug where ssh
3171         was not reusing UTMP entries marked as DEAD_PROCESS.
3172         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3173
3174 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3175
3176         * login/Makefile (tests): New variable, add tst-utmp and
3177         tst-utmpx.
3178         * login/tst-utmp.c: New file.
3179         * login/tst-utmpx.c: New file.
3180
3181 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3182
3183         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3184         aliases for _hurd_nerr, for programs that don't use sys_errlist,
3185         but need sys_err.
3186
3187 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3188
3189         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3190         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3191
3192 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3193
3194         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3195         make __read a weak alias.  Use ANSI-style function definition.
3196         * sysdeps/mach/hurd/write.c: Likewise.
3197
3198 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3199
3200         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3201         _sys_errlist.
3202
3203 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
3204
3205         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3206         Renamed from librtld.so.
3207
3208 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3209
3210         * libc.map: Remove _IO_getline_info which was erroneously
3211         introduced in section GLIBC_2.0.
3212         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3213
3214 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3215
3216         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3217         created a weak alias.
3218         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3219
3220 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
3221
3222         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3223         ftruncate function, and create a weak alias to ftruncate.
3224
3225 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3226
3227         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3228         * inet/getnetgrent_r.c: Likewise.
3229         * nss/getXXbyYY_r.c: Likewise.
3230         * nss/getXXent_r.c: Likewise.
3231         * pwd/fgetpwent_r.c: Likewise.
3232         * shadow/sgetspent_r.c: Likewise.
3233         * shadow/fgetspent_r.c: Likewise.
3234         * sunrpc/publickey.c: Likewise.
3235
3236 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3237
3238         * hurd/libhurduser.map: New file.
3239         * mach/libmachuser.map: Likewise.
3240
3241         * libc.map: Add Hurd-specific functions to version 2.1.
3242         Add __flshfp and __fillbf.
3243
3244 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3245
3246         * manual/signal.texi (Basic Signal Handling): Fix typo.
3247         * manual/errno.texi (Error Codes): Likewise.
3248
3249 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
3250
3251         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3252         instead of <sys/socket.h>.
3253         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3254
3255         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3256         Finally make it working.
3257         Patch by Mark Hatle <fray@kernel.crashing.org>.
3258
3259 1998-03-22  Paul Eggert  <eggert@twinsun.com>
3260
3261         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3262         a Solaris 2.6 bug.
3263
3264 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
3265
3266         * stdlib/gmp-impl.h: Support strange mixed-endian double format
3267         used by ARM systems.
3268         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3269         FE_EXCEPT_SHIFT.
3270         * sysdeps/arm/bits/fenv.h: Deleted.
3271         * sysdeps/arm/fpu/ieee754.h: New file.
3272         * sysdeps/arm/gmp-mparam.h: New file.
3273         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3274         implementation.
3275
3276 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
3277
3278         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3279
3280         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3281         of ((unused)).  Reported by Bruno Haible.
3282
3283 1998-05-31  Philip Blundell  <philb@gnu.org>
3284
3285         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3286         referring to errno and _errno.
3287
3288         * sysdeps/arm/fpu/feholdexcpt.c: New file.
3289
3290         * sysdeps/i386/fpu_control.h: Fix typo.
3291
3292         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3293         (_JMPBUF_UNWINDS): Added.
3294         * sysdeps/arm/fpu/bits/setjmp.h: New file.
3295
3296 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
3297
3298         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3299         order to build header files, not `generated'.
3300
3301         * Rules (before-compile): New target which depends on all
3302         $(before-compile) files.
3303
3304 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3305
3306         * nis/nis_call.c: Make directory search faster.
3307
3308         * nis/nis_callback.c: Insert public key of user in callback data.
3309
3310         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3311
3312         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3313
3314         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3315
3316         * nis/nis_intern.h: Remove duplicated prototype.
3317
3318 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3319
3320         * sunrpc/auth_des.c: Move prototypes from here ...
3321         * sunrpc/rpc/auth.h: ... to here.
3322
3323         * sunrpc/clnt_tcp.c: Add more control flags.
3324         * sunrpc/clnt_udp.c: Likewise.
3325
3326         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3327         domainname.
3328
3329         * sunrpc/rpc/clnt.h: Document, which control flags are not
3330         implementable.
3331
3332         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3333
3334 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3335
3336         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3337         files crash the program.
3338
3339         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3340         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3341         Reported by Deborah Wallach <kerr@pa.dec.com>.
3342
3343 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3344
3345         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3346         on whether this is a stable release or not (keeps snapshot bug
3347         reports out of the database).
3348
3349         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3350         * sysdeps/arm/sysdep.h: Likewise.
3351         * sysdeps/i386/sysdep.h: Likewise.
3352         * sysdeps/m68k/sysdep.h: Likewise.
3353         * sysdeps/mach/mips/sysdep.h: Likewise.
3354         * sysdeps/mach/sys/reboot.h: Likewise.
3355         * sysdeps/mach/sysdep.h: Likewise.
3356         * sysdeps/unix/alpha/sysdep.h: Likewise.
3357         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3358         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3359         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3360         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3361         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3362         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3363         * sysdeps/unix/i386/sysdep.h: Likewise.
3364         * sysdeps/unix/mips/sysdep.h: Likewise.
3365         * sysdeps/unix/sparc/sysdep.h: Likewise.
3366         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3367         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3368         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3369         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3370         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3373         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3374
3375 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3376
3377         * mach/Machrules: Use $(move-if-change).
3378
3379 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3380
3381         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3382         * Makerules (lib%.so): Depend on $(+interp).
3383         (libc.so): Add interp.os to list of dependencies.
3384         (interp-obj): Remove variable.
3385         * mach/Machrules (+interp): Define to empty since libhurduser and
3386         libmachuser don't need to have the interpreter set.
3387
3388 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3389
3390         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3391
3392         * resolv/gethnamaddr.c: Likewise.
3393
3394         * resolv/res_comp.c: Likewise.
3395
3396 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3397
3398         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3399         so that transparent union works.
3400
3401 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3402
3403         * manual/texinfo.tex: Update to last available version.
3404
3405         * timezone/africa: Update from tzdata1998e.
3406         * timezone/antarctica: Likewise.
3407         * timezone/asia: Likewise.
3408         * timezone/australasia: Likewise.
3409         * timezone/europe: Likewise.
3410         * timezone/iso3166.tab: Likewise.
3411         * timezone/northamerica: Likewise.
3412         * timezone/tzselect.ksh: Likewise.
3413         * timezone/zone.tab: Likewise.
3414
3415 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3416
3417         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3418         Reported by Matt McLean <keys@brio.yikes.com>.
3419
3420 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3421
3422         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3423         do-gencat-test.  Use automatic variables.
3424         ($(objpfx)de.msg): Fix reference to po file.
3425
3426 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3427
3428         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3429         $(move-if-change).
3430
3431 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3432
3433         * intl/dcgettext.c: Fix typo.
3434
3435 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3436
3437         * configure.in: Allow more make versions e.g 3.76.90.
3438
3439 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3440
3441         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3442
3443         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3444         for Hurd.  Patch by Mark Kettenis.
3445
3446 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3447
3448          * mach/Machrules (+preinit, +postinit): Define these variables to
3449          empty because libhurduser and libmachuser don't need startup
3450          files.
3451
3452 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3453
3454          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3455          instead of a raw bitmask.
3456
3457 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3458
3459         * Makeconfig (rpath-dirs): New variable.
3460         (rpath-link): Use it.
3461         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3462         (db-objpfx): Removed.
3463         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3464         * md5-crypt/Makefile: Likewise.
3465         * sysdeps/mach/hurd/Makefile: Likewise.
3466
3467         * Makeconfig (move-if-change): New variable.
3468         * iconvdata/Makefile (move-if-change): Removed.
3469         * manual/Makefile (move-if-change): Set only if undefined, use
3470         local script by default.
3471         * sunrpc/Makefile (move-if-change): Removed.
3472         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3473         $(move-if-change).
3474
3475          * elf/Makefile: Remove all references to obsolete file
3476          $(objpfx)rtldtbl.h.
3477          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3478
3479 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3480
3481         * elf/dl-close.c (_dl_close): Add debugging message.
3482
3483 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3484
3485         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3486         to get Linux version and not gcc version.
3487         Reported by Alan Curry <pacman@cqc.com>.
3488
3489 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3490
3491         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3492         pointers - return unknown error message instead.
3493         Reported by Alan Curry <pacman@cqc.com>.
3494
3495 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3496
3497         * iconvdata/Makefile (modules, sed-generated-headers,
3498         perl-generated-headers): ibm424.h is perl generated.  Make
3499         necessary modifications to compile without perl.
3500
3501 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3502
3503         * hesiod/hesiod.c (read_config_file): Fix typo.
3504
3505 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3506
3507         * version.h: Bump VERSION.
3508
3509         * csu/Makefile (distribute): Add munch-tmpl.c.
3510
3511 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3512
3513         * nis/nis_defaults.c: Fix buffer problems and typos.
3514
3515 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3516
3517         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3518         Patch by Fred Fish.
3519
3520 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3521
3522         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3523         overwriting bugs.
3524
3525         * libio/strops.c (_IO_str_underflow): Read newly available
3526         character from buffer as unsigned.
3527
3528 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3529
3530         * catgets/Makefile (distribute): Add xopen-msg.h.
3531         (generated): Add de.msg and de.cat.
3532         (tests): Add do-gencat-test.
3533         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3534         * catgets/xopen-msg.h: New file.
3535
3536 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3537
3538         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3539         functions.  Optimize filename creation a bit.
3540
3541 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3542
3543         * stdlib/random_r.c: Help gcc to optimize the code.
3544         Patch by Joe Keane <jgk@jgk.org>.
3545
3546 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3547
3548         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3549         tsearch calls.
3550
3551 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3552
3553         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3554         it.
3555
3556 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3557
3558         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3559         * wcsmbs/wcsrtombs.c: Likewise.
3560
3561         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3562         * wcsmbs/wcsmbs-tst1.c: New file.
3563
3564         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3565
3566         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3567         as 1.
3568
3569         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3570         weak.
3571
3572 1998-05-21  Philip Blundell  <philb@gnu.org>
3573
3574         * sysdeps/arm/fpu_control.h: Replace stub file with real
3575         implementation.
3576         * sysdeps/arm/fpu/bits/fenv.h: New file.
3577         * sysdeps/arm/fpu/fesetround.c: Likewise.
3578         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3579         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3580         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3581         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3582         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3583         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3584
3585 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3586
3587         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3588         read instead of mmap.
3589
3590 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3591
3592         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3593         directly instead of include_next.  Add missing semicolons.
3594         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3595         Add missing semicolons.
3596
3597 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3598
3599         * iconvdata/gconv-modules: Add more aliases to please java
3600         environments.
3601
3602 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3603
3604         * stdio-common/vfprintf.c (process_arg): Fix typo.
3605
3606         * iconvdata/TESTS: New tests for EUC-KR.
3607
3608         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3609         * iconvdata/testdata/EUC-KR: New file.
3610
3611 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3612
3613         * math/libm-test.c (hypot_test): Fix a typo.
3614
3615 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3616
3617         * stdio-common/vfprintf.c: When precision is specified for %ls or
3618         %S handle it correctly.
3619
3620 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3621
3622         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3623         the" in one line - fixed it.
3624         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3625         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3626         * posix/unistd.h: Likewise
3627
3628 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3629
3630         * Makeconfig (rpath-link): Add resolvobjdir.
3631         (resolvobjdir): New variable.
3632         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3633
3634 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3635
3636         * elf/dl-close.c: Call shared object terminators at the right time.
3637         Patch by Philippe Troin <phil@fifi.org>.
3638
3639 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3640
3641         * Make-dist (+tsrcs): Also add *.map for every member of
3642         $(extra-libs).
3643
3644         * Makefile (distribute): Don't distribute scripts/printsources and
3645         scripts/=__ify.  Distribute FAQ.in.
3646         (rpm/%): Don't pass subdirs to sub-make.
3647
3648         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3649         instead of $(no_deps).
3650
3651 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3652
3653         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3654         (KNOWN_VALUE, STORE_VALUE): Do it right.
3655         (setenv): Remove unused variable.
3656
3657 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3658
3659         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3660         (CFLAGS-zdump.c): Add $(tz-cflags).
3661
3662         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3663         return type.
3664
3665 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3666
3667         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3668         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3669         if use_localtime.
3670         * time/tzset.c: Update prototype of __tzfile_compute.
3671         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3672         tm_zone and tm_offset here if __use_tzfile.
3673
3674 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3675
3676         * Makerules: Install libc.a even if there are no object file.
3677
3678 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3679
3680         * Makerules (do-makelib): Don't force creating library from
3681         scratch, which is faster and gets correct behaviour if $(subdirs)
3682         is incomplete.
3683
3684 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3685
3686         * Makerules (do-stamp): Make it work when building in source
3687         directory.
3688
3689 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3690
3691         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3692         inhibit-rpath.
3693         * elf/dl-support.c: Likewise.
3694         * elf/ldsodefs.h: Likewise.
3695         * elf/rtld.c: Likewise.
3696         * iconvdata/run-iconv-test.sh: Likewise.
3697
3698 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3699
3700         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3701         variable using the value.
3702         * elf/ldsodefs.h: Declare _dl_ignore_path.
3703         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3704         object against list in _dl_ignore_path and ignore RPATH if on the list.
3705         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3706         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3707         to make sure we get the correct helper libraries loaded.
3708
3709         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3710         "RPATH" string in call to fillin_rpath instead.
3711         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3712
3713 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3714
3715         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3716         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3717
3718 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3719
3720         * manual/terminal.texi (I/O Queues): Fix typo.
3721
3722         * manual/stdio.texi (Closing Streams): Fix grammar.
3723
3724         * manual/arith.texi (Absolute Value): Correct typo.
3725         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3726
3727 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3728
3729         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3730         LD_PROFILE_OUTPUT in SUID binaries.
3731         * intl/dcgettext.c: In SUID binaries don't let language part of
3732         locale value contain path elements.
3733         * intl/explodename.h: Define new function _nl_find_language.
3734         * intl/loadinfo.h: Declare _nl_find_language.
3735         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3736         language part it drop the value is path element is contained.
3737
3738         * locale/setlocale.c: Fix typo.
3739
3740 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3741
3742         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3743
3744         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3745
3746         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3747         log, not a byte-count.
3748
3749         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3750         a.out compatibility.
3751
3752 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3753
3754         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3755         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3756         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3757         * posix/unistd.h: Likewise.
3758         * math/math.h: Likewise.
3759         * manual/users.texi (Manipulating the Database): Likewise.
3760         * manual/signal.texi (Job Control Signals): Likewise.
3761         * manual/message.texi (The gencat program): Likewise.
3762         * manual/filesys.texi (Hard Links): Likewise.
3763         * manual/math.texi (SVID Random): Likewise.
3764         * manual/llio.texi (Waiting for I/O): Likewise.
3765         * manual/io.texi (File Name Errors): Likewise.
3766         * manual/conf.texi (String Parameters): Likewise.
3767         * manual/arith.texi (Infinity): Likewise.
3768         * malloc/malloc.c: Likewise.
3769         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3770         * csu/Makefile: Likewise.
3771
3772 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3773
3774         * manual/memory.texi: Add back accidently removed line.
3775
3776 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3777
3778         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3779         (timeout_handler): New function.
3780         (LOCK_FILE, UNLOCK_FILE): New macros.
3781         Implement file locking with timeout.
3782         (getutent_r_file, internal_getut_r, getutline_r_file,
3783         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3784         locking.
3785
3786 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3787
3788         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3789         directory.
3790
3791 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3792
3793         * rpm/Makefile: Delete inclusion of version.mk.
3794
3795 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3796
3797         * libc.map: Add all libio functions needed libstdc++ with version
3798         2.0, sort entries.
3799
3800 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3801
3802         * iconvdata/Makefile (generated): Add *.stmp files.
3803
3804 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3805
3806         * timezone/Makefile (testdata, build-testdata): New variables, use
3807         them in rules for test data.
3808         ($(objpfx)tst-timezone.out): Depend on test data.
3809         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3810         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3811         New rules to build test data.
3812         (tst-timezone-ENV): Pass TZDIR to point to test data.
3813
3814 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3815
3816         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3817         (the designation sequence is disturbing).
3818
3819 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3820
3821         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3822         * sunrpc/xdr_rec.c: Likewise.
3823
3824 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3825
3826         * posix/Makefile (tests): Add runptests.
3827         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3828         (before-compile): Add ptestcases.h.
3829         (ptestscases.h): Add rule to generate from PTESTS.
3830         * posix/runptests.c: New file.
3831         * posix/PTESTS: New file.
3832         * posix/PTESTS2C.sed: New file.
3833
3834 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3835
3836         * iconv/loop.c: Let user add code to use and set paramaters.
3837
3838         * iconvdata/iso-2022-kr.c: Correct to-loop.
3839
3840         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3841         point to output buffer.
3842
3843         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3844         hanja.
3845
3846         * iconvdata/TESTS: Add ISO-2022-KR test.
3847         * iconvdata/testdata/ISO-2022-KR: New file.
3848
3849 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3850
3851         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3852         and internal_use.
3853         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3854         and internal_use.
3855         * wcsmbs/btowc.c: Likewise.
3856         * wcsmbs/mbrtowcs.c: Likewise.
3857         * wcsmbs/mbsnrtowcs.c: Likewise.
3858         * wcsmbs/mbsrtowcs.c: Likewise.
3859         * wcsmbs/wcrtomb.c: Likewise.
3860         * wcsmbs/wcsnrtombs.c: Likewise.
3861         * wcsmbs/wcsrtombs.c: Likewise.
3862         * wcsmbs/wctob.c: Likewise.
3863         * iconv/skeleton.c: Increment invocation_counter.
3864         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3865         sequence first.
3866
3867         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3868         * iconvdata/iso-2022-jp.c: Likewise.
3869         * iconvdata/iso646.c: Likewise.
3870
3871         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3872
3873 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3874
3875         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3876
3877         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3878         overwriting existing values if it fits.
3879
3880 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3881
3882         * posix/wordexp-test.c: Avoid duplicate messages.
3883
3884         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3885         tsearch.  Correctly interpret values returned by those functions.
3886         (unsetenv): Store pointer to string, not pointer to string pointer.
3887
3888         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3889         DST information and offset in them.
3890         * time/tzset.c (__tz_convert): Pass extra parameters to
3891         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3892
3893 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3894
3895         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3896         stamp files to avoid unnecessary recompilation.
3897         (gen-8bit-gap-table): Likewise.
3898         (move-if-change): New variable.
3899         (all generated .h rules): Change to be .stmp rules.
3900         (%.h): New rule; depend on %.stmp; no commands.
3901         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3902         gen-8bit-gap-1.sh.
3903
3904 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3905
3906         * Makerules (libc-map): Deleted.
3907         (load-map-file): Set to the appropriate compiler switch, not
3908         just the file name.  If libfoo-map is not set, look for a
3909         libfoo.map in the current directory and $(..).
3910         (map-file): New variable, contains just the mapfile name.
3911         (build-shlib): Adjust for new value of load-map-file.
3912         (libc.so): Correct dependencies.
3913
3914         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3915         may not be set anymore.
3916
3917         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3918         Delete libdl-map.  Tweak ld.so link rule to work with changed
3919         variable settings in Makerules.
3920         * iconvdata/Makefile: Tweak build-module to work with changed
3921         variable settings in Makerules.
3922
3923         * db/Makefile: Delete libdb-map.
3924         * hesiod/Makefile: Delete libnss_hesiod-map.
3925         * linuxthreads/Makefile: Delete libpthread-map.
3926         * locale/Makefile: Delete libBrokenLocale-map.
3927         * login/Makefile: Delete libutil-map.
3928         * math/Makefile: Delete libm-map.
3929         * md5-crypt/Makefile: Delete libcrypt-map.
3930         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3931         libnss_nisplus-map, and libnss_compat-map.
3932         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3933         libnss_ldap-map.
3934         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3935         * rt/Makefile: Delete librt-map.
3936
3937 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3938
3939         * configure.in: Instead of substituting `yes' or `no' for whether
3940         --no-whole-archive is available, set @no_whole_archive@ to the
3941         appropriate gcc switch or the empty string.  Likewise for
3942         -fno-exceptions.
3943         * config.make.in: Replace have-no-whole-archive with
3944         no-whole-archive and have-no-exceptions with no-exceptions.
3945         * Makerules: Delete stanzas setting no-whole-archive and
3946         no-exceptions.
3947
3948         * sunrpc/Makefile: Use move-if-change to update generated .h
3949         and .c files.
3950
3951 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3952
3953         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3954         of strchr loop.
3955
3956 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3957
3958         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3959         (__tzfile_compute): Likewise.
3960
3961 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3962
3963         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3964         defines from Linux 2.1.102.
3965
3966 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3967
3968         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3969
3970 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3971
3972         * inet/netinet/in.h: Add defines for multicast.
3973         Reported by Jeremy Hall <jhall@UU.NET>.
3974
3975         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3976         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3977         and unsetenv.  Optimize _LIBC case.
3978         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3979         Define functions with leading __.
3980
3981         * time/tzfile.c: Correct handling of global variables daylight,
3982         timezone, and tzname.
3983         * time/tzset.c: Likewise.
3984         * timezone/Makefile (tests): Add tst-timezone.
3985         * timezone/tst-timezone.c: New file.
3986
3987 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3988
3989         * timezone/asia: Update from tzdata1998d.
3990         * timezone/australasia: Likewise.
3991         * timezone/europe: Likewise.
3992
3993 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3994
3995         * string/string.h: Don't use the optimized versions for the string
3996         functions if optimizing for space.
3997
3998         * stdlib/tst-strtod.c: Add test for -0.0.
3999
4000         * io/ftwtest-sh: Prevent tests from being run by root.
4001
4002         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
4003         last addition.  Patch by wkpark@chem.skku.ac.kr.
4004
4005 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4006
4007         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
4008         table.
4009
4010 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4011
4012         * iconvdata/gen-8bit.sh: New file.
4013         * iconvdata/gen-8bit-gap.sh: New file.
4014         * iconvdata/gen-8bit-gap-1.sh: New file.
4015         * iconvdata/Makefile (generate-8bit-table): Use shell script
4016         instead of writing the commands directly.
4017         (generate-8bit-gap-table): Likewise.
4018         ($(objpfx)iso8859-7jp.h): Likewise.
4019         (generated headers): Depend on shell script instead of Makefile.
4020         (before-compile): Add $(perl-generated-headers) only if perl is
4021         available.
4022         (headers): Depend on $(perl-generated-headers) only if perl is
4023         available.
4024         (sed-generated-headers): Remove iso8859-7jp.h.
4025
4026 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4027
4028         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
4029         (/): Removed.
4030
4031 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4032
4033         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
4034         formed charset names to getfct.  Let user override charset
4035         selection by mention charset in locale name.
4036
4037 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
4038
4039         * posix/glob.c: Move to ...
4040         * sysdeps/generic/glob.c: ...here.
4041         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
4042         elements.
4043         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
4044         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
4045         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
4046         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
4047         subdir.
4048         * libc.map [GLIBC_2.1]: Add glob and globfree.
4049
4050 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4051
4052         * sunrpc/Makefile (generated): Restore old list.
4053
4054 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4055
4056         * rt/Makefile (tests): Define only if we have a thread library.
4057
4058         * nis/ypclnt.c: Add: #include <errno.h>.
4059
4060 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4061
4062         * configure.in: Define and substitute RELEASE as well as
4063         VERSION.
4064         * config.make.in: Add RELEASE and VERSION to be substituted.
4065         * Makeconfig: Delete all references to version.mk.
4066         * Make-dist: Likewise.
4067         * MakeTAGS: Likewise.
4068         * elf/Makefile: Likewise.
4069
4070 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4071
4072         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
4073         yp_get_default_domain.
4074
4075 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4076
4077         * sysdeps/posix/profil.c (__profil): Don't define act and timer
4078         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
4079
4080 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4081
4082         * malloc/malloc.c: Fix for NO_THREADS case.
4083
4084 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
4085
4086         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4087         Remove statfs and fstatfs.
4088         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
4089         and pwrite as EXTRA.
4090         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4091
4092 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
4093
4094         * libc.map: Add capget and capset.
4095
4096 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4097
4098         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4099         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
4100         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
4101         and Matt McLean <keys@brio.yikes.com>.
4102
4103 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
4104
4105         * misc/Makefile (tests): Add tst-mntent.
4106         * misc/tst-mntent.c: New file.
4107
4108 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4109
4110         * autolock.sh: Removed.
4111         * manual/move-if-change: Removed.
4112
4113         * scripts: New directory.
4114         * =__ify: Moved to scripts.
4115         * config.guess: Likewise.
4116         * config.sub: Likewise.
4117         * gen-FAQ.pl: Likewise.
4118         * install-sh: Likewise.
4119         * mkinstalldirs: Likewise.
4120         * move-if-change: Likewise.
4121         * printsources: Likewise.
4122         * rellns.sh: Likewise.
4123         * test-installation.pl: Likewise.
4124
4125         * configure.in: Look in scripts for config.guess, config.sub,
4126         install-sh.
4127         * Makefile: Distribute all above files in their
4128         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
4129         * manual/Makefile: Find mkinstalldirs and move-if-change in
4130         $(..)scripts.  Drop them from distribute.  Minor cleanups.
4131         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
4132         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
4133         * timezone/Makefile: Find rellns-sh in scripts.
4134
4135 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4136
4137         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
4138         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
4139
4140 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4141
4142         * Makefile (+subdir-inits): Delete variable.
4143         (+init_subdirs): Likewise.
4144         (aux): Likewise.
4145         (before-compile): Likewise.
4146         (libc-init): Delete stanza.
4147         (version-info.h): Delete rule and associated variable.
4148         (distribute): Don't distribute moved files.
4149         * Makerules (interp-obj): It lives in elf now.  Only use it
4150         if $(elf) is set.  Delete rule to build it.
4151         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
4152         version.o and version-info.h.  Minor cleanups.
4153         (routines): Add libc-init, sysdep, version.
4154         (generated): Add version-info.h.
4155         * elf/Makefile: Build interp.os.
4156
4157         * interp.c: Moved to elf.
4158         * set-init.c: Moved to csu.
4159         * munch-init.c: Likewise.
4160         * munch.awk: Likewise.
4161         * version.c: Likewise.
4162
4163         * Rules: Unconfuse syntax highlighting with a fake comment.
4164
4165 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4166
4167         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4168         syscalls.
4169
4170 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4171
4172         * iconvdata/Makefile (generated): Set to *-generated-headers
4173         plus gconv-modules.
4174         (tests): Set to iconv-test.
4175         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4176         * posix/Makefile (generated): Set to wordexp-test-result*.
4177         * sunrpc/Makefile (generated): Remove rpcsvc/*.
4178         (generated-dirs): Add rpcsvc.
4179         * libio/Makefile: Clean up.
4180
4181 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
4182
4183         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4184         * Makerules: Likewise.
4185         (+depfiles): Also add sysdep-others.
4186         * Rules: Likewise.
4187         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4188         * iconvdata/Makefile (distribute): Add TESTS.
4189         * localedata/Makefile (repertoires): Rename to repertoiremaps.
4190         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4191         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4192         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4193         sysdep-others, not others.
4194         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4196
4197 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
4198
4199         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4200         cost_hi and cost_lo.
4201         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4202         Cost parameter and set cost_lo to INT_MAX.
4203         (add_module): Take new parameter and use it to initialize cost_lo.
4204         (read_conf_file): Count modules being loaded and use counter for
4205         new parameter to add_module.
4206         * iconv/gconv_db.c (find_derivation): When look for cost examine
4207         cost_hi and cost_lo.
4208
4209 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
4210
4211         * string/bits/string2.h: Don't use unsigned char * unless really
4212         necessary since this disturbs C++.
4213         * sysdeps/i386/i486/bits/string.h: Likewise.
4214         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4215
4216 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217
4218         * malloc/malloc.c (top_check): Fix last change.
4219
4220 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4221
4222         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4223         Patch by Matt McLean <keys@brio.yikes.com>.
4224
4225 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4226
4227         * Makerules (lib): Put back dependency on lib-noranlib.
4228         ($(subdirs-stamps)): Remove dependency on stamp.* again.
4229
4230 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4231
4232         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4233         test in __pow2 implementation.
4234
4235 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4236
4237         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4238         Still need *FLAGS-.o because we still sometimes build .o files.
4239         * db2/Makefile: Don't build libndbm.a if !build-static.
4240
4241 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4242
4243         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
4244
4245 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4246
4247         * configure.in: New test for broken gcc on PowerPC.
4248         * sysdeps/powerpc/atomicity.h: Use result of test.
4249         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
4250
4251         * math/libm-test.c: Update many of the epsilon to match actual
4252         performance.
4253
4254         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4255         * sysdeps/libm-ieee754/e_expf.c: Likewise.
4256         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4257         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
4258
4259         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
4260
4261         * sysdeps/powerpc/elf/libc-start.c: New file.
4262         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4263         * sysdeps/powerpc/elf/start.c: Delete.
4264
4265         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4266         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
4267
4268         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4269         few patches.
4270
4271 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
4272
4273         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4274         test for integer.
4275
4276         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4277         * sysdeps/libm-i387/e_powl.S: Likewise.
4278
4279 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4280
4281         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4282         (malloc_check, free_check, realloc_check, memalign_check): Use
4283         them to improve overrun checking.  Overruns of a single byte and
4284         corruption of the top chunk are now detected much more reliably.
4285
4286 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4287
4288         * math/libm-test.c (pow_test): Add test for special value from PR
4289         libc/590.
4290
4291 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
4292
4293         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4294         including linux/errno.h.
4295
4296 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
4297
4298         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4299         Use correct types.
4300         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4301         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
4302
4303 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4304
4305         * Makerules (elide-routines.*): Fix assignments.
4306         (do-makelib): Fix typo.
4307         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4308         makefile.
4309
4310 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4311
4312         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4313         $(objpfx)sysd-dirs): Move them...
4314         * Makeconfig: ... here.
4315         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4316         (stubs): Fix circular depedency.
4317         (do-makelib): Clean up.
4318         (lib): Don't depend on lib-noranlib.
4319         ($(objpfx)stamp.oS): Remove special case for empty
4320         static-only-routines.
4321         (elide-routines.o): Add $(static-only-routines).
4322         (elide-routines$o): Define this instead of elide-routines.$o.
4323         * manual/Makefile (stubs): Fix circular dependency.
4324
4325 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4326
4327         * libio/Makefile (routines): Remove duplicate oldiofclose.
4328
4329 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4330
4331         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4332
4333 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4334
4335         * libio/stdio.h: Fix typo in __REDIRECT.
4336         * io/sys/stat.h: Likewise.
4337         Reported by Myles Uyema <myles@uyema.nws.net>.
4338
4339 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4340
4341         * locale/programs/localedef.c (options): Fix help message.
4342
4343 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4344
4345         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4346         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4347
4348 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4349
4350         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4351         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4352         (ptmalloc_init): Use new function in thread_at_fork call.
4353         (thread_atfork_static): Likewise.
4354         Suggested by Wolfram Gloger and Xavier Leroy.
4355
4356 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4357
4358         * signal/signal.h: Move definitions of struct sigstack and
4359         struct sigaltstack into separate file and include it.
4360         * sysdeps/generic/bits/sigstack.h: New file.
4361         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4362         * signal/Makefile (headers): Add bits/sigstack.h.
4363
4364 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4365
4366         * elf/rtld.c (dl_main): Fix check for number of references to
4367         interpreter object.
4368
4369 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4370
4371         * elf/rtld.c (dl_main): Check has_interp after executing platform
4372         specific code.
4373
4374 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4375
4376         * iconvdata/run-iconv-test.sh: Fix typo.
4377
4378 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4379
4380         * Makerules (+depfiles): Add depfiles for $(tests-static).
4381         Simplified.
4382
4383 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4384
4385         * manual/terminal.texi (Special Characters): Fix description of
4386         c_cc indexes.
4387
4388 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4389
4390         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4391         array.
4392         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4393         of c_cc array.
4394
4395 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4396
4397         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4398
4399 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4400
4401         * intl/locale.alias: Update russian entry.
4402
4403 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4404
4405         * Makerules (static-only-routines): Reimplement in terms of
4406         elide-routines.os.
4407         (shared-only-routines): Reimplement in terms of
4408         elide-routines.X [where X is all object-suffixes except .os].
4409
4410         (stubs): Create stubs file inside the subdir.
4411         (common-mostlyclean): Remove stubs file from inside the subdir.
4412         * Makefile (subdir-stubs): Look for stubs files inside the
4413         subdirs.
4414         * manual/Makefile (stubs): Create dummy stubs file inside the
4415         subdir.
4416
4417 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4418
4419         Build speed improvement: make ar less of a bottleneck.
4420
4421         * Makerules (stamp$o): Just record the object list for later
4422         use.
4423         (libc_foo.a): New rule, depends on subdir stamp files; builds
4424         and ranlibs the library from the lists saved in those files.
4425
4426         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4427         (subdirs-stamp-o): Likewise.
4428
4429         (ar-symtab-name): Delete variable.
4430         (lib%.a): Delete target.
4431         (libc_foo.a(bar.%)): Delete target.
4432         (libc_foo.a($(ar-symtab-name))): Delete target.
4433
4434         (objects objs): Just depend on libobjs and extra-objs.
4435         (libobjs): Depend on the stamp files, not the objects.
4436         (extra-objs): New target, just depends on the extra-objs list.
4437
4438         (CREATE_ARFLAGS): Kill the `ar S' hack.
4439
4440         * config.make.in (have-ar-S): Deleted.
4441         * configure.in: Delete test for `ar S'.  Add test to determine
4442         whether ranlib does anything useful.
4443
4444 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4445
4446         * inet/tst-ether_aton.c: Include <stdio.h>.
4447
4448 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4449
4450         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4451
4452         * locale/Makefile (distribute): Add programs/repertoire.h.
4453         (localedef-modules): Add repertoire.
4454         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4455         * locale/programs/repertoire.c: New file.
4456         * locale/programs/repertoire.h: New file.
4457         * locale/programs/charmap.c: Starting fixing character set handling
4458         to handle multi-byte encodings.
4459         * locale/programs/charset.c: Likewise.
4460         * locale/programs/charset.h: Likewise.
4461         * locale/programs/ld-collate.c: Likewise.
4462         * locale/programs/ld-ctype.c: Likewise.
4463         * locale/programs/linereader.c: Likewise.
4464         * locale/programs/localedef.c: Likewise.
4465         * locale/programs/locfile-kw.gperf: Likewise.
4466         * locale/programs/locfile-kw.h: Likewise.
4467         * locale/programs/locfile-token.h: Likewise.
4468         * locale/programs/locfile.h: Likewise.
4469         * locale/programs/stringtrans.c: Likewise.
4470
4471         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4472         path, extended with "/locales/".
4473
4474 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4475
4476         * sysdeps/arm/memset.S: Fix off by one error.
4477
4478         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4479         __syscall_error rather than syscall_error directly.
4480
4481 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4482
4483         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4484         mmap() syscall for ARM.
4485
4486         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4487         binaries.
4488
4489 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4490
4491         * locale/programs/localedef.c: Recognize repertoire-map option.
4492
4493 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4494
4495         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4496         converting non-hex numbers.
4497         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4498
4499 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4500
4501         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4502         check overflow.
4503         * resolv/Makefile (tests): New, add tst-aton.
4504         * resolv/tst-aton.c: New file.
4505
4506 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4507
4508         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4509         semicolon.
4510
4511 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4512
4513         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4514         by letting the later modify the variable computing the total directly.
4515         * wcsmbs/mbsrtowcs.c: Likewise.
4516         * wcsmbs/wcsnrtombs.c: Likewise.
4517         * wcsmbs/wcsrtombs.c: Likewise.
4518
4519         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4520         it is not used.
4521         * wcsmbs/wctoc.c: Likewise.
4522
4523         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4524         * wcsmbs/wcsrtombs.c: Likewise.
4525
4526         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4527
4528 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4529
4530         * iconv/skeleton.c: Correct counting of actually converted
4531         characters.
4532
4533         * intl/localealias.c (read_alias_file): Use unsigned char for
4534         local variables.  Remove unused variable tp.
4535         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4536         for type of codeset.  For loosing Solaris systems.
4537         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4538         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4539         len if not needed.
4540         Patches by Jim Meyering.
4541
4542         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4543         wcsrtombs must put it into initial state.
4544
4545 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4546
4547         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4548         argument of bswap_XX macro.
4549
4550 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4551
4552         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4553         variable name.
4554
4555 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4556
4557         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4558         semun and use stdarg macros to get the value.
4559         * sysdeps/generic/semctl.c: Don't use union semun.
4560
4561         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4562
4563         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4564
4565         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4566         strings.h.
4567
4568         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4569         defines grouping.
4570
4571         * intl/hash-string.h: Don't include values.h.
4572
4573         * inet/Makefile (tests): Add tst-ether_aton.
4574         * inet/tst-ether_aton.c: New file.
4575
4576         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4577         in hex conversion.
4578         * inet/ether_aton.c (ether_aton): Declare result variable static.
4579         Reported by ahyung@unixg.ubc.ca.
4580
4581         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4582         Define macro _SEM_SEMUN_UNDEFINED instead.
4583         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4584
4585         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4586         * stdio-common/Makefile (tests): Add tst-wc-printf.
4587
4588 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4589
4590         * manual/stdio.texi (Variable Arguments Output): Correct variable
4591         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4592
4593 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4594
4595         * intl/dcgettext.c: Remove unneeded definition of
4596         internal_function.
4597
4598 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4599
4600         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4601         instead of do-iconv-test.
4602         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4603         empty.
4604
4605 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4606
4607         * string/string.h: Fix feature test.
4608
4609 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4610
4611         * iconvdata/iso646.c (BODY): Don't use character constants that
4612         depend on signedness of char.
4613
4614 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4615
4616         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4617         (sysdep_routines): Add s_pread64 and s_pwrite64.
4618
4619 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4620
4621         * iconvdata/Makefile (distribute): Remove generated .h files.
4622         * iconvdata/koi8-r.h: Removed.
4623         * iconvdata/latin-greek-1.h: Removed.
4624         * iconvdata/latin-greek.h: Removed.
4625
4626         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4627         * iconvdata/KOI-8: Likewise.
4628         * iconvdata/KOI-8..UTF8: Likewise.
4629         * iconvdata/KOI8-R: Likewise.
4630         * iconvdata/KOI8-R..UTF8: Likewise.
4631
4632 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4633
4634         * streams/Makefile (headers): Add sys/stropts.h.
4635         * streams/sys/stropts.h: New file.
4636
4637 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4638
4639         * sysdeps/unix/sysv/linux/ttyname.c,
4640         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4641         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4642
4643 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4644
4645         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4646         argument of _itoa_word.
4647
4648 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4649
4650         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4651         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4652         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4653         sigprocmask, resp., instead of EXTRA.
4654
4655         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4656         s_pread64 and s_pwrite64.
4657
4658 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4659
4660         * iconvdata/Makefile: Correct rules to generate gap table.
4661         * iconvdata/gap.pl: Simplify.
4662
4663         * iconvdata/TESTS: Name new tests.
4664         * iconvdata/testdata/CP1250: New file.
4665         * iconvdata/testdata/CP1250..UTF8: New file.
4666         * iconvdata/testdata/CP1251: New file.
4667         * iconvdata/testdata/CP1251..UTF8: New file.
4668         * iconvdata/testdata/CP1252: New file.
4669         * iconvdata/testdata/CP1252..UTF8: New file.
4670         * iconvdata/testdata/CP1253: New file.
4671         * iconvdata/testdata/CP1253..UTF8: New file.
4672         * iconvdata/testdata/CP1254: New file.
4673         * iconvdata/testdata/CP1254..UTF8: New file.
4674         * iconvdata/testdata/CP1255: New file.
4675         * iconvdata/testdata/CP1255..UTF8: New file.
4676         * iconvdata/testdata/CP1256: New file.
4677         * iconvdata/testdata/CP1256..UTF8: New file.
4678         * iconvdata/testdata/CP1257: New file.
4679         * iconvdata/testdata/CP1257..UTF8: New file.
4680
4681 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4682
4683         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4684         * iconvdata/iso-2022-kr.c: New file.
4685
4686         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4687         and ISO-2022-KR.
4688
4689 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4690
4691         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4692         iso8859-8 and iso8859-10.
4693         * iconvdata/iso8859-5.c: Change to use gap method.
4694         * iconvdata/iso8859-7.c: Likewise.
4695         * iconvdata/iso8859-8.c: Likewise.
4696         * iconvdata/iso8859-10.c: Likewise.
4697
4698         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4699         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4700         end of the loop.
4701         * iconvdata/iso-2022-jp.c: New file.
4702
4703         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4704         * iconvdata/ksc5601.h: Unify function interfaces.
4705         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4706         * iconvdata/uhc.c: Likewise.
4707
4708         * iconvdata/gb2312.h: Use correct types.
4709
4710         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4711         size elements of data.
4712
4713 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4714
4715         * string/tst-svc.expect: Adapt for change in .input.
4716         * string/tst-svc.input: More tests.
4717
4718 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4719
4720         * iconvdata/Makefile: Add rules for new modules.
4721         * iconvdata/gconv-modules: Likewise.
4722         * iconvdata/cp737.c: New file.
4723         * iconvdata/cp737.h: New file.
4724         * iconvdata/cp775.c: New file.
4725         * iconvdata/cp775.h: New file.
4726         * iconvdata/cp874.c: New file.
4727         * iconvdata/cp874.h: New file.
4728
4729 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4730
4731         * iconvdata/Makefile: Create target directory before generating
4732         headers.
4733
4734 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4735
4736         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4737         __USER_LABEL_PREFIX__.
4738         (__ASMNAME, __ASMNAME2): New macros.
4739
4740 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4741
4742         * elf/dl-load.c: Include sys/param.h for MAX.
4743
4744 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4745
4746         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4747         __ftruncate the strong symbol, and add weak alias.
4748         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4749
4750 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4751
4752         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4753         Patch by Joe Keane <jgk@jgk.org>.
4754
4755         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4756         free()ing.
4757
4758 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4759
4760         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4761         Patch by Thomas Bushnell, n/BSG.
4762
4763 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4764
4765         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4766
4767 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4768
4769         * iconvdata/Makefile: Put generated headers in build directory.
4770
4771 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4772
4773         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4774         strsep as current directory.
4775
4776         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4777         Java.  Add definitions for unicodelittle implementation.
4778         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4779         * iconv/gconv_simple.c: Define unicodelittle functions.
4780
4781         * iconv/iconv_prog.c: Make program print information about position
4782         of illegal character in input.
4783
4784         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4785         comparison of charset name.
4786         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4787         * iconvdata/ebcdic-at-de-a.c: Likewise.
4788         * iconvdata/ebcdic-at-de.c: Likewise.
4789         * iconvdata/ebcdic-ca-fr.c: Likewise.
4790         * iconvdata/euccn.c: Likewise.
4791         * iconvdata/eucjp.c: Likewise.
4792         * iconvdata/euckr.c: Likewise.
4793         * iconvdata/euctw.c: Likewise.
4794         * iconvdata/hp-roman8.c: Likewise.
4795         * iconvdata/iso6937.c: Likewise.
4796         * iconvdata/iso8859-1.c: Likewise.
4797         * iconvdata/iso8859-10.c: Likewise.
4798         * iconvdata/iso8859-2.c: Likewise.
4799         * iconvdata/iso8859-3.c: Likewise.
4800         * iconvdata/iso8859-4.c: Likewise.
4801         * iconvdata/iso8859-5.c: Likewise.
4802         * iconvdata/iso8859-6.c: Likewise.
4803         * iconvdata/iso8859-7.c: Likewise.
4804         * iconvdata/iso8859-8.c: Likewise.
4805         * iconvdata/iso8859-9.c: Likewise.
4806         * iconvdata/johab.c: Likewise.
4807         * iconvdata/koi-8.c: Likewise.
4808         * iconvdata/koi8-r.c: Likewise.
4809         * iconvdata/latin-greek-1.c: Likewise.
4810         * iconvdata/latin-greek.c: Likewise.
4811         * iconvdata/sjis.c: Likewise.
4812         * iconvdata/t61.c: Likewise.
4813         * iconvdata/uhc.c: Likewise.
4814
4815         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4816         * iconvdata/TESTS: Add tests for ISO646 module.
4817         * iconvdata/gconv-modules: Add new modules.
4818         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4819         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4820         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4821         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4822         * iconvdata/testdate/DIN_66003: Likewise.
4823         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4824         * iconvdata/testdate/DS_2089: Likewise.
4825         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4826         * iconvdata/testdate/ES: Likewise.
4827         * iconvdata/testdate/ES..UTF8: Likewise.
4828         * iconvdata/testdate/ES2: Likewise.
4829         * iconvdata/testdate/ES2..UTF8: Likewise.
4830         * iconvdata/testdate/GB_1988-80: Likewise.
4831         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4832         * iconvdata/testdate/IT: Likewise.
4833         * iconvdata/testdate/IT..UTF8: Likewise.
4834         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4835         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4836         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4837         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4838         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4839         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4840         * iconvdata/testdate/KSC5636: Likewise.
4841         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4842         * iconvdata/testdate/MSZ_7795.3: Likewise.
4843         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4844         * iconvdata/testdate/NC_NC00-10: Likewise.
4845         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4846         * iconvdata/testdate/NF_Z_62-010: Likewise.
4847         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4848         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4849         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4850         * iconvdata/testdate/NS_4551-1: Likewise.
4851         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4852         * iconvdata/testdate/NS_4551-2: Likewise.
4853         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4854         * iconvdata/testdate/PT: Likewise.
4855         * iconvdata/testdate/PT..UTF8: Likewise.
4856         * iconvdata/testdate/PT2: Likewise.
4857         * iconvdata/testdate/PT2..UTF8: Likewise.
4858         * iconvdata/testdate/SEN_850200_B: Likewise.
4859         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4860         * iconvdata/testdate/SEN_850200_C: Likewise.
4861         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4862
4863         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4864         * iconvdata/cns11643l1.h: Likewise.
4865         * iconvdata/latin-greek-1.h: Likewise.
4866         * iconvdata/latin-greek.h: Likewise.
4867         * iconvdata/koi8-r.h: Likewise.
4868         * iconvdata/jis0212.h: Likewise.
4869         * iconvdata/gb2312.h: Likewise.
4870         * iconvdata/ksc5601.h: Likewise.
4871
4872         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4873
4874         * iconvdata/Makefile: Add rules for lots of more modules.
4875         * iconvdata/cp1250.c: New file.
4876         * iconvdata/cp1251.c: New file.
4877         * iconvdata/cp1252.c: New file.
4878         * iconvdata/cp1253.c: New file.
4879         * iconvdata/cp1254.c: New file.
4880         * iconvdata/cp1255.c: New file.
4881         * iconvdata/cp1256.c: New file.
4882         * iconvdata/cp1257.c: New file.
4883         * iconvdata/ebcdic-dk-no-a.c: New file.
4884         * iconvdata/ebcdic-dk-no.c: New file.
4885         * iconvdata/ebcdic-es-a.c: New file.
4886         * iconvdata/ebcdic-es-s.c: New file.
4887         * iconvdata/ebcdic-es.c: New file.
4888         * iconvdata/ebcdic-fi-se-a.c: New file.
4889         * iconvdata/ebcdic-fi-se.c: New file.
4890         * iconvdata/ebcdic-fr.c: New file.
4891         * iconvdata/ebcdic-is-friss.c: New file.
4892         * iconvdata/ebcdic-it.c: New file.
4893         * iconvdata/ebcdic-pt.c: New file.
4894         * iconvdata/ebcdic-uk.c: New file.
4895         * iconvdata/ebcdic-us.c: New file.
4896         * iconvdata/ibm037.c: New file.
4897         * iconvdata/ibm038.c: New file.
4898         * iconvdata/ibm1004.c: New file.
4899         * iconvdata/ibm1026.c: New file.
4900         * iconvdata/ibm1047.c: New file.
4901         * iconvdata/ibm256.c: New file.
4902         * iconvdata/ibm273.c: New file.
4903         * iconvdata/ibm274.c: New file.
4904         * iconvdata/ibm275.c: New file.
4905         * iconvdata/ibm277.c: New file.
4906         * iconvdata/ibm278.c: New file.
4907         * iconvdata/ibm280.c: New file.
4908         * iconvdata/ibm281.c: New file.
4909         * iconvdata/ibm284.c: New file.
4910         * iconvdata/ibm285.c: New file.
4911         * iconvdata/ibm290.c: New file.
4912         * iconvdata/ibm297.c: New file.
4913         * iconvdata/ibm420.c: New file.
4914         * iconvdata/ibm423.c: New file.
4915         * iconvdata/ibm424.c: New file.
4916         * iconvdata/ibm437.c: New file.
4917         * iconvdata/ibm500.c: New file.
4918         * iconvdata/ibm850.c: New file.
4919         * iconvdata/ibm851.c: New file.
4920         * iconvdata/ibm852.c: New file.
4921         * iconvdata/ibm855.c: New file.
4922         * iconvdata/ibm857.c: New file.
4923         * iconvdata/ibm860.c: New file.
4924         * iconvdata/ibm861.c: New file.
4925         * iconvdata/ibm862.c: New file.
4926         * iconvdata/ibm863.c: New file.
4927         * iconvdata/ibm864.c: New file.
4928         * iconvdata/ibm865.c: New file.
4929         * iconvdata/ibm868.c: New file.
4930         * iconvdata/ibm869.c: New file.
4931         * iconvdata/ibm870.c: New file.
4932         * iconvdata/ibm871.c: New file.
4933         * iconvdata/ibm875.c: New file.
4934         * iconvdata/ibm880.c: New file.
4935         * iconvdata/ibm891.c: New file.
4936         * iconvdata/ibm903.c: New file.
4937         * iconvdata/ibm904.c: New file.
4938         * iconvdata/ibm905.c: New file.
4939         * iconvdata/ibm918.c: New file.
4940
4941         * locale/iso-4217.def: Update.
4942         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4943
4944         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4945         formats.
4946
4947 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4948
4949         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4950         LD_LIBRARY_PATH.
4951
4952 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4953
4954         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4955         * Makefile: Likewise.
4956         * posix/Makefile: Likewise.
4957         * sysdeps/mach/hurd/Makefile: Likewise.
4958
4959 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4960
4961         * sysdeps/mach/hurd/bits/dirent.h: New file.
4962         * sysdeps/mach/hurd/readdir64.c: New file.
4963         * sysdeps/mach/hurd/readdir64_r.c: New file.
4964
4965 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4966
4967         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4968         dprintf): Synchronize declarations with libio/stdio.h.
4969
4970 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4971
4972         * elf/dlerror.c (dlerror): Don't assume that
4973         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4974         well-protected, so just use it directly.
4975
4976 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4977
4978         * io/ftw.h (ftw): Fix typo.
4979
4980 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4981
4982         * sysdeps/gnu/utmp_file.c: Fix typo.
4983
4984 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4985
4986         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4987         one part of a test fails move on to the next test.
4988
4989 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4990
4991         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4992
4993 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4994
4995         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4996         as pointers, not signed integers.
4997
4998 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4999
5000         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
5001
5002 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5003
5004         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
5005         asm symbol name of functions.
5006         * include/features.h: Kill redundant test.
5007
5008         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
5009         * io/ftw.h: Likewise.
5010         * io/sys/stat.h: Likewise.
5011         * io/sys/statfs.h: Likewise.
5012         * io/sys/statvfs.h: Likewise.
5013         * libio/stdio.h: Likewise.
5014         * resource/sys/resource.h: Likewise.
5015         * rt/aio.h: Likewise.
5016
5017         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
5018          __FAVOR_BSD.
5019         * signal/signal.h: Use new macros for BSD vs. SysV signal().
5020
5021         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
5022         a dummy library.
5023         * misc/bsd-compat.c: Removed.
5024
5025 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
5026
5027         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
5028         function declaration.
5029         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
5030         and use them in conversion function.
5031         * iconvdata/Makefile (modules): Re-add ISO6446.
5032         * iconvdata/TEST: Add tests for ASCII variants.
5033         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
5034         * iconvdata/testdata/ANSI_X3.4-1968: New file.
5035         * iconvdata/testdata/BS_4730: New file.
5036         * iconvdata/testdata/BS_4730..UTF8: New file.
5037
5038 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
5039
5040         * iconv/gconv.h (struct gconv_step): Add element stateful.
5041         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
5042         to zero for all internal conversions.
5043         * iconv/skeleton.c: Initialize stateful depending on whether or not
5044         RESET_STATE is defined to one or zero respectively.
5045         * stdlib/mblen.c: Use stateful element of currently selected
5046         converter for result if S is NULL.
5047         * stdlib/mbtowc.c: Likewise.
5048         * stdlib/wctomb.c: Likewise.
5049
5050 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
5051
5052         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
5053
5054         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
5055
5056         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
5057         character in comparison with uint32_t.
5058         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
5059         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
5060         Optimize BODY a bit.
5061
5062         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
5063         be defined.
5064
5065         * iconv/skeleton.c: Also reset converted counter in case of an error.
5066         Call reset function using correct value for output buffer start.
5067
5068         * iconvdata/Makefile: Re-enable tests.
5069
5070         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
5071         value for to-conversion.
5072
5073         * iconvdata/TESTS: Add new third column.
5074         * iconvdata/run-iconv-test.sh: Add support for charsets which are
5075         not ASCII based.
5076         * iconvdata/testdata/suntzus: New file.
5077
5078         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
5079         while reading.  Correctly used base.  Little optimization.
5080         (__strtoul_internal): Likewise.
5081
5082         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
5083         was wrong.  Use explicit variable.
5084
5085 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5086
5087         * configure.in: Check for awk.
5088         * config.make.in: Add AWK to be substituted.
5089
5090         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
5091         * manual/users.texi: Fix typo exposed by above rewrite.
5092
5093         * Makefile: Invoke awk using AWK variable.
5094         * csu/Makefile: Likewise.
5095         * elf/Makefile: Likewise.
5096         * mach/Makefile: Likewise.
5097         * manual/Makefile: Likewise.
5098         * sysdeps/gnu/Makefile: Likewise.
5099         * sysdeps/mach/hurd/Makefile: Likewise.
5100         * sysdeps/unix/Makefile: Likewise.
5101         * timezone/Makefile: Likewise.
5102
5103 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5104
5105         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
5106         array index translation.
5107         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
5108         these are defined.
5109
5110         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
5111
5112         * sysdeps/mach/hurd/errlist.c: New file.
5113         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
5114         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
5115         semantics, so rename it.
5116
5117 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5118
5119         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
5120         conversions.
5121
5122 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
5123
5124         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
5125         * wcsmbs/wcsnrtombs.c: Likewise.
5126
5127 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
5128
5129         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
5130
5131         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
5132
5133         * time/strftime.c (my_strftime): Initialize pad variable in
5134         declaration.
5135
5136         * iconvdata/big5.c: Don't use character constants in comparisons
5137         with unsigned value.
5138
5139 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
5140
5141         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
5142         __libc_siglongjmp to GLIBC_2.1.
5143
5144         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
5145         __strerror_r.
5146
5147         * iconv/Makefile: Don't run tests now.
5148
5149         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
5150         with correct output buffer.
5151
5152         Major rewrite of the low-level gconv functionality.
5153         * iconv/gconv.c: Rewritten.
5154         * iconv/gconv.h: Likewise.
5155         * iconv/gconv_builtin.c: Likewise.
5156         * iconv/gconv_builtin.h: Likewise.
5157         * iconv/gconv_conf.c: Likewise.
5158         * iconv/gconv_int.h: Likewise.
5159         * iconv/gconv_open.c: Likewise.
5160         * iconv/gconv_simple.c: Likewise.
5161         * iconv/iconv.c: Likewise.
5162         * iconvdata/8bit-gap.c: Likewise.
5163         * iconvdata/8bit-generic.c: Likewise.
5164         * iconvdata/Makefile: Likewise.
5165         * iconvdata/big5.c: Likewise.
5166         * iconvdata/cns11643.c: Likewise.
5167         * iconvdata/cns11643.h: Likewise.
5168         * iconvdata/cns11643l1.c: Likewise.
5169         * iconvdata/cns11643l1.h: Likewise.
5170         * iconvdata/ebcdic-at-de-a.c: Likewise.
5171         * iconvdata/ebcdic-at-de.c: Likewise.
5172         * iconvdata/ebcdic-ca-fr.c: Likewise.
5173         * iconvdata/euccn.c: Likewise.
5174         * iconvdata/eucjp.c: Likewise.
5175         * iconvdata/euckr.c: Likewise.
5176         * iconvdata/euctw.c: Likewise.
5177         * iconvdata/gb2312.c: Likewise.
5178         * iconvdata/gb2312.h: Likewise.
5179         * iconvdata/hp-roman8.c: Likewise.
5180         * iconvdata/iso646.c: Likewise.
5181         * iconvdata/iso6937.c: Likewise.
5182         * iconvdata/iso8859-1.c: Likewise.
5183         * iconvdata/iso8859-10.c: Likewise.
5184         * iconvdata/iso8859-2.c: Likewise.
5185         * iconvdata/iso8859-3.c: Likewise.
5186         * iconvdata/iso8859-4.c: Likewise.
5187         * iconvdata/iso8859-5.c: Likewise.
5188         * iconvdata/iso8859-6.c: Likewise.
5189         * iconvdata/iso8859-7.c: Likewise.
5190         * iconvdata/iso8859-8.c: Likewise.
5191         * iconvdata/iso8859-9.c: Likewise.
5192         * iconvdata/jis0201.c: Likewise.
5193         * iconvdata/jis0201.h: Likewise.
5194         * iconvdata/jis0208.c: Likewise.
5195         * iconvdata/jis0208.h: Likewise.
5196         * iconvdata/jis0212.c: Likewise.
5197         * iconvdata/jis0212.h: Likewise.
5198         * iconvdata/johab.c: Likewise.
5199         * iconvdata/koi-8.c: Likewise.
5200         * iconvdata/koi8-r.c: Likewise.
5201         * iconvdata/ksc5601.c: Likewise.
5202         * iconvdata/ksc5601.h: Likewise.
5203         * iconvdata/latin-greek-1.c: Likewise.
5204         * iconvdata/latin-greek.c: Likewise.
5205         * iconvdata/run-iconv-test.sh: Likewise.
5206         * iconvdata/sjis.c: Likewise.
5207         * iconvdata/t61.c: Likewise.
5208         * iconvdata/uhc.c: Likewise.
5209         * wcsmbs/btowc.c: Likewise.
5210         * wcsmbs/mbrtowc.c: Likewise.
5211         * wcsmbs/mbsnrtowcs.c: Likewise.
5212         * wcsmbs/mbsrtowcs.c: Likewise.
5213         * wcsmbs/wcrtomb.c: Likewise.
5214         * wcsmbs/wcsmbsload.c: Likewise.
5215         * wcsmbs/wcsnrtombs.c: Likewise.
5216         * wcsmbs/wcsrtombs.c: Likewise.
5217         * wcsmbs/wctob.c: Likewise.
5218         * iconv/loop.c: New file.
5219         * iconv/skeleton.c: New file.
5220
5221         * stdlib/mblen.c: Handle empty input string correctly.
5222         * stdlib/mbtowc.c: Likewise.
5223
5224         * posix/getopt.c: Various cleanups.
5225
5226         * sysdeps/arm/bits/setjmp.h: Add copyright text.
5227         * sysdeps/i386/bits/setjmp.h: Likewise.
5228         * sysdeps/m68k/bits/setjmp.h: Likewise.
5229         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5230         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5231
5232         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5233         and make longjmp weak alias.
5234
5235 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
5236
5237         * iconv/Makefile (routines): Only include gconv_dl if building for
5238         an ELF system - dynamic linking is not available on a.out.
5239         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5240         due to above check.
5241         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5242         routines from gconv_dl.
5243
5244 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
5245
5246         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5247         we can compile without libio.
5248
5249 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
5250
5251         * sysdeps/mach/hurd/Subdirs: Remove login.
5252
5253 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
5254
5255         * db2/compat.h: Include <errno.h>, to make sure we get the
5256         definition of EFTYPE before we define it ourselves.
5257
5258 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5259
5260         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5261         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5262         Fix typo to allow inclusion from sys/ioctl.h again.
5263
5264 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5265
5266         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
5267
5268 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5269
5270         * libc.map: Export __strerror_r.  Remove _strerror_internal.
5271
5272 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5273
5274         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5275         Also undefine __strcasestr.
5276
5277 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5278
5279         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5280         aliases do not work with global variables due to copy relocations.
5281
5282 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
5283
5284         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
5285
5286 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
5287
5288         * signal/sighold.c: Include stddef.h for NULL definition.
5289         * signal/sigrelse.c: Likewise.
5290         * sysdeps/posix/sigignore.c: Likewise.
5291         * sysdeps/posix/sigset.c: Likewise.
5292         * sysdeps/posix/waitid.c: Likewise.
5293         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5294         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5295         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5296         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5297         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5298
5299 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
5300
5301         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5302         * login/getutent.c (getutxent): Remove alias.
5303         * login/getutent_r.c (setutxent, pututxline, endutxent):
5304         Remove aliases.
5305         * login/getutid.c (getutxid): Remove alias.
5306         * login/getutline.c (getutxline): Remove alias.
5307         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5308         __getutid, __getutline and __pututline.
5309         * login/utmpx.h: Moved to ...
5310         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5311         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5312         and updwtmpx.
5313         * login/updwtmp.c: Moved to ...
5314         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5315         allowing file name transformation.
5316         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5317         additional file name transformation.
5318         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5319         * login/utmp_file.c: Moved to ...
5320         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5321         Generalized by allowing file name transformation.  Do not
5322         print error message.  Library functions should not print them.
5323         Reported by Jim Meyering.
5324         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5325         with additional file name transformation.
5326         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5327         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5328         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5329         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5330         and bits/utmpx.h.
5331         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5332         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5333         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5334         Define if __USE_GNU.
5335         * sysdeps/generic/setutxent.c: New file.
5336         * sysdeps/generic/getutxent.c: New file.
5337         * sysdeps/generic/endutxent.c: New file.
5338         * sysdeps/generic/getutxid.c: New file.
5339         * sysdeps/generic/getutxline.c: New file.
5340         * sysdeps/generic/pututxline.c: New file.
5341         * sysdeps/generic/utmpxname.c: New file.
5342         * sysdeps/generic/updwtmpx.c: New file.
5343         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5344         * sysdeps/generic/bits/utmpx.h: Remove.
5345
5346 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5347
5348         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5349         ~root test.
5350
5351 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5352
5353         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5354
5355 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5356
5357         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5358         variable using _G_stat64.
5359         * libio/fileops.c: Remove macro definition of fstat, it is in the
5360         global header.
5361         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5362
5363 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5364
5365         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5366         <willy@odie.barnet.ac.uk>.
5367
5368 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5369
5370         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5371         required by IPv6 Basic API.
5372         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5373         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5374         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5375         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5376
5377 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5378
5379         Don't name internal representation since it might be different from
5380         the external form (namely on little endian machines).
5381         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5382         UCS4 into references to INTERNAL.
5383         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5384         Add endianess support to UCS functions.  Change references to
5385         UCS4 into references to INTERNAL.
5386         * iconv/gconv_int.h: Change references to UCS4 into references to
5387         INTERNAL.
5388         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5389         * iconvdata/gconv-modules: Change accordingly.
5390         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5391
5392         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5393         overflow.
5394         * iconvdata/8bit-gap.c: Likewise.
5395         * iconvdata/8bit-generic.c: Likewise.
5396         * iconvdata/big5.c: Likewise.
5397         * iconvdata/euccn.c: Likewise.
5398         * iconvdata/eucjp.c: Likewise.
5399         * iconvdata/euckr.c: Likewise.
5400         * iconvdata/euctw.c: Likewise.
5401         * iconvdata/iso646.c: Likewise.
5402         * iconvdata/iso6937.c: Likewise.
5403         * iconvdata/iso8859-1.c: Likewise.
5404         * iconvdata/johab.c: Likewise.
5405         * iconvdata/sjis.c: Likewise.
5406         * iconvdata/t61.c: Likewise.
5407         * iconvdata/uhc.c: Likewise.
5408
5409         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5410         * iconvdata/8bit-generic.c: Likewise.
5411
5412         * iconvdata/TESTS: Add more tests.
5413
5414         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5415
5416 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5417
5418         * iconvdata/Makefile: Better rules to run tests.
5419
5420         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5421         * iconvdata/testdata/ISO-8859-10: Likewise.
5422         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5423         * iconvdata/testdata/ISO-8859-2: Likewise.
5424         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5425         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5426         * iconvdata/testdata/ISO-8859-3: Likewise.
5427         * iconvdata/testdata/ISO-8859-4: Likewise.
5428         * iconvdata/testdata/ISO-8859-5: Likewise.
5429         * iconvdata/testdata/ISO-8859-6: Likewise.
5430         * iconvdata/testdata/ISO-8859-7: Likewise.
5431         * iconvdata/testdata/ISO-8859-8: Likewise.
5432         * iconvdata/testdata/ISO-8859-9: Likewise.
5433
5434 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5435
5436         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5437         intermediate result (if available).
5438
5439         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5440         last change.
5441
5442         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5443         (distribute): Add run-iconv-test.sh and testdata/*.
5444
5445         * stdlib/testmb.c (main): Simplify mbc array handling.
5446
5447 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5448
5449         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5450         return value on overflow.
5451
5452 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5453
5454         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5455         bits.
5456
5457 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5458
5459         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5460         of non-standard function setbuffer.
5461
5462 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5463
5464         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5465
5466 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5467
5468         * iconvdata/Makefile: Add rules to run tests.
5469         * iconvdata/TESTS: New file.
5470         * iconvdata/run-iconv-test.sh: New file.
5471         * iconvdata/testdata/ISO-8859-1: New file.
5472
5473         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5474         not stdout.
5475
5476 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5477
5478         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5479         counter element of step.
5480
5481         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5482
5483         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5484         termination test.
5485         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5486         ACTUALLY.
5487         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5488
5489 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5490
5491         * Makefile: Include makeconfig before defining rule to regenerate
5492         configure files.
5493
5494         * configure.in: Remove restriction on compiling without static
5495         libs.
5496
5497 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5498
5499         * test-skeleton.c: Provide hook for initializing code before the fork.
5500         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5501         removed.
5502
5503         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5504         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5505         * libio/libioP.h: Adopt _IO_cleanup prototype.
5506
5507         * stdlib/Makefile (tests): Add test-canon2.
5508         * stdlib/test-canon2.c: New file.
5509         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5510         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5511         symlink sequences.
5512         (__realpath): Make real function which checks RESOLVED parameter for
5513         not being NULL.
5514
5515 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5516
5517         * catgets/open_catalog.c (__open_catalog): Fix problems with
5518         reading non-files.  Always close file.
5519         Reported by Cristian Gafton <gafton@redhat.com>.
5520
5521         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5522
5523 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5524
5525         * libc.map: Add various low-level I/O functions.
5526
5527 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5528
5529         * string/Makefile (routines): Remove strerror_r.
5530         * string/strerror_r.c: Removed.
5531         * string/strerror.c: Call __strerror_r for doing the real work.
5532         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5533         add weak alias strerror_r.
5534         * sysdeps/mach/_strerror.c: Likewise.
5535         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5536         * elf/dl-error.c (_dl_signal_error): Likewise.
5537         * elf/dl-profile.c (_dl_start_profile): Likewise.
5538         * gmon/gmon.c (write_gmon): Likewise.
5539         * stdio-common/perror.c: Likewise.
5540         * stdio-common/vfprintf.c: Likewise.
5541
5542 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5543
5544         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5545         (sysdep_headers): Add netatalk/at.h.
5546
5547 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5548
5549         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5550         Formatting fixes.
5551
5552 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5553
5554         * posix/regex.c: Rename __re_syntax_options back to
5555         re_syntax_options, aliases do not work with global variables due
5556         to copy relocations.
5557         (regex_compile): Use syntax parameter instead of
5558         re_syntax_options.
5559
5560 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5561
5562         * configure.in: Document that enable-force-install is default.
5563
5564 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5565
5566         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5567         all needed 36 bits.
5568         * sysdeps/posix/mkstemp.c: Likewise.
5569
5570 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5571
5572         * iconvdata/8bit-gap.c: Simplify step data handling.
5573         * iconvdata/8bit-generic.c: Likewise.
5574         * iconvdata/big5.c: Likewise.
5575         * iconvdata/euccn.c: Likewise.
5576         * iconvdata/eucjp.c: Likewise.
5577         * iconvdata/euckr.c: Likewise.
5578         * iconvdata/euctw.c: Likewise.
5579         * iconvdata/iso6937.c: Likewise.
5580         * iconvdata/iso8859-1.c: Likewise.
5581         * iconvdata/jis0208.h: Likewise.
5582         * iconvdata/jis0212.c: Likewise.
5583         * iconvdata/jis0212.h: Likewise.
5584         * iconvdata/johab.c: Likewise.
5585         * iconvdata/ksc5601.h: Likewise.
5586         * iconvdata/sjis.c: Likewise.
5587         * iconvdata/t61.c: Likewise.
5588         * iconvdata/uhc.c: Likewise.
5589
5590 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5591
5592         * manual/texinfo.texi: Updated from last version.
5593
5594 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5595
5596         * iconvdata/cns11643.c: New file.
5597         * iconvdata/cns11643.h: New file.
5598         * iconvdata/cns11643l1.c: New file.
5599         * iconvdata/cns11643l1.h: New file.
5600         * iconvdata/euctw.c: New file.
5601         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5602         * iconvdata/gconv-modules: Likewise.
5603
5604         * iconvdata/eucjp.c: Several bug fixes and improvements.
5605         * iconvdata/gb2312.h: Likewise.
5606         * iconvdata/jis0201.h: Likewise.
5607         * iconvdata/jis0208.h: Likewise.
5608         * iconvdata/jis0212.h: Likewise.
5609
5610 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5611
5612         * iconvdata/eucjp.c: New file.
5613         * iconvdata/euccn.c: New file.
5614         * iconvdata/gb2312.h: New file.
5615         * iconvdata/gb2312.c: New file.
5616         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5617         * iconvdata/gconv-modules: Likewise.
5618
5619         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5620
5621 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5622
5623         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5624         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5625         Patch by Mark Hatle <fray@kernel.crashing.org>.
5626
5627 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5628
5629         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5630         comment.
5631         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5632         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5633
5634 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5635
5636         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5637
5638         * iconvdata/Makefile: Add rules for big5 conversion.
5639         * iconvdata/gconv-modules: Likewise.
5640         * iconvdata/big5.c: New file.
5641
5642         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5643         Patch by Jim Meyering.
5644
5645 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5646
5647         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5648
5649         * rt/lio_listio.c: Correct total counter handling.
5650
5651         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5652         from request queue.
5653
5654         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5655         of signal on exit even more.
5656
5657         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5658         instead of call to pthread_cond_init.
5659         * rt/lio_listio.c (lio_listio): Likewise.
5660         * rt/lio_listio64.c (lio_listio64): Likewise.
5661
5662         * nis/nis_findserv.c: Include sys/socket.h.
5663
5664 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5665
5666         * Makeconfig (rtobjdir): New variable.
5667         (rpath-link): Add rtobjdir and thread directory, if available.
5668
5669         * test-skeleton.c: Add support to remove temporary files.
5670         Always define test_dir.  Improve message about expected signal.
5671
5672         * rt/Makefile (tests): Add tst-aio.
5673         Add rules for tst-aio to be linked with librt and thread library.
5674         * rt/aio_misc.c: Correct fundamental bugs.
5675         * rt/aio_suspend.c: Correct bug in test for available request.
5676         Initialize conditional variable.
5677         * rt/lio_listio.c: Initialize conditional variable.
5678         * rt/lio_listio64.c: Likewise.
5679         * rt/tst-aio.c: New file.
5680
5681         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5682         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5683         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5684         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5685         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5686         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5687         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5688
5689 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5690
5691         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5692
5693 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5694
5695         * elf/dl-load.c (open_path): Use correct name for test whether
5696         directory in load path exists.
5697
5698         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5699         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5700         Patches by Tom Rini <trini@kernel.crashing.org>.
5701
5702         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5703         * wcsmbs/wcstod_l.c: Likewise.
5704         * wcsmbs/wcstold_l.c: Likewise.
5705
5706         * include/byteswap.h: New file.
5707
5708         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5709         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5710
5711         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5712         declaration.  Patch by Richard Henderson.
5713
5714 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5715
5716         * manual/process.texi (SIGCHLD example): Save errno.
5717
5718 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5719
5720         * posix/regex.c: Define regerror really as __regerror.
5721         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5722         regerror and regfree.
5723
5724         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5725         * stdlib/strtod_l.c: Likewise.
5726         * stdlib/strtold_l.c: Likewise.
5727
5728         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5729
5730         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5731
5732         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5733         Patch by Christian Gafton.
5734
5735 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5736
5737         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5738         for if_indextoname.
5739
5740 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5741
5742         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5743
5744         * manual/socket.texi (Interface Naming): Fix typo.
5745
5746 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5747
5748         * manual/examples/filesrv.c (main): Remove filename first.
5749
5750         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5751         ?F_UNIX.
5752
5753         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5754         instead of PF_UNIX.
5755
5756         * manual/examples/filecli.c (main): Use AF_LOCAL
5757         instead of AF_UNIX.
5758
5759 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5760
5761         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5762         signgam weak alias.
5763         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5764         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5765         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5766         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5767         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5768         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5769
5770         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5771
5772 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5773
5774         * configure.in: Add new option --enable-force-install.  Substitute
5775         force_install.
5776         * config.make.in (force-install): Set from configure.
5777         * Makerules (force-install): New phony target.
5778         * Makeconfig (+force): New variable.
5779         * Makefile: Use it in dependency list of installation targets.
5780         * db/Makefile: Likewise.
5781         * db2/Makefile: Likewise.
5782         * elf/Makefile: Likewise.
5783         * hurd/Makefile: Likewise.
5784         * iconv/Makefile: Likewise.
5785         * iconvdata/Makefile: Likewise.
5786         * intl/Makefile: Likewise.
5787         * localedata/Makefile: Likewise.
5788         * login/Makefile: Likewise.
5789         * po/Makefile: Likewise.
5790         * sunrpc/Makefile: Likewise.
5791         * sysdeps/mach/hurd/Makefile: Likewise.
5792         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5793         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5794         * timezone/Makefile: Likewise.
5795
5796 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5797
5798         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5799         alloc_size.  Pass return value of getcwd syscall to realloc.
5800
5801 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5802
5803         * manual/socket.texi: Spelling fixes.
5804
5805 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5806
5807         * elf/dl-load.c (print_search_path): Remove unused variable.
5808
5809 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5810
5811         * login/utmp_file.c: use __ftruncate not ftruncate.
5812         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5813         for system call and make ftruncate weak alias.
5814         * posix/unistd.h: Add prototype for __ftruncate.
5815         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5816         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5817         instead of snprintf and readv.
5818         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5819         snprintf.
5820         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5821         directly.
5822
5823 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5824
5825         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5826         * iconv/gconv_db.c: Use __ protected regex functions.
5827         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5828         * posix/getopt_init.c: Use __getpid not getpid.
5829         * posix/regex.c: Rename all global functions to start with __ and
5830         make old names weak aliases.
5831         * posix/regex.h: Adopt prototypes for this.
5832         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5833         a weak alias and use __getcwd instead of getcwd.
5834         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5835         * stdlib/strtod.c: Use __btowc instead of btowc.
5836         * stdlib/strtol.c: Likewise.
5837         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5838         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5839         and sys_errlist are weak.
5840         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5841         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5842         * wcsmbs/mbsnrtowcs.c: Likewise.
5843         * wcsmbs/mbsrtowcs.c: Likewise.
5844         * wcsmbs/wcsnrtombs.c: Likewise.
5845         * wcsmbs/wcsrtombs.c: Likewise.
5846         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5847         weak alias.
5848         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5849         * wctype/wctype.c: Define function as __wctype and make wctype
5850         weak alias.
5851         * wctype/wctype.h: Declare __wctype.
5852
5853 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5854
5855         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5856
5857 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5858
5859         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5860         stat64.
5861         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5862         functions.
5863         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5864         for __llseek.
5865         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5866         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5867         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5868         make it a weak alias.
5869         * posix/unistd.h: Declare __lseek64.
5870
5871         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5872         (_IO_file_stat): Fix typo.
5873         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5874         block size from the file.  Use __mempcpy if _LIBC.
5875
5876 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5877
5878         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5879         * wcsmbs/mbrtowc.c: Likewise.
5880         * wcsmbs/mbsnrtowcs.c: Likewise.
5881         * wcsmbs/mbsrtowcs.c: Likewise.
5882         * wcsmbs/wcrtomb.c: Likewise.
5883         * wcsmbs/wcsnrtombs.c: Likewise.
5884         * wcsmbs/wcsrtombs.c: Likewise.
5885         * wcsmbs/wctob.c: Likewise.
5886
5887         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5888         position of next output character correctly.
5889         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5890
5891         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5892
5893         * stdlib/strtod.c: Don't use mbtowc.
5894
5895 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5896
5897         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5898         what we want is smaller than a buffer.
5899
5900 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5901
5902         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5903         this function.
5904
5905 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5906
5907         * configure.in: Recognize --with-headers flag and determine
5908         commandline options to be used in compilation.
5909         * Makeconfig (+includes): Use $(sysincludes).
5910         * config.make.in (sysincludes): Define from SYSINCLUDES.
5911         * glibcbug.in: Use SYSINCLUDES information.
5912         Patches by Zack Weinberg.
5913
5914 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5915
5916         * glibcbug.in: On linux, report version of kernel headers seen
5917         by compiler.
5918
5919 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5920
5921         * libc.map: Add __asprintf to GLIBC_2.1.
5922         * elf/dlerror.c: Use __asprintf, not asprintf.
5923         * libio/stdio.h: Declare __asprintf.
5924         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5925         a weak alias.
5926
5927         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5928         to avoid inclusion from libc_pic.a.
5929
5930         * elf/dl-runtime.c: Undo last patch.
5931
5932         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5933
5934         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5935         as default, use NULL.
5936
5937 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5938
5939         * resolv/Makefile: Include ../Makeconfig - needed for building
5940         static NSS module.
5941
5942 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5943
5944         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5945         static-nss since we don't want hesiod in the static NSS.
5946
5947         * nss/Makefile: Build only nss_files as static.
5948
5949         * nss/function.def: Remove support for service db.
5950
5951 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5952
5953         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5954
5955 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5956
5957         * posix/wordexp-test.c: Make IFS per test-case.
5958
5959 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5960
5961         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5962         ENVIRONMENT.
5963
5964 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5965
5966         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5967         `-print-file-name' to find as and ld.
5968
5969 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5970
5971         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5972         template is wrong.  Remove unused varaible `ignored'.
5973
5974 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5975
5976         * libc.map: Export __libc_sa_len.
5977
5978         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5979
5980 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5981
5982         * iconv/gconv.c: Take care for NULL arguments.
5983         * iconv/gconv_dl.c: Make find_func function global.
5984         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5985         Add prototypes for ASCII conversion functions.
5986         * iconv/gconv_simple.c: Add ASCII conversion functions.
5987         * locale/C-ctype.c: Correct charset name.
5988
5989         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5990         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5991         wcsmbsload.
5992         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5993         * wcsmbs/mbrtowc.c: Likewise.
5994         * wcsmbs/mbsnrtowcs.c: Likewise.
5995         * wcsmbs/mbsrtowcs.c: Likewise.
5996         * wcsmbs/wcrtomb.c: Likewise.
5997         * wcsmbs/wcsnrtombs.c: Likewise.
5998         * wcsmbs/wcsrtombs.c: Likewise.
5999         * wcsmbs/wctob.c: Likewise.
6000         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
6001         prototypes for wmemr*.
6002         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
6003         * wcsmbs/wcsnlen.c: New file.
6004         * wcsmbs/wcsmbsload.c: New file.
6005         * wcsmbs/wcsmbsload.h: New file.
6006
6007         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
6008
6009         * manual/install.texi: Describe some more critical points.
6010
6011         * string/string.h: Add prototype for __strnlen.
6012         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
6013
6014         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
6015         much less predictable names.
6016         * sysdeps/posix/mkstemp.c: Likewise.
6017
6018 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6019
6020         * manual/libc.texinfo (Top): Change "file namespace" to "local
6021         namespace".
6022
6023         * manual/socket.texi: Change file namespace to local namespace.
6024         (Out-of-Band Data): Remove unneeded variable link.
6025         (Host Address Functions): Use uint32_t consequently and add a
6026         number of clarifications for IPv4/IPv6, classless addresses.
6027         (Internet Namespace): Added some paragraphs about IPv6.
6028         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6029
6030 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
6031
6032         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
6033
6034         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
6035         (NI_NUMERICHOST, et al.): Tidy up and add comments.
6036         (AI_NUMERICHOST): Define.
6037         (getnodebyname): New prototype.
6038         (AI_V4MAPPED, et al.): New constants.
6039
6040         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
6041         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
6042         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
6043         for socket.
6044         * sysdeps/unix/sysv/linux/sa_len.c: New file.
6045         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
6046
6047         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
6048
6049         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
6050         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
6051         * socket/Makefile (headers): Add bits/sockunion.h.
6052         * socket/sys/socket.h: Include <bits/sockunion.h>
6053         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
6054         <sys/socket.h>, to avoid getting sockaddr_union defined.
6055         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
6056         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6057         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6058
6059         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
6060         (2.2.x kernels won't have it).
6061
6062 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
6063
6064         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
6065         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
6066         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
6067         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
6068
6069 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
6070
6071         * manual/socket.texi (Socket Addresses): Fix a typo.
6072         (Interface Naming): New section.
6073
6074 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6075
6076         * configure.in: Check for CC using $ac_tool_prefix, to handle
6077         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
6078         * config.make.in: Add MIG to be substituted.
6079         * mach/Machrules: Don't define MIG variable.
6080
6081         Patch by Gordon Matzigkeit <gord@profitpress.com>.
6082
6083 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
6084
6085         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
6086         strdupa to copy rpath.
6087
6088 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6089
6090         * configure.in: Fix gcc version check.
6091
6092         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
6093         confusing.
6094
6095 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
6096
6097         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
6098         of ptsname_r.
6099
6100         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
6101         like ttyname_r.
6102         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
6103         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
6104         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
6105         of __ptsname_r accordingly.
6106         * login/openpty.c (openpty): Likewise.
6107
6108 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
6109
6110         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
6111
6112 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6113
6114         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
6115
6116         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
6117
6118 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6119
6120         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
6121         return value for better error checking.
6122
6123 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6124
6125         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
6126         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
6127
6128         * elf/elf.h (EM_SPARC64): Remove.
6129         (EM_SPARC32PLUS, EM_SPARCV9): Add.
6130         (HWCAP_SPARC_V9): Add.
6131
6132         * elf/ldsodefs.h (_dl_hwcap): Declare.
6133         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
6134         Weaken so dlopen from static progies works.
6135         (WEAKADDR): New macro.
6136         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
6137         (LD_SO_PRELOAD): New macro.
6138         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
6139         (elf_machine_rela): Weaken _dl_rtld_map.
6140
6141         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
6142         to __clone, and remove the later's alias.
6143         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6144
6145         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
6146         the kernel's structure.
6147
6148         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
6149         Sparc needs a custom value of __KERNEL_NCCS.
6150
6151 1998-04-06  Richard Henderson  <rth@cygnus.com>
6152
6153         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
6154
6155         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
6156         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6157
6158 1998-04-06  Richard Henderson  <rth@cygnus.com>
6159
6160         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6161         as the buffer is not properly aligned.
6162         Reported by Juan Cespedes <cespedes@debian.org>.
6163
6164 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6165
6166         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6167         instead of AF_FILE.
6168
6169 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
6170
6171         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6172         and wc*tomb* functions.
6173
6174 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
6175
6176         * sysdeps/unix/start.c: Fix typo.
6177
6178 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
6179
6180         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
6181
6182 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
6183
6184         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6185         expressions and using array variables.
6186         * sysdeps/libm-ieee754/e_asin.c: Likewise.
6187         * sysdeps/libm-ieee754/e_j0.c: Likewise.
6188         * sysdeps/libm-ieee754/e_j1.c: Likewise.
6189         * sysdeps/libm-ieee754/e_log.c: Likewise.
6190         * sysdeps/libm-ieee754/e_pow.c: Likewise.
6191         * sysdeps/libm-ieee754/k_cos.c: Likewise.
6192         * sysdeps/libm-ieee754/k_sin.c: Likewise.
6193         * sysdeps/libm-ieee754/k_tan.c: Likewise.
6194         * sysdeps/libm-ieee754/s_atan.c: Likewise.
6195         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6196         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6197         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6198         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6199
6200 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
6201
6202         * iconv/gconv.c: Rewrite of the low-level of gconv.
6203         * iconv/gconv.h: Likewise.
6204         * iconv/gconv_builtin.h: Likewise.
6205         * iconv/gconv_close.c: Likewise.
6206         * iconv/gconv_db.: Likewise.
6207         * iconv/gconv_dl.c: Likewise.
6208         * iconv/gconv_int.h: Likewise.
6209         * iconv/gconv_open.c: Likewise.
6210         * iconv/gconv_simple.c: Likewise.
6211         * iconvdata/8bit-gap.c: Adapt for rewrite.
6212         * iconvdata/8bit-generic.c: Likewise.
6213         * iconvdata/euckr.c: Likewise.
6214         * iconvdata/iso646.c: Likewise.
6215         * iconvdata/iso6937.c: Likewise.
6216         * iconvdata/iso8859-1.c: Likewise.
6217         * iconvdata/johab.c: Likewise.
6218         * iconvdata/sjis.c: Likewise.
6219         * iconvdata/t61.c: Likewise.
6220         * iconvdata/uhc.c: Likewise.
6221
6222 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
6223
6224         * iconv/gconv_int.h: New file.  Internal header.
6225         * iconv/Makefile (distribute): Add gconv_int.h.
6226         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6227         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6228         * iconv/gconv_close.c: Likewise.
6229         * iconv/gconv_conf.c: Likewise.
6230         * iconv/gconv_db.c: Likewise.
6231         * iconv/gconv_dl.c: Likewise.
6232         * iconv/gconv_int.h: Likewise.
6233         * iconv/gconv_open.c: Likewise.
6234         * iconv/iconv.c: Likewise.
6235         * iconv/iconv_close.c: Likewise.
6236         * iconv/iconv_open.c: Likewise.
6237         * iconv/iconv_prog.c: Likewise.
6238
6239 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6240
6241         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6242         missing braces.
6243
6244 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6245
6246         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6247
6248 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6249
6250         Based on patch from Pat Beirne:
6251         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6252         PIC and non-PIC now.  Correctly negate error number.
6253         (errno): Use `%' not `@' in .type directives.
6254
6255 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6256
6257         * sysdeps/i386/strtok.S: Change to use single exit point.
6258         * sysdeps/i386/i686/strtok.S: Likewise.
6259
6260 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6261
6262         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6263         default.
6264
6265 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6266
6267         * Makerules (installed-libcs): Fix typo.
6268
6269 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6270
6271         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6272         (UHC-routines): Remove ksc5601.
6273
6274 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6275
6276         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6277         introduced in last change.
6278
6279 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
6280
6281         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6282         before 2.1.92.
6283
6284 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6285
6286         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
6287
6288         * stdlib/isomac.c: Use -isystem instead of -I for system include
6289         dir.
6290
6291 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
6292
6293         * resolv/res_comp.c (underscorechar): New.
6294         (middlechar): Allow '_'.
6295
6296 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6297
6298         * intl/explodename.c (stdlib.h): Include that file only if
6299         STDC_HEADERS or _LIBC.
6300         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6301         Patch by Philippe De Muyter <phdm@macqel.be>.
6302
6303 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6304
6305         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6306         (AC_PROG_CHECK_VER): New macro.
6307         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6308         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6309
6310 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6311
6312         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6313         * sysdeps/i386/i686/strtok.S: New file
6314         * sysdeps/i386/i686/strtok_r.S: New file
6315
6316 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6317
6318         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6319         type to __off64_t.
6320         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6321         parameter as __off64_t instead of __off_t.
6322         (ftello): Make alias for ftello64 instead of ftello.  Change
6323         return type to __off64_t.
6324
6325 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6326
6327         * sysdeps/i386/bits/string.h: Fix various typos.
6328         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6329
6330         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6331
6332 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6333
6334         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6335         lchown syscall correctly.  [PR libc/541].
6336
6337 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6338
6339         * localedata/Makefile: Correct testsuite rules.
6340
6341         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6342         * iconvdata/iso646.c: Fix conversion from UCS4.
6343
6344         * elf/ldsodefs.h: Mark internal function with internal_function.
6345         * elf/dl-addr.c: Likewise.
6346         * elf/dl-close.c: Likewise.
6347         * elf/dl-debug.c: Likewise.
6348         * elf/dl-deps.c: Likewise.
6349         * elf/dl-error.c: Likewise.
6350         * elf/dl-fini.c: Likewise.
6351         * elf/dl-init.c: Likewise.
6352         * elf/dl-load.c: Likewise.
6353         * elf/dl-lookup.c: Likewise.
6354         * elf/dl-object.c: Likewise.
6355         * elf/dl-open.c: Likewise.
6356         * elf/dl-profile.c: Likewise.
6357         * elf/dl-reloc.c: Likewise.
6358         * elf/dl-runtime.c: Likewise.
6359         * elf/dl-symbol.c: Likewise.
6360         * elf/dl-version.c: Likewise.
6361         * elf/dlerror.c: Likewise.
6362         * sysdeps/generic/dl-sysdep.c: Likewise.
6363         * sysdeps/i386/dl-machine.h: Likewise.
6364         * intl/finddomain.c: Likewise.
6365         * intl/gettextP.h: Likewise.
6366         * intl/loadmsgcat.c: Likewise.
6367
6368 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6369
6370         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6371         * iconv/gconv_builtin.h: Add definitions for new builtins.
6372         * iconv/gconv.h: Add prototypes for new builtins.
6373
6374         * iconvdata/Makefile (modules): Add ISO646.
6375         Add rules for ISO646 module.
6376         (distribute): Add iso646.c.
6377         * iconvdata/gconv-modules: Add module and alias definition for
6378         ISO646 charsets.
6379         * iconvdata/iso646.c: New file.
6380
6381 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6382
6383         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6384         * iconv/iconv_prog.c: Implement --list option to print available
6385         coded character sets.
6386
6387 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6388
6389         Make fread() read large blocks straight to the user buffer.
6390
6391         * libio/fileops.c (_IO_file_xsgetn): New function.
6392         (_IO_file_jumps): Use it.
6393         * libio/libioP.h: Prototype it.
6394
6395 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6396
6397         * iconv/gconv_conf.c (builtin_aliases): New variable.
6398         (__gconv_read_conf): Add builtin aliases.
6399         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6400         noop macro before including gconv_builtin.h.
6401         * iconv/gconv_builtin.h: Add alias names.
6402
6403         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6404         number of converted bytes correctly.
6405
6406 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6407
6408         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6409         we only wait for a replay.
6410
6411 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6412
6413         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6414         EUC-KR modules.
6415
6416 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6417
6418         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6419         use PLTJMP() rather than explicit (PLT).
6420
6421         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6422         __libc_start_main().
6423
6424         Based on patch from Pat Beirne:
6425         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6426         Always define, not only #ifndef PIC.
6427         (DO_CALL): Pass fifth argument correctly in R4.
6428         (PSEUDO): Correct test for error, call syscall_error through PLT
6429         if PIC.
6430
6431 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6432
6433         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6434         definitions.
6435
6436 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6437
6438         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6439         JOHAB.so.
6440
6441 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6442
6443         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6444         lstat64.
6445
6446 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6447
6448         * manual/Makefile: Use object-suffixes-for-libc instead of
6449         object-suffixes.
6450         * rpm/Makefile (install-lib): Likewise.
6451
6452 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6453
6454         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6455
6456         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6457         `m68*', not only `m68k'.
6458
6459 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6460
6461         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6462
6463         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6464         install lddlibc4.
6465
6466 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6467
6468         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6469         EUC-KR.
6470
6471         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6472         comment.
6473
6474 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6475
6476         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6477         the init stuff.
6478
6479 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6480
6481         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6482         adjtimex syscall.
6483         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6484         adjtimex.
6485         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6486
6487 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6488
6489         * Makerules (install): Change comment for libc.so following the
6490         libc_nonshared changes.
6491
6492 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6493
6494         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6495
6496         * iconvdata/gap.pl: Avoid using %#06x.
6497
6498 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6499
6500         * Makerules: Use $? instead of S^ when invoking ar.
6501
6502 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6503
6504         * db2/compat.h: Allow EFTYPE being defined.
6505         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6506         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6507         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6508         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6509         (__libc_once): Correctly unlock semaphore.
6510         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6511         * sysdeps/unix/bsd/getpt.c: Fix typo.
6512         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6513
6514 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6515
6516         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6517         macros.
6518
6519 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6520
6521         * include/mntent.h: New file.
6522
6523         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6524         * elf/dl-load.c: Rewrite search path handling.
6525         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6526         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6527         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6528         * elf/ldsodefs.h: Add prototype.
6529
6530 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6531
6532         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6533
6534         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6535         function.
6536
6537         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6538
6539         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6540         New function.
6541         (HWCAP_IMPORTANT): New definition.
6542
6543 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6544
6545         * elf/dl-open.c (_dl_open): Fix a typo.
6546         (_dl_global_scope_alloc): Make it static.
6547
6548 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6549
6550         * Makerules: Remove duplicate rules to handle stamp.oS.
6551
6552 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6553
6554         * manual/examples/inetsrv.c (main): Change prototype of
6555         make_socket following change in mkisock.c.
6556
6557         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6558         example host.
6559         (main): Change prototype of init_sockaddr following change in
6560         isockadd.c.
6561
6562         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6563         * manual/examples/isockad.c (init_sockaddr): Likewise.
6564
6565         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6566         lines for clarification.
6567         (make_named_socket): Use strncpy instead of strcpy.
6568         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6569
6570 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6571
6572         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6573         determining libs to remove.
6574         (postclean): Add soversions.mk.
6575         * Makerules (common-mostlyclean): Add tests-static and generated
6576         files.
6577
6578 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6579
6580         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6581         scanning for \0.
6582         (__strncat_g): Add i686 specific code.
6583
6584 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6585
6586         * manual/install.texi (Reporting Bugs): Ask to include section
6587         names in reports.
6588
6589 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6590
6591         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6592         guard against direct inclusion.
6593
6594 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6595
6596         Rework support for libc_nonshared.a:
6597         * Makeconfig (object-suffixes-for-libc): New variable.
6598         * Rules: Remove handling of static-only and shared-only routines.
6599         * Makerules: Handle them here instead.  Use
6600         object-suffixes-for-libc instead of object-suffixes when dealing
6601         with libc objects.
6602         (object-suffixes-for-rules): Remove variable.
6603         (elide-routines.oS): Elide all routines except static-only
6604         routines.
6605         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6606         empty.
6607         (installed-libcs): Remove special case for .oS.
6608         (rmobjs): Likewise.
6609
6610 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6611
6612         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6613         do-tst-rpmatch): New targets.
6614         (test): Use them.
6615         (install-locales): Ignore comment lines.
6616
6617 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6618
6619         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6620         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6621         ($(objpfx)rtldtbl.h): Likewise.
6622         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6623
6624 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6625
6626         * manual/string.texi (Finding Tokens in a String): Extend strsep
6627         description and correct example.
6628
6629 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6630
6631         * manual/socket.texi: Remove misguided explicit line breaks and
6632         fix the formatting problem instead by reformulating the
6633         paragraphs.
6634         * manual/filesys.texi: Likewise.
6635         * manual/conf.texi: Likewise.  Don't typeset table with index
6636         fonts, that looks worse than a minimally overfull line.
6637
6638 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6639
6640         * nscd/Makefile (nscd-modules): Move definition outside of
6641         conditional.
6642
6643         * pwd/Makefile: Use have-thread-library to test for thread
6644         library.
6645
6646 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6647
6648         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6649
6650         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6651
6652 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6653
6654         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6655
6656 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6657
6658         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6659
6660         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6661         Reported by Andreas Jaeger.
6662
6663 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6664
6665         * elf/Makefile: Fix typo.
6666         (distribute): Add dl-librecon.h.
6667         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6668         * elf/ldd.sh.in: Likewise.
6669         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6670         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6671         Use strsep correctly.
6672         (process_envvars): Allow platform specific variables.
6673         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6674         (_dl_load_cache_lookup): Test cache IDs found against
6675         _dl_correct_cache_id.
6676         * sysdeps/generic/dl-librecon.h: New file.
6677         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6678
6679         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6680
6681 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6682
6683         * config.make.in (ldd-rewrite-script): New variable.
6684         * configure.in: Substitute ldd-rewrite-script.
6685         * elf/Makefile: Rewrite rules to generate ldd script.
6686         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6687         * elf/ldd.sh.in: Likewise.
6688         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6689         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6690         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6691         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6692         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6693
6694 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6695
6696         * inet/rcmd.c (iruserok): Remain setuid to the local user
6697         while .rhosts is actually read, to make .rhosts-over-NFS work
6698         (PR libc/524).  Use iruserfopen() for security checks on both
6699         hosts.equiv and .rhosts.  General cleanup.
6700         (iruserfopen): New function, performs careful checking on
6701         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6702         stuff plus hard links to files.
6703
6704 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6705
6706         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6707
6708         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6709
6710 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6711
6712         * sysdeps/i386/i486/bits/string.h: Fix typos.
6713
6714 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6715
6716         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6717         strong alias.
6718
6719         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6720
6721         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6722         Added.  Used by libm.so on alpha.
6723
6724 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6725
6726         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6727         defined.
6728
6729 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6730
6731         * Makerules (object-suffixes-for-rules): Add .oS only for
6732         building shared library.
6733         Add ranlib rule for nonshared library.
6734         (rmobjs): Fix typo.
6735
6736         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6737         into for shared library only.
6738         (CPPFLAGS-.oS): Add -DPIC.
6739         (libtypes): Use $(object-suffixes-for-rules) instead of
6740         $(object-suffixes).
6741
6742 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6743
6744         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6745         and install lddlibc4.
6746
6747 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6748
6749         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6750         hash.
6751         * iconvdata/gaptab.pl: Likewise.
6752
6753 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6754
6755         * Rules: Allow Makefiles to specify test-static for tests which
6756         cannot be linked dynamically.
6757         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6758         tests-static.
6759
6760         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6761
6762         * misc/error.c: Pretty print.
6763
6764 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6765
6766         * Makerules (libc_nonshared-name): Remove variable.
6767         (installed-libcs): Use libc-name instead.
6768         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6769         dynamic linker.
6770
6771         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6772         libc.a.  Remove explicit reference to dynamic linker.
6773
6774 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6775
6776         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6777         to wchar_t.
6778         * iconv/iconv_prog.c: Correctly test for write failure.
6779         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6780         * iconvdata/gconv-modules: Likewise.
6781         * iconvdata/euckr.c: New file.
6782         * iconvdata/johab.c: New file.
6783         * iconvdata/ksc5601.c: New file.
6784         * iconvdata/ksc5601.h: New file.
6785         * iconvdata/uhc.c: New file.
6786         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6787
6788         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6789         * stdio/fopen.c: Correct handling of 'x' flag.
6790         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6791
6792 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6793
6794         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6795         * sunrpc/rpcsvc/key_prot.x: Likewise.
6796         * sunrpc/key_prot.c: Likewise.
6797
6798 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6799
6800         * sysdeps/i386/bits/string.h: Correct things which never worked.
6801         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6802         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6803
6804 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6805
6806         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6807         defined.  Reported by Thorsten Kukuk.
6808
6809 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6810
6811         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6812
6813 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6814
6815         * manual/install.texi (Supported Configurations): Add
6816         arm-linuxaout and arm-none.
6817
6818 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6819
6820         * version.h (VERSION): Bump to 2.0.93.
6821
6822 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6823
6824         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6825
6826         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6827
6828         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6829         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6830
6831 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6832
6833         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6834
6835 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6836
6837         Put the static-only routines in a separate library.
6838         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6839         variables.
6840         (all-object-suffixes): Add .oS.
6841         * Makerules (libc_static-name): New variable.
6842         (installed-libcs): Add libc_nonshared.a.
6843         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6844         (object-suffixes-for-rules): New variable.  Use it instead of
6845         object-suffixes for generating compilation rules.
6846         (rmobjs): Also remove *.oS.
6847         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6848         ($(objpfx)stamp.oS): New target.
6849
6850 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6851
6852         * Makefile (FAQ): Automatically check in regenerated FAQ.
6853
6854 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6855
6856         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6857
6858 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6859
6860         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6861         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6862
6863         * sysdeps/generic/stub_warning: Removed.
6864
6865         * Makefile (distribute): Add include/des.h.
6866
6867         * manual/Makefile (distribute): Change dir-add.texi to
6868         dir-add.texinfo.
6869
6870         * glibcbug.in: Create files safely when mktemp is not available.
6871
6872         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6873         Patch by a sun <asun@saul1.u.washington.edu>.
6874
6875 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6876
6877         * libc.map: Rename getname to getnetname.
6878
6879 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6880
6881         * manual/maint.texi: Use supported platform in examples.
6882
6883         * manual/install.texi: Document some installation tips.
6884
6885 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6886
6887         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6888         Fix a bug so that it returns an error if a numeric parameter is
6889         unset and WRDE_UNDEF is set.
6890         Patch by Andreas Schwab and Tim Waugh.
6891         * posix/wordexp-test.c: Add new new test.
6892
6893 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6894
6895         * posix/regex.c (regex_compile): Last patch wasn't entirely
6896         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6897
6898 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6899
6900         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6901
6902 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6903
6904         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6905         clobbered registers don't appear as operands.
6906
6907 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6908
6909         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6910         Solaris' sake.
6911
6912         * posix/regex.c (regex_compile): Don't allow non-alphabet
6913         characters in character set name.
6914
6915 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6916
6917         * posix/wordexp.c (w_newword): New function.
6918         (do_parse_glob): New function.
6919         (parse_glob): Use do_parse_glob.  Now handles the case where a
6920         variable expansion causes a field-split.
6921         (wordexp): Use w_newword.
6922         (parse_arith): Likewise.
6923         (exec_comm): Likewise.
6924         (parse_comm): Likewise.
6925         (parse_param): Likewise.
6926         (parse_backtick): Likewise.
6927
6928 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6929
6930         * posix/wordexp-tst.sh: Another test.
6931
6932         * posix/wordexp-test.c: Two new tests.
6933
6934         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6935         directly (the code using realloc was buggy).
6936         (parse_param): Fix typo in comment.
6937
6938 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6939
6940         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6941
6942 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6943
6944         * libc.map: Add more rpc auth functions/variables.
6945
6946         * nscd/nscd.c: Add -g option to argp options.
6947
6948 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6949
6950         * configure.in: Be prepared for gcc 2.9.10 and up.
6951         * configure.in: Add missing disabling of quote characters in
6952         compiler version check.  Reported by HJ Lu.
6953
6954 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6955
6956         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6957
6958 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6959
6960         * intl/locale.alias: Fix spelling of romanian.
6961
6962         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6963         (distribute): Remove des.h.
6964         * include/des.h: New file.
6965         * sunrpc/des.h: Moved to ...
6966         * sunrpc/rpc/rpc_des.h: ...here.
6967
6968 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6969
6970         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6971         Fix paren.
6972
6973 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6974
6975         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6976         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6977
6978 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6979
6980         * elf/ldsodesf.h: New file.
6981         * elf/Makefile (distribute): Add ldsodefs.h.
6982         * elf/link.h: Separate internal information in exter header.
6983         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6984         * elf/dl-minimal.c: Likewise.
6985         * sysdeps/generic/dl-sysdep.c: Likewise.
6986         * elf/sprof.c: Likewise.
6987         * elf/dlsym.c: Likewise.
6988         * elf/dlvsym.c: Likewise.
6989         * elf/dlerror.c: Likewise.
6990         * elf/dladdr.c: Likewise.
6991         * elf/dlclose.c: Likewise.
6992         * elf/dlopen.c: Likewise.
6993         * elf/dl-addr.c: Likewise.
6994         * elf/dl-close.c: Likewise.
6995         * elf/dl-debug.c: Likewise.
6996         * elf/dl-deps.c: Likewise.
6997         * elf/dl-error.c: Likewise.
6998         * elf/dl-fini.c: Likewise.
6999         * elf/dl-init.c: Likewise.
7000         * elf/dl-load.c: Likewise.
7001         * elf/dl-lookup.c: Likewise.
7002         * elf/dl-object.c: Likewise.
7003         * elf/dl-open.c: Likewise.
7004         * elf/dl-profile.c: Likewise.
7005         * elf/dl-reloc.c: Likewise.
7006         * elf/dl-runtime.c: Likewise.
7007         * elf/dl-support.c: Likewise.
7008         * elf/dl-symbol.c: Likewise.
7009         * elf/dl-version.c: Likewise.
7010         * sysdeps/generic/dl-cache.c: Likewise.
7011         * sysdeps/generic/libc-start.c: Likewise.
7012         * iconv/gconv_dl.c: Likewise.
7013         * nss/nsswitch.c: Likewise.
7014
7015 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
7016
7017         * manual/nss.texi: The database is not called network but networks.
7018         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
7019
7020 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7021
7022         * configure.in: Correct test for compiler version.
7023         Check that LD_LIBRARY_PATH doesn't contain current path.
7024
7025 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
7026
7027         * elf/dl-close.c (_dl_close): Fix byte count while removing
7028         the shared object from the global scope list and optimize
7029         a little bit.
7030
7031 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7032
7033         * manual/filesys.texi (Scanning Directory Content): Add missing
7034         closing brace.
7035         (Scanning Directory Content): Fix text.
7036
7037 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7038
7039         * manual/memory.texi (Heap Consistency Checking): Add paragraph
7040         explaining difference of -lmcheck and MALLOC_CHECK_.
7041
7042 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7043
7044         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
7045         typos in comments.
7046
7047 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7048
7049         * test-skeleton.c (main): Fix test for exit signal.
7050
7051 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7052
7053         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
7054
7055 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7056
7057         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
7058         appropriate.
7059
7060 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7061
7062         * libc.map: Export __strtok_r.
7063
7064 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
7065
7066         * posix/regex.c (re_compile_fastmap): Remove unused variable
7067         num_regs and adjust comment.
7068         Patch by Jim Meyering <meyering@ascend.com>.
7069
7070         * math/math.h (M_*l): Extend long double constants to be usable
7071         for 128 bit floats.  Patch by Richard Henderson.
7072
7073 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7074
7075         * sysdeps/m68k/m68020/wordcopy.S: New file.
7076
7077 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
7078
7079         * posix/wordexp.c: Rewrite parse_param.
7080         Patch by Tim Waugh and Andreas Schwab.
7081
7082 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7083
7084         * Rules: Update timestamps on empty object files.
7085
7086 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
7087
7088         * manual/filesys.texi (Scanning Directory Content): Add description
7089         of 64 bits scandir function and friends.
7090
7091 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7092
7093         * glibcbug.in: Use mktemp to generate unique file name for
7094         temporary files.
7095
7096         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
7097         ptsname_r.  Use cast for execve call.
7098
7099 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
7100
7101         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
7102         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
7103         * io/sys/statvfs.h: New file.
7104         * sysdeps/generic/fstatvfs.h: New file.
7105         * sysdeps/generic/statvfs.h: New file.
7106         * sysdeps/generic/fstatvfs64.h: New file.
7107         * sysdeps/generic/statvfs64.h: New file.
7108         * sysdeps/generic/bits/statvfs.h: New file.
7109         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
7110         * sysdeps/unix/sysv/linux/statvfs.c: New file.
7111         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
7112
7113         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
7114         and f_ffree elements.
7115
7116         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
7117         mount options in enum.
7118
7119 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7120
7121         * configure.in: Check for recent egcs/gcc.
7122
7123 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7124
7125         * libc.map: Add alphasort64, scandir64, versionsort64.
7126         * dirent/Makefile (routines): Add scandir64, alphasort64, and
7127         versionsort64.
7128         * dirent/alphasort64.c: New file.
7129         * dirent/scandir64.c: New file.
7130         * dirent/versionsort64.c: New file.
7131         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
7132         versionsort.
7133         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
7134         old name weak alias.
7135         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7136
7137         * dirent/alphasort.c: Use strcoll instead of strcmp.
7138
7139         * dirent/scandir.c: Optimize a bit.
7140
7141         * dirent/versionsort.c: Pretty print.
7142
7143 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7144
7145         * string/string.h: Add prototype for __strtok_r.
7146
7147 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7148
7149         * posix/Makefile: Fix typo in last change.
7150
7151 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7152
7153         * dirent/dirent.h (scandir): Make argument of select function const.
7154         * dirent/scandir.c (scandir): Likewise.
7155         Reported by David.Faure@insa-lyon.fr [PR libc/512].
7156
7157 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
7158
7159         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7160         weak alias.
7161         * sysdeps/i386/strtok_r.c: Likewise.
7162
7163         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7164         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7165         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7166         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7167         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7168         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
7169
7170 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7171
7172         * intl/localealias.c: Remove unneeded define for strdup.
7173
7174 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
7175
7176         * manual/argp.texi: Adjust for better TeX output.
7177         * manual/arith.texi: Likewise.
7178         * manual/conf.texi: Likewise.
7179         * manual/filesys.texi: Likewise.
7180         * manual/header.texi: Likewise.
7181         * manual/lgpl.texinfo: Likewise.
7182         * manual/math.texi: Likewise.
7183         * manual/message.texi: Likewise.
7184         * manual/pattern.texi: Likewise.
7185         * manual/process.texi: Likewise.
7186         * manual/signal.texi: Likewise.
7187         * manual/socket.texi: Likewise.
7188         * manual/startup.texi: Likewise.
7189         * manual/stdio.texi: Likewise.
7190         * manual/terminal.texi: Likewise.
7191         * manual/examples/rprintf.c: Likewise.
7192         * manual/examples/testopt.c: Likewise.
7193         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7194
7195 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
7196
7197         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7198         parameter name after seeing a digit if it's enclosed in braces.
7199
7200 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7201
7202         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
7203
7204 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7205
7206         * manual/memory.texi (Heap Consistency Checking): Document
7207         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
7208
7209 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7210
7211         * manual/Makefile: Add missing rules.
7212
7213 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7214
7215         * timezone/Makefile (generated): Define to remove all stamp files.
7216
7217         * sysdeps/generic/strsep.c: Also undefine __strsep.
7218
7219         * string/strdup.c: Undefine __strdup and strdup first.
7220         * string/strndup.c: Likewise.
7221
7222         * string/bits/string2.h: Correct strtok_r and strsep.
7223         Add strndup optimization.
7224
7225         * sysdeps/generic/strsep.c: Little optimization.
7226
7227 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
7228
7229         * string/bits/string2.h: Add optimization for strdup.
7230         Always define __strsep and __strtok_r and make real names available
7231         when feature select macros are defined.
7232
7233 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7234
7235         * manual/install.texi (Installation): Use i486-linux as example
7236         instead of the unsupported sunos4.
7237         (Reporting Bugs): Mention glibcbug script.
7238         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
7239
7240 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7241
7242         * posix/wordexp-tst.sh: Make portable.  Add more tests.
7243
7244         * posix/Makefile (do-globtest do-wordexp-test): New targets.
7245
7246 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
7247
7248         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7249         * sysdeps/generic/libc-start.c: ...here, replacing former content.
7250
7251         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7252         netpacket/packet.h.
7253
7254         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
7255
7256 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7257
7258         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7259         in enumerator for strict standard compliance.
7260         * sysdeps/generic/bits/resource.h: Likewise.
7261
7262 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
7263
7264         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7265         (PLTJMP): New macro.
7266
7267         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7268         longjmp() when floating point enabled.
7269         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7270         * sysdeps/arm/__longjmp.S: Remove floating point code.
7271         * sysdeps/arm/setjmp.S: Likewise.
7272
7273         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7274         * sysdeps/arm/bsd-_setjmp.S: Likewise.
7275
7276         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7277         memset().
7278
7279         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7280         prototype.
7281
7282 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
7283
7284         Based on patches from Pat Beirne and Scott Bambrough:
7285
7286         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
7287
7288         * sysdeps/arm/bits/fenv.h: New file.
7289
7290         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
7291         * sysdeps/arm/elf/setjmp.S: Likewise.
7292         * sysdeps/arm/elf/start.S: Likewise.
7293         * sysdeps/arm/init-first.c: Likewise.
7294         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7295         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
7296         comment about floating point to reflect current reality.
7297
7298         * sysdeps/unix/arm/brk.S: Support PIC.
7299         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7300         re-entrant code.
7301         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7302         return; call syscall_error through PLT.
7303         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7304
7305 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7306
7307         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7308         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7310
7311 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7312
7313         * dirent/list.c (test): Return error value.
7314         (main): Exit with error value.
7315
7316         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7317
7318         * Makefile (distribute): Add test-skeleton.c.
7319         * test-skeleton.c: New file.
7320         * dirent/Makefile (tests): Add opendir-tst1.
7321         * dirent/opendir-tst1.c: New file.
7322
7323 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7324
7325         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7326         Optimize memory handling.
7327         * sysdeps/unix/closedir.c: Optmize memory handling.
7328
7329 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7330
7331         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7332         handling.  Optimize a bit.
7333
7334 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7335
7336         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7337         (parse_param): Fold in Andreas' fixes to do with when the end of
7338         the parameter name has been reached, and quoting inside ${...}.
7339         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7340         $((echo);(ls)).
7341
7342 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7343
7344         * manual/maint.texi: Split out installation and contribution
7345         sections to their own appendices.  Misc cleanups.
7346         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7347         * manual/contrib.texi: New file.
7348         * manual/libc.texinfo: Pull in new appendices.
7349         * manual/header.texi: Correct node pointer.
7350
7351 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7352
7353         * manual/process.texi (Process Completion): Clarify return value
7354         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7355
7356 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7357
7358         * posix/wordexp-test.c: Add more tests.
7359         (testit): Fix logic.
7360
7361         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7362         /dev/null instead of closing it, close pipe.  Always chop off all
7363         trailing newlines.  Kill and reap child before returning error.
7364         (w_addword, parse_glob): Fix memory leak.
7365         (wordexp): Fix dangling pointer problem.
7366
7367 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7368
7369         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7370
7371         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7372
7373         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7374         directory index by only the language.
7375
7376 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7377
7378         * posix/wordexp-tst.sh: Store test results in the
7379         ${common_objpfx}posix directory.
7380
7381         * posix/wordexp-test.c: Remove temporary directory afterwards.
7382
7383 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7384
7385         * libc.map: Export internal versions of cancelable functions.
7386
7387 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7388
7389         * Makerules (MAKEFLAGS): Append `r'.
7390
7391 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7392
7393         * Makeconfig: Define have-thread-library, shared-thread-library
7394         and static-thread-library if a thread library is available.  Don't
7395         define rt.
7396         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7397         nscd-routines to nscd-modules.  Use shared-thread-library and
7398         static-thread-library in dependencies.
7399         * rt/Makefile: Only compile librt if have-thread-library is
7400         defined.
7401         * Makefile (subdirs): Always include rt subdir.
7402
7403 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7404
7405         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7406
7407 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7408
7409         * configure.in: Recognize variations for 32 MIPS processors.
7410         Don't assume ELF systems always have .weak, test for .weakext.
7411
7412 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7413
7414         * configure.in: Irix6 is an ELF platform.
7415
7416 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7417
7418         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7419         unmapping the last loaded segment.
7420
7421 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7422
7423         * configure.in: Set base_os for Irix6.
7424         Correct test for .weakext.
7425
7426 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7427
7428         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7429         (new_line) to _dl_debug_message call.
7430
7431 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7432
7433         * posix/wordexp.c (parse_param): Perform field-splitting after
7434         expanding positional parameter.
7435
7436         * posix/wordexp-tst.sh: Test that field-splitting is performed
7437         after expanding positional parameter.
7438
7439         * posix/wordexp.c (parse_param): Fixed memory leak in
7440         field-splitting after parameter expansion.
7441
7442 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7443
7444         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7445         (get_toplvl_escape): Correctly terminate loop at EOF.
7446         Patch by Cristian Gafton <gafton@redhat.com>.
7447
7448 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7449
7450         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7451         (test_strsep): Likewise.  Correct horrible bugs.
7452
7453         * string/bits/string2.h (strcspn): Optimize also reject string of
7454         length 2 and 3.
7455         (strspn): Likewise.
7456         (strpbrk): Likewise.
7457         (strsep): Likewise.  Correct bug with successive separators and
7458         separators at the end of the string.
7459         * sysdeps/generic/strsep.c: Correct bug with successive separators
7460         and separators at the end of the string.
7461
7462 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7463
7464         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7465         etc) now handled, as well as $$ (pid).
7466
7467         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7468         (distribute): Add wordexp-tst.sh.
7469
7470         * posix/wordexp-tst.sh: New file.
7471
7472         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7473         number of positional parameters.  Renamed substitute_length to
7474         seen_hash.
7475         Don't free(env) is env is NULL.
7476
7477 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7478
7479         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7480
7481 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7482
7483         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7484         for output file replacing gmon.out.
7485         Patch by Dean Gaudet <dgaudet@arctic.org>.
7486
7487 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7488
7489         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7490         up namespace.  Optimize finding end of line.
7491
7492 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7493
7494         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7495         securely.  Optimized.
7496         (process_dl_debug): Add ':' to list of separators.  Optimized.
7497
7498 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7499
7500         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7501         isless, islessequal, islessgreater, isunordered): Return zero or
7502         one.
7503
7504 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7505
7506         * posix/wordexp-test.c: More tests.
7507         (main): Set up arena for pathname expansion tests (in a temporary
7508         directory).
7509         (testit): Don't check word count or word vector if return value is
7510         non-zero.
7511
7512         * posix/wordexp.c (exec_comm): Always chop off terminating
7513         linefeed (just like bash does).
7514         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7515         (!env || !*env)".
7516         (parse_param): For assignment inside parameter expansion, use all
7517         expanded words in assignment rather than just the first.
7518         (parse_param): Corrected return value for parameter expansion of
7519         an unset variable when WRDE_UNDEF is in effect.
7520         (parse_dollars): Don't field-split if quoted.
7521         (wordexp): Opening brace character isn't allowed unquoted.
7522
7523 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7524
7525         * elf/dlerror.c: Fix concurrency problems with error string and
7526         number.
7527
7528         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7529         filter/auxiliary are being loaded.
7530
7531 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7532
7533         * elf/dlerror.c (last_object_name): Removed.
7534         (dlerror): Don't use last_object_name.
7535         (_dl_error_run): Omit second argument to _dl_catch_error.
7536         * elf/dl-error.c (struct catch): Remove objname member.
7537         (_dl_signal_error): Construct string including objname when given.
7538         (_dl_catch_error): Remove objname handling.
7539         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7540         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7541         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7542         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7543         * iconv/gconv_dl.c (dlerror_run): Likewise.
7544         [Corrects PR libc/501].
7545
7546 1998-03-12  Matthias Urlichs <smurf@noris.de>
7547
7548         * nscd/nscd.c: Ignore SIGPIPE.
7549
7550 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7551
7552         * nscd/nscd_getgr_r.c: Use __ protected names.
7553         * nscd/nscd_getpw_r.c: Likewise.
7554
7555 1998-03-12  Matthias Urlichs <smurf@noris.de>
7556
7557         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7558         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7559         null bytes are not transmitted.
7560
7561 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7562
7563         * powerpc/syscalls.list: Correct typo.
7564         * alpha/syscalls.list: Likewise.
7565         * mips/syscalls.list: Likewise.
7566
7567 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7568
7569         * socket/sys/socket.h: Add prototype for __socket.
7570
7571 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7572
7573         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7574
7575         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7576         constants.
7577
7578         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7579         definition here.
7580         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7581         definition here.
7582
7583         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7584         AF_* and PF_* constants.
7585
7586         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7587
7588 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7589
7590         * elf/rtld.c: Update help message.
7591         Install link maps for preloaded objects using main_map as loader.
7592
7593         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7594         * elf/dl-profile.c: Likewise.
7595
7596         * elf/dlsym.c: Little optimization.
7597         * elf/dlvsym.c: Likewise.
7598
7599 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7600
7601         * posix/wordexp-test.c: Move test for parameter list at the very
7602         beginning.
7603
7604 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7605
7606         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7607         WRDE_REUSE flag is set.
7608         (parse_param): Allow `*', `@', and numbers in parameter names.
7609         (parse_dollars): Differentiate between arithmetic expansion and a
7610         command substitution that starts immediately with a sub-shell
7611         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7612         (parse_param): Memory allocated with __alloca in a block was
7613         referenced outside that block.  Adjusted to use malloc/free.
7614         (parse_param): Adjusted field-splitting algorithm so that there is
7615         not necessarily a field split at the end of a parameter expansion.
7616
7617 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7618
7619         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7620         don't free words that have already been allocated.
7621         (parse_param): A dollar sign on its own will never have a pattern
7622         associated with it (like "${HOME%%/}" has), so don't try to free it.
7623         (parse_glob): Attempt to glob when an unquoted `[' is found
7624         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7625         (parse_glob): Sorted out quoting in a glob-able word.
7626         (parse_param): Added $* and $@ handling.
7627
7628 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7629
7630         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7631         parsing it.
7632
7633 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7634
7635         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7636         _dl_debug_message.
7637
7638 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7639
7640         * elf/dl-misc.c: Default for debug output should be stderr.
7641         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7642         * elf/dl-lookup.c: reference_name may be NULL or empty.
7643
7644 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7645
7646         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7647
7648 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7649
7650         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7651
7652         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7653
7654 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7655
7656         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7658
7659 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7660
7661         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7662         init stuff.
7663
7664 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7665
7666         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7667         flag.
7668
7669         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7670         syslog daemon.
7671         (closelog_internal): Don't do anything if not connected.
7672
7673 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7674
7675         * libc.map: Add _dl_debug_message.
7676         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7677         before every line.
7678         * elf/fini.c: Correctly use new _dl_debug_message function.
7679         * elf/init.c: Likewise.
7680         * elf/dl-lookup.c: Likewise.
7681         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7682         * elf/dl-load.c: Likewise.  Add more debugging prints.
7683         * elf/dl-reloc.c: Likewise.
7684         * elf/dl-version.c: Likewise.
7685         * elf/dl-support.c: Add variables for debugging.
7686         * elf/rtld.c: Likewise.  Recognize new debug options.
7687         * elf/link.h: Declare new variables.
7688
7689         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7690
7691 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7692
7693         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7694         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7695
7696 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7697
7698         * posix/wordexp-test.c (command_line_test): New function to allow
7699         testing of specific cases from the command-line.
7700
7701 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7702
7703         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7704         * elf/dl-fini.c (_dl_fini): Likewise.
7705         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7706
7707         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7708         symbol in debug message.
7709         (_dl_lookup_versioned_symbol_skip): Likewise.
7710
7711 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7712
7713         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7714         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7715         * manual/filesys/texi: Document this.
7716
7717 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7718
7719         * manual/filesys.texi: Document the change below.
7720
7721 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7722
7723         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7724         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7725
7726 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7727
7728         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7729         instead scope.  If debugging display information about symbol
7730         resolving.
7731         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7732         (_dl_lookup_symbol_skip): Likewise.
7733         (_dl_lookup_versioned_symbol): Likewise.
7734         (_dl_lookup_versioned_symbol_skip): Likewise.
7735         * elf/dl-support.c: Define _dl_debug_symbols.
7736         * elf/link.h: Add declaration for _dl_debug_symbols.
7737         * elf/rtld.c: Define _dl_debug_symbols.
7738         (process_dl_debug): Recognize symbols option.
7739
7740 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7741
7742         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7743         in correct format.
7744         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7745         with correct parameters.
7746         [!PIC]: Initialize __libc_multiple_libcs.
7747
7748 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7749
7750         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7751         * elf/rtld.c (_dl_debug_bindings): Add definition.
7752         (process_dl_debug): Recognize bindings option.  Update help message.
7753         * elf/link.h (struct link_map): Add l_versyms member.
7754         (_dl_debug_bindings): Add declaration.
7755         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7756         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7757         and l_reloc_result.
7758         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7759         (sym_val): Remove a member, add m as link_map.
7760         (do_lookup): Return result appropriately.
7761         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7762         Call do_lookup correctly.
7763         (_dl_lookup_symbol_skip): Likewise.
7764         (_dl_lookup_versioned_symbol): Likewise.
7765         (_dl_lookup_versioned_symbol_skip): Likewise.
7766
7767 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7768
7769         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7770         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7771
7772         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7773         * libc.map: Add chown to GLIBC_2.1.
7774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7775         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7776
7777 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7778
7779         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7780         weak alias.
7781         * sysdeps/alpha/ffs.c: Likewise.
7782         * sysdeps/am29k/ffs.c: Likewise.
7783         * sysdeps/i386/ffs.c: Likewise.
7784         * sysdeps/i960/ffs.c: Likewise.
7785         * sysdeps/m68k/ffs.c: Likewise.
7786         * sysdeps/m88k/ffs.c: Likewise.
7787         * sysdeps/powerpc/ffs.c: Likewise.
7788         * sysdeps/rs6000/ffs.c: Likewise.
7789         * sysdeps/vax/ffs.s: Likewise.
7790         * string/string.h: Declare __ffs.
7791         * libc.map: Export it.
7792         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7793         __builtin_ffs, which is not guaranteed to be namespace clean.
7794
7795 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7796
7797         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7798         table, which is much more likely to exist than debugging symbols.
7799         (printsym): Remove const.
7800         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7801         header table.
7802
7803         * libc.map: Export __profile_frequency, used by elf/sprof, to
7804         avoid infinite recursion during startup.
7805
7806 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7807
7808         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7809         Readd lost negate.
7810
7811         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7812
7813 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7814
7815         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7816
7817 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7818
7819         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7820         LD_PRELOAD, and LD_VERBOSE.
7821         (dl_main): Use global variables set by process_envvars instead of
7822         calling getenv.
7823         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7824         LD_LIBRARY_PATH value, this comes with the parameter.
7825         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7826         ("LD_LIBRARY_PATH") to _dl_init_paths.
7827
7828 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7829
7830         * elf/rtld.c (dl_main): Delay initialization of path structure if
7831         the dynamically linker is invoked implicitly until we read the
7832         dynamic section.
7833
7834 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7835
7836         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7837
7838 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7839
7840         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7841         Linux 2.0 and 2.1.
7842
7843         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7844
7845 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7846
7847         * Makeconfig (nisobjdir): Set to path to nis directory.
7848         (rpath-link): Add nisobjdir.
7849         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7850
7851         * elf/Makefile: Pretty print.
7852         * elf/dl-lookup.c: Include unistd.h.
7853         * elf/dl-runtime.c: Likewise.
7854
7855         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7856         (distribute): Add tst-rpmatch.sh.
7857         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7858
7859         New tests for rpmatch function by
7860         Jochen Hein <jochen.hein@delphi.central.de>.
7861         * localedata/tst-rpmatch.c: New file.
7862         * localedata/tst-rpmatch.sh: New file.
7863
7864         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7865         * localedata/locales/de_AT: Likewise.
7866
7867         * posix/getopt.c: Update contact address.
7868         * posix/getopt1.c: Pretty print.
7869
7870         * sysdeps/generic/libc-start.c: Do most of the initialization now
7871         here instead of in start.S.
7872         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7873         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7874
7875         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7876         profil_counter to be public.
7877
7878 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7879
7880         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7881         (parse_param): Coded parameter length expansion (${#var}).
7882         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7883         (parse_param): Cleaned up (fixed) error handling.
7884
7885         * posix/wordexp-test.c: IFS now includes non-whitespace character
7886         (comma).  Added more tests.
7887
7888 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7889
7890         * elf/link.h: Fix typos.
7891         Reported by Andreas Jaeger.
7892
7893         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7894         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7895
7896 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7897
7898         * argp/argp-help.c: Remove last bits of using gettext instead of
7899         dgettext.
7900
7901 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7902
7903         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7904         __libc_start_main.
7905         * csu/Makefile (routines): Add libc-start.
7906         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7907         * elf/dl-lookup.c: Likewise.
7908         * elf/dl-version.c: Likewise.
7909         * sysdeps/i386/dl-machine.h: Likewise.
7910         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7911         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7912         _dl_sysdep_message macros which use _dl_sysdep_output.
7913         * elf/dl-fini.c: Write out which destructor is called while debugging.
7914         * elf/dl-init.c: Likewise for constructor.
7915         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7916         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7917         _dl_sysdep_message.  Add _dl_sysdep_output.
7918         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7919         this file can be opened.
7920         For LD_DEBUG=libs also set _dl_debug_impcalls.
7921         * sysdeps/generic/dl-cache.c: Include unistd.h.
7922         * sysdeps/generic/libc-start.c: New file.
7923         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7924         * sysdeps/i386/elf/start.S: Don't call main directly, call
7925         __libc_start_main instead.
7926
7927         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7928
7929 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7930
7931         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7932
7933 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7934
7935         * argp/argp.h (struct argp): Add new field domain.
7936         * argp/argp-help.c: Change all gettext calls to dgettext and use
7937         domain field from appropriate argp in call.
7938         * argp/argp-parse.c: Likewise.
7939
7940 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7941
7942         * posix/wordexp-test.c: Change testsuite so that it can run even
7943         for ~root != /root.
7944
7945 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7946
7947         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7948
7949 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7950
7951         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7952         Don't store into global errno if we already store through
7953         __errno_location.
7954         * sysdeps/unix/i386/sysdep.S: Likewise.
7955         * sysdeps/unix/alpha/sysdep.S: Likewise.
7956         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7957         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7959         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7960         PIC).
7961
7962 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7963
7964         * sysdeps/generic/sysdep.h (L): Remove definition.
7965         * sysdeps/i386/sysdep.h (L): Define it here instead.
7966
7967 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7968
7969         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7970
7971         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7972
7973 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7974
7975         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7976         declaration style to avoid warnings.
7977
7978 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7979
7980         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7981         "LD_DEBUG".
7982
7983 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7984
7985         * posix/Makefile (tests): Add wordexp-test.
7986         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7987         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7988
7989 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7990
7991         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7992         dependencies.
7993
7994         * elf/link.h (struct r_search_path_elem): Add two new field for
7995         lib path debugging.
7996         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7997         variable accordingly.
7998         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7999         is considered next along with information about load paths.
8000         * sysdeps/generic/dl-cache.c: Likewise.
8001         * elf/dl-support.c: Define _dl_debug_libs.
8002         * elf/genrtldtbl.awk: Add initializers for two new field in
8003         struct r_search_path_elem.
8004
8005 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8006
8007         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
8008         * sysdeps/m68k/lshift.S: Likewise.
8009         * sysdeps/m68k/rshift.S: Likewise.
8010         * sysdeps/m68k/sub_n.S: Likewise.
8011         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
8012         * sysdeps/m68k/m68020/mul_1.S: Likewise.
8013         * sysdeps/m68k/m68020/submul_1.S: Likewise.
8014
8015         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
8016         [_LIBC_REENTRANT]: Don't store into global errno.
8017
8018         * sysdeps/m68k/sysdep.h: New file.
8019         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
8020         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
8021         (DO_CALL): Change to expect syscall name as argument.
8022         (PSEUDO): Pass syscall_name to DO_CALL.
8023         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
8024         errno.
8025
8026 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
8027
8028         * elf/rtld.c: Speed up processing of environment variables.  Do
8029         only one run on the environment by avoiding to call getenv.
8030         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
8031         function.  Used by patch above.
8032
8033 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8034
8035         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
8036         running nscd.
8037         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
8038         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
8039         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
8040
8041 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
8042
8043         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
8044         module cannot be found.  Reported by Andreas Jaeger.
8045
8046 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8047
8048         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
8049         on platforms which default to unsigned chars.
8050         * nscd/nscd_getpw_r.c: Likewise.
8051         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
8052         defining it.
8053
8054 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8055
8056         * elf/Makefile (install-bin): Change = to += for sprof to install
8057         ldd also.
8058
8059 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
8060
8061         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
8062
8063 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
8064
8065         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
8066
8067 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8068
8069         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
8070         that a failure to connect to nscd doesn't change errno.
8071
8072 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8073
8074         * manual/maint.texi (Reporting Bugs): Change
8075         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
8076
8077         * locale/iso-4217.def: Likewise
8078
8079 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
8080
8081         * manual/texinfo.tex: Updated.
8082
8083 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8084
8085         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
8086         value.
8087         * sysdeps/posix/pathconf.c: Likewise.
8088         * posix/getconf.c: Print `undefined' if pathconf returns -1
8089         without setting errno.
8090
8091 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
8092
8093         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
8094         problem.
8095         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
8096         Patches by Elliot Lee <sopwith@cuc.edu>.
8097
8098 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
8099
8100         * elf/link.h (struct link_map): Add new field l_reloc_result.
8101         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
8102         of relocation for the object to be profiled.
8103         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
8104         to NULL.
8105         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
8106         array here.
8107         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
8108         contains a result from a previous run use this instead of computing
8109         the value again.
8110         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
8111
8112 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8113
8114         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
8115         offsets into the GOT.
8116         (RTLD_START): Likewise.
8117
8118 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
8119
8120         * elf/sprof.c: Cleanup a bit.
8121
8122 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
8123
8124         * sysdeps/generic/sysdep.h (L): New. Define.
8125
8126         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
8127
8128         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
8129
8130         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
8131         to have only one exit point for functions.
8132         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8133         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
8134         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
8135         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8136         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8137
8138 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8139
8140         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
8141         reset errno so that errno isn't set to ENOSYS in the first call.
8142         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
8143         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8144         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8145         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8146
8147 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
8148
8149         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
8150         * sysdeps/i386/addmul_1.S: Likewise.
8151         * sysdeps/i386/lshift.S: Likewise.
8152         * sysdeps/i386/mul_1.S: Likewise.
8153         * sysdeps/i386/rshift.S: Likewise.
8154         * sysdeps/i386/sub_n.S: Likewise.
8155         * sysdeps/i386/submul_1.S: Likewise.
8156         * sysdeps/i386/i586/add_n.S: Likewise.
8157         * sysdeps/i386/i586/addmul_1.S: Likewise.
8158         * sysdeps/i386/i586/lshift.S: Likewise.
8159         * sysdeps/i386/i586/mul_1.S: Likewise.
8160         * sysdeps/i386/i586/rshift.S: Likewise.
8161         * sysdeps/i386/i586/sub_n.S: Likewise.
8162         * sysdeps/i386/i586/submul_1.S: Likewise.
8163
8164         * sysdeps/i386/sysdep.h: Extend last change.
8165
8166         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8167         to have only one exit point for functions.
8168
8169 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8170
8171         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
8172         search.
8173
8174 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
8175
8176         * Makerules: Generate libc.so with absolute paths for the used
8177         shared objects.
8178
8179         * config.make.in: Add MAKEINFO definition.
8180
8181 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8182
8183         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8184         (ENTRY): Use STABS_FUN.
8185         (END): Use STABS_FUN_END.
8186         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
8187
8188         * elf/Makefile: Add rules to build sprof program.
8189         * elf/sprof.c: New file.
8190
8191 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8192
8193         * misc/syslog.c (openlog_internal): Insert missing closing brace.
8194
8195 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8196
8197         * configure.in: Check for working msgfmt version (from GNU gettext
8198         0.10 or later).
8199
8200 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8201
8202         * configure.in: Avoid //s in sysdirs.
8203         Patch by Roland McGrath.
8204
8205         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
8206
8207 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
8208
8209         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8210         setting _dl_global_scope for RTLD_GLOBAL.
8211
8212 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8213
8214         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8215         possible lists of object-suffixes are taken care of.
8216
8217 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
8218
8219         * timezone/private.h: Update from tzcode1998c.
8220         * timezone/zic.c: Likewise.
8221         * timezone/antarctica: Updated from tzdata1998c.
8222         * timezone/asia: Likewise.
8223         * timezone/australasia: Likewise.
8224         * timezone/europe: Likewise.
8225         * timezone/southamerica: Likewise.
8226
8227 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8228
8229         * posix/glob.c (glob_in_dir): Add support for cases insensitive
8230         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
8231
8232 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
8233
8234         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8235         Changed type of TWO43, TWO52 from float to double.
8236         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8237         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8238         Changed type of TWO43 from float to double.
8239         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8240         Use __isinff.
8241
8242 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
8243
8244         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8245         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8246         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
8247
8248 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
8249
8250         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8251         kernel_termios.h.
8252         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8253         Clean up random whitespace.
8254         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8255         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8256         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8257         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
8258
8259 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
8260
8261         * shlib-versions: Match alpha*.
8262         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8263         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
8264
8265         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8266         Implement copysign* with and without __ prefix.
8267         Likewise for fabs; use builtin for gcc 2.8.
8268         (floor*): New.
8269         (fdim*): New.
8270
8271         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8272         (R_SPARC*): Match current v9 ABI.
8273
8274         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
8275
8276         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8277         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8278         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8279         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8280         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8281         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8282         * sysdeps/unix/grantpt.c (argv): Fix consts.
8283         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8284         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8285
8286 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8287
8288         * misc/syslog.c: Change to allow user the interpretation of the
8289         outcome even with syslog having no return value.
8290
8291 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8292
8293         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8294         that the number of program headers is >0 (which is wrong for the
8295         loader itself).
8296
8297 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8298
8299         * Makefile (distribute): Add README.libm.
8300
8301 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8302
8303         * time/clocktest.c (main): Correct typo: "--" -> "==".
8304
8305 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8306
8307         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8308         inline function.
8309         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8310         inline functions.
8311
8312         * math/libm.map (__atan2): Added.
8313
8314 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8315
8316         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8317         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8318
8319         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8320         bug.
8321
8322 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8323
8324         * manual/arith.texi (Old-style number conversion): Correct
8325         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8326
8327 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8328
8329         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8330         but does not require it.  Handle missing argv[] values gracefully.
8331         * posix/execl.c: Likewise.
8332         * posix/execle.c: Likewise.
8333
8334 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8335
8336         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8337         bit.
8338         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8339
8340 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8341
8342         * libc.map: Add __adjtimex.
8343
8344 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8345
8346         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8347         Remove memset.
8348
8349 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8350
8351         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8352         to 64.
8353
8354         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8355
8356         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8357         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8358
8359         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8360         for shared library.
8361
8362         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8363
8364         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8365         Added adjtimex and old_adjtimex.
8366
8367         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8368         New.
8369         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8370         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8371
8372         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8373         symbols only for shared library.
8374         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8375         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8376         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8377         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8378         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8379         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8380         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8381
8382         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8383         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8384         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8385         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8386         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8387         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8388         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8389         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8390
8391         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8392         rusage pointer.
8393
8394         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8395         New macros.
8396         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8397         timex and __adjtimex, respectively.
8398
8399         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8400
8401         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8402
8403 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8404
8405         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8406         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8407
8408 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8409
8410         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8411
8412 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8413
8414         * Makefile.in: Disable built-in rules.
8415
8416 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8417
8418         * sysdeps/i386/fpu/t_exp.c: Move to ...
8419         * sysdeps/libm-i387/t_exp.c: ... here.
8420
8421 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8422
8423         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8424         from __exp2_deltatable.
8425
8426 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8427
8428         * nis/ypclnt.c (yp_master): Check result of strdup.
8429         Patch by Thorsten Kukuk.
8430
8431 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8432
8433         * nis/ypclnt.c: Give clnt handle after error checking free, change
8434         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8435
8436 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8437
8438         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8439         Patch by Joe Keane <jgk@jgk.org>.
8440
8441         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8442         * misc/fstab.c: Remove casts in fs_type assignments.
8443
8444 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8445
8446         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8447         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8448         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8449         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8450         * sysdeps/powerpc/bits/fenv.h: Likewise.
8451         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8452         * sysdeps/generic/bits/fenv.h: Likewise.
8453         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8454         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8455         * sysdeps/powerpc/test-arith.c (main): Likewise.
8456
8457 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8458
8459         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8460         the comparison macros.
8461
8462 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8463
8464         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8465         (__log2): Fixed return values.
8466         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8467
8468 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8469
8470         * math/math.h (isunordered): Rename local variables to ensure
8471         correct code.  Reported by HJ Lu.
8472
8473 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8474
8475         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8476         isless, islessequal, islessgreater, isunordered): Fix syntax for
8477         fucompip instruction.
8478         (isless, islessequal): Fix logic.
8479
8480 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8481
8482         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8483         (comparisons_test): New tests for comparison macros.
8484
8485 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8486
8487         * Makeconfig: Filter out frame-pointer effecting options when
8488         compiling profiling or debugging code.
8489         * config.h.in (internal_function): Don't define here if PROF is
8490         defined.
8491         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8492         state.
8493         (__monstartup): If calloc fails set error state and mark array as
8494         not allocated.
8495         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8496         to free array if not  successfully allocated.
8497
8498         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8499         Include elf.h to get macro definitions.
8500         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8501
8502 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8503
8504         * elf/ldd.sh.in: Add compatibility for broken old shells.
8505         * elf/ldd.bash.in: Likewise.
8506
8507 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8508
8509         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8510
8511         * time/clocktest.c (main): Check signal return error.
8512
8513 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8514
8515         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8516         "/" and use do-install-program. Reported by Mark M. Kettenis.
8517         (subdir_install):  Likewise.
8518
8519 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8520
8521         * sunrpc/rpc_sample.c: Fix typo.
8522
8523         * nscd/connections.c: Use locale.
8524         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8525           calloc result.
8526         * nscd/nscd.c: Check if init functions fails.
8527         * nscd/nscd_conf.c: Allow disabling of group cache.
8528         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8529         * nscd/pwdcache.c: Fix debug messages.
8530
8531 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8532
8533         * libc.map: Add __monstartup and _mcleanup for profiling support.
8534
8535 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8536
8537         * libc.map: Export __getpagesize, for binary compatibility with
8538         2.0.
8539
8540 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8541
8542         * posix/globtest.sh: Use --library-path instead of
8543         LD_LIBRARY_PATH.
8544         * localedata/sort-test.sh: Likewise.
8545         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8546
8547 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8548
8549         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8550         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8551         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8552
8553         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8554         kernel_sigaction): Define.
8555         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8556         kernel_sigaction): Define.
8557
8558 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8559
8560         * math/libm-test.c: Change epsilons for libm-ieee754.
8561
8562 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8563
8564         * sysdeps/i386/__longjmp.S: Fix race condition.
8565         Reported by Bruno Haible <haible@ilog.fr>.
8566
8567 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8568
8569         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8570         * iconvdata/8bit-gap.c: Likewise.
8571         * iconvdata/8bit-generic.c: Likewise.
8572         * iconvdata/iso6937.c: Likewise.
8573         * iconvdata/iso8859-1.c: Likewise.
8574         * iconvdata/sjis.c: Likewise.
8575         * iconvdata/t61.c: Likewise.
8576
8577 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8578
8579         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8580         feature tests by positive feature tests.
8581
8582 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8583
8584         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8585
8586 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8587
8588         * elf/dlvsym.c (dlvsym_doit): More corrections.
8589         Patch by Andreas Jaeger.
8590
8591 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8592
8593         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8594
8595 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8596
8597         * libc.map: More reordering for GLIBC_2.1 symbols.
8598
8599 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8600
8601         * libc.map: Move some functions from version GLIBC_2.0 to
8602         GLIBC_2.1, reorder declarations.
8603
8604 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8605
8606         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8607         Patch by zab@thebrain.grumblesmurf.net.
8608
8609 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8610
8611         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8612         NIS+ functions with version GLIBC_2.1.
8613
8614 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8615
8616         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8617         with 2.0 binaries.  Reported by Thorsten Kukuk.
8618
8619 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8620
8621         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8622
8623         * elf/dlsym.c (dlsym_doit): Likewise.
8624
8625 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8626
8627         * elf/link.h: Correct typos.
8628
8629         * iconv/iconv_prog.c: Correct typo.
8630
8631 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8632
8633         * iconv/Makefile: Add rules to build and install iconv program.
8634         * iconv/iconv_prog.c: New file.
8635
8636 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8637
8638         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8639         _dl_lookup_symbol_skip call.
8640         * elf/dlvsym.c (dlvsym_doit): Likewise.
8641
8642 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8643
8644         * libio/iovsscanf.c: Do not include errno.h.
8645
8646 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8647
8648         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8649         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8650         pulling in the whole error list.
8651         (__dcgettext, dcgettext): Removed.
8652         * libc.map: Export _strerror_internal.
8653
8654 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8655
8656         * sysdeps/i386/fpu/t_exp.c: New file.
8657
8658 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8659
8660         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8661         everything with version GLIBC_2.1.
8662         * hesiod/libnss_hesiod.map: Likewise.
8663
8664 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8665
8666         * manual/arith.texi (Old-style number conversion): This node is a
8667         section, not a subsection.
8668
8669 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8670
8671         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8672
8673 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8674
8675         * elf/rtld.c (dl_main): Make sure that the library search paths
8676         have been initialized before the first call to _dl_map_object.
8677
8678 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8679
8680         * Makerules (common-generated): Add libc_pic.os.
8681
8682 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8683
8684         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8685         of the executable.
8686
8687 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8688
8689         * sysdeps/m68k/fpu/t_exp.c: New file.
8690
8691 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8692
8693         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8694         to global errno variable anymore.
8695
8696 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8697
8698         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8699         If PRELOADED is nonzero check in case of an SUID application
8700         whether the shared object has the SUID bit set.
8701         Fix some other problems with handling shared objects in system
8702         specific directories.
8703         (_dl_map_object): Also take extra parameter and pass it to open_path.
8704         * elf/link.h (_dl_map_object): Correct prototype and comment.
8705         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8706         * elf/dl-open.c (_dl_open): Likewise.
8707         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8708
8709         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8710
8711 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8712
8713         * math/libm-test.c (modf_test): Add test for 1.5.
8714
8715         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8716         0 to get always an int.
8717
8718 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8719
8720         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8721         version GLIBC_2.1.
8722
8723 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8724
8725         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8726         trying to read another character.
8727
8728 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8729
8730         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8731         name to lowercase.
8732
8733         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8734         name to lowercase, add test for big enough buffer.
8735
8736 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8737
8738         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8739         Make compatible with older kernels.  Patch by Richard Henderson.
8740
8741 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8742
8743         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8744
8745         * localedata/tst-locale.sh: Comment out first test for now.
8746
8747 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8748
8749         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8750         as 1.
8751         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8752         Likewise.
8753
8754         * libio/iogetline.c (_IO_getline_info): Renamed from
8755         _IO_getline.
8756         (_IO_getline): Just call _IO_getline_info.
8757
8758         * libio/libioP.h (_IO_getline_info): New declaration.
8759
8760         * libc.map (_IO_getline_info, __write): Added.
8761
8762 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8763
8764         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8765         const char* to shut up gcc.
8766
8767 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8768
8769         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8770         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8771
8772         * math/math.h: Define M_* constants always as `double' and add new
8773         macros M_*l which are of type `long double'.
8774         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8775         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8776         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8777         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8778         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8779         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8780         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8781         * math/libm-tst.c: Likewise.
8782
8783         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8784         define as long double unconditionally.
8785
8786 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8787
8788         * manual/arith.texi (Old-style number conversion): Correct some
8789         typos.
8790
8791 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8792
8793         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8794         Restore.
8795
8796         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8797
8798 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8799
8800         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8801         on $(rtld-ldscript).
8802
8803         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8804         starting from 0 not only from `from'.
8805         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8806
8807 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8808
8809         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8810         pass value (or NULL) to _dl_init_paths.
8811         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8812         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8813         environment variable.
8814         * elf/link.h: Change prototype for _dl_init_paths.
8815         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8816
8817         * localedata/Makefile (distribute): Add test files.
8818
8819 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8820
8821         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8822         test1.def, test2.def, test3.def, test4.def}: Simple input files
8823         for localedef. Contributed by Yung-Ching Hsiao
8824         <yhsiao@cae.wisc.edu>.
8825
8826         * localedata/Makefile (tests): Call tst-locale.sh.
8827
8828         * localedata/tst-locale.sh: New file, regression tests for some
8829         localedef problems.
8830
8831 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8832
8833         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8834
8835         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8836         terminated.
8837         * nis/nss_nisplus/nisplus-network.c: Likewise.
8838         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8839         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8840         * nis/nss_nisplus/nisplus-service.c: Likewise.
8841
8842         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8843         and support generating thread safe RPC code.
8844         * sunrpc/rpc_main.c: Add changes.
8845         * sunrpc/rpc_clntout.c: Likewise.
8846         * sunrpc/rpc_cout.c: Likewise.
8847         * sunrpc/rpc_hout.c: Likewise.
8848         * sunrpc/rpc_parse.c: Likewise.
8849         * sunrpc/rpc_sample.c: Likewise.
8850         * sunrpc/rpc_scan.c: Likewise.
8851         * sunrpc/rpc_svcout.c: Likewise.
8852         * sunrpc/rpc_util.c: Likewise.
8853         * sunrpc/rpc_util.h: Add new structs and prototypes.
8854         * sunrpc/proto.h: Remove prototypes for static functions.
8855
8856 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8857
8858         * locale/programs/ld-messages.c (messages_finish): Don't skip
8859         error checking when being quiet.
8860         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8861         (set_class_defaults): Likewise.
8862         * locale/programs/charmap.c (parse_charmap): Likewise.
8863         * locale/programs/ld-collate.c (collate_finish): Likewise.
8864         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8865         * locale/programs/ld-time.c (time_finish): Likewise.
8866         * locale/programs/locfile.c (write_locale_data): Likewise.
8867
8868         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8869         unknown characters and empty ranges.
8870         * locale/programs/ld-collate.c (collate_order_elem): When
8871         processing an ellipsis properly form a linked list in the result
8872         table, fix typo when allocating ordering array.
8873         [PR libc/419]
8874
8875 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8876
8877         * elf/Makefile (ld-map): Define.
8878         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8879         `$(rtld-ldscript)'.
8880         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8881         on $(ld-map).
8882         (rtld-link): Combine the two versions of this definition.  Fixed
8883         to make it work when no symbol versioning is used.
8884
8885 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8886
8887         * Makeconfig (build-program-cmd): Use --library-path parameter to
8888         ld.so instead of environment variable.
8889
8890         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8891         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8892
8893 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8894
8895         * Make-dist: Respect with-cvs setting.
8896         * MakeTAGS (all-pot): Likewise.
8897         * sysdeps/sparc/sparc32/Makefile: Likewise.
8898         * sysdeps/mach/hurd/Makefile: Likewise.
8899         * stdlib/Makefile: Likewise.
8900         * posix/Makefile: Likewise.
8901         * intl/Makefile: Likewise.
8902         * po/Makefile (linguas): Likewise
8903
8904 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8905
8906         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8907
8908 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8909
8910         * libc.map: Add __strcasecmp.
8911
8912         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8913         module.
8914
8915         * nss/getXXent_r.c: If no more module is found don't try to call
8916         setXXent functions but leave unsuccessfully.
8917
8918         * malloc/obstack.h: Cleanups.
8919
8920         * sysdeps/wordsize-32/stdint.h: New file.
8921         * sysdeps/wordsize-64/stdint.h: New file.
8922         * sysdeps/generic/stdint.h: New file.
8923         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8924         * sysdeps/wordsize-64/inttypes.h: Likewise.
8925         * stdlib/Makefile (headers): Add stdint.h.
8926
8927 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8928
8929         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8930
8931 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8932
8933         * timezone: New directory.
8934         * time/README, time/africa, time/antarctica, time/asia,
8935         time/australasia, time/backward, time/checktab.awk,
8936         time/etcetera, time/europe, time/factory, time/ialloc.c,
8937         time/iso3166.tab, time/leapseconds, time/northamerica,
8938         time/pacificnew, time/private.h, time/scheck.c,
8939         time/solar87, time/solar88, time/solar89, time/southamerica,
8940         time/systemv, time/test-tz.c, time/tzfile.h,
8941         time/tzselect.ksh, time/yearistype, time/zdump.c,
8942         time/zic.c, time/zone.tab: Moved to timezone.
8943         * time/tzfile.c: Include tzfile.h from timezone subdir.
8944         * time/tzset.c: Likewise.
8945         * time/Makefile: Cut out all code relating to timezones...
8946         * timezone/Makefile: ...and paste it in here.
8947         * Makefile (subdirs): Add timezone.
8948
8949 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8950
8951         * libc.map (_sys_nerr): Added.
8952
8953         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8954         versioned symbol.
8955
8956 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8957
8958         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8959         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8960         Reported by Craig Metz <cmetz@inner.net>.
8961
8962 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8963
8964         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8965         instead of strcasecmp.
8966         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8967
8968         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8969
8970 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8971
8972         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8973         Patch by Dean Gaudet <dgaudet@arctic.org>.
8974
8975 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8976
8977         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8978
8979 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8980
8981         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8982         with no poll syscall, just include the BSD version.
8983         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8984         kernel without the syscall, include the stub version.
8985         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8986         * sysdeps/generic/getresuid.c: New file.
8987         * sysdeps/generic/getresgid.c: New file.
8988
8989 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8990
8991         * stdio-common/vfscanf.c: Correct last change a bit.
8992
8993 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8994
8995         * elf/Makefile: Don't use --version-script parameter to link ld.so
8996         unconditionally.
8997
8998 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8999
9000         * math/Makefile: Add t_exp.
9001         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
9002         constants.
9003         * math/test-reduce.c: Remove temporarily, it seems to be broken.
9004         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
9005         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
9006         better accuracy.
9007         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
9008         algorithm for very large/very small arguments.
9009         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
9010         correct algorithm for very large/very small arguments; adjust for
9011         new table.
9012         * sysdeps/libm-ieee754/t_exp.c: New file.
9013         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
9014
9015         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
9016         back, with comment that explains what breaks when you remove it :-(.
9017
9018         * localedata/xfrm-test.c: Avoid integer overflow.
9019
9020         * stdlib/strfmon.c: char is unsigned, sometimes.
9021
9022         * sysdeps/powerpc/Makefile: Remove quad float support.
9023         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
9024         * sysdeps/powerpc/quad_float.h: Likewise.
9025         * sysdeps/powerpc/test-arith.c: Likewise.
9026         * sysdeps/powerpc/test-arithf.c: Likewise.
9027
9028         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
9029         * sysdeps/generic/s_exp2f.c: Likewise.
9030
9031         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
9032         don't try anything if _SOFT_FLOAT.
9033
9034 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9035
9036         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
9037         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
9038         * wctype/wctype.c: Likewise.
9039         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
9040         changed.  They are incompatible with the _ISxxx values from
9041         <ctype.h> on little endian machines.
9042         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
9043         bit number.  This fixes the real bug and restores the integrity of
9044         the ctype locale file.
9045         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
9046         * wctype/wcfuncs_l.c: Likewise.
9047         * wctype/wcextra.c: Likewise.
9048         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
9049         byte swapping.
9050
9051 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9052
9053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
9054         into .bss segment instead of .common, so that aliases on it work.
9055
9056         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
9057         .size directives, put into .bss segment instead of initializing it
9058         to 4.
9059
9060 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
9061
9062         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
9063
9064         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
9065         functions.
9066         Make names without __ weak aliases.
9067         (__libc_release, __libc_version): Make them static.
9068
9069         * include/gnu/libc-version.h: New file.
9070         * Makefile (headers): Add gnu/libc-version.h.
9071
9072 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
9073
9074         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
9075         and use x for member name.
9076         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
9077
9078         * stdlib/drand48.c: Change according to member name change.
9079         * stdlib/drand48_r.c: Likewise.
9080         * stdlib/lcong48_r.c: Likewise.
9081         * stdlib/lrand48.c: Likewise.
9082         * stdlib/lrand48_r.c: Likewise.
9083         * stdlib/mrand48.c: Likewise.
9084         * stdlib/mrand48_r.c: Likewise.
9085         * stdlib/seed48.c: Likewise.
9086         * stdlib/seed48_r.c: Likewise.
9087         * stdlib/srand48_r.c: Likewise.
9088
9089 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9090
9091         * nss/test-netdb.c: Add some more test cases.
9092
9093 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
9094
9095         * libio/iovsscanf.c: Undo last change modifying errno.
9096
9097 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9098
9099         * stdio-common/vfscanf.c: Never try to read another character
9100         after EOF.  Don't decrement read_in after EOF, it wasn't
9101         incremented in the first place.
9102         (NEXT_WIDE_CHAR): Set First, not first.
9103
9104 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
9105
9106         * db/Makefile ($(inst_libdir)/libndbm.a,
9107         $(inst_libdir)/libndbm.so): New targets.
9108         * db2/Makefile: Likewise.
9109
9110 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
9111
9112         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
9113         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
9114
9115 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9116
9117         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
9118         <streambuf.h>.
9119         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9120
9121 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9122
9123         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
9124         versioned symbols.
9125
9126 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
9127
9128         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
9129         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
9130         Added for libdl.so.
9131
9132 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9133
9134         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
9135         extra syscall.
9136
9137         * grp/Makefile: Fix logic when checking for thread package.
9138         * pwd/Makefile: Likewise.
9139
9140 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
9141
9142         * elf/Makefile (rtld-map): Replaced by libc-map.
9143
9144         * elf/rtld.map: Removed.
9145
9146         * libc.map (__libc_enable_secure, _dl_catch_error,
9147         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
9148         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
9149         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
9150         _dl_object_relocation_scope, _dl_relocate_object,
9151         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
9152         _r_debug): Added for ld.so.
9153
9154 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
9155
9156         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
9157         DO_VERSIONING.
9158         * libio/iofdopen.c: Ditto.
9159         * libio/iofopen.c: Ditto.
9160         * libio/oldfileops.c: Ditto.
9161
9162         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
9163         version GLIBC_2.1.
9164
9165         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
9166         oldsiglist from sysdep_routines and shared-only-routines.
9167
9168         * sysdeps/unix/sysv/linux/errlist.c: New.
9169         * sysdeps/unix/sysv/linux/errlist.h: New.
9170         * sysdeps/unix/sysv/linux/sizes.h: New.
9171         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
9172         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
9173
9174         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
9175
9176         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
9177         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
9178         directive.
9179
9180         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
9181
9182         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
9183         (oldsiglist.c): Removed.
9184
9185         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
9186         (_sys_siglist): Use SYS_SIGLIST instead.
9187         (_sys_nerr): Use SYS_NERR instead.
9188
9189         * sysdeps/gnu/errlist.c: Rebuilt.
9190
9191 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
9192
9193         * elf/Makefile (others-static): New, set to ldconfig.
9194         ($(objpfx)ldconfig): Removed.
9195
9196         * Rules (binaries-all, binaries-static, binaries-shared): New.
9197         Create targets for $(binaries-static) and $(binaries-shared).
9198
9199         * Makeconfig (+link-static, link-libc-static,
9200         link-extra-libs-static): New for static linking.
9201
9202 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9203
9204         * manual/memory.texi (Using the Memory Debugger): Fix typo.
9205
9206         * math/libm-test.c (modf_test): Add one more test for modf.
9207
9208 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
9209
9210         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9211         Rename from __libc_have_rt_sigs and leave as COMMON data.
9212
9213 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
9214
9215         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
9216         of __finite.
9217
9218 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
9219
9220         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
9221
9222 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
9223
9224         * misc/tst-efgcvt.c: Add yet more tests.
9225         * misc/efgcvt_r.c: And correct for these tests again.
9226         Reported by HJ Lu.
9227
9228         * isomac.c: Move to...
9229         * stdlib/isomac.c: ...here.
9230         * Makefile: Move rules for handling isomac...
9231         * stdlib/Makefile: ...to here.
9232
9233 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9234
9235         * misc/tst-efgcvt.c: Add more tests.
9236         * misc/efgcvt_r.c: Correct result for above new tests.
9237
9238 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
9239
9240         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9241         NDIGIT <= 0.
9242
9243 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
9244
9245         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
9246         if the programs weren't built.
9247
9248 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
9249
9250         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
9251         FE_TONEAREST, soldier on regardless and do the best we can.
9252         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
9253
9254 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
9255
9256         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
9257         _STDIO_H, before including <bits/stdio_lim.h>.
9258
9259         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
9260
9261         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
9262         exist.
9263
9264         * sysdeps/arm/sys/ucontext.h: New file.
9265
9266 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
9267
9268         * manual/stdio.texi (Formatted Output Functions): Explicitly say
9269         that the return value from snprintf() does not count the
9270         terminating NUL as a character.
9271
9272 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9273
9274         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
9275         add description for sete[ug]id and general cleanup.
9276         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9277
9278 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9279
9280         * Makefile (parent-clean): Don't remove makefile fragments here.
9281         (postclean): New variable.
9282         (clean): Remove makefile fragments here.
9283         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
9284         (generated): Add isomac and isomanc.out.
9285         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
9286         avoid-generated is set.
9287         (postclean-generated): Add soversion.mk.
9288         ($(common-objpfx)version.mk): Don't include if avoid-generated is
9289         set.
9290         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
9291         avoid-generated is set.
9292         (common-generated): Add libc.so and libc.so$(libc.so-version).
9293         (generated): Add versioned libraries.
9294         (common-mostlyclean): Also remove %.so and %_pic.a.
9295         * csu/Makefile (generated): Add abi-tag.h.
9296         * db2/Makefile (extra-objs): Add getlong.o.
9297         * elf/Makefile (generated): Add ld.so, ldd and
9298         $(rtld-installed-name).
9299         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
9300         * malloc/Makefile (generated): Add mtrace.
9301         * po/Makefile: Don't include version.mk, not needed any more.
9302         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
9303         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
9304         syscall.h -> sys/syscall.h.
9305         (common-generated): Add s-proto.d.
9306         (postclean-generated): Add sysd-syscalls.
9307         * localedata/Makefile (test-output): Add all output files.
9308         (generated): Add test-input and test-output.
9309         (generated-dirs): Add all the dirs.
9310
9311 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9312
9313         * Makefile (test-output, generated, generated-dirs): New
9314         variables.
9315
9316 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9317
9318         * resolv/nss_dns/dns-host.c: Various code cleanups.
9319
9320 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9321
9322         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9323         From Philip Blundell <pb@nexus.co.uk>.
9324         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9325
9326 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9327
9328         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9329         Suggested by debian/sparc porters.
9330
9331 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9332
9333         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9334         for ecvt and fcvt.
9335
9336 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9337
9338         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9339         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9340
9341         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9342         defined even if __USE_POSIX is not defined.
9343
9344 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9345
9346         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9347         to support obsolete tty major numbers correctly.
9348
9349 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9350
9351         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9352         directory first and ignore install error.
9353
9354         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9355         128 from ptyno and fix a typo for the BSD style pty.
9356
9357 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9358
9359         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9360         syscalls.list's.
9361
9362 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9363
9364         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9365         getresuid and getresgid.
9366
9367         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9368         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9369
9370         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9371         s_getres[ug]id.
9372
9373         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9374         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9375         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9376         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9377
9378 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9379
9380         * nscd/grpcache.c: Include <stdlib.h>.
9381
9382 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9383
9384         * stdlib/atoll.c: Fix comments.
9385
9386         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9387         * sysdeps/posix/ttyname_r.c: Ditto.
9388
9389 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9390
9391         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9392         __USE_MISC, independent of __USE_UNIX98.
9393
9394 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9395
9396         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9397         Rename from __libc_have_rt_sigs and leave as COMMON data.
9398
9399 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9400
9401         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9402         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9403
9404         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9405         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9406         version symbols.
9407         * include/libc-symbols.h (symbol_version, default_symbol_version):
9408         Provide asm versions and correct !DO_VERSIONING versions.
9409         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9410         the weak symbol list.
9411
9412         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9413         Rename from __libc_have_rt_sigs and leave as COMMON data.
9414         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9415         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9416         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9417
9418 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9419
9420         * sunrpc/Makefile: Correct dependencies of rpcgen.
9421
9422 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9423
9424         * nscd/Makefile: Fix test for available linuxthreads add-on.
9425         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9426
9427 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9428
9429         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9430
9431 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9432
9433         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9434
9435         * manual/errno.texi (Error Messages): Correct description of
9436         strerror_r.  Pointed out by jonas@bagge.se.
9437
9438 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9439
9440         * manual/socket.texi (Host Address Functions): Clarify description
9441         of inet_network.
9442
9443 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9444
9445         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9446         (grantpt): Delete superfluous cast.
9447
9448 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9449
9450         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9451         elf/ldso_install instead of elf/subdir_install.
9452         (elf/ldso_install): New target.
9453
9454         * elf/Makefile (ldso_install): New target.
9455
9456 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9457
9458         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9459         of 1998-01-06.
9460
9461 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9462
9463         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9464         constant expressions.
9465
9466 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9467
9468         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9469         for __nss_configure_lookup.
9470         (output_hostent): Remove unused variable.
9471
9472 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9473
9474         * string/tst-inlcall.c: Fix format string.
9475
9476 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9477
9478         * inet/netinet/in.h: Rename second parameter of bindresvport to
9479         avoid buggy gcc warning. [PR libc/412]
9480
9481 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9482
9483         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9484         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9485
9486         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9487         Follow POSIX and make tv_sec a time_t.
9488         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9489         new tv64 syscall as well as fall back to tv32.
9490         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9491         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9492         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9493         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9494         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9495         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9496         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9497         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9498
9499         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9500         * include/rpcsvc/nis_tags.h: Likewise.
9501         * include/rpcsvc/nislib.h: Likewise.
9502
9503 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9504
9505         * libc.map: Add _h_errno.
9506         * inet/herrno.c: Make _h_errno weak alias.
9507
9508         * login/Makefile (distribute): Add pty-internal.h.
9509
9510         * nscd/Makefile (distribute): Add all the files missing.
9511
9512         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9513         are available.
9514
9515         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9516         and report status at the end.
9517
9518         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9519
9520         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9521         variable.
9522         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9525
9526 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9527
9528         * configure.in: Fix --enable-add-ons code.
9529
9530 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9531
9532         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9533         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9534         [PR libc/441]
9535
9536         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9537         occurence in cache.  Reported by Rudolf Leitgeb
9538         <leitgeb@leland.stanford.edu>.
9539         [PR libc/440]
9540
9541 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9542
9543         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9544         that it never is EINTR (which is tested for in _IO_vfscanf).
9545
9546         * Makefile.in: Call sub-make with CVSOPTS.
9547
9548         * elf/Makefile (distribute): Add dl-procinfo.h.
9549
9550         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9551
9552 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9553
9554         * version.h (VERSION): Bump to 2.0.92.
9555
9556 1998-01-31  Phil Blundell  <philb@gnu.org>
9557
9558         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9559         alias for __new_sys_siglist.
9560
9561 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9562
9563         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9564         getgrgid_r.c if thread package is available.
9565         * pwd/Makefile: Likewise.
9566         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9567         * grp/getgrgid_r.c: Likewise.
9568         * pwd/getpwnam_r.c: Likewise.
9569         * pwd/getpwuid_r.c: Likewise.
9570
9571 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9572
9573         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9574         with error to allow user intervention.
9575         * nss/getXXent_r.c: Likewise.
9576
9577 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9578
9579         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9580         AT_PLATFORM string.  Pretty print AT_BASE info.
9581
9582         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9583         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9584         * sysdeps/generic/dl-procinfo.h: New file.
9585         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9586
9587 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9588
9589         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9590
9591         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9592         thread and not pthread_detach.
9593
9594         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9595
9596 1998-01-31  Phil Blundell  <philb@gnu.org>
9597
9598         * configure.in: Add --without-cvs option to suppress automatic
9599         checkin of regenerated files.
9600         * config.make.in: Likewise.
9601         * Makefile: Respect with-cvs setting.
9602         * Makerules: Likewise.
9603
9604         * configure.in: Allow the standalone ARM port to be configured.
9605
9606 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9607
9608         * grp/getgrgid_r.c: Define USE_NSCD.
9609         * grp/getgrnam_r.c: Likewise.
9610         * pwd/getpwuid_r.c: Likewise.
9611         * pwd/getpwnam_r.c: Likewise.
9612
9613         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9614
9615         * nss/getXXbyYY_r.c: Try at first nscd.
9616
9617         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9618         * nscd/connections.c: New file.
9619         * nscd/dbg_log.c: New file.
9620         * nscd/dbg_log.h: New file.
9621         * nscd/grpcache.c: New file.
9622         * nscd/nscd.c: New file.
9623         * nscd/nscd.h: New file.
9624         * nscd/nscd_conf.c: New file.
9625         * nscd/nscd_stat.c: New file.
9626         * nscd/pwdcache.c: New file.
9627
9628         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9629         * nscd/nscd_getpw_r.c: Likewise.
9630         * nscd/nscd_proto.h: New, prototypes for client functions.
9631
9632         * nscd/nscd.conf: New, example for a configuration file.
9633         * nscd/nscd.init: New, example for a startup script.
9634
9635         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9636         avoid deadlocks.
9637         * nscd/getgrnam_r.c: Likewise.
9638         * nscd/getpwnam_r.c: Likewise.
9639         * nscd/getpwuid_r.c: Likewise.
9640
9641 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9642
9643         * intl/Makefile: Use CVSOPTS in cvs invocation.
9644         * po/Makefile: Likewise.
9645         * posix/Makefile: Likewise.
9646         * stdlib/Makefile: Likewise.
9647
9648 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9649
9650         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9651         [PR libc/410]
9652         * misc/Makefile (tests): Add tst-efgcvt.
9653         * misc/tst-efgcvt.c: New file.
9654
9655 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9656
9657         * posix/regex.c: Add some more cleanups by Akim Demaille.
9658
9659 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9660
9661         * signal/signal.h: Revert last change.
9662         * string/strsignal.c: Regard signal number NSGI as illegal.
9663         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9664         members.
9665
9666 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9667
9668         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9669         * Makerules: Use CVSOPTS in cvs invocation.
9670         * Makefile: Likewise.
9671         * MakeTAGS: Likewise.
9672         * Make-dist: Likewise.
9673
9674 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9675
9676         * sysdeps/generic/memmem.c: Correct last change.
9677
9678 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9679
9680         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9681         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9682
9683 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9684
9685         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9686         before using RPC.
9687
9688 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9689
9690         * manual/memory.texi (Heap Consistency Checking): mcheck is
9691         declared in <mcheck.h>.
9692         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9693
9694 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9695
9696         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9697         beginning of haystack.
9698
9699 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9700
9701         * nss/nss_files/files-service.c: Correct last patch.
9702
9703 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9704
9705         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9706         __libc_have_rt_sigs.
9707         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9708         including <bits/setjmp.h>.
9709         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9710         Patch from the Debian glibc/SPARC package.
9711
9712 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9713
9714         * sysdeps/alpha/bzero.S: Fix a typo.
9715         * sysdeps/alpha/htonl.S: Ditto.
9716         * sysdeps/alpha/htons.S: Ditto.
9717
9718 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9719
9720         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9721
9722 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9723
9724         * include/cpio.h: Move to ...
9725         * posix/cpio.h: ...here.
9726
9727         * locale/programs/ld-collate.c: Fix typo.
9728
9729         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9730
9731         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9732
9733         * login/utmp_file.c (pututline_file): Don't always report success
9734         if similar entry is found.  Patch by Mark M. Kettenis.
9735
9736 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9737
9738         * manual/Makefile: Don't try to install the info files if makeinfo
9739         is not available.
9740
9741 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9742
9743         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9744         kernel's network ioctls, rather than using <linux/sockios.h> to
9745         get them.  This way we are sure of maintaining compatibility if
9746         the kernel interface should change.
9747
9748 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9749
9750         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9751
9752 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9753
9754         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9756
9757 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9758
9759         Implement System V pseudoterminal handling.
9760
9761         * login/Makefile
9762         (routines): Add getpt, grantpt, unlockpt, ptsname.
9763         (libutil-routines): Remove pty. Add openpty, forkpty.
9764         (distribute): New internal header pty-internal.h.
9765         (others): Add the helper program, pt_chown.
9766         (install-others): Install it, in $(libexecdir), mode 4755.
9767
9768         * login/pty-internal.h: New file.
9769         * login/openpty.c: New file.
9770         * login/forkpty.c: New file.
9771         * login/programs/pt_chown.c: New file.
9772
9773         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9774         * stdlib/stdlib.h: Prototype them.
9775
9776         * config.make.in: Define $(libexecdir).
9777         * Makeconfig: Define $(inst_libexecdir).
9778
9779         * sysdeps/generic/pty.c: Removed.
9780         * sysdeps/unix/sysv/linux/pty.c: Removed.
9781
9782         * sysdeps/generic/getpt.c: Stub out.
9783         * sysdeps/generic/grantpt.c: Likewise.
9784         * sysdeps/generic/ptsname.c: Likewise.
9785         * sysdeps/generic/unlockpt.c: Likewise.
9786
9787         * sysdeps/unix/grantpt.c: New file.
9788         * sysdeps/unix/bsd/getpt.c: New file.
9789         * sysdeps/unix/bsd/unlockpt.c: New file.
9790         * sysdeps/unix/sysv/linux/getpt.c: New file.
9791         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9792         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9793
9794 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9795
9796         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9797
9798 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9799
9800         * nss/Makefile (tests): Add rule for test-netdb.c.
9801
9802         * nss/test-netdb.c: New file.
9803
9804 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9805
9806         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9807         really kept as a variable.  Patch by Richard Henderson,
9808         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9809
9810         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9811         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9812         entries as not existing.
9813
9814 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9815
9816         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9817         zero in alternate form with precision of zero, which must produce
9818         "0".  Add braces to avoid ambiguous `else'.
9819
9820 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9821
9822         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9823         problem with strncpy.
9824         * nis/nss_compat/compat-pwd.c: Likewise.
9825         * nis/nss_compat/comapt-spwd.c: Likewise.
9826
9827 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9828
9829         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9830         by uch@nop.or.jp. [PR libc/437]
9831
9832 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9833
9834         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9835
9836 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9837
9838         * stdio-common/test-popen.c: Include <errno.h>.
9839
9840         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9841         close.
9842
9843         * inet/getnetgrent_r.c: Include <errno.h>.
9844
9845         * db2/db/db_conv.c: Include <string.h> for memcpy.
9846
9847         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9848         so that memcpy is declared.
9849
9850         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9851
9852         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9853
9854 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9855
9856         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9857         overflow while reading line with fgets.
9858         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9859
9860 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9861
9862         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9863         unsigned short, not short.
9864         Reported by Andreas Jaeger.
9865
9866 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9867
9868         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9869         (ccept->accept).
9870
9871         * sysdeps/generic/inttypes.h: Fix spelling.
9872
9873 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9874
9875         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9876
9877         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9878
9879 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9880
9881         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9882         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9883         field for hh modifier.
9884         * stdio-common/vfprint.c: Use is_char field and do not depend in
9885         is_short having the value 2.
9886         Bug reported by Andreas Jaeger.
9887
9888 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9889
9890         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9891         PIC && DO_VERSIONING.
9892
9893 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9894
9895         * Rules: Add rules for $(common-objpfx)dummy$o.
9896
9897 1998-01-26  Richard Henderson  <rth@cygnus.com>
9898
9899         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9900         unimplemented OSF/1 definitions so that they are not accidentally seen.
9901
9902         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9903         of the trampoline function into the macro.
9904         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9905         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9906         kernel 2.1.82 has this fixed.
9907
9908         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9909         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9910
9911 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9912
9913         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9914         support sigaction on kernels > 2.1.7x.
9915
9916 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9917
9918         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9919         if it is empty.
9920
9921         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9922         Patch by David Engel <david@sw.ods.com>.
9923
9924         * configure.in: Fix another typo in --enable-add-ons code.
9925
9926 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9927
9928         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9929
9930 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9931
9932         * nss/nss_files/files-network.c: Correct order of parameters for
9933         getnetbyaddr.
9934
9935 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9936
9937         * db2/Makefile (routines): Add os_alloc.
9938         * db2/db.h: Update from db-2.3.16.
9939         * db2/db_185.h: Likewise.
9940         * db2/db_int.h: Likewise.
9941         * db2/btree/bt_close.c: Likewise.
9942         * db2/btree/bt_cursor.c: Likewise.
9943         * db2/btree/bt_delete.c: Likewise.
9944         * db2/btree/bt_open.c: Likewise.
9945         * db2/btree/bt_page.c: Likewise.
9946         * db2/btree/bt_put.c: Likewise.
9947         * db2/btree/bt_rec.c: Likewise.
9948         * db2/btree/bt_recno.c: Likewise.
9949         * db2/btree/btree_auto.c: Likewise.
9950         * db2/common/db_appinit.c: Likewise.
9951         * db2/common/db_apprec.c: Likewise.
9952         * db2/common/db_err.c: Likewise.
9953         * db2/common/db_region.c: Likewise.
9954         * db2/common/db_shash.c: Likewise.
9955         * db2/db/db.c: Likewise.
9956         * db2/db/db_auto.c: Likewise.
9957         * db2/db/db_conv.c: Likewise.
9958         * db2/db/db_dispatch.c: Likewise.
9959         * db2/db/db_dup.c: Likewise.
9960         * db2/db/db_pr.c: Likewise.
9961         * db2/db/db_rec.c: Likewise.
9962         * db2/db185/db185.c: Likewise.
9963         * db2/dbm/dbm.c: Likewise.
9964         * db2/hash/hash.c: Likewise.
9965         * db2/hash/hash_auto.c: Likewise.
9966         * db2/hash/hash_dup.c: Likewise.
9967         * db2/hash/hash_page.c: Likewise.
9968         * db2/hash/hash_rec.c: Likewise.
9969         * db2/include/btree_ext.h: Likewise.
9970         * db2/include/clib_ext.h: Likewise.
9971         * db2/include/common_ext.h: Likewise.
9972         * db2/include/db.h.src: Likewise.
9973         * db2/include/db_185.h.src: Likewise.
9974         * db2/include/db_am.h: Likewise.
9975         * db2/include/db_ext.h: Likewise.
9976         * db2/include/db_int.h.src: Likewise.
9977         * db2/include/hash_ext.h: Likewise.
9978         * db2/include/lock_ext.h: Likewise.
9979         * db2/include/log.h: Likewise.
9980         * db2/include/log_auto.h: Likewise.
9981         * db2/include/log_ext.h: Likewise.
9982         * db2/include/mp.h: Likewise.
9983         * db2/include/mp_ext.h: Likewise.
9984         * db2/include/mutex_ext.h: Likewise.
9985         * db2/include/os_ext.h: Likewise.
9986         * db2/include/os_func.h: Likewise.
9987         * db2/include/txn_ext.h: Likewise.
9988         * db2/lock/lock.c: Likewise.
9989         * db2/lock/lock_util.c: Likewise.
9990         * db2/log/log.c: Likewise.
9991         * db2/log/log.src: Likewise.
9992         * db2/log/log_archive.c: Likewise.
9993         * db2/log/log_auto.c: Likewise.
9994         * db2/log/log_get.c: Likewise.
9995         * db2/log/log_put.c: Likewise.
9996         * db2/log/log_rec.c: Likewise.
9997         * db2/log/log_register.c: Likewise.
9998         * db2/mp/mp_bh.c: Likewise.
9999         * db2/mp/mp_fget.c: Likewise.
10000         * db2/mp/mp_fopen.c: Likewise.
10001         * db2/mp/mp_fput.c: Likewise.
10002         * db2/mp/mp_pr.c: Likewise.
10003         * db2/mp/mp_sync.c: Likewise.
10004         * db2/mutex/mutex.c: Likewise.
10005         * db2/os/os_alloc.c: Likewise.
10006         * db2/os/os_config.c: Likewise.
10007         * db2/os/os_stat.c: Likewise.
10008         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
10009         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
10010         * db2/progs/db_load/db_load.c: Likewise.
10011         * db2/progs/db_printlog/db_printlog.c: Likewise.
10012         * db2/progs/db_recover/db_recover.c: Likewise.
10013         * db2/progs/db_stat/db_stat.c: Likewise.
10014         * db2/txn/txn.c: Likewise.
10015
10016         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
10017         Unmap memory blocks in reverse order of allocation.
10018         Call munmap with load address added to offset.
10019         Bug reported by Miguel de Icaza.
10020
10021         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
10022         up weight array.
10023
10024         * localedata/locales/cs_CZ: Update by Michael Mraka
10025         <michael@informatics.muni.cz>.
10026
10027         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
10028         __USE_BSD.
10029
10030         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
10031         reading line with fgets.
10032         * nis/nss_compat/compat-pwd.c: Likewise.
10033         * nis/nss_compat/compat-spwd.c: Likewise.
10034         * nss/nss_files/files-XXX.c: Likewise.
10035         * nss/nss_files/files-alias.c: Likewise.
10036         * shadow/fgetspent_r.c: Likewise.
10037
10038         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
10039
10040         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
10041         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10042         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10043
10044         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
10045         FP register content in ucontext_t.
10046
10047 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10048
10049         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
10050         calculation.  Patch by Markus Schoder
10051         <Markus.Schoder@dresdner-bank.de>.
10052
10053         * math/libm-test.c (modf_test): Add more tests for modf.
10054
10055         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
10056         munlock according to Unix98.
10057
10058 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10059
10060         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
10061         AF_INET.
10062
10063 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
10064
10065         * sysdeps/posix/ttyname.c: Handle symbolic links.
10066         * sysdeps/posix/ttyname_r.c: Ditto.
10067
10068 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
10069
10070         * db2/makedb.c (process_input): Write terminating \0 for value.
10071         (print_database): Simply print value string, don't use length.
10072
10073 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10074
10075         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
10076         exit of loop.
10077
10078 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10079
10080         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
10081         close all sockets.
10082
10083 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
10084
10085         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
10086         sigset.
10087         * signal/sighold.c: New file.
10088         * signal/sigrelse.c: New file.
10089         * sysdeps/generic/sigignore.c: New file.
10090         * sysdeps/generic/sigset.c: New file.
10091         * sysdeps/posix/sigignore.c: New file.
10092         * sysdeps/posix/sigset.c: New file.
10093         * signal/signal.h: Add prototypes for new functions.
10094
10095         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
10096         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
10097         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
10098         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
10099
10100 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
10101
10102         * posix/wordexp.c: Added IFS field-splitting in parameter and
10103         command substitution.  Fixed an IFS-related bug that caused an
10104         infinite loop.
10105
10106 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
10107
10108         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
10109         and swapcontext.
10110         * stdlib/ucontext.h: Correct prototypes.
10111         * sysdeps/generic/getcontext.c: New file.
10112         * sysdeps/generic/setcontext.c: New file.
10113         * sysdeps/generic/makecontext.c: New file.
10114         * sysdeps/generic/swapcontext.c: New file.
10115         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
10116
10117 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
10118
10119         * resource/sys/resource.h: Remove #include of ulimit.h which is
10120         not allowed by SUSv2 and not available on other systems.
10121         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
10122
10123         * streams/Makefile: New file.
10124         * streams/stropts.h: New file.
10125         * sysdeps/generic/bits/stropts.h: New file.
10126         * sysdeps/generic/isastream.c: New file.
10127         * sysdeps/generic/getmsg.c: New file.
10128         * sysdeps/generic/getpmsg.c: New file.
10129         * sysdeps/generic/putmsg.c: New file.
10130         * sysdeps/generic/putpmsg.c: New file.
10131         * sysdeps/generic/fattach.c: New file.
10132         * sysdeps/generic/fdetach.c: New file.
10133         * sysdeps/unix/inet/Subdirs: Add streams.
10134         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
10135         __t_uscalar_t.
10136         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10137         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10138         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10139         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10140
10141         * sysdeps/mach/_strerror.c: Follow changes of generic version to
10142         handle small buffers correctly.
10143
10144 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
10145
10146         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10147         Remove the 3rd arg and add declaration for _dl_runtime_resolve
10148         and _dl_runtime_profile.
10149
10150 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
10151
10152         * include/cpio.h: New file.  Mainly copied from GNU cpio.
10153         * posix/Makefile (headers): Add cpio.h.
10154
10155 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10156
10157         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
10158         to routines.
10159         * nis/nis_cache.c: New file.
10160         * nis/nis_cache2.h: New file.
10161         * nis/nis_cache2_xdr.c: New file.
10162         * nis/nis_call.c: Changes for cache2_info parameter.
10163         * nis/nis_checkpoint.c: Likewise.
10164         * nis/nis_intern.h: Likewise.
10165         * nis/nis_mkdir.c: Likewise.
10166         * nis/nis_ping.c: Likewise.
10167         * nis/nis_rmdir.c: Likewise.
10168         * nis/nis_server.c: Likewise.
10169         * nis/nis_util.c: Likewise.
10170
10171 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10172
10173         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
10174         return/errnop codes.
10175         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10176         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10177         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10178         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10179         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10180         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10181         * nis/nss_nisplus/nisplus-rpc.c: Likewise
10182         * nis/nss_nisplus/nisplus-service.c: Likewise.
10183         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10184
10185 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10186
10187         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
10188         * nis/nss_nis/nis-ethers.c: Likewise.
10189         * nis/nss_nis/nis-grp.c: Likewise.
10190         * nis/nss_nis/nis-hosts.c: Likewise.
10191         * nis/nss_nis/nis-network.c: Likewise.
10192         * nis/nss_nis/nis-proto.c: Likewise.
10193         * nis/nss_nis/nis-hosts.c: Likewise.
10194         * nis/nss_nis/nis-network.c: Likewise.
10195         * nis/nss_nis/nis-proto.c: Likewise.
10196         * nis/nss_nis/nis-publickey.c: Likewise.
10197         * nis/nss_nis/nis-pwd.c: Likewise.
10198         * nis/nss_nis/nis-rpc.c: Likewise.
10199         * nis/nss_nis/nis-service.c: Likewise.
10200         * nis/nss_nis/nis-spwd.c: Likewise.
10201
10202 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
10203
10204         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
10205         Added to follow latest kernel development.
10206
10207 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
10208
10209         * nss/db-Makefile: Handle empty and comment lines better.
10210         ($(VAR_DB)/services.db): Generate entries with missing protocol
10211         value.
10212
10213 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10214
10215         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
10216           NULL.
10217           (getservbyname): Allow proto == NULL.
10218           Pointed out by David N. Welton <davidw@gate.cks.com>.
10219           [PR libc/430].
10220
10221 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
10222
10223         * nis/nislib/nislib.h: Finally removed.
10224
10225         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
10226         C compiler.  From Kaveh Ghazi.
10227         (TYPE_MINIMUM): Define.
10228         (TYPE_MAXIMUM): Define.
10229         (TIME_T_MIN): Use TYPE_MINIMUM.
10230         (TIME_T_MAX): Use TYPE_MAXIMUM.
10231         Patch by Jim Meyering <meyering@ascend.com>.
10232
10233 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
10234
10235         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
10236         __pread64, __pwrite64, and __getpid.
10237
10238         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
10239         versions.
10240
10241 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10242
10243         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
10244         cancelable socket functions as __libc_xxx with __xxx as weak
10245         alias.
10246         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
10247         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10248
10249         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
10250         redefined.
10251         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10252         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
10253         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10254         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10255
10256         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
10257         and __xxx a weak alias.
10258         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10259         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10260         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10261         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10262         * sysdeps/unix/sysv/linux/send.S: Likewise.
10263         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10264         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10265
10266 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10267
10268         * locale/langinfo.h: Add defines.
10269
10270         * dirent/dirent.h: Add defines for DT_*, check also for
10271         _DIRENT_HAVE_D_TYPE.
10272         Suggested by Roland McGrath.
10273
10274 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10275
10276         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
10277         Update from Linux 2.1.73+79.
10278
10279         * README.template: Update information about possible
10280         configurations.
10281
10282         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
10283         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10284         [PR libc/417].
10285
10286         * manual/time.texi (Priority): Correct description of
10287         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10288         [PR libc/416].
10289
10290 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
10291
10292         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
10293         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
10294
10295 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
10296
10297         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
10298         Andreas Jaeger.
10299
10300 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
10301
10302         * locale/programs/ld-collate.c: Little optimizations.
10303
10304         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10305
10306         * string/Makefile (tests): Add tst-inlcall.
10307         * string/tst-inlcall.c: New file.
10308
10309         * string/strsignal.c: Add support for real-time signals.
10310
10311         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10312         presense of small buffer.
10313
10314         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10315
10316         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10317         for i686.
10318
10319         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10320         _NSIG + 1.
10321
10322 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10323
10324         * Rules: Add explicit rule for dummy.o; at least one library needs
10325           it and it isn't autogenerated by the default rules.
10326
10327 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10328
10329         * math/libm-test.c: Tweak epsilons.
10330
10331 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10332
10333         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10334         child.
10335         (feenv_mask_test): Likewise.
10336
10337 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10338
10339         * Makeconfig: Don't export CPPFLAGS.
10340
10341 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10342
10343         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10344         message.
10345
10346 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10347
10348         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10349         terminating null in key size.
10350
10351 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10352
10353         * nss/nss_files/files-service.c: Fix allocation size to include
10354         length of PROTO.
10355
10356         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10357         applicable.  Fix return value and error checking.
10358         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10359         unparsable lines.
10360         (DB_LOOKUP): Allocate space for terminating null byte.
10361
10362         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10363         uids specially.
10364
10365         * db2/makedb.c (process_input): Continue processing if a duplicate
10366         key is encountered.
10367
10368 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10369
10370         * time/tzfile.h: Updated from tzcode1998b.
10371         * time/zdump.c: Likewise.
10372         * time/zic.c: Likewise.
10373         * time/africa: Update from tzdata1998b.
10374         * time/antarctica: Likewise.
10375         * time/asia: Likewise.
10376         * time/australasia: Likewise.
10377         * time/etcetera: Likewise.
10378         * time/europe: Likewise.
10379         * time/leapseconds: Likewise.
10380         * time/northamerica: Likewise.
10381         * time/southamerica: Likewise.
10382
10383 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10384
10385         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10386         lookups ignoring case.
10387         * nss/nss_files/files-network.c: Do network lookups ignoring
10388         case.
10389         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10390         case.
10391         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10392         case insensitive comparing.
10393         Patches by Cristian Gafton <gafton@redhat.com>.
10394
10395 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10396
10397         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10398         by Roland McGrath. [PR libc/395]
10399
10400 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10401
10402         * manual/arith.texi (Parsing of Integers): Correct description of
10403         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10404         [PR libc/396]
10405
10406 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10407
10408         * misc/lsearch.c (lsearch): Return a pointer to the new element
10409         if one was "allocated".
10410
10411 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10412
10413         * string/strsignal.c: NSIG is not a valid index into
10414         _sys_siglist.  Don't zap the last character of the "Unknown
10415         signal" message.
10416
10417 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10418
10419         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10420         ellipsis expressions.
10421
10422         * locale/programs/charset.c (insert_char): Correctly insert value
10423         of eliipsis expression.
10424
10425 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10426
10427         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10428         <bits/setjmp.h>.
10429         * sysdeps/powerpc/setjmp.S: Likewise.
10430         Patches by Matt McLean <keys@keys.got.net>.
10431
10432         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10433
10434         * Makefile: Undo last patch.
10435         (distribute): Add test-installation.pl.
10436
10437         * configure.in: Correct handling of --enable-add-ons without parameter.
10438         Correct address of WWW pages.
10439
10440         * libc.map: Add _nl_domain_bindings.
10441
10442         * db2/mutex/tsl_parisc.s: New file.
10443
10444         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10445         and extra-module.mk.
10446
10447         * localedata/Makefile (distribute): New.  Add all the files.
10448
10449         * stdlib/Makefile (headers): Add inttypes.h.
10450         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10451         * sysdeps/generic/inttypes.h: New file.
10452         * sysdeps/generic/strtoimax.c: New file.
10453         * sysdeps/generic/strtoumax.c: New file.
10454         * sysdeps/generic/wcstoimax.c: New file.
10455         * sysdeps/generic/wcstoumax.c: New file.
10456         * sysdeps/wordsize-32/Dist: Removed.
10457         * sysdeps/wordsize-32/Makefile: Removed.
10458         * sysdeps/wordsize-64/Dist: Removed.
10459         * sysdeps/wordsize-64/Makefile: Removed.
10460         * sysdeps/generic/bits/environments.h: New file.
10461
10462         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10463         header is still not correct.
10464
10465         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10466         * posix/unistd.h: Likewise.
10467         * sysdeps/generic/sys/mman.h: Likewise.
10468         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10469
10470         * manual/arith.texi: Change definition of mul macro.
10471         * manual/math.texi: Likewise.
10472
10473         * misc/Makefile (routines): Add mmap64.
10474         * sysdeps/generic/mmap64.c: New file.
10475         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10476         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10477         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10478         aliases to mmap.
10479         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10480
10481         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10482
10483         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10484
10485         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10486
10487         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10488         FOPEN_MAX also when included by limits.h.
10489         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10490
10491         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10492         and netrom/netrom.h.
10493         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10494         oldsiglist to sysdep_routines, not aux.
10495         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10496
10497         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10498         and SOL_NETROM definition.
10499
10500         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10501
10502         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10503         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10504
10505 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10506
10507         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10508
10509         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10510         sa_handler with k_sa_handler.
10511         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10512         strong alias.
10513         Reported by a sun.
10514
10515         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10516         __libc_have_rt_sigs here.
10517         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10518         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10519         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10520         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10521
10522 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10523
10524         * sysdeps/powerpc/atomicity.h: New file.
10525         * sysdeps/mach/powerpc/machine-lock.h: New file.
10526
10527         * Rules: Use -fpic to build anything that might end up in a users'
10528         shared library.
10529
10530         * sysdeps/powerpc/s_fdim.c: New file.
10531         * sysdeps/powerpc/s_fdimf.c: New file.
10532         * sysdeps/powerpc/s_fmax.S: New file.
10533         * sysdeps/powerpc/s_fmaxf.S: New file.
10534         * sysdeps/powerpc/s_fmin.S: New file.
10535         * sysdeps/powerpc/s_fminf.S: New file.
10536         * sysdeps/powerpc/s_llrint.c: Now is for double.
10537         * sysdeps/powerpc/s_llrintf.c: New file.
10538         * sysdeps/powerpc/s_llround.c: Now is for double.
10539         * sysdeps/powerpc/s_llroundf.c: New file.
10540         * sysdeps/powerpc/s_lrint.c: Now is for double.
10541         * sysdeps/powerpc/s_lrintf.S: New file.
10542         * sysdeps/powerpc/s_lround.c: Now is for double.
10543         * sysdeps/powerpc/s_lroundf.c: New file.
10544         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10545         lrintf, fdim, fdimf.
10546
10547         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10548         file directly, use its parent.
10549
10550         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10551         (for the third time).
10552
10553 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10554
10555         * posix/sched.h: timespec is in <time.h>.
10556
10557         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10558
10559 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10560
10561         * configure.in: Stop with error if --disable-static is used when
10562         the shared lib uses this library.
10563
10564         * gen-FAQ.pl: I've perl installed in /usr/bin.
10565
10566         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10567
10568         Fix Unix98 conformance problems in the headers.
10569         * catgets/nl_types.h: Define nl_item.
10570         * grp/grp.h: Define gid_t.
10571         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10572         * include/nl_types.h: New file.
10573         * include/ulimit.h: New file.
10574         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10575         constants in POSIX mode.
10576         * io/utime.h: Get definition for time_t.
10577         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10578         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10579         * libio/stdio.h: Define va_list.  Make snprintf also available is
10580         __USE_UNIX98.  Declare getopt function and variables.
10581         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10582         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10583         * math/math.h: Defined M_* constants as double for Unix98 mode.
10584         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10585         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10586         * posix/regex.h: Define REG_NOSYS.
10587         * posix/wordexp.h: Define WRDE_NOSYS.
10588         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10589         500 for Unix98.
10590         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10591         somewhere else as well.  Define clock_t for Unix98.
10592         * posix/sys/wait.h: Define pid_t.
10593         * pwd/pwd.h: Define gid_t, uid_t.
10594         * resource/Makefile (headers): Add ulimit.h.
10595         * resource/ulimit.h: New file.
10596         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10597         instead of second argument.
10598         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10599         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10600         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10601         * signal/signal.h: Define pid_t.
10602         * string/string.h: Don't declare BSD string functions in POSIX mode.
10603         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10604         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10605         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10606         and POSIX.
10607
10608         * inet/test_ifindex.c: Change test so that it does not fail for
10609         interface aliases.
10610
10611         * locale/programs/locale.c (show_info): Use correct cast sequence
10612         for 64bit machines.
10613
10614         * malloc/malloc.c: __malloc_initialized now signals three states:
10615         uninitialized, initializing, initialized.  Used in mcheck.
10616         * malloc/mcheck.c (mabort): Add '\n' to messages.
10617         (mcheck): Allow installation when malloc is uninitialized or is
10618         just initializing.
10619
10620         * manual/memory.texi: Explain mtrace output a bit more.
10621
10622         * math/libm-test.c: Add more epsilons.
10623
10624         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10625
10626         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10627         instead of strcpy for security.
10628         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10629         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10630         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10631
10632         * nss/digits_dots.c: Pretty print.
10633
10634         * posix/getconf.c (vars): Add symbols for programming environment
10635         recognition.  Recognize --version.
10636
10637         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10638         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10639         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10640
10641         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10642         __need_FOPEN_MAX.
10643         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10644         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10645         __need_FOPEN_MAX.
10646
10647         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10648         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10649
10650         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10651         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10652         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10653         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10654         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10655         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10656
10657         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10658         SCNu*.
10659         * sysdeps/wordsize-64/inttypes.h: Likewise.
10660
10661         * time/africa: Update from tzdata1997j.
10662         * time/antarctica: Likewise.
10663         * time/asia: Likewise.
10664         * time/australasia: Likewise.
10665         * time/backward: Likewise.
10666         * time/etcetera: Likewise.
10667         * time/europe: Likewise.
10668         * time/factory: Likewise.
10669         * time/northamerica: Likewise.
10670         * time/pacificnew: Likewise.
10671         * time/southamerica: Likewise.
10672
10673         * time/tzfile.h: Update from tzcode1997h.
10674         * time/zic.c: Likewise.
10675
10676         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10677         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10678         isw*() functions for Unix98.
10679         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10680         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10681         is defined.
10682
10683 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10684
10685         * locale/duplocale.c: Increase usage_count only if less than
10686         MAX_USAGE_COUNT.
10687         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10688         MAX_USAGE_COUNT.
10689         * locale/setlocale.c: Likewise.
10690
10691 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10692
10693         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10694         dependency to make it easier to install it selectively.
10695
10696         * Makerules (.SUFFIXES): Don't define any suffixes.
10697
10698 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10699
10700         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10701         * sysdeps/generic/statfs64.c: Emulate using statfs.
10702         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10703         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10704         * sysdpes/generic/ftruncate64.c: New file.
10705         * sysdpes/generic/truncate64.c: New file.
10706
10707         * sysdeps/generic/bits/stat.h: Add LFS support.
10708         * sysdeps/generic/bits/statfs.h: Likewise.
10709
10710         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10711         [__USE_FILE_OFFSET64]: Make long long constant.
10712         (RLIM64_INFINITY): Likewise.
10713
10714         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10715         for LFS support.
10716         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10717         * sysdeps/generic/bits/resource.h: Likewise.
10718
10719         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10720
10721         * include/features.h: Don't prevent LFS support from defining BSD
10722         and SYSV things.
10723
10724         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10725         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10726         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10727
10728         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10729         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10730         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10731
10732         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10733         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10734         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10735         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10736         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10737         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10738         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10739         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10740         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10741         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10742         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10743         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10744         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10745         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10746         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10747         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10748         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10749         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10750         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10751         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10752
10753         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10754         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10755         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10756         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10757         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10758
10759         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10760         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10761         [$(subdir)=dirent]: Add getdents64.
10762         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10763
10764         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10765
10766 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10767
10768         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10769
10770         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10771         * sysdeps/generic/getrlimit64.c: Likewise.
10772         * sysdeps/generic/setrlimit.c: Likewise.
10773         * sysdeps/generic/setrlimit64.c: Likewise.
10774
10775 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10776
10777         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10778         using versioning.
10779
10780         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10781
10782         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10783
10784 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10785
10786         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10787         after the codeset name.
10788
10789 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10790
10791         * libc.map: Add get_kernel_syms.
10792
10793 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10794
10795         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10796         static.
10797         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10798         Likewise.  Fix condition.
10799
10800 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10801
10802         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10803
10804 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10805
10806         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10807         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10808
10809 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10810
10811         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10812         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10813         instead.  Oops.
10814
10815 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10816
10817         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10818
10819 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10820
10821         * math/libm-test.c (catanh_test): Change epsilon.
10822         Reported by H.J. Lu.
10823
10824 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10825
10826         * libc.map (__getpid): Added for linuxthreads.
10827
10828 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10829
10830         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10831         it if gcc uses static variable in DWARF2 unwind information
10832         for exception support.
10833
10834         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10835
10836         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10837         HAVE_DWARF2_UNWIND_INFO_STATIC.
10838
10839         * libc.map (__register_frame*, __deregister_frame*): Make them
10840         global.
10841
10842 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10843
10844         * math/libm-test.c: Add more tests for "normal" values.
10845
10846 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10847
10848         * stdio-common/printf_fphex.c: Fix printing of long double number
10849         with a biased exponent of zero.  Fix rounding.
10850
10851 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10852
10853         * sunrpc/rpc_main.c: Accept new flag -$.
10854         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10855
10856 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10857
10858         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10859         dynamic linker first, in case the interface has changed.
10860
10861 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10862
10863         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10864         order.
10865
10866 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10867
10868         * math/tgmath.h: Check for double first, for architectures where
10869         sizeof (long double) == sizeof (double).
10870
10871 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10872
10873         * math/libm-test.c: New tests for "normal" values added for most
10874         functions.
10875
10876 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10877
10878         * version.h (VERSION): Bump to 2.0.91.
10879
10880         * db2/makedb.c (process_input): Fix typo in message.
10881         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10882
10883         * elf/dynamic-link.h: Pretty print.
10884
10885         * elf/rtld.c: Allow multiple preloading of a shared object.
10886
10887         * include/limits.h: Prevent multiple inclusion.
10888
10889         * malloc/Makefile (headers): Add mcheck.h.
10890         (distribute): Remove it here.
10891         * malloc/mcheck.h: Pretty print.
10892         * malloc/mtrace.c (mallenv): Make `const'.
10893         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10894         are none.
10895         * manual/memory.texi: Update descriptor of malloc hooks.
10896
10897         * posix/Makefile (routines): Add waitid.
10898         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10899         on __id_t.
10900         * posix/sys/wait.h: Define idtype_t type.
10901         Add prototype for waitid.
10902         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10903         * sysdeps/generic/waitid.c: Stub for waitid.
10904         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10905         the __need_siginfo_t defined.
10906         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10907         * sysdeps/generic/bits/types.h: Define __id_t.
10908         Correct definition of __FDMASK.
10909         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10910         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10911         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10912
10913         * sysdeps/posix/waitid.c: New file.
10914         Provided by Zack Weinberg.
10915
10916         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10917
10918         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10919         Add missing parameters.
10920
10921         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10922         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10923         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10924         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10925         initialized.
10926
10927         * sysdeps/i386/dl-machine.h: Little cleanup.
10928
10929         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10930         (__finite): Mark function as const.
10931         Add inline code for __ieee754_atan2.
10932
10933         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10934         (but don't use it now).
10935         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10936         __atan.
10937         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10938         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10939         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10940         real part.
10941         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10942         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10943         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10944         __ieee754_atan2 to base 10.
10945         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10946         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10947
10948         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10949         old_kernel_sigaction.
10950
10951         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10952
10953         * wctype/Makefile (routines): Add wctype_l.
10954         * wctype/wctype.h: Add declaration of __wctype_l.
10955         * wctype/wctype_l.c: New file.
10956
10957 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10958
10959         * locale/C-ctype.c: Correct data for isw* functions.
10960         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10961         byte order.
10962         * wctype/test_wctype.c: Add test for isw* functions.
10963         * wctype/wctype.c: Return value with expected byte order.
10964
10965 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10966
10967         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10968
10969 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10970
10971         * iconvdata/Makefile: Fix a typo.
10972
10973         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10974         oldsiglist for shared library.
10975
10976         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10977         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10978
10979         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10980         sys_siglist, sys_sigabbrev): New file. Make them as the old
10981         version GLIBC_2.0.
10982
10983         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10984         to GLIBC_2.1.
10985
10986 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10987
10988         * libio/iofgets.c (_IO_fgets): Return an error only if there
10989         is a new error.
10990         * libio/iogets.c (_IO_gets): Ditto.
10991
10992 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10993
10994         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10995
10996         * libio/Makefile (routines, shared-only-routines): Add
10997         oldiofdopen.
10998
10999         * libio/fileops.c: Don't use _IO_FILE_complete.
11000         * libio/iofdopen.c: Ditto.
11001         * libio/iofopen.c: Ditto.
11002         * libio/iofopen64.c: Ditto.
11003         * libio/iopopen.c: Ditto.
11004         * libio/iovdprintf.c: Ditto.
11005
11006         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
11007
11008         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
11009         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
11010
11011         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
11012         _IO_old_fdopen, _IO_new_fdopen): New declaration.
11013
11014         * libio/libio.h (_IO_FILE): Add more fields.
11015         (_IO_FILE_complete): Defined and make _IO_FILE be the old
11016         one if _IO_USE_OLD_IO_FILE is defined
11017         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
11018         them _IO_FILE_complete.
11019
11020         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
11021         to adjust vtable.
11022         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
11023         _IO_JUMPS.
11024         (_IO_FILE_complete): Commented out.
11025
11026         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
11027         * libio/oldiofclose.c: Ditto.
11028         * libio/oldiofopen.c: Ditto.
11029         * libio/oldstdfiles.c: Ditto.
11030
11031         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
11032         for the old _IO_FILE.
11033
11034         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
11035         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
11036         and stderr.
11037
11038         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
11039         and remove INAME.
11040
11041         * libio/stdio.c (stdin, stdout, stdin): Don't use
11042         _IO_FILE_complete.
11043
11044         * libio/oldiofdopen.c: New.
11045
11046         * stdio-common/vfprintf.c (buffered_vfprintf): Set
11047         hp->_vtable_offset to 0.
11048
11049 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
11050
11051         * libc.map (_IO_file_open): Added.
11052
11053         * libio/libioP.h (_IO_file_open): Declared.
11054
11055         * libio/fileops.c (_IO_file_open): New.
11056         (_IO_file_fopen): Call _IO_file_open ().
11057
11058         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
11059         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11060
11061 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11062
11063         * signal/signal.h: Fix selection of signal semantics to match
11064         comment.
11065
11066 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11067
11068         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
11069         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
11070         rt_sigreturn.
11071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
11072         [$(subdir)=signal]: Remove rt_sigreturn.
11073         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
11074         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
11075         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
11076
11077 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11078
11079         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
11080         declarations.
11081
11082 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11083
11084         * iconvdata/extra-module.mk: Expand extra-objs now.
11085
11086 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11087
11088         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
11089         inline functions by feature tests to avoid warning about missing
11090         prototype declarations.
11091
11092 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11093
11094         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
11095         return code for non existent +name entries.
11096         * nis/nss_compat/compat-pwd.c: Likewise.
11097         * nis/nss_compat/compat-spwd.c: Likewise.
11098
11099 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
11100
11101         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
11102         (EIO): Likewise.
11103         (ENOSPC): Likewise.
11104         (EEXIST): Likewise.
11105         (__errno_location): Likewise.
11106
11107         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
11108
11109         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
11110
11111 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11112
11113         * sunrpc/publickey.c: Use new NSS interface.
11114
11115 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
11116
11117         * manual/malloc.texi: Document mtrace/muntrace and the concept.
11118
11119 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11120
11121         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
11122         value, to match spirit of the standard.
11123         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
11124         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
11125         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
11126
11127 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11128
11129         * manual/signal.texi (Signal Stack): Remove spurious @item.
11130
11131 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11132
11133         * rt/aio.h: Remove double semicolon.
11134
11135         * rt/librt.map: Add aio_init.
11136
11137 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
11138
11139         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
11140         * Makefile (subdirs): Replace rt by $(rt).
11141
11142         * shlib-versions: Use version .2 for NSS modules.
11143
11144         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
11145         argument.
11146         * pwd/fgetpwent_r.c: Likewise.
11147         * spwd/fgetspent_r.c: Likewise.
11148         * spwd/sgetspent_r.c: Likewise.
11149         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
11150         Store error number in *ERRNOP.  Little optimization.
11151         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
11152         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
11153         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
11154         (__internal_getnetgrent_r): New argument.
11155         Call __internal_setnetgrent_reuse with new argument.
11156         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
11157         * inet/netgroup.h: Add argument to prototypes.
11158         * nis/nisplus-parser.h: Likewise.
11159         * nis/nss_compat/compat-grp.c: Change everything to store error
11160         code through provided pointer and not use errno.
11161         * nis/nss_compat/compat-pwd.c: Likewise.
11162         * nis/nss_compat/compat-spwd.c: Likewise.
11163         * nis/nss_nis/nis-alias.c: Likewise.
11164         * nis/nss_nis/nis-ethers.c: Likewise.
11165         * nis/nss_nis/nis-grp.c: Likewise.
11166         * nis/nss_nis/nis-hosts.c: Likewise.
11167         * nis/nss_nis/nis-netgrp.c: Likewise.
11168         * nis/nss_nis/nis-network.c: Likewise.
11169         * nis/nss_nis/nis-proto.c: Likewise.
11170         * nis/nss_nis/nis-publickey.c: Likewise.
11171         * nis/nss_nis/nis-pwd.c: Likewise.
11172         * nis/nss_nis/nis-rpc.c: Likewise.
11173         * nis/nss_nis/nis-service.c: Likewise.
11174         * nis/nss_nis/nis-spwd.c: Likewise.
11175         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11176         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11177         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11178         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11179         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
11180         * nis/nss_nisplus/nisplus-network.c: Likewise.
11181         * nis/nss_nisplus/nisplus-parser.c: Likewise.
11182         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11183         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
11184         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11185         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11186         * nis/nss_nisplus/nisplus-service.c: Likewise.
11187         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11188         * nss/nss_db/db-XXX.c: Likewise.
11189         * nss/nss_db/db-alias.c: Likewise.
11190         * nss/nss_db/db-netgrp.c: Likewise.
11191         * nss/nss_files/files-XXX.c: Likewise
11192         * nss/nss_files/files-alias.c: Likewise
11193         * nss/nss_files/files-netgrp.c: Likewise
11194         * nss/nss_files/files-parse.c: Likewise
11195         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
11196         parameter of get functions.
11197         * nss/getXXent_r.c: Likewise.
11198
11199         * localedata/tst-fmon.c: Print debug info if test fails.
11200
11201         * rt/Makefile (routines): Add aio_notify.
11202         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
11203         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
11204         * rt/aio_fsync.c: Likewise.
11205         * rt/aio_misc.c: Likewise.
11206         * rt/aio_misc.h: Likewise.
11207         * rt/aio_read.c: Likewise.
11208         * rt/aio_read64.c: Likewise.
11209         * rt/aio_suspend.c: Likewise.
11210         * rt/aio_write.c: Likewise.
11211         * rt/aio_write64.c: Likewise.
11212         * rt/lio_listio.c: Likewise.
11213         * rt/lio_listio64.c: Likewise.
11214         * rt/aio_notify.c: New file.
11215
11216         * sysdeps/generic/bits/sigset.h: Pretty print.
11217
11218         * sysdeps/posix/pwrite.c: Define weak alias only if function is
11219         really defined as __pwrite.
11220
11221         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
11222         instead of pread64.
11223         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11224
11225         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11226         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
11227         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
11228         size in syscall.
11229         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11230         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11231         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
11232         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11233         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11234         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11235         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
11236         for ACT being NULL.
11237         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
11238         RT signals.
11239         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
11240         __NR_pread is not defined.
11241         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
11242         __NR_pwrite is not defined.
11243
11244 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11245
11246         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
11247         handle for /etc/group back in some more cases.
11248         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
11249         handle for /etc/passwd back in some more cases.
11250         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
11251         handle for /etc/shadow back in some more cases.
11252
11253 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
11254
11255         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
11256         beyound its size.
11257         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
11258         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
11259
11260 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
11261
11262         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
11263         handling.  Don't use macros, we need functions.  Use inline functions
11264         for optimization.
11265         * sysdeps/wordsize-64/inttypes.h: Likewise.
11266         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
11267         and wcstoumax.
11268         * sysdeps/wordsize-64/Makefile: Likewise.
11269         * sysdeps/wordsize-32/Dist: Likewise.
11270         * sysdeps/wordsize-64/Dist: Likewise.
11271         * sysdeps/wordsize-32/strtoimax.c: New file.
11272         * sysdeps/wordsize-32/strtoumax.c: New file.
11273         * sysdeps/wordsize-32/wcstoimax.c: New file.
11274         * sysdeps/wordsize-32/wcstoumax.c: New file.
11275         * sysdeps/wordsize-64/strtoimax.c: New file.
11276         * sysdeps/wordsize-64/strtoumax.c: New file.
11277         * sysdeps/wordsize-64/wcstoimax.c: New file.
11278         * sysdeps/wordsize-64/wcstoumax.c: New file.
11279
11280 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
11281
11282         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
11283         that transparent union works.
11284         * sysdeps/generic/wait4.c (__wait4): Likewise.
11285         * sysdeps/generic/wait.c (__wait): Likewise.
11286
11287         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
11288         size_t.
11289
11290         * sysdeps/generic/syscall.c (syscall): Return value and arg are
11291         long, to match prototype.
11292
11293         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
11294         have mremap() yet.
11295
11296         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
11297
11298         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
11299
11300         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
11301
11302         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
11303         __rlim_t.
11304
11305         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11306
11307         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11308
11309         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11310         __S_IFLNK.
11311
11312         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11313         <bits/stdio_lim.h>.
11314         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11315
11316 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11317
11318         * posix/sys/wait.h: Don't use transparent unions in C++.
11319
11320 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11321
11322         * time/time.h: Add strfxtime.
11323
11324         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11325         sysv_signal, strfxtime, pread64, pwrite64.
11326
11327 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11328
11329         Alpha changes for EGCS:
11330         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11331         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11332         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11333         (_start): Likewise.
11334         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11335
11336 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11337
11338         The kernel expects the arguments in a different order.
11339         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11340         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11341
11342         * FAQ.in: New file.
11343         * gen-FAQ.pl: New file.
11344         * Makefile (FAQ): Add rule to generate from FAQ.in.
11345
11346         * iconvdata/Makefile: Treat libJIS like the other modules.
11347
11348         * rt/librt.map: New file.
11349
11350         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11351         inclusion.
11352         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11353         comment.
11354
11355 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11356
11357         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11358         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11359         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11360         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11361
11362 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11363
11364         * string/bits/string2.h: Fix spellings.
11365
11366         * string/string.h: Fix spellings.
11367
11368 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11369
11370         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11371         declaration to __syscall_rt_sigaction.
11372
11373         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11374         non-existant <sigcontext.h>.
11375
11376 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11377
11378         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11379         typo.
11380
11381 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11382
11383         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11384
11385         * Makeconfig (shared-thread-library): Correct spelling.
11386
11387         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11388         <asm/pci.h>.
11389
11390 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11391
11392         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11393         constants from Linux headers. Pointed out by
11394         csmall@scooter.o.i.net. [PR libc/369]
11395
11396 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11397
11398         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11399
11400 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11401
11402         * configure.in: If --enable-add-ons is given without an
11403         argument, set the addons list to all subdirs with a configure
11404         script.
11405
11406 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11407
11408         * Makeconfig: Add shared-thread-library variable.
11409
11410         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11411         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11412         here.
11413         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11414         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11415         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11416         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11417         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11418         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11419         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11420         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11421         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11422         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11423         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11424         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11425         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11426         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11427         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11428         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11429         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11430         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11431         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11432         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11433         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11434         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11435         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11436         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11437         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11438
11439         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11440         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11441         * signal/Makefile (headers): Add bits/siginfo.h.
11442         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11443         (distribute): Add testrtsig.h.
11444         * signal/allocrtsig.c: New file.
11445         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11446         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11447         __libc_current_sigrtmax.
11448         * sysdeps/generic/sigqueue.c: New file.
11449         * sysdeps/generic/sigtimedwait.c: New file.
11450         * sysdeps/generic/sigwaitinfo.c: New file.
11451         * sysdeps/generic/testrtsig.h: New file.
11452         * sysdeps/generic/bits/siginfo.h: New file.
11453         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11454         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11455         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11456         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11457         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11458         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11459         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11460         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11461         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11462         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11463         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11464         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11465         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11466         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11467         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11468         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11469         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11470         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11471         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11472         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11473         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11474         and _POSIX_REALTIME_SIGNALS.
11475         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11476         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11477         update _NSIG.
11478         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11479         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11480         definitions.
11481
11482         * Makefile (subdirs): Add rt.
11483         * shlib-versions: Add entry for librt.
11484         * rt/Makefile: New file.
11485         * rt/aio.h: New file.
11486         * rt/aio_cancel.c: New file.
11487         * rt/aio_error.c: New file.
11488         * rt/aio_fsync.c: New file.
11489         * rt/aio_misc.c: New file.
11490         * rt/aio_misc.h: New file.
11491         * rt/aio_read.c: New file.
11492         * rt/aio_read64.c: New file.
11493         * rt/aio_return.c: New file.
11494         * rt/aio_suspend.c: New file.
11495         * rt/aio_write.c: New file.
11496         * rt/aio_write64.c: New file.
11497         * rt/lio_listio.c: New file.
11498         * rt/lio_listio64.c: New file.
11499         * sysdeps/generic/aio_sigqueue.c: New file.
11500         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11501         * sysdeps/unix/sysv/linux/Dist: Add new files
11502         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11503         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11504         rt_sigqueueinfo, rt_sigaction.
11505
11506         * posix/Makefile (headers): Add bits/environments.h.
11507         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11508         and _CS_LFS_CFLAGS on 64bit platforms.
11509         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11510         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11511         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11512         compilation modules.
11513         * sysdeps/wordsize-32/bits/environments.h: New file.
11514         * sysdeps/wordsize-64/bits/environments.h: New file.
11515
11516         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11517         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11518         __libc_pid.
11519         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11520         0xf00baa.
11521
11522         * string/string.h: Add declaration of __strverscmp.
11523         * string/strverscmp.c: Rename function ot __strverscmp and make old
11524         name weak alias.
11525
11526         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11527         * sysdeps/generic/enbl-secure.c: Likewise.
11528         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11529
11530         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11531
11532         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11533
11534 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11535
11536         * posix/sys/wait.h: Use __transparent_union__ instead of
11537         transparent_union.  Reported by Roland McGrath.
11538
11539 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11540
11541         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11542         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11543         [PR libc/366].
11544
11545         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11546
11547         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11548
11549 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11550
11551         * grp/initgroups.c: Increase buffer if it is too small.
11552
11553 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11554
11555         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11556         fields, this is no ISO C.  Reported by Andreas Jaeger.
11557
11558 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11559
11560         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11561
11562 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11563
11564         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11565         _SYS_UTSNAME_H not _UTSNAME_H.
11566
11567 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11568
11569         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11570         computing s_scale.
11571
11572 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11573
11574         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11575         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11576         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11577
11578         * math/libm-test.c (csqrt_test): Add testcase.
11579
11580 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11581
11582         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11583         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11584         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11585
11586 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11587
11588         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11589
11590 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11591
11592         * math/libm-test.c (acos_test): Add more tests.
11593         (asin_test): Likewise.
11594         (atan_test): Likewise.
11595         (exp_test): Likewise.
11596         (sin_test): Likewise.
11597         (sqrt_test): Likewise.
11598         (cpow_test): Likewise.
11599         (csqrt_test): Likewise.
11600         (cexp_test): Correct typo in gcc version test.
11601
11602 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11603
11604         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11605         <bits/setjmp.h>.
11606         * sysdeps/arm/setjmp.S: Likewise.
11607
11608         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11609
11610 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11611
11612         * stdio/stdio.h: Add prototype for tmpfile64().
11613
11614 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11615
11616         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11617         prototype to keep in step with libio version.
11618
11619         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11620
11621 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11622
11623         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11624         cross-compiling.
11625
11626 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11627
11628         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11629         load GOT ptr before jumping to _exit.
11630         Reported by Xavier Leroy.
11631
11632 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11633
11634         * Makefile (subdirs): Add iconvdata and localedata.
11635
11636         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11637
11638         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11639
11640         * iconvdata/8bit-gap.c: New file.
11641         * iconvdata/8bit-generic.c: Renamed from ...
11642         * iconvdata/iso8859-generic.c: ...this.
11643         * iconvdata/configure: Removed.
11644         * iconvdata/Makefile: Add new modules and better rules.
11645         * iconvdata/iso6937.c: Minor bug fixes.
11646         * iconvdata/iso8859-1.c: Likewise.
11647         * iconvdata/t61.c: Likewise.
11648         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11649         Minor bug fixes.
11650         * iconvdata/iso8859-3.c: Likewise.
11651         * iconvdata/iso8859-4.c: Likewise.
11652         * iconvdata/iso8859-5.c: Likewise.
11653         * iconvdata/iso8859-6.c: Likewise.
11654         * iconvdata/iso8859-7.c: Likewise.
11655         * iconvdata/iso8859-8.c: Likewise.
11656         * iconvdata/iso8859-9.c: Likewise.
11657         * iconvdata/iso8859-10.c: Likewise.
11658         * iconvdata/ebcdic-at-de-a.c: New file.
11659         * iconvdata/ebcdic-at-de.c: New file.
11660         * iconvdata/ebcdic-ca-fr.c: New file.
11661         * iconvdata/hp-roman8.c: New file.
11662         * iconvdata/koi-8.c: New file.
11663         * iconvdata/koi8-r.c: New file.
11664         * iconvdata/koi8-h.c: New file.
11665         * iconvdata/latin-greek-1.c: New file.
11666         * iconvdata/latin-greek-1.h: New file.
11667         * iconvdata/latin-greek.c: New file.
11668         * iconvdata/latin-greek.h: New file.
11669         * iconvdata/jis0201.c: New file.
11670         * iconvdata/jis0201.h: New file.
11671         * iconvdata/jis0208.c: New file.
11672         * iconvdata/jis0208.h: New file.
11673         * iconvdata/jis0212.c: New file.
11674         * iconvdata/jis0212.h: New file.
11675         * iconvdata/sjis.c: New file.
11676         * iconvdata/gap.pl: New file.  Script to generate table header.
11677         * iconvdata/gaptab.pl: New file.
11678         * iconvdata/gconv-modules: Add info about new modules.
11679
11680         * locale/programs/charmap.c: Also examine alias names given in charmap
11681         files.
11682
11683         * localedata/*: Add to here from add-on.  We need the information
11684         to generate tables for iconv.
11685
11686         Update from db-2.3.14.
11687         * db2/Makefile: Updated.
11688         * db2/config.h: Likewise.
11689         * db2/db.h: Likewise.
11690         * db2/db_int.h: Likewise.
11691         * db2/btree/bt_cursor.c: Likewise.
11692         * db2/btree/bt_delete.c: Likewise.
11693         * db2/btree/bt_put.c: Likewise.
11694         * db2/btree/bt_search.c: Likewise.
11695         * db2/btree/bt_split.c: Likewise.
11696         * db2/btree/btree_auto.c: Likewise.
11697         * db2/common/db_appinit.c: Likewise.
11698         * db2/common/db_apprec.c: Likewise.
11699         * db2/common/db_err.c: Likewise.
11700         * db2/common/db_region.c: Likewise.
11701         * db2/db/db_auto.c: Likewise.
11702         * db2/db/db_dispatch.c: Likewise.
11703         * db2/db/db_ret.c: Likewise.
11704         * db2/dbm/dbm.c: Likewise.
11705         * db2/hash/hash_auto.c: Likewise.
11706         * db2/include/btree_ext.h: Likewise.
11707         * db2/include/common_ext.h: Likewise.
11708         * db2/include/db.h.src: Likewise.
11709         * db2/include/db_cxx.h: Likewise.
11710         * db2/include/db_ext.h: Likewise.
11711         * db2/include/db_int.h.src: Likewise.
11712         * db2/include/lock.h: Likewise.
11713         * db2/include/log.h: Likewise.
11714         * db2/include/mp.h: Likewise.
11715         * db2/include/mp_ext.h: Likewise.
11716         * db2/include/os_ext.h: Likewise.
11717         * db2/include/os_func.h: Likewise.
11718         * db2/lock/lock.c: Likewise.
11719         * db2/lock/lock_deadlock.c: Likewise.
11720         * db2/log/log.c: Likewise.
11721         * db2/log/log_archive.c: Likewise.
11722         * db2/log/log_auto.c: Likewise.
11723         * db2/log/log_get.c: Likewise.
11724         * db2/log/log_put.c: Likewise.
11725         * db2/mp/mp_bh.c: Likewise.
11726         * db2/mp/mp_fget.c: Likewise.
11727         * db2/mp/mp_fopen.c: Likewise.
11728         * db2/mp/mp_fput.c: Likewise.
11729         * db2/mp/mp_fset.c: Likewise.
11730         * db2/mp/mp_open.c: Likewise.
11731         * db2/mp/mp_pr.c: Likewise.
11732         * db2/mp/mp_region.c: Likewise.
11733         * db2/mp/mp_sync.c: Likewise.
11734         * db2/mutex/README: Likewise.
11735         * db2/mutex/mutex.c: Likewise.
11736         * db2/os/os_open.c: Likewise.
11737         * db2/os/os_func.c: Removed.
11738         * db2/os/os_config.c: New file.
11739         * db2/os/os_spin.c: New file.
11740         * db2/txn/txn.c: Likewise.
11741         * db2/txn/txn_auto.c: Likewise.
11742
11743 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11744
11745         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11746         __typeof for C++ since this fails for class members.
11747         Reported by Neal Becker <neal@ctd.comsat.com>.
11748
11749 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11750
11751         * configure.in: Check for a working makeinfo (3.11 or better).
11752         * config.make.in: Add MAKEINFO to be substituted.
11753         * manual/Makefile: Don't update info if makeinfo is too old.
11754
11755 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11756
11757         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11758         * sysdeps/alpha/__longjmp.S: Likewise.
11759         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11760         not <bits/termios.h>.
11761
11762         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11763         __llseek and make llseek and lseek64 weak aliases.
11764         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11765         Patches by a sun <asun@zoology.washington.edu>.
11766
11767 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11768
11769         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11770         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11771         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11772         * misc/sys/syslog.h: Clean up BSD header.
11773
11774 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11775
11776         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11777
11778         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11779         for ctan(+-inf,x).
11780         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11781         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11782
11783         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11784         csqrt (-1), ctanh(i*pi/4).
11785
11786 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11787
11788         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11789
11790 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11791
11792         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11793
11794 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11795
11796         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11797
11798 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11799
11800         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11801         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11802         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11803         of GETCWD_STORYGE_CLASS and put the return type and the
11804         `internal_function' in the right order for gcc 2.7.2.
11805
11806 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11807
11808         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11809         incompatible with Linux 2.1.x.  Packages using modules
11810         (e.g. modutils) should/do provide their own version.  Suggested by
11811         Richard Henderson.
11812
11813         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11814
11815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11816         [$(subdir)=socket]: Remove sys/module.h.
11817
11818 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11819
11820         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11821         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11822
11823         * iconv/gconv_close.c: Correct freeing of descriptor data.
11824         * iconv/gconv_simple.c: Return correct error values for illegal or
11825         incomplete characters.
11826
11827         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11828         development.
11829         * iconvdata/Makefile: New file.
11830         * iconvdata/configure: Likewise.
11831         * iconvdata/extra-module.mk: Likewise.
11832         * iconvdata/gconv-modules: Likewise.
11833         * iconvdata/iso6937.c: Likewise.
11834         * iconvdata/iso8859-1.c: Likewise.
11835         * iconvdata/iso8859-10.c: Likewise.
11836         * iconvdata/iso8859-10.h: Likewise.
11837         * iconvdata/iso8859-2.c: Likewise.
11838         * iconvdata/iso8859-2.h: Likewise.
11839         * iconvdata/iso8859-3.c: Likewise.
11840         * iconvdata/iso8859-3.h: Likewise.
11841         * iconvdata/iso8859-4.c: Likewise.
11842         * iconvdata/iso8859-4.h: Likewise.
11843         * iconvdata/iso8859-5.c: Likewise.
11844         * iconvdata/iso8859-5.h: Likewise.
11845         * iconvdata/iso8859-6.c: Likewise.
11846         * iconvdata/iso8859-6.h: Likewise.
11847         * iconvdata/iso8859-7.c: Likewise.
11848         * iconvdata/iso8859-7.h: Likewise.
11849         * iconvdata/iso8859-8.c: Likewise.
11850         * iconvdata/iso8859-8.h: Likewise.
11851         * iconvdata/iso8859-9.c: Likewise.
11852         * iconvdata/iso8859-9.h: Likewise.
11853         * iconvdata/iso8859-generic.c: Likewise.
11854         * iconvdata/t61.c: Likewise.
11855
11856         * string/Makefile (routines): Add strcasestr.
11857         * string/string.h: Add prototype for strcasestr.
11858         * sysdeps/generic/strcasestr.c: New file.
11859         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11860         * wcsmbs/wcrtomb.c: Likewise.
11861         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11862         * wcsmbs/wcsnrtombs.c: Likewise.
11863         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11864         partial character is read.
11865         * wcsmbs/wcsrtombs.c: Likewise.
11866         * wcsmbs/wmemrtombs.c: Likewise.
11867         * wcsmbs/wmemrtowcs.c: Likewise.
11868
11869         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11870         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11871         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11872         * sysdeps/i386/elf/setjmp.S: Likewise.
11873         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11874         <bits/termios.h>.
11875
11876         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11877         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11878
11879         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11880         * sysvipc/sys/ipc.h: Likewise.
11881         * sysvipc/sys/msg.h: Likewise.
11882         * sysvipc/sys/sem.h: Likewise.
11883         * sysvipc/sys/shm.h: Likewise.
11884
11885         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11886         used directly.
11887         * sysdeps/alpha/bits/setjmp.h: Likewise.
11888         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11889         * sysdeps/arm/bits/endian.h: Likewise.
11890         * sysdeps/arm/bits/setjmp.h: Likewise.
11891         * sysdeps/generic/bits/byteswap.h: Likewise.
11892         * sysdeps/generic/bits/confname.h: Likewise.
11893         * sysdeps/generic/bits/dirent.h: Likewise.
11894         * sysdeps/generic/bits/dlfcn.h: Likewise.
11895         * sysdeps/generic/bits/endian.h: Likewise.
11896         * sysdeps/generic/bits/fenv.h: Likewise.
11897         * sysdeps/generic/bits/huge_val.h: Likewise.
11898         * sysdeps/generic/bits/in.h: Likewise.
11899         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11900         * sysdeps/generic/bits/ioctls.h: Likewise.
11901         * sysdeps/generic/bits/ipc.h: Likewise.
11902         * sysdeps/generic/bits/msq.h: Likewise.
11903         * sysdeps/generic/bits/poll.h: Likewise.
11904         * sysdeps/generic/bits/resource.h: Likewise.
11905         * sysdeps/generic/bits/sched.h: Likewise.
11906         * sysdeps/generic/bits/sem.h: Likewise.
11907         * sysdeps/generic/bits/setjmp.h: Likewise.
11908         * sysdeps/generic/bits/shm.h: Likewise.
11909         * sysdeps/generic/bits/sigaction.h: Likewise.
11910         * sysdeps/generic/bits/sigcontext.h: Likewise.
11911         * sysdeps/generic/bits/socket.h: Likewise.
11912         * sysdeps/generic/bits/stat.h: Likewise.
11913         * sysdeps/generic/bits/statfs.h: Likewise.
11914         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11915         * sysdeps/generic/bits/termios.h: Likewise.
11916         * sysdeps/generic/bits/time.h: Likewise.
11917         * sysdeps/generic/bits/uio.h: Likewise.
11918         * sysdeps/generic/bits/utmp.h: Likewise.
11919         * sysdeps/generic/bits/utmpx.h: Likewise.
11920         * sysdeps/generic/bits/utsname.h: Likewise.
11921         * sysdeps/generic/bits/waitflags.h: Likewise.
11922         * sysdeps/generic/bits/waitstatus.h: Likewise.
11923         * sysdeps/gnu/bits/utmp.h: Likewise.
11924         * sysdeps/gnu/bits/utmpx.h: Likewise.
11925         * sysdeps/i386/bits/byteswap.h: Likewise.
11926         * sysdeps/i386/bits/endian.h: Likewise.
11927         * sysdeps/i386/bits/huge_val.h: Likewise.
11928         * sysdeps/i386/bits/setjmp.h: Likewise.
11929         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11930         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11931         * sysdeps/m68k/bits/byteswap.h: Likewise.
11932         * sysdeps/m68k/bits/endian.h: Likewise.
11933         * sysdeps/m68k/bits/setjmp.h: Likewise.
11934         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11935         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11936         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11937         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11938         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11939         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11940         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11941         * sysdeps/mips/bits/dlfcn.h: Likewise.
11942         * sysdeps/mips/bits/endian.h: Likewise.
11943         * sysdeps/mips/bits/setjmp.h: Likewise.
11944         * sysdeps/mips/dec/bits/endian.h: Likewise.
11945         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11946         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11947         * sysdeps/mips/p40/bits/endian.h: Likewise.
11948         * sysdeps/powerpc/bits/endian.h: Likewise.
11949         * sysdeps/powerpc/bits/fenv.h: Likewise.
11950         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11951         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11952         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11953         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11954         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11955         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11956         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11957         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11958         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11959         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11960         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11961         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11962         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11963         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11964         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11965         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11966         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11967         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11968         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11969         * sysdeps/unix/common/bits/dirent.h: Likewise.
11970         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11971         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11972         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11973         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11974         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11975         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11976         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11977         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11978         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11979         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11980         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11981         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11982         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11983         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11984         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11985         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11986         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11987         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11988         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11989         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11990         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11991         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11992         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11993         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11994         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11995         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11996         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11997         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11998         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11999         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
12000         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
12001         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12002         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
12003         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
12004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
12005         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12006         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
12007         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
12008         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
12009         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
12010         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
12011         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
12012         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
12013         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
12014         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
12015         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
12016         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
12017         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
12018         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
12019         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12021         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12022         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
12023         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
12024         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12025         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12026         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
12027         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
12028         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
12029         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
12030         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
12031         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
12032         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
12033         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
12034         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
12035         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
12036         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
12037         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
12038         * sysdeps/vax/bits/huge_val.h: Likewise.
12039         * sysdeps/vax/bits/setjmp.h: Likewise.
12040         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
12041         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
12042
12043 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12044
12045         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
12046
12047 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
12048
12049         * strftime.c (strftime):
12050         No longer any need to undef or declare if emacs is defined.
12051         (my_strftime): When checking a -1 returned by mktime, don't blow up
12052         if localtime_r returns NULL.
12053
12054 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12055
12056         * README.template: Fix spelling.
12057
12058 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12059
12060         * configure.in: Enhance --enable-add-ons description a wee bit.
12061
12062 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12063
12064         * glibcbug.in: Add more information of build environment and flags.
12065
12066 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12067
12068         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
12069         it into ENOENT.
12070
12071 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
12072
12073         * elf/dl-support.c: Call __libc_init_secure to make sure
12074         __libc_enable_secure is defined early.
12075         * sysdeps/generic/enbl-secure.c: Change function name to
12076         __libc_init_secure and make it global instead of a constructor.
12077
12078         * iconv/gconv.c: Fix lots of bugs.
12079         * iconv/gconv.h: Likewise.
12080         * iconv/gconv_builtin.h: Likewise.
12081         * iconv/gconv_close.c: Likewise.
12082         * iconv/gconv_conf.c: Likewise.
12083         * iconv/gconv_db.c: Likewise.
12084         * iconv/gconv_dl.c: Likewise.
12085         * iconv/gconv_open.c: Likewise.
12086         * iconv/gconv_simple.c: Likewise.
12087         * iconv/iconv.c: Likewise.
12088         * iconv/iconv_close.c: Likewise.
12089         * iconv/iconv_open.c: Likewise.
12090
12091         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
12092         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
12093         * wcsmbs/wmemrtombs.c: New file.
12094         * wcsmbs/wmemrtowcs.c: New file.
12095
12096 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
12097
12098         * iconv/gconv_simple.c: Fix lots of bugs.
12099         * iconv/iconv_open.c: Normalize names before passing them to
12100         __gconv_open.
12101
12102         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
12103
12104         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
12105         * stdio-common/test-popen.c: Add test for above change.
12106
12107         * math/libm-test.c: Print test results also using %a format,
12108         specified in PRINTF_XEXPR macro.
12109         * math/test-double.c: Define PRINTF_XEXPR.
12110         * math/test-float.c: Likewise.
12111         * math/test-ldouble.c: Likewise.
12112         * math/test-idouble.c: Likewise.
12113         * math/test-ifloat.c: Likewise.
12114         * math/test-ildoubl.c: Likewise.
12115
12116         * stdio-common/vfscanf.c: Recognize a in format specifier only as
12117         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
12118         FP number format.
12119
12120         * stdlib/strtod.c: Little code cleanup.
12121
12122         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
12123         compiling in math subdir.
12124
12125         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
12126         instead of __LIBC_M81_MATH_INLINES.
12127         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
12128         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
12129         * sysdeps/m68k/fpu/e_pow.c: Likewise.
12130         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
12131         * sysdeps/m68k/fpu/k_cos.c: Likewise.
12132         * sysdeps/m68k/fpu/k_sin.c: Likewise.
12133         * sysdeps/m68k/fpu/k_tan.c: Likewise.
12134         * sysdeps/m68k/fpu/s_atan.c: Likewise.
12135         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
12136         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
12137         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
12138         * sysdeps/m68k/fpu/s_csin.c: Likewise.
12139         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
12140         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
12141         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
12142         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
12143         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
12144         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
12145         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
12146         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
12147         * sysdeps/m68k/fpu/s_modf.c: Likewise.
12148         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
12149         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
12150         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
12151         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
12152         __LIBC_INTERNAL_MATH_INLINES is defined.
12153
12154         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
12155         of compare macros from ISO C 9X.  Optimize generic versions a bit.
12156         Define __signbit inline functions and __ieee754_sqrt which can be
12157         used if the ompiler is fixed.
12158
12159         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
12160
12161 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12162
12163         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
12164         sysdeps/generic in the whole dep file, not only in the first line.
12165
12166 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12167
12168         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
12169
12170 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12171
12172         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
12173         place.
12174
12175 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12176
12177         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
12178         is non-empty.
12179
12180 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
12181
12182         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
12183         return value.
12184
12185 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
12186
12187         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
12188         readlink succeeds but the return value is too long.
12189
12190         * stdio-common/printf_fphex.c: Determine sign of number correctly.
12191
12192 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
12193
12194         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
12195         __remqu for Alpha.
12196
12197 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
12198
12199         * sysdeps/generic/sys/ucontext.h: Stub context file.
12200
12201         * libio/iofprintf.c: Removed.  We use the stdio-common version.
12202
12203         * manual/Makefile (distribute): Add stdio-fp.c.
12204
12205         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
12206
12207         * db2/Makefile (distribute): Add include/os_func.h, README and
12208         mutex/tsl_parisc.s.
12209
12210         * hesiod/Makefile (distribute): Add README.hesiod.
12211
12212 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
12213
12214         * iconv/gconv.c: Correctly call transformation function.
12215
12216         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
12217
12218 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12219
12220         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
12221         wrong results for e.g. remquo (3,2, &x)).
12222         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
12223         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
12224
12225 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12226
12227         * configure.in (ld --version-script): Test if the same symbol
12228         maybe defined in all versions (needed by recent changes to
12229         libc.map and supported with binutils 2.8.1.0.17) and issue warning
12230         if versioning is not supported/enabled.
12231         (bash test): Correct test case.
12232
12233         * math/libm-test.c: Added counting/reporting of number of test cases.
12234
12235         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
12236         use awk instead.
12237
12238         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
12239
12240 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12241
12242         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
12243
12244 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
12245
12246         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
12247         Replace revoke call by use of REVOKE.
12248         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
12249         empty and #include generic version.
12250         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12251
12252 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
12253
12254         * libc.map: Add socket functions with __libc_* names.
12255         Reported by Andreas Jaeger.
12256
12257 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12258
12259         * libc.map: Tidy up (remove duplicates, sort entries).
12260
12261 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12262
12263         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
12264
12265 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
12266
12267         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
12268         again after successful call.
12269         Patch by Marc Lehmann <pcg@goof.com>.
12270
12271 1997-11-17  Paul Eggert  <eggert@twinsun.com>
12272
12273         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
12274         as some hosts need this to declare localtime_r properly.
12275
12276 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
12277
12278         * libc.map: Add iconv_open, iconv, and iconv_close.
12279
12280 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
12281
12282         * iconv/Makefile: New file.
12283         * iconv/gconv.c: New file.
12284         * iconv/gconv.h: New file.
12285         * iconv/gconv_builtin.c: New file.
12286         * iconv/gconv_builtin.h: New file.
12287         * iconv/gconv_close.c: New file.
12288         * iconv/gconv_conf.c: New file.
12289         * iconv/gconv_db.c: New file.
12290         * iconv/gconv_dl.c: New file.
12291         * iconv/gconv_open.c: New file.
12292         * iconv/gconv_simple.c: New file.
12293         * iconv/iconv.c: New file.
12294         * iconv/iconv.h: New file.
12295         * iconv/iconv_close.c: New file.
12296         * iconv/iconv_open.c: New file.
12297         * include/gconv.h: New file.
12298
12299         * Makeconfig: Define gconvdir.
12300         * Makefile (subdirs): Add iconv.
12301
12302         * string/bits/string2.h: Add optimization for strtok_r.
12303
12304         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12305         for NULL.
12306         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12307         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12308
12309         * configure.in: Correct test for bash2.
12310         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12311
12312         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12313         (CFLAGS-locfile.c): Likewise.
12314         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12315
12316         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12317         non-existing entry if the table is full.
12318
12319         * posix/regex.h: Pretty print.
12320
12321         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12322
12323         * sysdeps/posix/ctermid.c: Simplify a bit.
12324
12325         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12326
12327 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12328
12329         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12330         <sys/types.h> instead of <asm/types.h>.
12331
12332 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12333
12334         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12335
12336 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12337
12338         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12339         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12340         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12341         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12342         fclose): Added to GLIBC_2.1.
12343
12344         * libio/Makefile (routines, shared-only-routines): Add
12345         oldiofclose.  Remove oldfreopen.
12346
12347         * libio/freopen.c (freopen): When PIC is defined, call
12348         _IO_old_freopen () for old stdio.
12349
12350         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12351         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12352         for GLIBC_2.1.
12353
12354         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12355         instead of _IO_file_close_it.
12356
12357         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12358         to _IO_2_1_stdxxx_.
12359         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12360         is defined.
12361
12362         * libio/libioP.h (_IO_old_do_flush): New.
12363
12364         * libio/oldfileops.c (_IO_old_file_close_it,
12365         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12366         Call _IO_old_do_flush () instead of _IO_do_flush ().
12367         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12368         _IO_do_write ().
12369
12370         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12371         instead of _IO_file_init ().
12372         Bind old symbols to version GLIBC_2.0.
12373
12374         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12375         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12376         _IO_stdxxx_.
12377         (_IO_check_libio): New function in .init.
12378
12379         * libio/oldiofclose.c: New file.
12380
12381         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12382         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12383         (DEF_STDFILE): Don't use default_symbol_version.
12384
12385         * libio/stdio.c (stdin, stdout, stderr): Set to
12386         _IO_2_1_stdxxx_._
12387         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12388         stdxxx.
12389
12390         * csu/Makefile (distribute): Add init.c.
12391         (extra-objs): Add init.o for ELF.
12392         (start-installed-name): Add $(objpfx)init.o.
12393
12394         * csu/init.c: New file.
12395
12396 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12397
12398         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12399         definition as the default.
12400
12401 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12402
12403         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12404
12405 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12406
12407         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12408         (PR 351).
12409
12410 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12411
12412         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12413         to preserve condition codes on function call.
12414
12415 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12416
12417         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12418
12419 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12420
12421         * math/libm-test.c (asin_test): Add epsilon for float.
12422         (tan_test): Add epsilon for float.
12423         (log1p_test): Add epsilon for float.
12424         (inverse_functions): Add epsilons.
12425
12426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12427         net/if_packet.h.
12428
12429         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12430
12431 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12432
12433         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12434         variable, since $(object-suffixes) is not defined yet.
12435
12436 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12437
12438         * db2/Makefile (distribute): db185/db185_int.src ->
12439         db185/db185_int.h.
12440
12441 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12442
12443         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12444         exactly one.
12445
12446 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12447
12448         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12449         name.
12450         * sysdeps/generic/e_acosl.c: Likewise.
12451         * sysdeps/generic/e_asinl.c: Likewise.
12452         * sysdeps/generic/e_atan2l.c: Likewise.
12453         * sysdeps/generic/e_expl.c: Likewise.
12454         * sysdeps/generic/e_fmodl.c: Likewise.
12455         * sysdeps/generic/e_j0l.c: Likewise.
12456         * sysdeps/generic/e_j1l.c: Likewise.
12457         * sysdeps/generic/e_jnl.c: Likewise.
12458         * sysdeps/generic/e_lgammal_r.c: Likewise.
12459         * sysdeps/generic/e_log10l.c: Likewise.
12460         * sysdeps/generic/e_logl.c: Likewise.
12461         * sysdeps/generic/e_powl.c: Likewise.
12462         * sysdeps/generic/e_sqrtl.c: Likewise.
12463         * sysdeps/generic/e_exp2l.c: Likewise.
12464
12465 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12466
12467         * Make-dist (+sysdep-names): Remove extra paren.
12468         * Makefile (distribute): Add stub-tag.h.
12469         * elf/Makefile (distribute): Add atomicity.h.
12470         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12472         [$(subdir)=socket]: Add net/if_packet.h.
12473         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12474         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12475         net/if_packet.h, scsi/sg.h.
12476
12477 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12478
12479         * Makefile (install): Quote $(CC) expansion.
12480
12481 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12482
12483         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12484         working /proc cwd and no restrictions on path length.  Following
12485         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12486
12487 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12488
12489         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12490         * nis/nss_compat/compat-pwd.c: Likewise.
12491         * nis/nss_compat/compat-spwd.c: Likewise.
12492
12493 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12494
12495         * sysdeps/libm-i387/s_fdim.S: New file.
12496         * sysdeps/libm-i387/s_fdimf.S: New file.
12497         * sysdeps/libm-i387/s_fdiml.S: New file.
12498         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12499         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12500         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12501
12502 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12503
12504         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12505         pointer to unsigned char.
12506
12507 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12508
12509         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12510
12511         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12512
12513         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12514
12515 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12516
12517         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12518         ilogb(0/NaN).
12519         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12520         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12521
12522 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12523
12524         * sysdeps/libm-i387/s_fmin.S: New file.
12525         * sysdeps/libm-i387/s_fminf.S: New file.
12526         * sysdeps/libm-i387/s_fminl.S: New file.
12527         * sysdeps/libm-i387/s_fmax.S: New file.
12528         * sysdeps/libm-i387/s_fmaxf.S: New file.
12529         * sysdeps/libm-i387/s_fmaxl.S: New file.
12530         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12531         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12532         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12533         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12534         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12535         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12536
12537 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12538
12539         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12540         * sysdeps/unix/sysv/linux/send.S: Likewise.
12541         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12542         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12543         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12544         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12545         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12546         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12547         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12548
12549 See ChangeLog.7 for earlier changes.