1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu>
[glibc.git] / ChangeLog
blob65709ad8bd96a4694b5e29894055c9d173ae618d
1 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
3         * argp-help.c (hol_add_cluster): Initialize CL->depth.
5 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
7         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
8         strtoull_l, strtof_l, strtod_l, and strtold_l.
9         * stdlib/stdlib.h: Add prototypes for new functions.
10         * stdlib/strtod.c: Change for compiling as strtoX_l.
11         * stdlib/strtol.c: Likewise.
12         * stdlib/strtof.c: Likewise.
13         * stdlib/strtold.c: Likewise.
14         * stdlib/strtod_l.c: New file.
15         * stdlib/strtof_l.c: New file.
16         * stdlib/strtold_l.c: New file.
17         * stdlib/strtol_l.c: New file.
18         * stdlib/strtoul_l.c: New file.
19         * stdlib/strtoll_l.c: New file.
20         * stdlib/strtoull_l.c: New file.
21         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
22         * string/string.h: Add prototypes for new functions.
23         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
24         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
25         * sysdeps/generic/strcasecmp_l.c: New file.
26         * sysdeps/generic/strncase_l.c: New file.
27         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
28         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
29         wcsncase_l.
30         * wcsmbs/wchar.h: Add prototypes for new functions.
31         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
32         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
33         * wcsmbs/wcscasecmp_l.c: New file.
34         * wcsmbs/wcsncase_l.c: New file.
35         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
36         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
37         * wcsmcs/wcstod_l.c: New file.
38         * wcsmcs/wcstof_l.c: New file.
39         * wcsmcs/wcstold_l.c: New file.
40         * wcsmcs/wcstol_l.c: New file.
41         * wcsmcs/wcstoul_l.c: New file.
42         * wcsmcs/wcstoll_l.c: New file.
43         * wcsmcs/wcstoull_l.c: New file.
45         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
46         $(elf) is defined.  More to come later when other binary formats
47         are supported.
48         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
49         Suggested by Philip Blundell.
51         * stdlib/Makefile (headers): Add fmtmsg.h.
52         (routines): Add fmtmsg.
53         * stdlib/fmtmsg.c: New file.
54         * stdlib/fmtmsg.h: New file.
55         * manual/stdio.texi: Add description of fmtmsg and addseverity.
56         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
57         documentation.
59 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
61         * resolv/res_query.c (res_querydomain): Avoid potential buffer
62         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
64 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
66         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
67         _dl_sysdep_read_whole_file): Moved functions to ...
68         * elf/dl-misc.c: This new file.
69         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
70         * elf/dl-misc.c: ... here.
71         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
72         _dl_sysdep_read_whole_file): Delete functions; they now come from
73         elf/dl-misc.c (dl-support.c had contained identical versions).
74         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
75         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
76         that the regular ones in dl-misc work once we've initialized.
77         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
79 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
81         * inet/Makefile (headers): Add netinet/inbits.h.
82         * inet/netinet/in.h: New file.
83         * sysdeps/generic/netinet/inbits.h: Likewise.
84         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
85         * sysdeps/generic/netinet/ip6.h: Move to...
86         * inet/netinet/ip6.h: ... here.
87         * sysdeps/generic/netinet/icmp6.h: Move to...
88         * inet/netinet/icmp6.h: ... here.
89         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
90         * sysdeps/generic/netinet/in.h: Remove.
92 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
94         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
95         not looking at the new thread-safe .plt, don't be lazy about relocs.
96         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
97         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
98         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
99         elf_machine_runtime_setup() decide if we can actually be lazy.
100         * elf/rtld.c (_dl_start): So don't call it.
101         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
102         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
103         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
104         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
105         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
106         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
107         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
108         skeleton definition.
110 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
112         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
113         stack by fxtract.
115 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
117         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
118         add cast to (xdrproc_t) where necessary to prevent warnings.
120 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
122         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
124 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
126         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
127         to size_t to prevent warning.
128         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
129         instead of numeric values.
130         Various cleanups.
131         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
132         for xdrmem_putbytes.
133         * sunrpc/xdr_rec.c: Likewise.
134         * sunrpc/xdr_stdio.c: Likewise.
135         * sunrpc/rpc/xdr.h: Likewise.
137         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
138         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
141 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
143         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
144         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
145         * sysdeps/generic/netinet/icmp6.h: Likewise.
146         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
147         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
148         glob.c).
149         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
150         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
151         * sysdeps/stub/accept.c (accept): Make args match prototype.
152         * sysdeps/stub/bind.c (bind): Likewise.
153         * sysdeps/stub/connect.c (connect): Likewise.
154         * sysdeps/stub/getpeername.c (getpeername): Likewise.
155         * sysdeps/stub/getsockname.c (getsockname): Likewise.
156         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
157         * sysdeps/stub/send.c (send): Likewise.
158         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
159         * sysdeps/stub/readv.c (readv): Likewise.
160         * sysdeps/stub/writev.c (writev): Likewise.
161         * sysdeps/stub/sendto.c (sendto): Likewise.
162         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
164 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
166         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
167         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
169 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
171         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
173         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
174         functions, include <rpc/xdr.h>.
176         * string/strverscmp.c: Correct typos in comment.
178         * sunrpc/rpc/xdr.h: Add more `const'.
179         * sunrpc/xdr_stdio.c: Likewise.
180         * sunrpc/xdr_rec.c: Likewise.
182 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
184         * elf/Makefile (dl-routines): Add dl-sysdepio.
185         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
186         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
187         _dl_sysdep_error and _dl_sysdep_warning to ...
188         * sysdeps/generic/dl-sysdepio.c: ...here.
189         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
190         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
191         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
192         of functions.
193         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
195         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
196         and for Linux ld.so.
197         * login/Makefile (libutil.so): Likewise.
198         * math/Makefile (libm.so): Likewise.
199         * md5-crypt/Makefile (libcrypt.so): Likewise.
200         * nis/Makefile (libnss_%.so): Likewise.
201         * resolv/Makefile (libnss_dns.so): Likewise.
203 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
205         * argp-help.c (_help): Supply STATE to argp_args_usage.
206         (argp_args_usage): Add filtering of the args doc string.
207         (comma): Print cluster headers for the first entry too.
208         * argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
210 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
212         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
213         interface was changed with addition of _obstack_memory_used.
214         Suggested by Ian Taylor <ian@cygnus.com>.
216         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
217         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
218         Reported by Ian Taylor <ian@cygnus.com>.
220         * dirent/Makefile (routines): Add versionsort.
221         * dirent/dirent.h: Add prototype for versionsort.
222         * dirent/versionsort.c: New file.
223         * manual/filesys.texi: Add documentation for versionsort.
224         * manual/string.texi: Add documentation for strverscmp.
225         * string/Makefile (routines): Add strverscmp.
226         (tests): Add tst-svc.
227         * string/string.h: Add prototype for strverscmp.
228         * string/strverscmp.c: New file.
229         * string/tst-svc.c: New file.  Test for strverscmp.
230         * string/tst-svc.input: New file.  Input data for tst-svc.
231         * string/tst-svc.expect: New file.  Expected out from tst-svc.
232         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
234         * math/Makefile (calls): Add s_signbit.
236         * po/sv.po: Update.
238         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
239         * sunrpc/pmap_rmt.c: Likewise.
241         * string/basename.c: Don't use ISO C definition style.
242         Include <config.h> if HAVE_CONFIG_H is defined.
244         * sunrpc/proto.h: Add `const' wherever possible.
245         * sunrpc/rpc_cout.c: Likewise.
246         * sunrpc/rpc_svcout.c: Likewise.
247         * sunrpc/xdr_mem.c: Likewise.
248         * sunrpc/xdr_rec.c: Likewise.
249         * sunrpc/xdr_stdio.c: Likewise.
250         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
251         * sunrpc/xdr.c: Little code cleanups.
252         * sunrpc/xdr_float.c: Likewise.
253         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
255         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
257         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
259         * time/europe: Update from tzdata1997f.
260         * time/zic.c: Update from tzcode1997e.
262 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
264         * sysdeps/sparc/setjmp.S: Flush windows.
265         Bug found by Richard Henderson.
267 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
269         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
271 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
273         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
274         atol instead of atoi.
276 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
278         * inet/Makefile (routines): Add if_index.
279         * sysdeps/unix/sysv/linux/if_index.c: New file.
280         * sysdeps/stub/if_index.c: New file.
281         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
282         if_index.c (required by IPv6 basic API).
283         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
285 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
287         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
288         for new advanced API draft.
290 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
292         * stdio-common/printf_fp.c: Only use the field width for deciding
293         on padding when printing special values.
294         * stdio-common/printf_fphex.c: Likewise.
296 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
298         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
299         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
301 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
303         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
304         msg_add_auth was overflowing it.
306 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
308         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
309         when we can't find the symbol.
311 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
313         * posix/regex.c: Fix handling of 32-bit Windog environments.
314         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
316 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
318         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
320 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
322         * elf/ldd.bash.in: Remove spurious quote character from version
323         message.
325 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
327         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
328         loop if the file ends in a long line without newline.
329         * locale/programs/charmap.c (charmap_read): Likewise.
331 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
333         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
334         * sunrpc/rpc/svc_auth.h: Likewise.
335         * sunrpc/rpc/svc.h: Likewise.
336         * sunrpc/rpc/rpc_msg.h: Likewise.
337         * sunrpc/rpc/pmap_rmt.h: Likewise.
338         * sunrpc/rpc/pmap_clnt.h: Likewise.
339         * sunrpc/rpc/clnt.h: Likewise.
340         * sunrpc/rpc/auth_unix.h: Likewise.
341         * sysdeps/generic/rpc/auth.h: Likewise.
342         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
344 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
346         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
347         * sysdeps/standalone/arm/errnos.h: New file.
348         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
349         * sysdeps/unix/arm/fork.S: New file.
350         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
351         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
352         `streamptr' argument.
353         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
354         <stdarg.h> to get va_list defined, return 0 not NULL.
355         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
356         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
357         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
358         * sysdeps/stub/seekdir.c (seekdir): Likewise.
359         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
360         * sysdeps/standalone/dirstream.h: Define struct __dirstream
361         not DIR; <dirent.h> provides typedef.
362         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
363         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
364         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
366 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
368         * sysdeps/powerpc/Dist: New file.
369         * sysdeps/powerpc/Makefile: New file.
370         * sysdeps/powerpc/fclrexcpt.c: New file.
371         * sysdeps/powerpc/fegetenv.c: New file.
372         * sysdeps/powerpc/fegetround.c: New file.
373         * sysdeps/powerpc/feholdexcpt.c: New file.
374         * sysdeps/powerpc/fenvbits.h: New file.
375         * sysdeps/powerpc/fenv_const.c: New file.
376         * sysdeps/powerpc/fenv_libc.h: New file.
377         * sysdeps/powerpc/fesetenv.c: New file.
378         * sysdeps/powerpc/fesetround.c: New file.
379         * sysdeps/powerpc/feupdateenv.c: New file.
380         * sysdeps/powerpc/fgetexcptflg.c: New file.
381         * sysdeps/powerpc/fraiseexcpt.c: New file.
382         * sysdeps/powerpc/fsetexcptflg.c: New file.
383         * sysdeps/powerpc/ftestexcept.c: New file.
384         * sysdeps/powerpc/mathbits.h: New file.
386         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
387         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
388         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
390         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
392         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
394         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
395         instead .section ".text".
397 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
399         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
400         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
401         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
402         * sysdeps/powerpc/setjmp.S: Likewise.
404         * sysdeps/unix/sysv/linux/clone.S: Likewise.
405         * sysdeps/unix/sysv/linux/socket.S: Likewise.
406         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
408 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
410         * sysdeps/powerpc/strchr.s: New file.
411         * sysdeps/powerpc/strcmp.s: New (ugly) file.
412         * sysdeps/powerpc/memset.s: New file.
413         * string/tester.c: Include prototype and _GNU_SOURCE to make
414         standalone compilation possible. Give strcmp a better
415         test. Give memset a better test.
417 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
419         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
420         tests before?). Changed to symbolic register numbering as an
421         experiment.
422         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
423         exist.
424         * sysdeps/rs6000/ffs.c: Likewise.
426 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
428         * time/sys/time.h: Make second argument of setitimer const.
429         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
430         * sysdeps/stub/setitimer.c: Likewise.
431         * sysdeps/mach/hurd/setitimer.c: Likewise.
433 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
435         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
437         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
438         namespace hierachy.
439         * nis/nis_intern.h: Add new __nis_docall function prototypes.
440         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
441         rewritten functions.
442         * nis/nis_checkpoint.c: Likewise.
443         * nis/nis_lookup.c: Likewise.
444         * nis/nis_mkdir.c: Likewise.
445         * nis/nis_modify.c: Likewise.
446         * nis/nis_ping.c: Likewise.
447         * nis/nis_remove.c: Likewise.
448         * nis/nis_rmdir.c: Likewise.
449         * nis/nis_server.c: Likewise.
450         * nis/nis_table.c: Likewise.
452 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
454         * argp/argp-eexst.c: Include <sysexits.h>.
455         (argp_err_exit_status): Initialize to EX_USAGE.
456         * argp/argp.h, argp/argp-help.c: Doc fixes.
458 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
460         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
461         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
463 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
465         * sysdeps/unix/sysv/linux/poll.c: Save errno.
467 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
469         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
471 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
473         * sys/ttydefaults.h: Removed.
475 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
477         * termios/sys/ttydefaults.h: Delete file.
478         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
479         TTYDEF_OFLAG.
480         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
481         XTABS in TTYDEF_OFLAG.
482         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
483         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
485 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
487         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
488         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
490 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
492         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
493         _NL_CTYPE_MAP_NAMES field to stringlist.
494         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
495         * locale/localeinfo.h (enum value_type): Add stringlist.
496         * locale/programs/locale.c (show_info): Handle stringlist.
498         * locale/programs/charmap.c (charmap_read): If charmap file is not
499         using the given name try to find it by looking through all available
500         charmap files and compare the code set name.
501         * locale/programs/locale.c (write_charmaps): Also print names of
502         charset in <code_set_name> fields in the files.
504         * elf/ldd.bash.in: Correct translatable strings.
506         * posix/TESTS: Add some more tests for character class matching.
507         * posix/regex.c: Merge with GNU awk version.
508         (regex_compile): Use ISO C/amend 1 functions for character class
509         handling.
510         * posix/regex.h: Merge with GNU awk version.
512         * posix/getopt.c: Declare as master copies.
513         * posix/getopt1.c: Likewise.
514         * posix/getopt.h: Likewise.
516         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
517         value to mount functions.
518         Patch by a sun <asun@zoology.washington.edu>.
520         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
521         in size for copy relocation.
522         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
523         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
524         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
525         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
527 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
529         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
530         with other tests.
531         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
532         with other tests.
534         * sunrpc/svc_run.c (svc_exit): New, defined.
535         (svc_run): Test for svc_stop variable.
536         * sunrpc/rpc/svc.h (svc_exit): New, declared.
538 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
540         * math/libm-test.c (test_not_exception): Don't mix the internal
541         exception flags with the host defined FE_* values.  All (indirect)
542         callers of this and test_exceptions changed to pass the internal
543         flag values.
544         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
545         in test names.
546         (csinh_test): Allow invalid exception for NaN +- i Inf.
548 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
550         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
551         exception on infinite value.
552         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
553         __M81_COND_ZERO): New definitions.
555         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
556         Use __m81_test.
558         * sysdeps/m68k/s_ccosh.c: Rewritten.
559         * sysdeps/m68k/s_csinh.c: Rewritten.
560         * sysdeps/m68k/s_cexp.c: Rewritten.
561         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
562         * sysdeps/m68k/s_ccoshl.c: Likewise.
563         * sysdeps/m68k/s_csinhf.c: Likewise.
564         * sysdeps/m68k/s_csinhl.c: Likewise.
565         * sysdeps/m68k/s_cexpf.c: Likewise.
566         * sysdeps/m68k/s_cexpl.c: Likewise.
568         * sysdeps/m68k/s_ccos.c: New file.
569         * sysdeps/m68k/s_ccosf.c: New file.
570         * sysdeps/m68k/s_ccosl.c: New file.
571         * sysdeps/m68k/s_csin.c: New file.
572         * sysdeps/m68k/s_csinf.c: New file.
573         * sysdeps/m68k/s_csinl.c: New file.
575 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
577         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
578         stamp files to avoid problems with long file names.
580 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
582         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
584         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
585         NaN.  Fix test for sign of infinite y.
587         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
589         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
591 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
593         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
594         dependencies.
596         * csu/abi-note.S: Replace undefined macro ALIGNARG.
597         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
598         character.
600 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
602         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
603         for local label.
605 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
607         * nis/Makefile (libnsl-routines): Add a lot of new file names.
609         * nis/nis_names.c (nis_add): Moved from here ...
610         * nis/nis_add.c: ... to here and fix parameter flags.
611         * nis/nis_names.c (nis_lookup): Moved from here ...
612         * nis/nis_lookup.c: ... to here.
613         * nis/nis_names.c (nis_modify): Moved from here ...
614         * nis/nis_modify.c: ... to here and fix parameter flags.
615         * nis/nis_names.c (nis_remove): Moved from here ...
616         * nis/nis_remove.c: ... to here and fix parameter flags.
617         * nis/nis_names.c: Removed.
619         * nis/nis_subr.c (nis_domain_of): Moved from here ...
620         * nis/nis_domain_of.c: .. to here.
621         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
622         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
624         * nis/nis_addmember.c: New.
625         * nis/nis_checkpoint.c: New.
626         * nis/nis_creategroup.c: New.
627         * nis/nis_defaults.c: New.
628         * nis/nis_destroygroup.c: New.
629         * nis/nis_getservlist.c: New.
630         * nis/nis_ismember.c: New.
631         * nis/nis_ping.c: New.
632         * nis/nis_print_group_entry.c: New.
633         * nis/nis_removemember.c: New.
634         * nis/nis_mkdir.c: New.
635         * nis/nis_rmdir.c: New.
636         * nis/nis_verifygroup.c: New.
638         * nis/rpcsvc/nislib.h: Fix internal function declarations.
640         * nis/nis_server (nis_servstate): New.
641         * nis/nis_server (nis_stats): New.
643         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
645         * nis/nis_call.c: Remove debug output.
647         * nis/nis_intern.c (__nis_finddirectory): Remove.
649 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
651         * posix/TESTS2C.sed: Recognize only digits in first field.  This
652         enables us to use colons in the pattern.
654 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
656         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
657         will preserve non-call-saved registers; save and restore a0 across
658         the system call.
659         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
660         data onto the new thread's stack.
662 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
664         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
665         kernel can return negative values.  Only fail when return value is
666         in range in range which is never returned as valid address.
667         Patch by Bruno Haible <haible@ilog.fr>.
669 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
671         * math/libm-test.c: Implement test for exceptions.
672         Partly due to Andreas Jaeger.
673         (csin_test): New function.
674         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
675         * sysdeps/libm-i387/s_cexpf.S: Likewise.
676         * sysdeps/libm-i387/s_cexpl.S: Likewise.
677         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
678         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
679         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
680         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
681         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
682         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
683         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
684         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
685         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
686         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
687         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
688         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
689         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
690         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
691         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
693         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
694         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
695         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
696         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
697         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
698         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
700         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
701         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
702         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
704         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
705         case.
707         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
708         for local label.
710         * time/strftime.c (add): Respect `0' padding flag.
711         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
713 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
715         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
716         Use in +link macro.
717         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
718         (start-installed-name): Don't define here.
719         When ELF generate file named by start-installed-name from start.o
720         and abi-note.o.
721         * csu/abi-note.S: New file.
722         * sysdeps/stub/abi-tag.h: New file.
723         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
724         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
726 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
728         * manual/stdio.texi: Use @vtable where possible.
729         Add TeX version of @multitable since texi2dvi cannot handle them
730         correct in the moment.
732         * po/de.po: Update.
734 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
736         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
737         * config.make.in: Set cross-compiling from configure result.
738         * configure.in: Emit definition of `cross_compiling'.
739         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
741 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
743         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
744         correct `int' sizes for struct members.
746 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
748         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
749         * sysdeps/libm-i387/e_pow.S: Likewise.
750         * sysdeps/libm-i387/e_powl.S: Likewise.
752 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
754         * math/fenv.h: Correct typos.
756 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
758         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
759         in t0 rather than a4 to avoid it being clobbered.
761 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
763         * manual/summary.awk: Recognize @defmumblex.
765         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
766         second description header.
768 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
770         * manual/arith.texi (Floating-Point Classes): Don't indent text,
771         makeinfo doesn't like that.
773 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
775         * malloc/obstack.h (obstack_specify_allocation_with_arg,
776         obstack_chunkfun, obstack_freefun): Fix casts.
778 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
780         * manual/xtract-typefun.awk: Allow names with only one character.
782 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
784         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
785         not <netinet/icmp.h>.
786         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
788 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
790         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
791         to command line of compiler.
792         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
794         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
795         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
797         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
798         in declaration.
799         Patch by Michael Widenius <monty@tcx.se>.
801         * time/strptime.c (strptime_internal): Fix %I format specifier
802         being off by one.
803         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
805 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
807         * stdlib/lcong48_r.c: Include <limits.h>.
808         * stdlib/seed48_r.c: Likewise.
810         * stdio-common/printf_size.c (printf_size): Correct type of
811         `units' and make robust against future changes.
813 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
815         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
816         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
817         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
819 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
821         * manual/arith.texi, manual/math.texi: Use @defmumblex for
822         additional description headers.
823         * manual/xtract-typefun.awk: Recognize them.
825 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
827         * stdio-common/printf_size.c (printf_size): Correct size of array
828         units.
830 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
832         * libgen.h: New file.
834 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
836         * stdlib/drand48.c: Cleanup namespace.
837         * stdlib/drand48_r.c: Cleanup namespace.
838         * stdlib/erand48.c: Cleanup namespace.
839         * stdlib/erand48_r.c: Cleanup namespace.
840         * stdlib/jrand48.c: Cleanup namespace.
841         * stdlib/jrand48_r.c: Cleanup namespace.
842         * stdlib/lrand48.c: Cleanup namespace.
843         * stdlib/lrand48_r.c: Cleanup namespace.
844         * stdlib/mrand48.c: Cleanup namespace.
845         * stdlib/mrand48_r.c: Cleanup namespace.
846         * stdlib/nrand48.c: Cleanup namespace.
847         * stdlib/nrand48_r.c: Cleanup namespace.
848         * stdlib/lcong48.c: Cleanup namespace.
849         * stdlib/lcong48_r.c: Cleanup namespace.
850         * stdlib/srand48.c: Cleanup namespace.
851         * stdlib/srand48_r.c: Cleanup namespace.
852         * stdlib/seed48.c: Cleanup namespace.
853         * stdlib/seed48_r.c: Cleanup namespace.
855         * stdlib/stdlib.h: Provide new prototypes.
857 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
859         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
860         fpclassify & friends, and complex number operations.
861         Update various other math functions for ISO C 9X.
862         * manual/math.texi: Update various entries for ISO C 9X.
863         Add description for complex number functions.
864         Add description of rand48 function family.
865         * manual/string.h: Add description of a64l and l64a.
867         * math/cmathcalls.h: Fix typo.
869         * stdlib/a64l.c: Pretty printing.
871         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
872         * stdlib/srand48_r.c: Likewise.
873         * stdlib/stdlib.h: Pretty printing.
875         * sysdeps/i386/fpu/__math.h: Fix typo.
877         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
878         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
880 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
882         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
884 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
886         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
887         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
888         isunordered.
890 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
892         * rellns-sh: Handle files in the same directory correctly.
894 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
896         * csu/initfini.c: Place ALIGN instruction at correct positions.
897         Patch by Richard Henderson <richard@twiddle.rth.home>.
899 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
901         * Make-dist: Don't automatically ignore .c files if the .S or .s file
902         is ignored.
904         * csu/Makefile (distribute): Add defs.awk.
906 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
908         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
909         * sysdeps/stub/shmdt.c: Likewise.
910         Reported by Thomas Bushnell, n/BSG.
912 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
914         * manual/stdio.texi: Add description of printf_size and
915         printf_size_info.  Partly based on the documentation by Larry McVoy.
917 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
919         * stdio-common/printf_size.c (printf_size): Correct values for
920         `units'.
921         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
922         * stdio-common/tst-printfsz.c: New file.
923         * stdio-common/Makefile (tests): Add tst-printfsz.c.
924         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
925         strings.
927 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
929         * login/utmp.h: Add prototype for updwtmp.
930         * login/logwtmp.c: Add new function updwtmp which allows to write
931         a complete record to the wtmp file.
932         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
934 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
936         * math/Makefile (headers): Add mathbits.h.
938 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
940         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
941         * sysdeps/m68k/fpu/s_sincos.c: New file.
942         * sysdeps/m68k/fpu/s_sincosf.c: New file.
943         * sysdeps/m68k/fpu/s_sincosl.c: New file.
945         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
946         functions.
947         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
949         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
950         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
951         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
952         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
953         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
954         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
956 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
958         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
959         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
961 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
963         * csu/initfini.c: Rewrite by Zack Weinberg
964         <zack@rabi.phys.columbia.edu>.
965         * csu/Makefile: Add rules for rewrite.
966         * csu/defs.awk: Helper script to generate derived header.
968 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
970         * misc/libgen.h: Change prototype for of basename to XPG variant.
971         * stdlib/Makefile (routines): Add xpg_basename.
972         * stdlib/basename.c: New file.
973         * string/string.h: Don't declare basename function if basename
974         macro is available.
976 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
978         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
980 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
982         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
983         * sysdeps/m68k/fpu/fenvbits.h: New file.
984         * sysdeps/m68k/fpu/fegetenv.c: New file.
985         * sysdeps/m68k/fpu/fegetround.c: New file.
986         * sysdeps/m68k/fpu/fesetenv.c: New file.
987         * sysdeps/m68k/fpu/fesetround.c: New file.
988         * sysdeps/m68k/fpu/feupdateenv.c: New file.
989         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
990         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
991         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
992         * sysdeps/m68k/fpu/ftestexcept.c: New file.
993         * sysdeps/m68k/fpu/mathbits.h: New file.
995         * sysdeps/m68k/fpu/s_remquo.c: New file.
996         * sysdeps/m68k/fpu/s_remquol.c: New file.
997         * sysdeps/m68k/fpu/s_remquof.c: New file.
999         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
1000         mantissa overflows into exponent.  Fix priority of >> vs +.
1002         * math/libm-test.c (basic_tests): Use the appropriate isnan and
1003         isinf function to test the value of the nan function.
1005 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
1007         * sysdeps/libm-i387/s_finite.S: Fix typo.
1009         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
1010         isgreaterequal, isless, islessequal, islessgreater, and
1011         isunordered.
1013 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
1015         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
1017         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
1018         * math/mathcalls.h: Add prototype for sincos.
1019         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
1020         inlined sin and cos function.
1021         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
1022         Add optimized version of finite.
1023         Rewrite sincos function to handle too large arguments.
1024         * sysdeps/libm-i387/s_cos.S: Better code alignment.
1025         * sysdeps/libm-i387/s_cosl.S: Likewise.
1026         * sysdeps/libm-i387/s_sin.S: Likewise.
1027         * sysdeps/libm-i387/s_sinl.S: Likewise.
1028         * sysdeps/libm-i387/s_finite.S: Yet better code.
1029         * sysdeps/libm-i387/s_finitef.S: Likewise.
1030         * sysdeps/libm-i387/s_sincos.S: New file.
1031         * sysdeps/libm-i387/s_sincosf.S: New file.
1032         * sysdeps/libm-i387/s_sincosl.S: New file.
1033         * sysdeps/libm-ieee754/s_sincos.c: New file.
1034         * sysdeps/libm-ieee754/s_sincosf.c: New file.
1035         * sysdeps/libm-ieee754/s_sincosl.c: New file.
1037         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
1038         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1039         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1040         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
1041         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1042         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1043         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
1044         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1045         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1046         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
1047         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
1048         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
1049         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
1050         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
1051         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
1053         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
1054         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
1056         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
1057         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
1059         * nis/Makefile (services): Mention nisplus before compat.
1060         * nis/nis_call.c (__do_niscall): Change type of variable server_len
1061         to prevent warning.
1062         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
1063         cast to prevent warning.
1064         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
1065         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
1066         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
1067         type of variable `i' to prevent warning.
1068         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
1069         Likewise.
1070         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
1071         Likewise.
1072         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
1073         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
1074         Likewise.
1076         * sysdeps/generic/Dist: Remove old math implementation files.
1077         * sysdeps/generic/mathimpl.h: Removed.
1078         * sysdeps/generic/trig.h: Removed.
1079         * sysdeps/generic/sincos.c: Removed.
1080         * sysdeps/generic/asincos.c: Removed.
1081         * sysdeps/generic/exp__E.c: Removed.
1082         * sysdeps/generic/log__L.c: Removed.
1084 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1086         * malloc/malloc.c (fREe): Small optimization.  Before returning,
1087         add fast check whether the heap containing top can go away.
1089 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1091         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
1092         failing to allocate a new chunk, also try the main_arena.  It may
1093         be that we are only running out of mmapped regions, and other
1094         arenas cannot be enlarged sufficiently.
1095         (new_heap, malloc_extend_top): Handle top_pad more consistently,
1096         i.e. only in new_heap().
1098 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
1100         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
1101         if cross-compiling.
1103         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
1105         * configure.in: Add ARM support.
1106         * sysdeps/arm/Implies: New file.
1107         * sysdeps/arm/__longjmp.S: New file.
1108         * sysdeps/arm/bsd-_setjmp: New file.
1109         * sysdeps/arm/bsd-setjmp: New file.
1110         * sysdeps/arm/bytesex.h: New file.
1111         * sysdeps/arm/fpu_control.h: New file.
1112         * sysdeps/arm/jmp_buf.h: New file.
1113         * sysdeps/arm/setjmp.h: New file.
1114         * sysdeps/arm/sysdep.h: New file.
1115         * sysdeps/unix/arm/config.h: New file.
1117 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
1119         * sysdeps/libm-ieee754/s_cproj.c: New file.
1120         * sysdeps/libm-ieee754/s_cprojf.c: New file.
1121         * sysdeps/libm-ieee754/s_cprojl.c: New file.
1123 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
1125         * isomac.c: Improve messages.
1127         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
1128         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
1129         s_catanh, s_csqrt, and s_cpow.
1130         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
1131         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
1132         csqrt_test, cpow_test, rint_test.
1133         * math/math.h: Include new header mathbits.h which defines some
1134         more (system dependent) types and some macros.
1135         (isfinite): Use __finite instead of fpclassify.
1136         * sysdeps/generic/mathbits.h: New file.
1137         * sysdeps/i386/fpu/mathbits.h: New file.
1138         * sysdeps/i386/huge_val.h: Don't define INFINITY.
1139         * sysdeps/ieee754/huge_val.h: Likewise.
1140         * sysdeps/m68k/huge_val.h: Likewise.
1142         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
1143         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
1145         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
1146         standard first.
1148         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
1149         * sysdeps/libm-i387/s_finitef.S: Likewise.
1150         * sysdeps/libm-i387/s_finitel.S: Likewise.
1151         Provided by Joe Keane <jgk@jgk.org>.
1153         * sysdeps/libm-i387/s_nearbyint.S: New file.
1154         * sysdeps/libm-i387/s_nearbyintf.S: New file.
1155         * sysdeps/libm-i387/s_nearbyintl.S: New file.
1156         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
1157         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
1158         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
1160         * sysdeps/libm-ieee754/s_cacos.c: New file.
1161         * sysdeps/libm-ieee754/s_cacosf.c: New file.
1162         * sysdeps/libm-ieee754/s_cacosl.c: New file.
1163         * sysdeps/libm-ieee754/s_cacosh.c: New file.
1164         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
1165         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
1166         * sysdeps/libm-ieee754/s_casin.c: New file.
1167         * sysdeps/libm-ieee754/s_casinf.c: New file.
1168         * sysdeps/libm-ieee754/s_casinl.c: New file.
1169         * sysdeps/libm-ieee754/s_casinh.c: New file.
1170         * sysdeps/libm-ieee754/s_casinhf.c: New file.
1171         * sysdeps/libm-ieee754/s_casinhl.c: New file.
1172         * sysdeps/libm-ieee754/s_catan.c: New file.
1173         * sysdeps/libm-ieee754/s_catanf.c: New file.
1174         * sysdeps/libm-ieee754/s_catanl.c: New file.
1175         * sysdeps/libm-ieee754/s_catanh.c: New file.
1176         * sysdeps/libm-ieee754/s_catanhf.c: New file.
1177         * sysdeps/libm-ieee754/s_catanhl.c: New file.
1178         * sysdeps/libm-ieee754/s_ccos.c: New file.
1179         * sysdeps/libm-ieee754/s_ccosf.c: New file.
1180         * sysdeps/libm-ieee754/s_ccosl.c: New file.
1181         * sysdeps/libm-ieee754/s_cpow.c: New file.
1182         * sysdeps/libm-ieee754/s_cpowf.c: New file.
1183         * sysdeps/libm-ieee754/s_cpowl.c: New file.
1184         * sysdeps/libm-ieee754/s_csin.c: New file.
1185         * sysdeps/libm-ieee754/s_csinf.c: New file.
1186         * sysdeps/libm-ieee754/s_csinl.c: New file.
1187         * sysdeps/libm-ieee754/s_csqrt.c: New file.
1188         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
1189         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
1190         * sysdeps/libm-ieee754/s_ctan.c: New file.
1191         * sysdeps/libm-ieee754/s_ctanf.c: New file.
1192         * sysdeps/libm-ieee754/s_ctanl.c: New file.
1193         * sysdeps/libm-ieee754/s_ctanh.c: New file.
1194         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
1195         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
1197         * time/strftime.c (memset_space): Increment pointer.
1198         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
1199         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
1201 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
1203         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
1204         pipe, syscall.
1206 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1208         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
1209         probably still wrong.
1210         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1211         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
1213         * math/libm-test.c (remquo_test): Corrected.
1215 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1217         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
1218         * sysdeps/m68k/fpu/s_rinttol.c: New file.
1219         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
1221         * math/libm-test.c (remquo_test): Use check_long to test the
1222         quotient.
1223         (cbrt_test): Add epsilons for long double.
1225 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1227         * locale/localeinfo.h: Update declaration of _nl_current.
1229 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
1231         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
1233         * math/Makefile (headers): Add fenv.h and fenvbits.h.
1234         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
1235         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
1236         fegetenv, feholdexcpt, fesetenv, feupdateenv.
1237         (libm-calls): Add s_round.
1238         * math/fenv.h: New file.
1239         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
1240         Add roundtol_check and roundtoll_check.
1241         * math/math.h: Pretty printing.
1242         * sysdeps/i386/fpu/fclrexcpt.c: New file.
1243         * sysdeps/i386/fpu/fegetenv.c: New file.
1244         * sysdeps/i386/fpu/fegetround.c: New file.
1245         * sysdeps/i386/fpu/feholdexcpt.c: New file.
1246         * sysdeps/i386/fpu/fenvbits.h: New file.
1247         * sysdeps/i386/fpu/fesetenv.c: New file.
1248         * sysdeps/i386/fpu/fesetround.c: New file.
1249         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
1250         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
1251         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
1252         * sysdeps/i386/fpu/ftestexcept.c: New file.
1253         * sysdeps/stub/fclrexcpt.c: New file.
1254         * sysdeps/stub/fegetenv.c: New file.
1255         * sysdeps/stub/fegetround.c: New file.
1256         * sysdeps/stub/feholdexcpt.c: New file.
1257         * sysdeps/stub/fenvbits.h: New file.
1258         * sysdeps/stub/fesetenv.c: New file.
1259         * sysdeps/stub/fesetround.c: New file.
1260         * sysdeps/stub/fgetexcptflg.c: New file.
1261         * sysdeps/stub/fraiseexcpt.c: New file.
1262         * sysdeps/stub/fsetexcptflg.c: New file.
1263         * sysdeps/stub/ftestexcept.c: New file.
1265         * sysdeps/libm-i387/s_trunc.S: New file.
1266         * sysdeps/libm-i387/s_truncf.S: New file.
1267         * sysdeps/libm-i387/s_truncl.S: New file.
1269         * sysdeps/libm-ieee754/s_round.c: New file.
1270         * sysdeps/libm-ieee754/s_roundf.c: New file.
1271         * sysdeps/libm-ieee754/s_roundl.c: New file.
1273         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
1274         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1275         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1276         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
1277         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1278         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1279         * sysdeps/libm-ieee754/s_clog.c: Likewise.
1280         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
1281         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1282         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
1283         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
1284         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
1286         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
1287         63 bits.
1288         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
1290         * po/pl.po: Updated.
1292         * string/swab.c: Correctly handle array of odd length.
1294         * sysdeps/generic/memmem.c: Update copyright.
1295         * manual/string.texi: Correct prototype in memmem documentation.
1297 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
1299         * hurd/Makefile (sunrpc-headers): Add clnt.h.
1300         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1302 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1304         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
1305         the proper value from the GOT.  Pass argument block to
1306         init function.
1308         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
1309         _init ().
1311         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
1312         wrong the first time.
1314         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
1315         register.
1317         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
1319         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
1320         SYSDEP_CALL_INIT.
1322         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
1323         NSIG and duplicated SIGIOT.
1325 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1327         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
1328         probably still wrong.
1329         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1330         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
1332         * math/libm-test.c (remquo_test): Corrected.
1334 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1336         * Makefile (parent-tests): New target to run the tests to that
1337         they are executed even if some subdir tests have failed.
1338         (tests): Depend on parent-tests instead of running the tests
1339         directly.
1341 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1343         Clean up name space pollution in libnss_*.so:
1344         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
1345         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
1346         memcpy and bcmp by memcmp to clean up namespace.
1347         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
1348         dbopen.
1349         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1350         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
1351         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
1352         the latter a weak alias.
1353         * db/db.h: Declare __dbopen.
1354         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
1355         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
1356         prefix and make the old names weak aliases.
1357         * db/mpool.h: Declare the new internal names.
1359 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1361         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
1362         * stdio-common/tstscanf.c: Add test case for this.
1364 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1366         * math/libm-test.c: Fix more typos.
1368 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1370         * math/libm-test.c (csinh_test): Fix test names.
1371         (ccosh_test): Likewise.
1373         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
1374         computing it directly.
1375         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1376         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1378         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
1379         computing it directly.
1380         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1381         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1383         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
1384         of wrapper.
1385         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1386         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1387         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
1388         special values.  Avoid use of fsincos if all that is needed is the
1389         quadrant.
1391         * sysdeps/m68k/fpu/s_ccosh.c: New file.
1392         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
1393         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
1394         * sysdeps/m68k/fpu/s_csinh.c: New file.
1395         * sysdeps/m68k/fpu/s_csinhl.c: New file.
1396         * sysdeps/m68k/fpu/s_csinhf.c: New file.
1398 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1400         * manual/Makefile (dir-add.texi): Simplify.
1402 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
1404         * rellns-sh: Rewrite to work also in presence of symlinks.
1406         * arpg/argp-fmtstream.c: Add casts to prevent warnings.
1407         * argp/argp-fmtstream.h: Likewise.
1408         * argp/argp-help.c: Likewise.
1410         * elf/dl-minimal.c: Add definition of calloc.
1411         * elf/version.c: Add casts to prevent warnings.
1412         (_dl_check_map_versions): Use calloc instead of malloc+memset.
1414         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
1415         Reported by Greg McGary <gkm@eng.ascend.com>.
1417         * manual/libc.texinfo: Update malloc documentation for new malloc.
1418         * manual/memory.texi: Likewise.
1419         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1421         * math/libm-test.c (check_long): New function.
1422         (check_longlong): New function.
1423         (rinttol_test): New function.
1424         (rinttoll_test): New function.
1426         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
1427         * nis/nss_compat/compat-pwd.c: Likewise.
1428         * nis/nss_compat/compat-spwd.c: Likewise.
1430         * stdlib/erand48_r.c (erand48_r): Build double value using
1431         ieee754_double union and use random bits in different order to
1432         increase effect of seed.
1433         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
1435         * sunrpc/svc_auth.c: Moved to ...
1436         * sysdeps/generic/svc_auth.c: ...here.
1438         * time/time.h: Pretty print.
1440 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1442         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1443         a read-only stream.
1445 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
1447         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
1448         in correct place.
1449         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1451 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
1453         * stdio-common/Makefile (tests): Add tst-ferror.
1454         * stdio-common/tst-ferror.c: New file.  Some tests for error
1455         indicator of streams.
1456         * stdio-common/tst-ferror.input: New file.
1458         * isomac.c: Let tests not fail because the compiler defines itself
1459         symbols which violate the name space rules.  gcc defines symbols
1460         for the architecture which are not protected by an underscore
1461         character.
1463         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
1464         (libm-calls): Add s_clog.
1465         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
1466         logarithm of complex value.
1467         * sysdeps/libm-ieee754/s_clogf.c: New file.
1468         * sysdeps/libm-ieee754/s_clogl.c: New file.
1469         * math/libm-test.c (clog_test): Compile this function.  Fix a few
1470         typos.
1471         (main): Call clog_test.
1473         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
1474         value to long int.
1475         * sysdeps/libm-i387/s_rinttol.S: New file.
1476         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
1477         value to long long int.
1478         * sysdeps/libm-i387/s_rinttoll.S: New file.
1480         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
1481         version was full of errors.
1483         * math/math.h (rinttol): Argument is of type `long double' not
1484         `double'.
1485         (rinttoll): Likewise.
1486         (roundtol): Likewise.
1487         (roundtoll): Likewise.
1489 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
1491         * posix/getopt.c (_getopt_initialize): Preserve optind.
1492         (_getopt_internal): Set optind to 1 if optind == 0 before
1493         calling _getopt_initialize ().
1495 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1497         * nis/rpcsvc/nislib.h: Change const nis_name to new type
1498         const_nis_name.
1499         * nis/nis_intern.c: Likewise.
1500         * nis/nis_intern.h: Likewise.
1501         * nis/nis_server.c: Likewise.
1502         * nis/nis_subr.c: Likewise.
1503         * nis/nis_table.c: Likewise.
1504         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
1505         nis_add().
1507         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
1508         * nis/nss_compat/compat-spwd.c: Likewise.
1510 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1512         * libio/fileops.c (_IO_file_overflow): Set error when try to write
1513         on a read-only stream.
1515         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1516         (ut_time): Define it only if _NO_UT_TIME is not defined.
1518 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
1520         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
1521         if not already defined.
1523 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
1525         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
1526         get definition of sa_family_t for <linux/atalk.h>.
1527         Reported by a sun <asun@zoology.washington.edu>.
1529         * malloc/malloc.c (cALLOc): Little optimization.
1531 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
1533         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
1534         headers but instead add comments and parameter names.
1535         Don't use BSD specific types in prototypes.
1537         * manual/nss.texi: Correct a few typos and errors.
1539         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
1540         algorithm.
1541         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1542         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1544         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
1545         with new algorithm.
1546         * sysdeps/libm-i387/s_cbrtf.S: New file.
1547         * sysdeps/libm-i387/s_cbrtl.S: New file.
1549         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
1550         * sysdeps/libm-i387/s_frexpf.S: Likewise.
1551         * sysdeps/libm-i387/s_frexpl.S: Likewise.
1553 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1555         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
1557         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
1558         DES part only with secure RPC add-on.
1560         * nis/nis_names.c (nis_modify): Fix rpc function number.
1562         * nis/nis_server.c: Fix typos.
1564         * nis/nss_compat/compat-grp.c: Add NIS+ support.
1565         * nis/nss_compat/compat-pwd.c: Likewise.
1566         * nis/nss_compat/compat-spwd.c: Likewise.
1568         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
1569         signals success.
1571         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
1572         secure RPC.
1573         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1574         * nis/ypclnt.c: Likewise.
1575         * nis/nis_intern.h: Likewise.
1577         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
1578         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1579         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1580         * nis/nss_nisplus/nisplus-network.c: Likewise.
1581         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1582         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1583         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1584         * nis/nss_nisplus/nisplus-service.c: Likewise.
1585         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1587         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
1588         and speedup.
1589         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1591 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
1593         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
1594         arguments.
1596 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
1598         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
1599         typo.
1601 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
1603         * sysdeps/libm-ieee754/s_nanf.c:
1604         * sysdeps/libm-ieee754/s_nan.c:
1605         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
1606         declaration of sprintf.
1608 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
1610         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
1611         strong_alias.
1612         Reported by sun <asun@zoology.washington.edu>.
1614         * rpc/auth.h: Removed.
1615         * rpc/auth_des.h: Removed.
1616         * sunrpc/rpc/auth.h: Moved to ...
1617         * sysdeps/generic/rpc/auth.h: ...here.
1618         * sunrpc/rpc/auth_des.h: Moved to ...
1619         * sysdeps/generic/rpc/auth_des.h: ...here.
1621 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
1623         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
1624         * sysdeps/libm-i387/s_frexpf.S: New file.
1625         * sysdeps/libm-i387/s_frexpl.S: New file.
1627 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
1629         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1630         (sysdep_headers): Remove netinet/icmp.h.
1632 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
1634         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
1635         threaded programs.
1636         * manual/stdio.texi: Change wording for snprintf description a bit.
1637         Correct typo in example.
1638         * manual/lang.texi: Add documentation of __va_copy.
1640         * Makefile: Add rule to easily generate dir-add.texi file.
1641         * manual/Makefile: Likewise.
1643         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
1644         Change description of strtoll and strtoull to make clear these
1645         are the preferred names.
1646         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
1647         and friends.
1648         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
1649         HUGE_VALL.
1651 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
1653         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
1654         adjustment if the underlying function say it is too small.
1655         * pwd/fgetpwent.c: Likewise.
1656         * shadow/fgetspent.c: Likewise.
1657         * shadow/sgetspent.c: Likewise.
1659         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
1660         this means there was not enough room for the gr_mem array.
1662         * nss/nss_files/files-XXX.c: Leave loop and return error if
1663         `parse_result' returns -1.
1665         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
1666         of trailing list fails because of low memory.
1667         (parse_list): Rewrite.  The logic was completly incorrect since
1668         the checks for overflowing the array were not executed when
1669         needed.
1671         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1672         signals success.
1674         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1675         * nss/getXXent.c: Likewise.
1677         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
1678         is set in mantissa.
1679         * stdlib/strtof.c: Likewise.
1680         * stdlib/strtold.c: Likewise.
1681         * wcsmbs/wcstof.c: Likewise.
1682         * wcsmbs/wcstold.c: Likewise.
1684         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
1685         string.
1686         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
1687         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
1689 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
1691         * manual/errno.texi: Add description of strerror_r.
1693 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
1695         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1697 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
1699         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1701 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1703         * sysdeps/m68k/fpu/s_cexp.c: New file.
1704         * sysdeps/m68k/fpu/s_cexpf.c: New file.
1705         * sysdeps/m68k/fpu/s_cexpl.c: New file.
1706         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
1707         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
1708         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
1709         * sysdeps/m68k/fpu/s_trunc.c: New file.
1710         * sysdeps/m68k/fpu/s_truncf.c: New file.
1711         * sysdeps/m68k/fpu/s_truncl.c: New file.
1713         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
1714         * sysdeps/m68k/fpu/s_modff.c: Adapted.
1715         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
1717         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
1718         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
1719         typo in test for `y = 0.5'.
1721         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
1722         __nearbyint.  Remove __modf.
1724         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
1725         Define for gcc bug workaround.
1727         * math/libm-test.c (log2_test): Add epsilon for long double to
1728         "log2 (e)" and "log2 (16)".
1729         (modf_test): Fix test name.
1730         (sqrt_test): Add missing FUNC.
1732 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1734         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
1736 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1738         * stdlib/stdlib.h: Declare __clearenv.
1740 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1742         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1743         the last change.
1745 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1747         * configure.in: Call AC_CANONICAL_BUILD before referencing
1748         $build.  Fix test for BUILD_CC.
1750 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
1752         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
1754 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
1756         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
1758 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
1760         * sysdeps/i386/memset.c: Fix typo.
1761         * sysdeps/stub/fchmod.c: Fix typo.
1762         * sysdeps/stub/fchdir.c: Fix typo.
1763         Reported by Fila Kolodny <fila@ibi.com>.
1765 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
1767         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
1768         * math/libm-test.c (initialize): Make strings unique and force
1769         values to memory.
1771         * posix/regex.c: Debug debugging code.
1773         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1774         syntax for local label.
1775         * sysdeps/i386/add_n.S: Use correct local label syntax for the
1776         binary format.
1777         * sysdeps/i386/addmul_1.S: Likewise.
1778         * sysdeps/i386/lshift.S: Likewise.
1779         * sysdeps/i386/memchr.S: Likewise.
1780         * sysdeps/i386/memcmp.S: Likewise.
1781         * sysdeps/i386/mul_1.S: Likewise.
1782         * sysdeps/i386/rshift.S: Likewise.
1783         * sysdeps/i386/stpcpy.S: Likewise.
1784         * sysdeps/i386/stpncpy.S: Likewise.
1785         * sysdeps/i386/strchr.S: Likewise.
1786         * sysdeps/i386/strcspn.S: Likewise.
1787         * sysdeps/i386/strlen.S: Likewise.
1788         * sysdeps/i386/strpbrk.S: Likewise.
1789         * sysdeps/i386/strrchr.S: Likewise.
1790         * sysdeps/i386/strspn.S: Likewise.
1791         * sysdeps/i386/strtok.S: Likewise.
1792         * sysdeps/i386/sub_n.S: Likewise.
1793         * sysdeps/i386/submul_1.S: Likewise.
1794         * sysdeps/i386/i486/strcat.S: Likewise.
1795         * sysdeps/i386/i486/strlen.S: Likewise.
1796         * sysdeps/i386/i586/add_n.S: Likewise.
1797         * sysdeps/i386/i586/addmul_1.S: Likewise.
1798         * sysdeps/i386/i586/lshift.S: Likewise.
1799         * sysdeps/i386/i586/memset.S: Likewise.
1800         * sysdeps/i386/i586/mul_1.S: Likewise.
1801         * sysdeps/i386/i586/rshift.S: Likewise.
1802         * sysdeps/i386/i586/strchr.S: Likewise.
1803         * sysdeps/i386/i586/strlen.S: Likewise.
1804         * sysdeps/i386/i586/sub_n.S: Likewise.
1805         * sysdeps/i386/i586/submul_1.S: Likewise.
1807         * sysdeps/stub/s_log2l.c: Correct function name.
1809         * time/africa: Updated from ADO tzdata1997e.
1810         * time/antarctica: Likewise.
1811         * time/asia: Likewise.
1812         * time/australasia: Likewise.
1813         * time/europe: Likewise.
1814         * time/northamerica: Likewise.
1815         * time/southamerica: Likewise.
1816         * time/private.h: Updated from ADO tzcode1997d.
1817         * time/scheck.c: Likewise.
1819 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
1821         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
1823 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
1825         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
1826         * string/tst-strlen.c: Also test various string alignments.
1828 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
1830         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
1831         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
1833         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
1834         program base address is 0x01800000 if we can't otherwise tell what
1835         it is.
1836         (elf_machine_rela): Replace `assertion failed' with real error
1837         messages.
1839         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
1840         Put in extra parentheses to make explicit the relative precedence
1841         of + and >>.
1843         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
1844         pass.
1845         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
1847         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
1848         instead of .text.
1850 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
1852         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
1853         instead.
1855         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
1856         thread-specific memory in multi-threaded programs.
1858         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
1859         * sysdeps/stub/s_exp2f.c: New file.
1860         * sysdeps/stub/s_exp2l.c: New file.
1861         Reported by a sun <asun@zoology.washington.edu>.
1863         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1864         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1865         Suggested by a sun <asun@zoology.washington.edu>.
1867 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
1869         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1870         of <netinet/icmp.h>.
1871         Patch by a sun <asun@zoology.washington.edu>.
1873 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
1875         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
1876         csqrt_test.
1878 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
1880         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
1882         * math/complex.h: Add C++ protection.
1884         * math/libm-test.c (cexp_test): Correct a few bugs.
1885         (csinh_test): New function.
1886         (ccosh_test): New function.
1887         (cacos_test): New function.
1888         (cacosh_test): New function.
1889         (casinh_test): New function.
1890         (catanh_test): New function.
1891         (main): Add calls to csinh_test and ccosh_test.
1893         * misc/Makefile (tests): Add tst-tsearch.
1894         Add rule to link tst-tsearch against libm.
1895         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
1896         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1897         * misc/tst-tsearch.c: New file.
1899         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1900         before using system.
1901         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1902         before using popen.
1904         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
1905         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1906         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1908         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
1909         of complex exponential function.
1910         * sysdeps/libm-i387/s_cexpf.S: New file.
1911         * sysdeps/libm-i387/s_cexpl.S: New file.
1913         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
1914         complex cosh function.
1915         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
1916         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
1917         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
1918         complex sinh function.
1919         * sysdeps/libm-ieee754/s_csinhf.c: New file.
1920         * sysdeps/libm-ieee754/s_csinhl.c: New file.
1922         * math/carg.c: New file.  Generic implementatio of carg function.
1923         * math/cargf.c: New file.
1924         * math/cargl.c: New file.
1926 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
1928         * sysdeps/posix/system.c: Update copyright.
1930 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
1932         * elf/dl-error.c (_dl_catch_error): Add another argument which is
1933         passed to OPERATE.
1934         (_dl_receive_error): Likewise.
1935         * elf/link.h: Change prototypes for _dl_catch_error and
1936         _dl_receive_error to reflect above change.
1937         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
1938         with additional argument with pointer to data.
1939         * elf/dlclose.c: Likewise.
1940         * elf/dlerror.c: Likewise.
1941         * elf/dlopen.c: Likewise.
1942         * elf/dlsym.c: Likewise.
1943         * elf/dlvsym.c: Likewise.
1944         * elf/rtld.c: Likewise.
1945         * nss/nsswitch.c: Likewise.
1946         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1948 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1950         * elf/dl-error.c: Manually set up the values of "c", this avoids a
1951         call to memcpy and a zero 152 bytes structure.
1953         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
1954         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
1955         pass.
1957         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
1959         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
1960         kernel_sigaction.h
1962         Add Linux/SPARC specific definitions.
1963         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
1964         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
1965         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
1966         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
1967         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
1968         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
1969         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
1971 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
1973         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
1974         __getservbyname_r() not getservbyname().
1975         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
1977 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
1979         * gmon/gmon.c (monstartup): Mark all messages.
1980         (write_call_graph): Rewrite to use larger I/O vector for writev
1981         call to reduce syscall overhead.
1982         (write_bb_counts): Simplify writev handling.
1984         * inet/rexec.c: Make string parameters `const'.
1985         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1986         rresvport.
1988         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
1989         in libm-test.
1990         * math/libm-test.c (this_does_nothing): Remove functions.  It's
1991         notuseful on any platform but ix86.
1992         (inverse_func_pair_test): Don't use this_does_nothing.  Use
1993         memory reference.
1994         (identities1_test): Likewise.
1995         (identities2_test): Likewise.
1996         (identities3_test): Likewise.
1997         (basic_test): Likewise.
1998         Patch by Andreas Schwab.
1999         (BUILD_COMPLEX): New macro.  Create complex number from real and
2000         imaginary parts.  This works around bugs/inefficiencies in current
2001         gcc.
2002         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
2004         * nss/nsswitch.c: Fix typo.
2006         * posix/glob.h: Add declaration for glob_pattern_p.
2007         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2008         make glob_pattern_p a weak alias.  This function is used in other
2009         packages (e.g. bash).
2011         * signal/Makefile (routines): Add sigisempty, sigandset, and
2012         sigorset.
2013         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2014         sigorset.
2015         * signal/sigisempty.c: New file.
2016         * signal/sigandset.c: New file.
2017         * signal/sigorset.c: New file.
2018         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2019         and __sigorset.
2020         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2022         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
2023         determines the bits in the mantissa part of the NaN.
2024         * stdlib/strtof.c: Define SET_MANTISSA for float type.
2025         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
2026         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
2027         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
2029         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
2030         complex number components.  Some more corrects for special cases.
2031         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
2032         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
2034         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
2036         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2037         ip_icmp.h.  Reported by HJ Lu.
2039 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2041         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
2043         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
2044         i386.
2045         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
2046         ELF_MACHINE_RELOC_NOPLT): Define.
2048 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2050         * grp/grp.h: Include <stddef.h> only once.
2052 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2054         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2055         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2057         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2058         TAB3, if one of them is defined.
2060 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2062         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2063         is found.
2064         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2066 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2068         * sunrpc/Makefile: Comment gccwarn out.
2069         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
2070         with enabled warnings.
2071         * sunrpc/auth_unix.c: Likewise.
2072         * sunrpc/authuxprot.c: Likewise.
2073         * sunrpc/bindrsvprt.c: Likewise.
2074         * sunrpc/clnt_gen.c: Likewise.
2075         * sunrpc/clnt_perr.c: Likewise.
2076         * sunrpc/clnt_raw.c: Likewise.
2077         * sunrpc/clnt_simp.c: Likewise.
2078         * sunrpc/clnt_tcp.c: Likewise.
2079         * sunrpc/clnt_udp.c: Likewise.
2080         * sunrpc/get_myaddr.c: Likewise.
2081         * sunrpc/getrpcport.c: Likewise.
2082         * sunrpc/pm_getmaps.c: Likewise.
2083         * sunrpc/pm_getport.c: Likewise.
2084         * sunrpc/pmap_clnt.c: Likewise.
2085         * sunrpc/pmap_prot.c: Likewise.
2086         * sunrpc/pmap_prot2.c: Likewise.
2087         * sunrpc/pmap_rmt.c: Likewise.
2088         * sunrpc/rpc/auth.h: Likewise.
2089         * sunrpc/rpc/clnt.h: Likewise.
2090         * sunrpc/rpc/pmap_clnt.h: Likewise.
2091         * sunrpc/rpc/svc.h: Likewise.
2092         * sunrpc/rpc/svc_auth.h: Likewise.
2093         * sunrpc/rpc/types.h: Likewise.
2094         * sunrpc/rpc/xdr.h: Likewise.
2095         * sunrpc/rpc_clntout.c: Likewise.
2096         * sunrpc/rpc_cmsg.c: Likewise.
2097         * sunrpc/rpc_dtable.c: Likewise.
2098         * sunrpc/rpc_prot.c: Likewise.
2099         * sunrpc/svc.c: Likewise.
2100         * sunrpc/svc_auth.c: Likewise.
2101         * sunrpc/svc_authux.c: Likewise.
2102         * sunrpc/svc_raw.c: Likewise.
2103         * sunrpc/svc_run.c: Likewise.
2104         * sunrpc/svc_simple.c: Likewise.
2105         * sunrpc/svc_tcp.c: Likewise.
2106         * sunrpc/svc_udp.c: Likewise.
2107         * sunrpc/xdr.c: Likewise.
2108         * sunrpc/xdr_array.c: Likewise.
2109         * sunrpc/xdr_mem.c: Likewise.
2110         * sunrpc/xdr_rec.c: Likewise.
2111         * sunrpc/xdr_ref.c: Likewise.
2112         * sunrpc/xdr_stdio.c: Likewise.
2114 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
2116         * math/libm-test.c (log2_test): Compile this function and call it.
2117         (exp2_test): Likewise, but check whether function really exists
2118         before testing.
2120         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
2122 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
2124         Implement exp2 function.
2125         * sysdeps/libm-i387/s_exp2.S: New file.
2126         * sysdeps/libm-i387/s_exp2f.S: New file.
2127         * sysdeps/libm-i387/s_exp2l.S: New file.
2129         Implement log2 function.
2130         * sysdeps/libm-i387/s_log2.S: New file.
2131         * sysdeps/libm-i387/s_log2f.S: New file.
2132         * sysdeps/libm-i387/s_log2l.S: New file.
2133         * sysdeps/libm-ieee754/s_log2.c: New file.
2134         * sysdeps/libm-ieee754/s_log2f.c: New file.
2135         * sysdeps/stub/s_log2.c: New file.  Stub version.
2137 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2139         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2141         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
2142         change to tst-setjmp.c.
2144         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
2145         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
2146         * sysdeps/sparc/dl-machine.h: Likewise.
2148         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
2149         Add missing qs variable.
2150         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
2152 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2154         * gmon/gmon.c: Optimize a bit by using more sets of records to
2155         write in a single writev call.
2157         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
2158         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
2159         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
2160         `const'.
2161         Use __MATHDECLX for isinf and finite.
2163         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2164         clearenv a weak alias.
2166         Implement complex exponential function.
2167         * sysdeps/libm-ieee754/s_cexp.c: New file.
2168         * sysdeps/libm-ieee754/s_cexpf.c: New file.
2169         * sysdeps/libm-ieee754/s_cexpl.c: New file.
2171         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
2172         nan a weak alias.
2173         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
2174         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
2176         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2177         of type clashes.  Add all definitions here.
2179         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2180         to XPG4.2.
2181         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2182         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2184         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2186         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2187         use of kernel types.
2189 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2191         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2192         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2194 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2196         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
2198 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2200         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
2202 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2204         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
2205         * sysdeps/m68k/fpu/s_logb.c: Removed.
2206         * sysdeps/m68k/fpu/s_logbf.c: Removed.
2207         * sysdeps/m68k/fpu/s_logbl.c: Removed.
2209         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
2210         Don't define here.
2211         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
2212         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2213         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
2214         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
2215         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
2216         * sysdeps/m68k/fpu/e_powl.c: Likewise.
2218         * sysdeps/m68k/fpu/s_log2.c: New file.
2219         * sysdeps/m68k/fpu/s_log2f.c: New file.
2220         * sysdeps/m68k/fpu/s_log2l.c: New file.
2221         * sysdeps/m68k/fpu/s_exp2.c: New file.
2222         * sysdeps/m68k/fpu/s_exp2f.c: New file.
2223         * sysdeps/m68k/fpu/s_exp2l.c: New file.
2225 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2227         * Makeconfig (all): Make sure this is always the default goal.
2229 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2231         * math/libm-test.c: Increase epsilon in many places.  Fix many
2232         typos.  Allow optinal argument also for short option.
2234 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2236         * math/Makefile ($(objpfx)$(tests)): Link against libm.
2238 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2240         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
2241         denormalized numbers.
2243         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2244         Don't include <endian.h>.
2246 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2247         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2248         Don't include <endian.h>.
2250 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2252         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2254 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2256         * math/cmathcalls.h: Remove whitespace before function name in use
2257         of __MATHDECL macro, to make it compilable with a traditional
2258         preprocessor.
2260 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2262         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2263         compiler.
2265 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2267         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2268         by 31 positions to get 0/1 result.
2269         Patch by Joe Keane <jgk@jgk.org>.
2271 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2273         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2274         to prevent from ld linking in getopt.o even if there is another
2275         incompatible one.
2277         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2279 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2281         * nis/nis_call.c (__do_niscall): Print message if cold start file
2282         does not exist.
2283         * nis/nis_file.c: Don't print error messages.
2284         * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
2285         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
2286         * nis/rpcsvc/nis.h: Likewise.
2287         * nis/ypclnt.c: Fix prototypes.
2289 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
2291         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
2292         returning.
2293         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2294         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2295         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2297         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
2298         dynamic linker was called implicitly by the kernel.
2299         Reported by Eric Youngdale <eric@andante.jic.com>.
2301         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2302         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
2303         prevent clever optimizations which corrupt the tests.
2305 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
2307         * math/libm-test.c (scalb_test): New function.
2308         (sqrt_test): New function.
2309         (scalbn_test): New function.
2310         (ilogb_test): New function.
2311         (main): Added calls for new test functions.
2312         (ldexp_test): Add another test for ldexp(x,0).
2314 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
2316         * math/libm-test.c (remquo_test): Correct messages so that they
2317         match the tests.
2318         (copysign_test): Likewise.
2320 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
2322         * stdio-common/Makefile (routines): Add printf_size.
2324         * stdio-common/printf.h: Add declarations for printf_size and
2325         printf_size_info.
2327         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
2328         declaration.
2329         (parse_one_spec): Test whether __printf_function_table is not NULL
2330         before using registered handlers and don't test
2331         __printf_arginfo_table.  Update nargs also when handler is
2332         registered.
2334         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
2335         processed in fast loop.
2337         * stdio-common/printf_size: New file.
2339 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
2341         * time/sys/time.h: Make values ITIMER_* also available as macros.
2343         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
2344         __fstat but instead __fxstat directly to avoid dependency on
2345         libc.a when inline failed.
2346         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
2348         * math/Makefile (libm-routines): Add s_remquo.
2349         * sysdeps/libm-i387/s_remquo.S: New file.
2350         * sysdeps/libm-i387/s_remquof.S: New file.
2351         * sysdeps/libm-i387/s_remquol.S: New file.
2352         * sysdeps/libm-ieee754/s_remquo.c: New file.
2353         * sysdeps/libm-ieee754/s_remquof.c: New file.
2354         * sysdeps/libm-ieee754/s_remquol.c: New file.
2356         * math/libm-test.c (remquo_test): New function.
2358         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
2359         correctly.
2361 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
2363         * math/Makefile (libm-calls): Add s_nan.
2364         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
2365         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
2366         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
2368         * math/libm-test.c (basic_tests): Add tests for `nan' function.
2370         * math/libm-test.c (copysign_test): New function.
2371         (main): Call copysign_test.
2373 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
2375         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
2376         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
2377         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
2378         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
2380         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
2381         New functions.  Test these functions.
2382         (main): Call above new functions.
2384 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2386         * Net release 2.0.2.
2388 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2390         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2391         XTABS.
2392         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2393         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2394         of Sun Dec 15 16:33:44 1996.
2395         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2397 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
2399         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
2400         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
2401         consult their values.
2402         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
2403         ELF_MACHINE_RELOC_NOPLT): New macros.
2405         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
2406         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
2407         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
2409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
2410         symbol lookup before checking reloc type except for R_386_RELATIVE.
2411         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
2413         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
2414         per-machine since it supposedly can't happen on i386.
2416         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
2417         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
2418         indirection from REF arg; change callers.
2419         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
2420         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
2421         FLAGS arg altogether.
2422         * elf/dlsym.c: Remove argument of FLAGS parameter.
2423         * elf/dlvsym.c: Likewise.
2424         * elf/link.h: Update decls.
2426 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2428         * Makefile (distribute): Add BUGS.
2430         * sysdeps/generic/machine-gmon.h: Update copyright.
2432         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2433         i386-mcount.
2434         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2435         use regparam mechanism for call of `fixup' call.
2436         * sysdeps/i386/Dist: New file.
2437         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2438         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2439         of gmon definitions.
2441 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2443         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2444         may modify it, use the saved errno everywhere.
2445         * stdlib/tst-strtod.c (main): Likewise.
2447 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2449         * posix/glob.c (glob): Fix completely broken handling of
2450         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2451         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2453 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2455         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2456         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2457         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2458         Reported by Matthis Urlichs.
2460 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2462         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2463         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2464         which clobbers %eax.
2466         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2467         crtbegin.o/crtend.o, using gcc to find them.
2468         (+link): Use them.
2470 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2472         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2473         affect the alignment, and therefore the end padding of the structs.
2474         Reported by David Mosberger <davidm@azstarnet.com>.
2475         * gmon.c: Declare the variables with aligned tags to compensate.
2476         Use __writev instead of write for the I/O.
2478         * misc/sys/uio.h: Declare __writev and __readv.
2479         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2480         * sysdeps/posix/writev.c: Likewise for writev.
2481         * sysdeps/stub/readv.c: Likewise.
2482         * sysdeps/stub/writev.c: Likewise.
2483         * sysdeps/unix/syscalls.list: Likewise.
2484         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2485         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2487         * stdlib/testdiv.c: Exit with error status when we have an error.
2488         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2489         * sysdeps/alpha/ldiv.S: Likewise.
2491         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2493 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
2495         * nis/nis_file.c: Unify error handling.
2497 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2499         * nis/nis_file.c (writeColdStartFile): Fix typo.
2500         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
2501         * nis/nis_free.c (nis_free_servers): Likewise.
2502         * nis/rpcsvc/nislib.h: Likewise.
2504         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
2506 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
2508         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
2510         * sysdeps/unix/sparc/sysdep.h: Update copyright.
2512 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2514         * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
2516         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
2517         it.
2519         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
2520         macro on ELF systems.
2522         * sysdeps/sparc/configure.in: Fix.
2524         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
2526         * sysdeps/sparc/setjmp.S: Fix my bugs.
2528         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
2529         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
2530         as-FLAGS-.so.
2531         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
2532         syscall.
2533         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
2534         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
2535         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
2536         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
2538         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
2539         symbol.
2540         (_dl_lookup_symbol): Test against the symbol being global not
2541         against the symbol being not weak (fixes important problem with
2542         the SPARC linker)
2544         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
2546         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
2547         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
2549 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
2551         * Makeconfig: (rpath-link): Add math/ directory.
2552         (math-objdir): New variable.
2553         (link-extra-lib): Define to special version when
2554         $(common-objpfx)!=$(objpfx) to allow libraries outside
2555         $(common-objpfx) be linked to the application.
2557         * math/Makefile: Add rules to build and run test programs.
2558         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
2559         (check_equal): Correct check for error.
2560         (ceil_test): Fix typo.
2561         (log_test): Fix typo.
2562         (floor_test): Fix typo.
2563         (pow_test): Fix typos.
2564         (log10_test): Allow slight incorrectness for `log10(e)'.
2565         (modf_test): New functions to test `modf' et.al.
2566         (hypot_test): Rewrite test completely.
2567         Patch partly by Andreas Jaeger.
2568         * math/test-double.h (__NO_MATH_INLINES): Define only if not
2569         already defined.
2570         * math/test-float.h: Likewise.
2571         * math/test-logdouble.h: Likewise.
2573         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2574         * setjmp/tst-setjmp.c: Correct and extend test suite.
2575         * sysdeps/i386/__longjmp.S: Update copyright.
2576         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
2577         `__sigsetjmp' in PIC code.
2578         * sysdeps/i386/bsd-setjmp.S: Likewise.
2580         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2581         overflow.
2582         * sysdeps/libm-i387/e_powf.S: Likewise.
2583         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2584         case since expm1(-0) == -0.
2585         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2586         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2587         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2588         access to FP number.
2589         * sysdeps/libm-ieee754/s_modff.c: Likewise.
2590         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2591         code.  It never worked correctly.
2592         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2593         case since tanh(-0) == -0.
2594         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2595         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2597 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
2599         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
2600         `thousands' to support systems with sizeof(wchar_t) !=
2601         sizeof(wint_t).  Blargh.
2603         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
2604         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
2605         appropriate headers.
2607         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
2608         UIO_FASTIOV and set to 8 if not available.
2609         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2610         Patch by HJ Lu.
2612         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2613         "kernel_stat.h".
2614         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2615         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2616         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2618 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
2620         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2622         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2624         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
2626         * sysdeps/unix/sysv/Dist: Add direct.h.
2628         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2630         * Make-dist ($(tardir).tar): Prefer writing temporary file to
2631         $TMPDIR is available.  The default is /tmp.
2633         * sysdeps/generic/ip.h: Move to...
2634         * sysdeps/generic/netinet/ip.h: ...here.
2636         * Makefile (tests): Quote $(CC) argument to isomac program.
2637         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2639         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
2640         is placed in wrong place on the stack.
2641         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
2642         * sysdeps/tst-setjmp.c: Add new test for above problem.
2644         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
2645         * sysdeps/libm-i387/e_powf.S: Likewise.
2646         * sysdeps/libm-i387/e_powl.S: Likewise.
2648 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
2650         * time/offtime.c (__offtime): Change type of `yg' to long int.
2651         Reported by a sun <asun@zoology.washington.edu>.
2653 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
2655         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2656         2.2.0 to prevent version mismatch.
2658 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
2660         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
2661         already defined.
2663 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
2665         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
2666         in ioctls.h.
2668         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
2669         loader first relocates itself.
2670         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
2671         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
2672         jump slot relocation. Prefer relative branches (some PowerPC chips
2673         don't predict absolute branches).
2674         (elf_machine_runtime_setup): Simplify and correct expressions.
2675         (RTLD_START): Fix bug changing _dl_starting_up.
2676         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
2677         strange Linux/PPC padding of initial stack.
2679 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
2681         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
2682         for future expansion.
2683         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
2684         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
2685         can't have a switch statement.
2686         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
2687         static.
2689         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
2690         confusing gcc's idea of the current section.
2691         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
2692         RTLD_START): Likewise.
2694 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
2696         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
2697         elf_machine_runtime_setup): Flush data & instruction caches when
2698         necessary, for 603/604 support. Add better support for large PLTs.
2699         (elf_machine_rela): Remove relocations that wouldn't work if
2700         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
2701         Never target branch relocations at a PLT entry.
2703         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
2704         generating PIC.
2705         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2706         * sysdeps/powerpc/setjmp.S: Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
2710         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2712         * sysdeps/powerpc/elf/start.c: Clean up.
2714         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
2715         setjmp call.
2717         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
2719 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
2721         * Make-dist (srcs): Add $(test-srcs).
2722         * MakeTAGS (all-sources): Likewise.
2723         * Makerules (depfiles, common-mostlyclean): Likewise.
2724         * Rules (tests): Likewise.
2726 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
2728         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2730 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
2732         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2733         protocol=NULL to match any protocol rather than returning an
2734         error.
2736 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
2738         * nss/nss_files/files-service.c (servbyname): Match any protocol
2739         if proto==NULL.
2741 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
2743         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2744         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2745         Proposed by Thomas Bushnell, n/BSG.
2747 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2749         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2750         the buffer for replacement.
2752 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
2754         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2755         sys_lstat and sys_stat.
2757 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2759         Add NIS+ functions
2760         * shlib-versions: Add libnss_nisplus.
2761         * nis/Makefile: Add NIS+ source files.
2762         * nis/nis_call.c: New file.
2763         * nis/nis_clone.c: New file.
2764         * nis/nis_error.c: New file.
2765         * nis/nis_file.c: New file.
2766         * nis/nis_free.c: New file.
2767         * nis/nis_intern.c: New file.
2768         * nis/nis_intern.h: New file.
2769         * nis/nis_local_names.c: New file.
2770         * nis/nis_names.c: New file.
2771         * nis/nis_print.c: New file.
2772         * nis/nis_server.c: New file.
2773         * nis/nis_subr.c: New file.
2774         * nis/nis_table.c: New file.
2775         * nis/nis_xdr.c: New file.
2776         * nis/nss-nisplus.h: New file.
2777         * nis/nss_nisplus/nisplus-alias.c: New file.
2778         * nis/nss_nisplus/nisplus-ethers.c: New file.
2779         * nis/nss_nisplus/nisplus-grp.c: New file.
2780         * nis/nss_nisplus/nisplus-hosts.c: New file.
2781         * nis/nss_nisplus/nisplus-netgrp.c: New file.
2782         * nis/nss_nisplus/nisplus-network.c: New file.
2783         * nis/nss_nisplus/nisplus-proto.c: New file.
2784         * nis/nss_nisplus/nisplus-publickey.c: New file.
2785         * nis/nss_nisplus/nisplus-pwd.c: New file.
2786         * nis/nss_nisplus/nisplus-rpc.c: New file.
2787         * nis/nss_nisplus/nisplus-service.c: New file.
2788         * nis/nss_nisplus/nisplus-spwd.c: New file.
2789         * nis/rpcsvc/nis.h: New file.
2790         * nis/rpcsvc/nis.x: New file.
2791         * nis/rpcsvc/nis_object.x: New file.
2792         * nis/rpcsvc/nis_tags.h: New file.
2793         * nis/rpcsvc/nislib.h: New file.
2795 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2797         * mach/devstream.c (output/write_some): Don't try and write more
2798         than IO_INBAND_MAX in a single call to device_write_inband.
2800 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
2802         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2803         type is SVID.
2804         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2805         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2807         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2808         FLAGS parameter.
2810 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
2812         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
2813         Change msg_iovlen and msg_controllen (in struct msghdr) to
2814         `size_t' to keep in step with kernel.
2816 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
2818         * manual/filesys.texi: Add documentation for scandir and alphasort.
2819         * manual/examples/dir2.c: New example for scandir.
2821         * math/math.c (fpclassify): Correct stupid typos.
2823         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
2824         * math/test/float.c: New file.  Frontend for float tests.
2825         * math/test/double.c: New file.  Frontend for double tests.
2826         * math/test/longdouble.c: New file.  Frontend for long double  tests.
2828         * posix/Makefile (routines): Add bsd-getpgrp.
2829         * posix/bsd-getpgrp.c: New file.
2830         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
2831         calls to __bsd_getpgrp.
2833         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
2835         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
2836         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
2837         * sysdeps/ieee754/huge_val.h: Remove definition of long double
2838         definition.  Make it the same as the double definition.
2840         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2841         * sysdeps/libm-i387/e_acosf.S: Likewise.
2842         * sysdeps/libm-i387/e_acosl.S: Likewise.
2843         * sysdeps/libm-i387/e_asin.S: Likewise.
2844         * sysdeps/libm-i387/e_asinf.S: Likewise.
2845         * sysdeps/libm-i387/e_asinl.S: Likewise.
2846         * sysdeps/libm-i387/e_exp.S: Likewise.
2847         * sysdeps/libm-i387/e_expf.S: Likewise.
2848         * sysdeps/libm-i387/e_expl.S: Likewise.
2849         * sysdeps/libm-i387/s_scalbn.S: Likewise.
2850         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2851         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2853         * sysdeps/libm-i387/e_log.S: Optimize branch code.
2854         * sysdeps/libm-i387/e_logf.S: Likewise.
2855         * sysdeps/libm-i387/e_logl.S: Likewise.
2856         * sysdeps/libm-i387/e_log10.S: Likewise.
2857         * sysdeps/libm-i387/e_log10f.S: Likewise.
2858         * sysdeps/libm-i387/e_log10l.S: Likewise.
2860         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2861         * sysdeps/libm-i387/e_powf.S: Likewise.
2862         * sysdeps/libm-i387/e_powl.S: Likewise.
2864         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2865         argument to -1.0.
2866         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2867         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2869         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2871         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
2872         stack element after fxtract.
2874         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
2875         implementation for atan2 function.
2877         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2878         _SVID_ mode when acos, asin, atan2, log, log10 is called with
2879         argument out of range.
2880         Add new error case for pow(+0,neg).
2882         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
2883         NaN and +-inf.
2884         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
2885         digit in stupid 80 bit formats.
2887         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2888         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2889         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2891         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2892         long double type.
2894         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2895         in SVID mode.
2896         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2897         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2899         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2900         or -0.
2901         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2902         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2904         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2906         * sysdeps/stub/fcntlbits.h: Update copyright.
2907         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2908         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2909         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2910         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2911         * sysdeps/unix/common/fcntlbits.h: Likewise.
2912         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
2913         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2914         and FNDELAY.
2915         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2917         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2918         only reclen bytes.
2920         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2921         and O_NORW.
2922         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2924         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2926         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
2927         struct stat to user-level form.
2928         * sysdeps/unix/sysv/linux/lxstat: New file.
2929         * sysdeps/unix/sysv/linux/xstat: New file.
2930         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2931         kernel.
2932         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2933         to use prescribed types for elements.
2934         (_STAT_VER): Change to value 3.
2935         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2936         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2937         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2939         * time/Makefile: Correct dependencies for test-tz.
2941 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
2943         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
2944         (needed for IPv6 basic sockets API).
2946 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
2948         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2949         kernel header.
2950         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2952 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
2954         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2955         without testing for last_bfp to be NULL.
2956         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2958 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
2960         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
2962 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
2964         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2965         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
2967 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
2969         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2970         functions.  Compare result for correct address type.
2971         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2972         * nss/nss_files/files-hosts.c: Likewise.
2973         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2975 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
2977         * time/strptime.c (recursive): Return rp to caller.
2978         (strptime_internal): First check for long names, then abbreviated
2979         (month & weekday).
2981 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2983         * Makeconfig: Remove useless definitions of ASFLAGS-%.
2984         * config.make.in (ASFLAGS-.so): Remove.
2985         * configure.in: Don't substitute ASFLAGS_SO.
2986         * sysdeps/sparc/configure.in: Remove file.
2987         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
2989 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2991         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2992         1900 from year, regardless of century.
2994 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
2996         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2997         all numbers unsigned to make buggy gccs happy.
2998         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3000         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3001         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3002         Pretty print header.
3004         * Makerules (build-shlib): Also create symlink if library is versioned.
3005         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3006         Remove special rule to libc.so symlink.
3008 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
3010         * manual/math.texi (Domain and Range Errors): Change descriptions
3011         according to recent changes for ISO C 9X.
3013 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3015         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3016         return values for acos, asin, and atan2.
3017         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3019 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3021         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3023 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3025         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3026         to pointers to directory entries so that alphasort really can be
3027         used as argument for scandir.
3029 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3031         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3032         instead of strcpy.
3034 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3036         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3037         catalogs, not only if the envvar NLSPATH is not available.
3038         Reported by Andries.Brouwer@cwi.nl.
3040 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3042         * Makeconfig (localtime-file): Don't define using installation
3043         directory.
3044         (inst_localtime-file): New variable.
3045         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3046         Reported by Edward Seidl <seidl@janed.com>.
3048 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3050         * time/Makefile: Add source files to dependencies for test data.
3052 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3054         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3055         * nis/nss_nis/nis-proto.c: Likewise.
3056         * nis/nss_nis/nis-rpc.c: Likewise.
3057         * nis/nss_nis/nis-service.c: Likewise.
3059 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3061         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
3062         versioning;  Added missing R_SPARC_WDISP30 handling.
3063         (RTLD_START): Implement it.
3065         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
3067         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
3068         Linux/SPARC.
3070 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3072         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
3073         the dynamic linker instead of having a new conditional define.
3074         Thanks to Richard Henderson for pointing this out.
3075         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
3077 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3079         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3080         euidaccess weak alias.
3082 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3084         * stdio-common/printf_fphex.c (MIN): New macro.
3086         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3088         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3090         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
3091         API.  (See change by Philip Blundell on Feb 16, 1997.)
3093 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3095         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3097         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3098         __file_name_split.
3100         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3101         * mach/errstring.c (mach_error_string_int): Likewise.
3102         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3103         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3104         * stdio/vasprintf.c (vasprintf): Likewise.
3106         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3108         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3109         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3110         swtch_pri.
3112         * mach/mach_init.c: Include <mach/mig_support.h>.
3114         * mach/mach_error.h (mach_error_string, mach_error,
3115         mach_error_type): Always provide prototypes.
3117         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3118         appears to be entirely unused dead code.
3120 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3122         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3123         [!__const] (__const): New macro.
3124         [!__error_t_defined] (error_t): New typedef.
3126 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3128         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
3129         -fPIC.
3130         * Makerules (compile.S): Use ASFLAGS-%.
3131         (COMPILE.S): Likewise.
3132         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
3133         * configure.in: Substitute ASFLAGS_SO.
3134         * sysdeps/sparc/configure.in: New file.
3136         * posix/unistd.h: Add prototype for __euidaccess.
3137         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3138         euidaccess weak alias.
3139         * sysdeps/stub/euidaccess.c: Likewise.
3140         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3142         * locale/setlocale.c (setlocale): Don't set usage_count to
3143         MAX_USAGE_COUNT if it already has this value.
3145         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3146         binary locale files.  Use LOCALEDIR only.
3147         * locale/programs/locfile.c: When named file not found and not
3148         absolute use path in I18NPATH.
3150         * stdlib/Makefile (headers): Add inttypes.h.
3151         * sysdeps/wordsize-32/inttypes.h: New file.
3152         * sysdeps/wordsize-64/inttypes.h: New file.
3154         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3155         and AF_FILE as synonym for AF_LOCAL.
3156         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3158         * time/Makefile: Rewrite rules for test to handle parallel builds.
3160 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3162         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3163         robbe@orcus.priv.at.
3165 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3167         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3168         8-byte boundary.
3170 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3172         * elf/link.h: Define __need_NULL to get definition.  Include
3173         <features.h>.
3174         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3176 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3178         Rewrite NIS code to allow empty keys.
3179         * nis/nss_nis/nis-ethers.c: Rewritten.
3180         * nis/nss_nis/nis-proto.c: Rewritten.
3181         * nis/nss_nis/nis-publickey.c: Rewritten.
3182         * nis/nss_nis/nis-rpc.c: Rewritten.
3183         * nis/nss_nis/nis-service.c: Rewritten.
3185 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3187         * time/scheck.c (scheck): Add extra const to second argument.
3189         * time/private.h: Correct prototypes to match definition.
3191 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
3193         * sysdeps/alpha/__math.h: Remove cabs inline definition.
3194         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3196 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3198         * argp/Makefile (routines): Add argp-eexst.
3199         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
3200         * argp/argp-eexst.c: New file.  Define exit status variable.
3201         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
3202         variable instead of always exiting with value 1.
3203         * argp/argp-pv.c (argp_program_version): Make `const'.
3204         * argp/argp.h: Declare argp_err_exit_status.
3205         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
3207         * locale/programs/localedef.c: Use argp_err_exit_status to
3208         terminate with correct value.
3210         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3211         switching of UID before opening .rhosts.
3213         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
3214         proposal.  The return value now is always the number of characters
3215         which would be written if enough space is available.
3216         * manual/stdio.texi: Update description for new behaviour.
3218         * locale/locale.h (__locale_t): Don't use __locale_t for struct
3219         name and pointer to struct since old gccs cannot keep the namespaces
3220         apart.  Rename struct to __locale_struct.
3221         * locale/duplocale.h: Likewise.
3222         * locale/newlocale.h: Likewise.
3224         * math/Makefile (headers): Add complex.h and cmathcalls.h.
3225         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
3226         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
3227         after use.
3228         (signgam): Move declaration to here from mathcalls.h.
3229         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
3230         Correct comment for fmin and fmax.
3231         Start implementing complex math function from ISO C 9X.
3232         * math/complex.h: New file.
3233         * math/cmathcalls.h: New file.
3234         * math/cabs.c: New file.
3235         * math/cabsf.c: New file.
3236         * math/cabsl.c: New file.
3237         * math/cimag.c: New file.
3238         * math/cimagf.c: New file.
3239         * math/cimagl.c: New file.
3240         * math/conj.c: New file.
3241         * math/conjf.c: New file.
3242         * math/conjl.c: New file.
3243         * math/creal.c: New file.
3244         * math/crealf.c: New file.
3245         * math/creall.c: New file.
3246         * sysdeps/libm-ieee754/w_cabs.c: Removed.
3247         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
3248         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
3250         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3251         version in GNU awk.
3252         * posix/regex.h: Likewise.
3254         Add regex test suite by Tom Lord.
3255         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3256         (tests): Add runtests.
3257         (before-compile): Add testcases.h.
3258         (testcases.h): New rule to generate header with tests.
3259         * posix/TESTS: New file.
3260         * posix/TESTS2C.sed.: New file.
3261         * posix/runtests.c: New file.
3262         * posix/testcases.h: New file.
3264         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
3265         available and use fall-back implementation if not.
3267         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
3269         * time/ialloc.c: Update from tzcode1997c.
3270         * time/private.h: Likewise.
3271         * time/scheck.c: Likewise.
3272         * time/tzselect.ksh: Likewise.
3273         * time/zdump.c: Likewise.
3274         * time/zic.c: Likewise.
3276         * time/tzfile.c: Pretty print.
3278 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
3280         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
3281         on a 601.
3283         * sysdeps/powerpc/Implies: Added.
3284         * sysdeps/powerpc/__longjmp.S: Added.
3285         * sysdeps/powerpc/__math.h: Added.
3286         * sysdeps/powerpc/bsd-_setjmp.S: Added.
3287         * sysdeps/powerpc/bsd-setjmp.S: Added.
3288         * sysdeps/powerpc/dl-machine.h: Added.
3289         * sysdeps/powerpc/ffs.c: Added.
3290         * sysdeps/powerpc/fpu_control.h: Added.
3291         * sysdeps/powerpc/jmp_buf.h: Added.
3292         * sysdeps/powerpc/setjmp.S: Added.
3293         * sysdeps/powerpc/strlen.S: Added.
3294         * sysdeps/powerpc/elf/start.c: Added.
3295         * sysdeps/powerpc/fpu_control.h: Added.
3296         * sysdeps/powerpc/jmp_buf.h: Added.
3298         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
3299         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
3300         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
3301         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
3302         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
3303         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
3304         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
3305         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
3306         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
3307         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
3308         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
3309         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
3310         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
3311         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
3313 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
3315         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
3316         because knowing the first instruction of a PowerPC PLT trampoline
3317         is not very helpful.
3319 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
3321         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
3322         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
3323         a preference as to where executables should be loaded.
3325 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
3327         * elf/elf.h: Add in all those PowerPC reloc types.
3329 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3331         * stdio-common/vfscanf.c: Use __va_copy if available.
3333 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3335         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3336         clean up namespace.
3338 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
3340         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
3341         non-existing GET_WORDS macro, use EXTRACT_WORDS.
3342         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3344 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3346         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3347         kernel-level sigaction structure is different.  handle this
3348         correctly.
3349         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
3351 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3353         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3354         recognize cache entries with flag == 3.
3356 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
3358         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
3359         (INADDR_LOOPBACK): Likewise.
3360         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3362         * manual/socket.texi: Correct types of INADDR_* constants from
3363         unsigned long to unsigned.
3365 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3367         * time/antarctica: Update from tzdata1997c.
3368         * time/asia: Likewise.
3369         * time/zone.tab: Likewise.
3371 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3373         * configure.in (libc_cv_asm_symver_directive,
3374         libc_cv_ld_version_script_option): Remove unknown instruction from
3375         assembler test file.
3377 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3379         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
3380         __USE_ISOC9X.
3381         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
3382         (fabs): Remove defininition, it is a gcc builtin.
3383         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3385 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
3387         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
3388         generating file.
3390 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3392         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3393         instead to avoid namespace problems.
3394         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3396 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3398         * login/utmp_file.c: Fix previous change.  Make portable by
3399         checking the _HAVE_UT_* feature macros.
3401 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3403         * Makerules: Add rules to handle versioning.
3404         * config.h.in (DO_VERSIONING): New macro.
3405         * config.make.in (versioning): New variable.
3406         * configure.in: Add checks for .symver directive in gas and
3407         --version-script option to ld.  Define DO_VERSIONING and
3408         versioning if appropriate.
3410         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
3411         s_fmin, and s_fdim.
3412         * math/math.h: Define ISO C 9X constants, macros and functions.
3413         * math/mathcalls.h: Likewise.
3414         * sysdeps/libm-ieee754/s_fdim.c: New file.
3415         * sysdeps/libm-ieee754/s_fdimf.c: New file.
3416         * sysdeps/libm-ieee754/s_fdiml.c: New file.
3417         * sysdeps/libm-ieee754/s_fmax.c: New file.
3418         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
3419         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
3420         * sysdeps/libm-ieee754/s_fmin.c: New file.
3421         * sysdeps/libm-ieee754/s_fminf.c: New file.
3422         * sysdeps/libm-ieee754/s_fminl.c: New file.
3423         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
3424         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
3425         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
3426         * sysdeps/libm-ieee754/s_signbit.c: New file.
3427         * sysdeps/libm-ieee754/s_signbitf.c: New file.
3428         * sysdeps/libm-ieee754/s_signbitl.c: New file.
3430         * stdio-common/printf_fphex.c: Correct printing of decimal point
3431         character.
3432         Simplify conversion of mantissa to string.
3433         * stdio-common/vfscanf.c: Handle %A format.
3434         Optimize termination of floating-point scanning.
3435         * stdio-common/tstscanf.c (main): Add new test to scanf to test
3436         scanning float values with given width.
3437         * stdlib/strtod.c: Add handling of floating-point numbers in
3438         hexadecimal notation.
3440         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
3441         functions.
3442         Pretty print #if directives.
3443         * string/string.h: Pretty print #if directives.
3445         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
3446         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
3447         * sysdeps/ieee754/mpn2dbl.c: Likewise.
3448         * sysdeps/ieee754/mpn2flt.c: Likewise.
3449         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
3451         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3452         falling back to select-based implementation if syscall isn't
3453         available.
3454         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3456         * time/leapseconds: Update from tzdata1997b.
3457         * time/zic.c: Update from tzcode1997b.
3459 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3461         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3462         depedencies between installed $(tzlinks) and $(tzbases) files.
3464 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3466         * math/math.h: Make compatible with traditional preprocessor;
3467         requires carefull placement of whitespace in macro arguments.
3468         Use __CONCAT instead of ##.
3469         Declare long double functions only if __STDC__ or __GNUC__.
3470         * math/mathcall.h: Avoid whitespace before argument of macro call
3471         that is used as function name.
3473         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3474         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3475         of __NO_M81_MATH_INLINES.
3476         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3477         starting with __ieee754.
3478         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3479         functions as inlines.
3480         (__m81_defun): Put __attribute__ between return type and function
3481         name.
3482         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3483         is defined.
3484         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3485         instead of __NO_M81_MATH_INLINES.
3486         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3487         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3488         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3489         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3490         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3491         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3492         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3493         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3494         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3495         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3497 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3499         * Makefile (tests): Cope with $PATH not including the current
3500         directory.
3502 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3504         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
3505         $(common-objdir-compile).
3506         ($(common-objpfx)make-ioctls): Likewise.
3507         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
3508         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
3509         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
3510         Likewise.
3511         ($(common-objpfx)sys/syscall.h): Likewise.
3512         ($(common-objpfx)local_lim.h): Let make deal with command
3513         failure.
3514         ($(common-objpfx)param.h.dep): Use temporary file and update
3515         target atomically.
3516         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
3517         (include $(common-objpfx)param.h.dep): Ignore error.
3519         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
3520         $(common-objdir-compile).
3521         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
3522         $(shell pwd) instead of $$cwd.
3524         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
3525         $(common-objdir-compile).
3526         ($(objpfx)make_siglist): Use $(native-compile).
3527         (make_siglist-CFLAGS): New variable.
3529         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
3530         the old name for the user to pass additional flags to the host
3531         compiler.  Fix reference to config header.
3532         (native-compile, common-objdir-compile): Rewritten to make more
3533         generally usable.
3534         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
3535         instead of BUILD_CFLAGS.
3537         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
3538         defined.
3540 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3542         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
3543         New rules to generate dependencies for the RPC service objects.
3545 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3547         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
3548         supplied.
3550 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
3552         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3553         so that clearing second word is necessary.
3555         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3556         header since it is wrong for 64 bit systems.
3557         Patch by a sun <asun@zoology.washington.edu>.
3559 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
3561         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3562         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
3563         for the benefit of running foreign binaries.
3565 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
3567         * login/utmp_file.c (pututline_file): Correctly decide whether
3568         LAST_ENTRY matches DATA.
3569         Don't depend on ut_id ever being set.
3570         (proc_utmp_eq): New function.
3571         (internal_getut_r): Renamed from internal_getutid_r.
3572         Use proc_utmp_eq.
3574         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
3576 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
3578         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
3580 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
3582         * manual/Makefile: Add rules to run and distribute xtract-typefun.
3583         * manual/xtract-typefun.awk: New file.  Script to extract function,
3584         variable, macro anchor to put into the `dir' file.
3585         * manual/signal.texi: Document difference between SysV and BSD
3586         signal(3) function and add documentation for sysv_signal.
3588         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3589         exponent before comparing.
3591 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
3593         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3594         prototypes to use types with explicit width.  `unsigned long' is
3595         different on 64 bit systems.
3596         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3597         * sysdeps/generic/htonl.c: Likewise.
3598         * sysdeps/generic/htons.c: Likewise.
3599         * sysdeps/generic/ntohl.c: Likewise.
3600         * sysdeps/generic/ntohs.c: Likewise.
3601         Suggested by a sun <asun@zoology.washington.edu>.
3603 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
3605         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3606         defined and we want optimization.
3608 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3610         * misc/getpass.c: Don't disable canonical input.
3611         Reverted patch of Mon Jan  6 01:35:29 1997.
3613 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3615         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3616         match the hidden __in_chrg parameter of the destructor.
3617         (_IO_FINISH): Pass zero for it.
3618         * libio/genops.c (_IO_default_finish): Add second parameter, which
3619         is ignored.
3620         * libio/memstream.c (_IO_mem_finish): Likewise.
3621         * libio/fileops.c (_IO_file_finish): Likewise.
3622         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
3624 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
3626         * time/Makefile: Avoid using patterns in dependencies.
3628 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3630         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
3631         SPARC will convert the call _dl_start into a call into the PLT.
3633         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
3634         of arg to make it point to the actual values.
3636         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
3637         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
3639         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
3640         them PIC aware.
3642         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
3643         Implemented.
3644         (elf_machine_rela): Make it compile; fix existing relocation
3645         types; add unhandled relocation types.
3646         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
3647         (RTLD_START): Initial implementation, not yet finished.
3649         * sysdeps/sparc/elf/start.S: Fix.
3651         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
3652         __setfpucw.
3654         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
3655         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
3656         sysdeps/sparc/urem.S : Regenerated.
3658         * sysdeps/sparc/setjmp.S: Make it PIC aware.
3660         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
3661         __ASSEMBLY__ before using kernel header.
3663         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
3664         rtld.c.
3666         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
3667         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
3668         to handle old signals.
3669         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
3670         for all Linux/SPARC kernels.
3671         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
3672         errno using __errno_location.
3673         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
3674         macros for assembler sources.
3675         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
3677 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3679         * elf/rtld.c (dl_main): Remove dead code that is never executed.
3680         Rename local variable l to main_map where it is used to point to
3681         the load_map for the executable.
3683 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3685         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
3686         could not be found.
3688 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3690         * Makerules: Generate implicit object suffix rules automagically.
3691         (o-iterator): Move before first use.
3693         * Makeconfig (all-object-suffixes): Add .bo suffix.
3695 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3697         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3698         word on stack for overflow.
3700 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3702         * malloc/malloc.c (malloc_get_state): New function.
3703         Saves global malloc state to an opaque data structure which
3704         is dynamically allocated in the heap.
3705         * malloc/malloc.c (malloc_set_state): New function.
3706         Restore previously obtained state.
3707         * malloc/malloc.h: Add declaration of malloc_get_state()
3708         and malloc_set_state().
3710 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
3712         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3713         position.
3715 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3717         * misc/error.c: Make error and error_at_line weak aliases of
3718         __error and __error_at_line respectively.
3719         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3721         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
3723 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3725         * elf/ldd.bash.in: Run the program directly, not as argument
3726         to the dynamic linker, if it contains an interpreter segment.
3727         * elf/ldd.sh.in: Likewise.
3729         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
3730         object contains an interpreter segment and exit with 2 if not.
3732 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3734         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
3735         and xlocale.h.  Make-dist adds them automagically.
3737 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3739         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3740         time-era-num-entries.
3742 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3744         * rellns-sh: No need to check for existance of first parameter.
3746 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3748         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3749         to avoid duplicate mail.
3751 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
3753         * Makefile (distribute): Add isomac.c.
3754         (tests): Run isomac test.
3756         * features.h (__USE_ISOC9X): New macro.
3758         * catgets/catgets.c: Don't use global variable `optind'.  Instead
3759         use result computed by argp_parse.
3760         * db/makedb: Likewise.
3761         * locale/programs/locale.c: Likewise.
3762         * locale/programs/localedef.c: Likewise.
3764         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
3766         * libio/clearerr.c: Remove clearerr_locked alias.
3767         * libio/feof.c: Remove feof_locked alias.
3768         * libio/ferror.c: Remove feof_locked alias.
3769         * libio/fileno.c: Remove fileno_locked alias.
3770         * libio/fputc.c: Remove fputc_locked alias.
3771         * libio/getc.c: Remove getc_locked alias.
3772         * libio/getchar.c: Remove getchar_locked alias.
3773         * libio/iofflush.c: Remove fflush_locked alias.
3774         * libio/putc.c: Remove putc_locked alias.
3775         * libio/putc.c: Remove putchar_locked alias.
3777         * stdio-common/printf_fp.c: When number is inifinity print INF
3778         or inf depending on case of specifier.  Same for NaN where NAN
3779         or nan is printed.  Specified in ISO C 9X.
3781         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
3782         * stdio/stdio.h: Add __restrict to prototypes where necessary.
3783         * libio/stdio.h: Likewise.
3784         * stdlib/stdlib.h: Likewise.
3785         * string/string.h: Likewise.
3786         * time/time.h: Likewise.
3787         * wcsmbs/wchar.h: Likewise.
3789         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
3790         NAN(...).
3792         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
3793         of HUGE_VALf and HUGE_VALL.
3794         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
3795         instead of HUGE_VALf.
3796         * wcsmbs/wcstof.c: Likewise.
3797         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
3798         instead of HUGE_VALl.
3799         * wcsmbs/wcstold.c: Likewise.
3801         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
3802         avoid warning.
3804         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
3805         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
3806         * wcsmbs/wcscasecmp.c: New file.
3807         * wcsmbs/wcsncase.c: New file.
3809         * stdlib/strtol.c: Define wide character quad word functions as
3810         wcstoll and wcstoull and normal versions as strtoll and strtoull.
3811         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
3812         * wcsmbs/wcstoq: Renamed to wcstoll.c.
3813         * wcsmbs/wcstouq: Renamed to wcstoull.c.
3814         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
3815         alias of wcstoll.
3816         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
3817         alias of wcstoull.
3818         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
3819         wcstoll and wcstoull respectively.
3820         * stdlib/strtoq.c: Rename to strtoll.c.
3821         * stdlib/strtouq.c: Rename to strtoull.c.
3822         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
3823         alias of strtoll.
3824         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
3825         alias of strtoull.
3826         * stdlib/Makefile (routines): Replace strtoq and strtouq by
3827         strtoll and strtoull respectively.
3828         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
3829         __strtouq_internal but instead __strtoll_internal and
3830         __strtoull_internal respectively.
3831         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
3832         (strtouq): Similar with __internal_strtoull.
3833         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
3834         (wcstouq): Similar with __internal_wcstoull.
3836 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3838         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3839         sign in the strtouXX functions.  The results gets simply negated.
3840         * stdio-common/tstscanf.c: Add testcase for above case.
3841         * stdlib/tst-strtol.c: Correct tests.
3843         * manual/stdio-fp.c: New file.  Generate output for example program
3844         in stdio.texi.
3846         * stdio-common/Makefile (routines): Add printf_fphex.
3847         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
3848         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
3849         specifier.
3851 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
3853         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
3854         __STRICT_ANSI__.
3856         * math/math.h: Prevent definition of struct exception when using
3857         C++.  Use __exception instead.
3859 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
3861         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3862         Reported by Greg McGary.
3864 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3866         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3867         than file_get_translator.
3869         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3870         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3872 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3874         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3875         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3877 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3879         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3880         but ADDR also == 0.
3882         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3883         now instead of a weak extern, as some old programs expect it to be
3884         defined by ld.so.
3886 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3888         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3890         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3891         __hurd_threadvar_stack_offset): Restore initialized versions, so
3892         startup works correctly.
3894         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3896 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3898         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3899         not __mutex_try_lock.
3900         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3901         (tsd_getspecific): Case variable to (void *) before returning.
3903         * hurd/hurdinit.c (__libc_argv): Remove extern.
3904         (__libc_argc): New variable.
3906 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3908         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3909         _HURD_THREADVAR_MALLOC.
3910         * malloc/thread-m.h
3911         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3912         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3913         __mutex_*.
3914         (mutex_t): Type removed & replaced by new macro.
3915         (tsd_key_t): Typedef to int instead of pthread_key_t.
3916         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3917         (__pthread_initialize): New macro, work around assumption of pthreads.
3918         (tsd_keys_alloced): New static variable.
3919         <hurd/threadvar.h>: New include.
3921         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3922         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3923         defined before using it.
3925         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3926         Make extern.
3927         * hurd/hurdinit.c (__libc_argv): Make extern.
3929         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3930         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3932         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3933         __hurd_threadvar_stack_offset,
3934         __hurd_threadvar_stack_mask): New variables.
3935         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3936         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3937         New variables (moved here from hurdstartup.c).
3938         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3939         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3940         Variables removed (moved to hurdsig.c).
3941         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3942         __hurd_threadvar_stack_mask): Variables removed.
3943         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3944         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3945         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3946         __hurd_threadvar_stack_mask): Variables removed.
3948 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3950         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3951         Declare extern.
3953         * malloc/thread-m.h
3954         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3955         (mutex_t): Type removed.
3956         (mutex_t): New macro.
3957         (mutex_trylock): New macro.
3958         (__x_mutex_lock, __x_mutex_unlock): New functions.
3959         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3960         the cthread definitions.
3961         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3962         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3963         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3964         (__pthread_initialize): New macro, work around assumption of pthreads.
3966 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3968         * locale/weight.h (collate_rules): It's an u_int32_t array.
3969         (get_weight): Compute initial SLOT value correctly.
3971 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
3973         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
3974         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
3975         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3976         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3977         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3978         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3979         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3980         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3981         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3982         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3983         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3984         * sysdeps/unix/sysv/linux/send.S: Likewise.
3985         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3986         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3987         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3988         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3989         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3991 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
3993         * catgets/gencat.c: Change to use argp.
3994         * db/makedb: Likewise.
3995         * locale/programs/localedef.c: Likewise.
3997         * locale/programs/locale.c: Little adjustment for better usage of
3998         argp.
4000 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
4002         * Makeconfig: Add rules for libc with bounded pointers.
4003         * Makerules: Likewise.
4004         * config.make.in: Likewise.
4005         * configure.in: Likewise.
4007 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
4009         * argp.h (OPTION_NO_USAGE): New macro.
4010         * argp-help.c (usage_long_opt, usage_argful_short_opt,
4011         add_argless_short_opt): Implement OPTION_NO_USAGE.
4013 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4015         * malloc/obstack.h: Fix typo.
4017 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
4019         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
4020         where NEXTLINE points one past the end of the active buffer.
4022         * argp-help.c <stddef.h>: New include.
4023         (__argp_failure): Only exit if STATE says it's ok.
4024         (print_header, hol_entry_help): Use UPARAMS fields rather than
4025         constants.
4026         (_help): Call fill_in_uparams if necessary.
4027         (struct hol_help_state): New type.
4028         (struct pentry_state): Add hhstate field.  Remove prev_entry &
4029         sep_groups fields.
4030         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
4031         sep_groups parameters.
4032         Suppress duplicate arguments if requested, and note the fact.
4033         (print_header, comma): Use PEST->hhstate fields.
4034         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
4035         Remove LAST_ENTRY & SEP_GROUPS variables.
4036         If any suplicate arguments were suppressed, print explanatory note.
4037         (filter_doc): Replace PEST parameter with STATE.
4038         (struct uparams): New type.
4039         (uparams): New variable.
4040         (struct uparam_name): New type.
4041         (uparam_names): New variable.
4042         (fill_in_uparams): New function.
4043         (__argp_failure, __argp_error, __argp_state_help): Make STATE
4044         parameter const.
4045         * argp.h (argp_state_help, __argp_state_help, argp_usage,
4046         __argp_usage, argp_error, __argp_error, argp_failure,
4047         __argp_failure): Make STATE parameter const.
4048         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
4050         * argp.h (argp_program_bug_address): Make const.
4052 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
4054         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
4056 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
4058         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
4060 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4062         * stdio-common/test-fseek.c: Remove temporary file, add
4063         copyright.
4065 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
4067         * sysdeps/generic/netinet/in.h: Protect contents using
4068         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
4070         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
4071         * inet/Makefile (headers): Remove net/ethernet.h.
4072         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
4073         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
4075 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4077         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
4078         searching in sorted array.
4080 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
4082         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
4083         and protect modification of global data.
4085 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
4087         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
4088         (parser_init): Use the basename for PARSER->state.name.
4089         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
4090         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
4092         * argp-parse.c (parser_init): Set PARSER->state.flags.
4093         Make check whether PARSER has the prog name in argv[0] at the
4094         proper place.
4096 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
4098         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
4099         Use default value instead of printing a warning.
4101         * nss/XXX-lookup.c: Add missing explanation.
4103 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
4105         * inet/in6_addr.c: Add missing braces.
4107         * inet/getnameinfo.c: Include <arpa/inet.h>.
4109         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
4111 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
4113         * string/strxfrm.c (STRCOLL): Correct handling of `position'
4114         levels with no non-IGNOREd element and handling of NUL byte.
4115         * string/strcoll.c (STRXFRM): Likewise.
4116         * locale/weight.h: Likewise.
4118         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
4120 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
4122         * argp/argp-help.c: Add support for user provided filter of help
4123         messages.
4124         * argp/argp-parse.c: Likewise.
4125         * argp/argp.h: Likewise.
4126         * argp/argp-namefrob.h: Define __argp_input.
4128         * argp/argp-test.c: Add example for filter.
4130 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
4132         * argp.h: New file.
4133         * locale/programs/locale.c: Switch to use argp.
4135         * errno.h: Make it possible to get definition of error_t even
4136         after having errno.h already.
4138         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
4139         from dl-lookup.c.
4140         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
4142         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
4143         * elf/dl-version.c: Likewise.
4145         * elf/dl-lookup.c: Implement new versioning lookup scheme.
4146         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
4147         in l_versions member.
4149         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
4150         and _dl_lookup_versioned_symbol.
4152         * elf/link.h: Rename hash_name_pair to struct r_found_version.
4153         * sysdeps/alpha/dl-machine.h: Likewise.
4154         * sysdeps/i386/dl-machine.h: Likewise.
4155         * sysdeps/m68k/dl-machine.h: Likewise.
4156         * sysdeps/mips/dl-machine.h: Likewise.
4158         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
4159         length of abs_filename.
4161         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
4163         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
4164         in mon_grouping information.  This means no more grouping.
4165         * locale/programs/ld-numeric.c (numeric_add): Write value \377
4166         when seein value 0 in grouping information.
4167         * locale/programs/linereader.c (lr_close): Don't free fname since
4168         it might be used in error messages.
4170         * locale/programs/locale.c: Check whether output of `locale -a'
4171         really is locale directory.  Also print locale aliases.
4173         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
4174         be const.
4176 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
4178         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
4179         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
4181 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
4183         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
4185 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
4187         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
4188         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
4190         * sysdeps/stub/msync.c (msync): Add missing third parameter.
4192 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
4194         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
4195         additional argument.
4197 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
4199         * inet/net/ethernet.h: New file.
4200         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
4201         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
4202         Contributed by a sun <asun@zoology.washington.edu>.
4204         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
4205         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
4206         Reported by a sun <asun@zoology.washington.edu>.
4208 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4210         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
4211         makefiles which may change the distinfo variables.
4213 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4216         [$(subdir)=misc]: Add sys/quota.h.
4217         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
4219 1997-02-17 13:12  aleph1@dfw.net
4221         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
4222         strncpy.
4224 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
4226         * stdio-common/bug10.c (main): Correct parameter.
4228 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
4230         * malloc/obstack.h: Add `extern "C"' protection.
4231         * posix/regex.h: Likewise.
4232         * io/ftw.h: Likewise.
4233         * misc/libgen.h: Likewise.
4234         * login/utmp.h: Likewise.
4235         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
4236         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
4237         * sunrpc/rpc/pmap_rmt.h: Likewise.
4238         * sunrpc/rpc/auth_des.h: Likewise.
4239         * elf/link.h: Likewise.
4240         Reported by HJ Lu.
4242 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
4244         Linux specific network headers.
4245         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
4246         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
4247         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
4248         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
4249         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
4250         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
4251         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
4252         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
4253         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
4254         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
4255         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
4256         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
4257         Add sys/quota.h.
4258         [$(subdir)=inet] (sysdep_headers): Add new network header.
4260         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
4262         * inet/netinet/ip.h: Move to sysdeps/generic.
4263         * inet/netinet/tcp.h: Likewise.
4264         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
4265         * sysdeps/generic/netinet/tcp.h: Likewise.
4267 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
4269         * misc/sys/syslog.h (prioritynames): Correct definition to use
4270         braces where necessary.
4271         (facilitynames): Likewise.
4272         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
4273         Comment and beautify declarations.
4275 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
4277         * inet/Makefile (routines): Add in6_addr, getnameinfo.
4278         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
4279         by Craig Metz.
4280         * inet/in6_addr.c: New file.  IPv6 addressing constants.
4281         * posix/Makefile (routines): Add gai_strerror.
4282         * resolv/netdb.h: Add more constants for IPv6 basic API.
4283         * sysdeps/posix/gai_strerror.c: New file.
4284         * sysdeps/stub/gai_strerror.c New file.
4285         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
4286         basic API.
4288         * sysdeps/posix/getaddrinfo.c: Update from latest version by
4289         Craig Metz and use reentrant getXXbyYY functions.
4291 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
4293         * argp/argp.h: Declare argp_program_version as const char.
4294         * argp/argp-test.c: Likewise
4296         * stdlib/testrand.c (main): Declare main prototype.
4297         * stdlib/testdiv.c (main): Likewise.
4298         * string/testcopy.c (main): Likewise.
4299         * string/test-ffs.c (main): Likewise.
4300         * time/test_time.c (main): Likewise.
4302         * locale/duplocale.c (__duplocale): Return result.
4304 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
4306         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
4307         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
4309         * nss/nss.h: Remove declaration of __nss_shlib_revision.
4310         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
4312 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4314         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
4315         _nss_nis_gethostton_r.
4316         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
4318 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
4320         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
4321         trying to resolv name as numeric IPv6 address.
4322         * nss/digits_dots.c: Likewise.
4324 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
4326         * locale/setlocale.c (setlocale): Don't try to be clever about
4327         unused locales.  When the existence of the locale files isn't
4328         tested the result of setlocale might be different.
4330 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
4332         * locale/setlocale.c (setlocale): Don't increment usage_count of
4333         new locale if it already has the value MAX_USAGE_COUNT (it might
4334         be the C locale data which is read-only).
4336 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
4338         * argp/argp-help.c: Gettextize sources.
4339         * argp/argp-parse.c: Likewise.
4341 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
4343         * features.h (__GLIBC_MINOR__): Bump to 1.
4345         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
4346         * Makefile (distribute): Add xlocale.h.
4347         * locale/Makefile (routines): Add ctype_l.
4348         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
4349         Add __isblank_l, __toascii_l and __isascii_l.
4350         * ctype/ctype.h: Add definitions and declarations for *_l functions.
4351         * locale/Makefile (headers): Add xlocale.h.
4352         (routines): Add newlocale, duplocale, and freelocale.
4353         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
4354         (struct locale_data): Add new fields mmaped and usage_count.
4355         Correct various declarations.
4356         * locale/C-collate.c: Define value for new fields mmaped and
4357         usage_count.
4358         * locale/C-ctype.c: Likewise.
4359         * locale/C-messages.c: Likewise.
4360         * locale/C-monetary.c: Likewise.
4361         * locale/C-numeric.c: Likewise.
4362         * locale/C-time.c: Likewise.
4363         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
4364         usage_count fields.
4365         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
4366         Correct prototypes for __newlocale and __freelocale.
4367         Add prototype for __duplocale.
4368         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
4369         (_nl_remove_locale): New function.
4370         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
4371         * locale/setlocale.c: Likewise.
4372         * locale/weight.h: Change for use with locale objects.
4373         * locale/xlocale.h: New file.  Define __locale_t type.
4374         * locale/newlocale.c: New file.  Create new locale object.
4375         * locale/freelocale.c: New file.  Destroy locale object.
4376         * locale/duplocale.c: New file.  Create copy of locale object.
4377         * stdlib/Makefile (routines): Add strfmon_l.
4378         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
4379         * stdlib/strfmon.c: Add support for use in extended locale model.
4380         * stdlib/strfmon_l.c: New file.
4381         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
4382         * string/strcoll.c: Change for use in extended locale model.
4383         * string/strxfrm.c: Likewise.
4384         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
4385         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
4386         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
4387         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
4388         * wcsmbs/wcscoll.c: Change for use in extended locale model.
4389         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
4390         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
4391         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
4392         and towctrans_l.
4393         * wctype/cname-lookup.h: Prepare for use in extended locale model.
4394         * wctype/iswctype_l.c: New file.  Implement character classification
4395         functions for use with locale objects.
4396         * wctype/wctype.h: Declare functions for use with locale objects.
4397         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
4398         for use with locale objects.
4399         * wctype/wcfuncs_l.c: New file.  Implement wide character
4400         classification functions for use with locale objects.
4401         * wctype/wcextra.c: New file.  Implement real functions for
4402         non-standard classification functions.
4404         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
4405         parameters to ld.so.  Use environment variables.
4406         * elf/ldd.sh.in: Likewise.
4407         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
4408         options.  Instead read environment variables.
4410         * elf/link.h (receiver_fct): Add new argument to take error code.
4411         * elf/dl-error.c (_dl_signal_error): Call receiver function with
4412         another argument.
4414         * elf/dl-object.c (_dl_new_object): Create new object with list of
4415         names in l_libname member.
4416         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
4417         find to object to the list in the link_map variable.
4418         (_dl_map_object): Use _dl_does_name_match_p to compare with all
4419         available names of the object.
4420         Optimize handling of LD_LIBRARY_PATH a bit.
4421         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
4423         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
4425         * elf/Makefile (routines): Add dl-version.
4426         * elf/link.h (hash_name_pair): New type.  Group pointer to string
4427         and its hash value.
4428         (struct link_map): Change l_libname member to be a list of names,
4429         not a single pointer to a name.
4430         Add new members l_nversions and l_versions.
4431         (_dl_does_name_match_p): New function to test for all names of an
4432         object.
4433         Add prototypes for new lookup and versioning functions.
4434         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
4435         when versioned symbol is requested.
4436         (_dl_lookup_symbol): Call do_lookup with another argument.
4437         (_dl_lookup_symbol_skip): Likewise.
4438         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
4439         versioned symbol.
4440         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
4441         _dl_lookup_symbol_skip.
4442         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
4443         _dl_lookup_symbol depending on availability of version information.
4444         * elf/dl-runtime.c (RESOLVE): Likewise.
4445         (fixup): Call elf_machine_relplt with additional argument to point
4446         to versioning information if available.
4447         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
4448         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
4449         for correct versions.
4450         * elf/dl-version.c: New file.  Check library versions and extract
4451         version information for easier access.
4452         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
4453         * elf/dlvsym.c: New file.  Implementation of function similar to
4454         dlsym, but looks for versioned symbol.
4455         * elf/elf.h: Add types and macros for versioning.
4456         * elf/rtld.c (dl_main): Check availability of needed versions.
4457         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
4458         argument for version information.  Call RESOLVE with additional
4459         argument.
4460         * sysdeps/i386/dl-machine.h: Likewise.
4461         * sysdeps/m68k/dl-machine.h: Likewise.
4462         * sysdeps/mips/dl-machine.h: Likewise.
4464         * elf/dlerror.c: Change comment to align with guidelines.
4465         * elf/dlopen.c: Likewise.
4466         * elf/dlsym.c: Likewise.
4468         * locale/programs/localedef.c: Implement --quiet option.
4469         * locale/programs/charset.h: Declare be_quiet variable.
4470         * locale/programs/locfile.h: Likewise.
4471         * locale/programs/charmap.c: Don't print warnings if quiet option
4472         was given.
4473         * locale/programs/ld-collate.c: Likewise.
4474         * locale/programs/ld-ctype.c: Likewise.
4475         * locale/programs/ld-messages.c: Likewise.
4476         * locale/programs/ld-monetary.c: Likewise.
4477         * locale/programs/ld-numeric.c: Likewise.
4478         * locale/programs/ld-time.c: Likewise.
4479         * locale/programs/locfile.c: Likewise.
4481         * Makefile (subdirs): Add argp.
4483         * catgets/catgets.c (catopen): Little code improvement.
4485         * posix/execl.c: Remove restriction to 1024 arguments.
4486         * posix/execle.c: Likewise.
4487         * posix/execlp.c: Likewise.
4489         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
4490         and make regular names weak aliases.
4491         * posix/getopt1.c: Likewise.
4492         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
4493         __ protected forms.
4495         * posix/unistd.h: Add prototype for __sleep.
4496         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
4497         * sysdeps/posix/sleep.c: Likewise.
4498         * sysdeps/stub/sleep.c: Likewise.
4499         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4501         * ctype/ctype-info.c: Update copyright.
4502         * ctype/ctype.c: Likewise.
4503         * ctype/test_ctype.c: Likewise.
4504         * dirent/alphasort.c: Likewise.
4505         * dirent/list.c: Likewise.
4506         * gmon/bb_exit_func.c: Likewise.
4507         * grp/fgetgrent.c: Likewise.
4508         * grp/getgrent.c: Likewise.
4509         * grp/getgrent_r.c: Likewise.
4510         * grp/getgrgid.c: Likewise.
4511         * grp/getgrgid_r.c: Likewise.
4512         * grp/getgrnam.c: Likewise.
4513         * grp/getgrnam_r.c: Likewise.
4514         * hurd/alloc-fd.c: Likewise.
4515         * hurd/catch-exc.c: Likewise.
4516         * hurd/ctty-input.c: Likewise.
4517         * hurd/ctty-output.c: Likewise.
4518         * hurd/dtable.c: Likewise.
4519         * hurd/fchroot.c: Likewise.
4520         * hurd/fd-close.c: Likewise.
4521         * hurd/fd-read.c: Likewise.
4522         * hurd/fd-write.c: Likewise.
4523         * hurd/fopenport.c: Likewise.
4524         * hurd/get-host.c: Likewise.
4525         * hurd/getdport.c: Likewise.
4526         * hurd/getuids.c: Likewise.
4527         * hurd/getumask.c: Likewise.
4528         * hurd/hurd-raise.c: Likewise.
4529         * hurd/hurd.h: Likewise.
4530         * hurd/hurdauth.c: Likewise.
4531         * hurd/hurdexec.c: Likewise.
4532         * hurd/hurdhost.h: Likewise.
4533         * hurd/hurdid.c: Likewise.
4534         * hurd/hurdinit.c: Likewise.
4535         * hurd/hurdioctl.c: Likewise.
4536         * hurd/hurdkill.c: Likewise.
4537         * hurd/hurdlookup.c: Likewise.
4538         * hurd/hurdmsg.c: Likewise.
4539         * hurd/hurdpid.c: Likewise.
4540         * hurd/hurdports.c: Likewise.
4541         * hurd/hurdprio.c: Likewise.
4542         * hurd/hurdrlimit.c: Likewise.
4543         * hurd/hurdsock.c: Likewise.
4544         * hurd/hurdstartup.c: Likewise.
4545         * hurd/hurdstartup.h: Likewise.
4546         * hurd/intern-fd.c: Likewise.
4547         * hurd/intr-msg.c: Likewise.
4548         * hurd/intr-rpc.defs: Likewise.
4549         * hurd/intr-rpc.h: Likewise.
4550         * hurd/msgportdemux.c: Likewise.
4551         * hurd/new-fd.c: Likewise.
4552         * hurd/openport.c: Likewise.
4553         * hurd/pid2task.c: Likewise.
4554         * hurd/port-cleanup.c: Likewise.
4555         * hurd/port2fd.c: Likewise.
4556         * hurd/ports-get.c: Likewise.
4557         * hurd/ports-set.c: Likewise.
4558         * hurd/privports.c: Likewise.
4559         * hurd/report-wait.c: Likewise.
4560         * hurd/set-host.c: Likewise.
4561         * hurd/setauth.c: Likewise.
4562         * hurd/setuids.c: Likewise.
4563         * hurd/siginfo.c: Likewise.
4564         * hurd/sigunwind.c: Likewise.
4565         * hurd/task2pid.c: Likewise.
4566         * hurd/thread-cancel.c: Likewise.
4567         * hurd/thread-self.c: Likewise.
4568         * hurd/vpprintf.c: Likewise.
4569         * hurd/hurd/fd.h: Likewise.
4570         * hurd/hurd/id.h: Likewise.
4571         * hurd/hurd/ioctl.h: Likewise.
4572         * hurd/hurd/lookup.h: Likewise.
4573         * hurd/hurd/port.h: Likewise.
4574         * hurd/hurd/resource.h: Likewise.
4575         * hurd/hurd/threadvar.h: Likewise.
4576         * hurd/hurd/userlink.h: Likewise.
4577         * inet/ether_aton.c: Likewise.
4578         * inet/ether_aton_r.c: Likewise.
4579         * inet/ether_ntoa.c: Likewise.
4580         * inet/ether_ntoa_r.c: Likewise.
4581         * inet/gethstbyad.c: Likewise.
4582         * inet/gethstbyad_r.c: Likewise.
4583         * inet/gethstent.c: Likewise.
4584         * inet/getnetbyad.c: Likewise.
4585         * inet/getnetbyad_r.c: Likewise.
4586         * inet/getnetbynm.c: Likewise.
4587         * inet/getnetbynm_r.c: Likewise.
4588         * inet/getnetent.c: Likewise.
4589         * inet/getnetent_r.c: Likewise.
4590         * inet/getproto.c: Likewise.
4591         * inet/getproto_r.c: Likewise.
4592         * inet/getprtent.c: Likewise.
4593         * inet/getprtent_r.c: Likewise.
4594         * inet/getprtname.c: Likewise.
4595         * inet/getrpcbyname.c: Likewise.
4596         * inet/getrpcbyname_r.c: Likewise.
4597         * inet/getrpcbynumber.c: Likewise.
4598         * inet/getrpcbynumber_r.c: Likewise.
4599         * inet/getrpcent.c: Likewise.
4600         * inet/getrpcent_r.c: Likewise.
4601         * inet/getservent.c: Likewise.
4602         * inet/getservent_r.c: Likewise.
4603         * inet/getsrvbynm.c: Likewise.
4604         * inet/getsrvbynm_r.c: Likewise.
4605         * inet/getsrvbypt.c: Likewise.
4606         * inet/getsrvbypt_r.c: Likewise.
4607         * inet/herrno.c: Likewise.
4608         * inet/netgroup.h: Likewise.
4609         * ient/netinet/ether.h: Likewise.
4610         * intl/bindtextdom.c: Likewise.
4611         * intl/dcgettext.c: Likewise.
4612         * intl/dgettext.c: Likewise.
4613         * intl/gettext.c: Likewise.
4614         * intl/gettext.h: Likewise.
4615         * intl/gettextP.h: Likewise.
4616         * intl/hash-string.h: Likewise.
4617         * intl/loadmsgcat.c: Likewise.
4618         * intl/localealias.c: Likewise.
4619         * intl/textdomain.c: Likewise.
4620         * io/creat.c: Likewise.
4621         * io/getdirname.c: Likewise.
4622         * io/lockf.c: Likewise.
4623         * io/pwd.c: Likewise.
4624         * io/test-utime.c: Likewise.
4625         * locale/categories.def: Likewise.
4626         * locale/codeset_name.c: Likewise.
4627         * locale/lc-collate.c: Likewise.
4628         * locale/lc-ctype.c: Likewise.
4629         * locale/lc-messages.c: Likewise.
4630         * locale/lc-monetary.c: Likewise.
4631         * locale/lc-numeric.c: Likewise.
4632         * locale/lc-time.c: Likewise.
4633         * locale/loadlocale.c: Likewise.
4634         * locale/localeconv.c: Likewise.
4635         * locale/nl_langinfo.c: Likewise.
4636         * locale/setlocale.c: Likewise.
4637         * locale/strlen-hash.h: Likewise.
4638         * locale/programs/charmap-kw.gperf: Likewise.
4639         * locale/programs/charmap-kw.h: Likewise.
4640         * locale/programs/charset.c: Likewise.
4641         * locale/programs/ld-ctype.c: Likewise.
4642         * locale/programs/ld-messages.c: Likewise.
4643         * locale/programs/ld-monetary.c: Likewise.
4644         * locale/programs/linereader.h: Likewise.
4645         * locale/programs/locale-spec.c: Likewise.
4646         * locale/programs/locales.h: Likewise.
4647         * locale/programs/locfile-kw.gperf: Likewise.
4648         * locale/programs/locfile-kw.h: Likewise.
4649         * locale/programs/locfile-token.h: Likewise.
4650         * locale/programs/simple-hash.h: Likewise.
4651         * locale/programs/stringtrans.c: Likewise.
4652         * locale/programs/stringtrans.h: Likewise.
4653         * login/logout.c: Likewise.
4654         * mach/bootprivport.c: Likewise.
4655         * mach/devstream.c: Likewise.
4656         * mach/hello.c: Likewise.
4657         * mach/mach.h: Likewise.
4658         * mach/mach_init.c: Likewise.
4659         * mach/mach_init.h: Likewise.
4660         * mach/mig-alloc.c: Likewise.
4661         * mach/mig-dealloc.c: Likewise.
4662         * mach/mutex-init.c: Likewise.
4663         * mach/mutex-solid.c: Likewise.
4664         * mach/setup-thread.c: Likewise.
4665         * mach/spin-lock.h: Likewise.
4666         * mach/spin-solid.c: Likewise.
4667         * mach/mach/mig_support.h: Likewise.
4668         * md5-crypt/md5-crypt.c: Likewise.
4669         * misc/nlist.h: Likewise.
4670         * nss/nss_files/files-ether.c: Likewise.
4671         * posix/confstr.c: Likewise.
4672         * posix/execl.c: Likewise.
4673         * posix/execle.c: Likewise.
4674         * posix/execlp.c: Likewise.
4675         * posix/execv.c: Likewise.
4676         * posix/execvp.c: Likewise.
4677         * posix/fnmatch.c: Likewise.
4678         * posix/getopt.c: Likewise.
4679         * posix/getopt.h: Likewise.
4680         * posix/getopt1.c: Likewise.
4681         * posix/id.c: Likewise.
4682         * posix/regex.c: Likewise.
4683         * posix/setpgrp.c: Likewise.
4684         * posix/unistd.h: Likewise.
4685         * posix/wordexp.c: Likewise.
4686         * pwd/fgetpwent.c: Likewise.
4687         * pwd/getpwent.c: Likewise.
4688         * pwd/getpwent_r.c: Likewise.
4689         * pwd/getpwnam.c: Likewise.
4690         * pwd/getpwnam_r.c: Likewise.
4691         * pwd/getpwuid.c: Likewise.
4692         * pwd/getpwuid_r.c: Likewise.
4693         * pwd/putpwent.c: Likewise.
4694         * resolv/gethnamaddr.c: Likewise.
4695         * resolv/res_hconf.c: Likewise.
4696         * resolv/res_hconf.h: Likewise.
4697         * setjmp/longjmp.c: Likewise.
4698         * setjmp/sigjmp.c: Likewise.
4699         * setjmp/tst-setjmp.c: Likewise.
4700         * stdio/clearerr.c: Likewise.
4701         * stdio/ferror.c: Likewise.
4702         * stdio/fgetc.c: Likewise.
4703         * stdio/fgetpos.c: Likewise.
4704         * stdio/fgets.c: Likewise.
4705         * stdio/fileno.c: Likewise.
4706         * stdio/fmemopen.c: Likewise.
4707         * stdio/fopen.c: Likewise.
4708         * stdio/fopncook.c: Likewise.
4709         * stdio/fputc.c: Likewise.
4710         * stdio/fputs.c: Likewise.
4711         * stdio/fread.c: Likewise.
4712         * stdio/freopen.c: Likewise.
4713         * stdio/fseek.c: Likewise.
4714         * stdio/fsetpos.c: Likewise.
4715         * stdio/ftell.c: Likewise.
4716         * stdio/fwrite.c: Likewise.
4717         * stdio/getchar.c: Likewise.
4718         * stdio/getdelim.c: Likewise.
4719         * stdio/gets.c: Likewise.
4720         * stdio/glue.c: Likewise.
4721         * stdio/internals.c: Likewise.
4722         * stdio/linewrap.c: Likewise.
4723         * stdio/linewrap.h: Likewise.
4724         * stdio/memstream.c: Likewise.
4725         * stdio/newstream.c: Likewise.
4726         * stdio/putchar.c: Likewise.
4727         * stdio/puts.c: Likewise.
4728         * stdio/rewind.c: Likewise.
4729         * stdio/setbuf.c: Likewise.
4730         * stdio/setbuffer.c: Likewise.
4731         * stdio/setlinebuf.c: Likewise.
4732         * stdio/setvbuf.c: Likewise.
4733         * stdio/ungetc.c: Likewise.
4734         * stdio/vasprintf.c: Likewise.
4735         * stdio/vscanf.c: Likewise.
4736         * stdio/vsnprintf.c: Likewise.
4737         * stdio/vsprintf.c: Likewise.
4738         * stdio/vsscanf.c: Likewise.
4739         * stdio-common/asprintf.c: Likewise.
4740         * stdio-common/dprintf.c: Likewise.
4741         * stdio-common/errnobug.c: Likewise.
4742         * stdio-common/fprintf.c: Likewise.
4743         * stdio-common/getline.c: Likewise.
4744         * stdio-common/getw.c: Likewise.
4745         * stdio-common/perror.c: Likewise.
4746         * stdio-common/psignal.c: Likewise.
4747         * stdio-common/putw.c: Likewise.
4748         * stdio-common/reg-printf.c: Likewise.
4749         * stdio-common/scanf.c: Likewise.
4750         * stdio-common/snprintf.c: Likewise.
4751         * stdio-common/sprintf.c: Likewise.
4752         * stdio-common/tempnam.c: Likewise.
4753         * stdio-common/test_rdwr.c: Likewise.
4754         * stdio-common/tst-fileno.c: Likewise.
4755         * stdio-common/tst-printf.c: Likewise.
4756         * stdio-common/tstgetln.c: Likewise.
4757         * stdio-common/vprintf.c: Likewise.
4758         * stdlib/drand48.c: Likewise.
4759         * stdlib/drand48_r.c: Likewise.
4760         * stdlib/erand48.c: Likewise.
4761         * stdlib/erand48_r.c: Likewise.
4762         * stdlib/exit.h: Likewise.
4763         * stdlib/strtoq.c: Likewise.
4764         * stdlib/strtoul.c: Likewise.
4765         * stdlib/strtouq.c: Likewise.
4766         * stdlib/test-canon.c: Likewise.
4767         * stdlib/testdiv.c: Likewise.
4768         * stdlib/testrand.c: Likewise.
4769         * string/argz-append.c: Likewise.
4770         * string/argz-count.c: Likewise.
4771         * string/argz-create.c: Likewise.
4772         * string/argz-ctsep.c: Likewise.
4773         * string/argz-delete.c: Likewise.
4774         * string/argz-extract.c: Likewise.
4775         * string/argz-insert.c: Likewise.
4776         * string/argz-next.c: Likewise.
4777         * string/argz-stringify.c: Likewise.
4778         * string/basename.c: Likewise.
4779         * string/envz.c: Likewise.
4780         * string/memfrob.c: Likewise.
4781         * string/strcoll.c: Likewise.
4782         * string/strdup.c: Likewise.
4783         * string/string.h: Likewise.
4784         * string/strndup.c: Likewise.
4785         * string/strnlen.c: Likewise.
4786         * string/strsignal.c: Likewise.
4787         * string/strxfrm.c: Likewise.
4788         * string/test-ffs.c: Likewise.
4789         * string/testcopy.c: Likewise.
4790         * sysdeps/generic/enbl-secure.c: Likewise.
4791         * sysdeps/generic/memcopy.h: Likewise.
4792         * sysdeps/generic/stpncpy.c: Likewise.
4793         * sysdeps/generic/strcasecmp.c: Likewise.
4794         * sysdeps/generic/strcat.c: Likewise.
4795         * sysdeps/generic/strchr.c: Likewise.
4796         * sysdeps/generic/strcpy.c: Likewise.
4797         * sysdeps/generic/strcspn.c: Likewise.
4798         * sysdeps/generic/strlen.c: Likewise.
4799         * sysdeps/generic/strncase.c: Likewise.
4800         * sysdeps/generic/strncat.c: Likewise.
4801         * sysdeps/generic/strncpy.c: Likewise.
4802         * sysdeps/generic/strpbrk.c: Likewise.
4803         * sysdeps/generic/strsep.c: Likewise.
4804         * sysdeps/generic/strspn.c: Likewise.
4805         * sysdeps/generic/strstr.c: Likewise.
4806         * sysdeps/generic/strtok.c: Likewise.
4807         * sysdeps/generic/strtok_r.c: Likewise.
4808         * sysdeps/mach/sleep.c: Likewise.
4809         * sysdeps/posix/sleep.c: Likewise.
4810         * sysdeps/stub/sleep.c: Likewise.
4811         * time/date.c: Likewise.
4812         * time/test_time.c: Likewise.
4813         * wcsmbs/wmemcpy.c: Likewise.
4814         * wctye/test_wctype.c: Likewise.
4815         * wctye/towctrans.c: Likewise.
4816         * wctye/wcfuncs.c: Likewise.
4817         * wctye/wctrans.c: Likewise.
4819 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
4821         * argp/Makefile: New file.
4822         * argp/argp.h: Likewise.
4823         * argp/argp-ba.c: Likewise.
4824         * argp/argp-fmtstream.c: Likewise.
4825         * argp/argp-fmtstream.h: Likewise.
4826         * argp/argp-fs-xinl.c: Likewise.
4827         * argp/argp-help.c: Likewise.
4828         * argp/argp-namefrob.h: Likewise.
4829         * argp/argp-parse.c: Likewise.
4830         * argp/argp-pv.c: Likewise.
4831         * argp/argp-pvh.c: Likewise.
4832         * argp/argp-test.c: Likewise.
4833         * argp/argp-xinl.c: Likewise.
4835 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4837         * stdlib/qsort.c: Add prototype for _quicksort.
4839         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
4841         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
4842         from dl-machine.h.
4844 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
4846         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
4847         Allow user to overwrite it.
4849 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
4851         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
4852         versions.  Reported by Andreas Jaeger.
4854 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4856         * time/tzfile.c (__tzfile_read): Change comment to follow
4857         change of 1997-02-12.
4859 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
4861         * time/time.h (__nanosleep): Define only when struct timespec is
4862         also available.
4863         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
4865 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
4867         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
4868         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
4870 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
4872         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
4873         of 1997-02-09 in resolv/gethnamaddr.c.
4875 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
4877         * libio/_G_config.h (_G_wint_t): New.
4879 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4881         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4882         to sizeof (buf.buf) while calling res_search ().
4884 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4886         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4887         val to keydat, stat to status.
4889 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4891         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4893 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
4895         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4896         by Keith Bostic.
4898 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4900         * stdlib/atoll.c: Undefine atoll, not atol.
4902 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4904         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4905         unused arguments of shell script.
4907         * Makeconfig (all-object-suffixes): New variable.
4908         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4909         of $(object-suffixes).
4910         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
4912 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
4914         * string/argz-ctsep.c: Initialize *LEN when successful.
4916 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
4918         * stdio-common/_itoa.h: Update copyright.
4920 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
4922         * version.h (VERSION): Bump to 2.0.2.
4924         * posix/Makefile (routines): Add getopt_init.
4925         * posix/getopt.c: Don't get environment variable with nonoption
4926         flags here.  Depend on __getopt_nonoption_flags variable filled
4927         somewhere else.  This is necessary since the variable must be
4928         removed even when getopt isn't used in case exec(2) gets called.
4929         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
4930         and remove environment variable.
4931         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4932         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4933         * sysdeps/stub/init-first.c: Likewise.
4934         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4936         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4937         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4939         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4940         encryption is wanted.
4942         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4943         * stdio/vsnprintf.c: Likewise.
4944         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4946         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4947         * stdio/vsnprintf.c: Likewise.
4948         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4950 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
4952         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4953         Change PTR to void *.
4954         * sysdeps/posix/vdprintf.c: Change PTR to void *.
4955         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4957 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
4959         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4961 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4963         * rellns-sh: No need to check for existance of first parameter.
4965 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4967         * rellns-sh: No need to check for existance of first parameter.
4969 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4971         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4972         by David Holland <dholland@eecs.harvard.edu>.
4974 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4976         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4977         select, in case it is modified by the latter.
4978         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4979         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4980         * sunrpc/svc_tcp.c (readtcp): Likewise.
4982         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4983         array.
4985         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4986         and gid_t.
4988         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4989         argument.
4991 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4993         * elf/Makefile (extra-objs): Don't zap previous value.
4994         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4995         twice.
4997 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4999         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
5000         braindamage (sigh!).
5002 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
5004         * manual/memory.texi: Correct `copystring' example for obstacks.
5006 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
5008         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
5009         GNU tr don't grok it.
5011 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5013         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
5014         Don't use GNU C extensions.
5015         (CMSG_DATA): Use portable definition.
5017 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
5019         * elf/ldd.bash.in: Add test for read permission and print appropriate
5020         message.  Change warning and error messages to print "ldd: " at start.
5021         * elf/ldd.sh.in: Likewise.
5023         * stdlib/Makefile (routines): Add atoll.
5024         * stdlib/atoll.c: New file.
5025         * stdlib/stdlib.h: Add prototype and optimization for atoll.
5027         * stdlib/a64l.c: Update copyright.
5028         * stdlib/abs.c: Likewise.
5029         * stdlib/atof.c: Likewise.
5030         * stdlib/atoi.c: Likewise.
5031         * stdlib/atol.c: Likewise.
5032         * stdlib/bsearch.c: Likewise.
5033         * stdlib/exit.c: Likewise.
5034         * stdlib/fpioconst.c: Likewise.
5035         * stdlib/fpioconst.h: Likewise.
5036         * stdlib/jrand48.c: Likewise.
5037         * stdlib/jrand48_r.c: Likewise.
5038         * stdlib/labs.c: Likewise.
5039         * stdlib/lcong48.c: Likewise.
5040         * stdlib/lcong48_r.c: Likewise.
5041         * stdlib/llabs.c: Likewise.
5042         * stdlib/lrand48.c: Likewise.
5043         * stdlib/lrand48_r.c: Likewise.
5044         * stdlib/mblen.c: Likewise.
5045         * stdlib/mbstowcs.c: Likewise.
5046         * stdlib/mbtowc.c: Likewise.
5047         * stdlib/mp_clz_tab.c: Likewise.
5048         * stdlib/mrand48.c: Likewise.
5049         * stdlib/mrand48_r.c: Likewise.
5050         * stdlib/msort.c: Likewise.
5051         * stdlib/nrand48.c: Likewise.
5052         * stdlib/nrand48_r.c: Likewise.
5053         * stdlib/qsort.c: Likewise.
5054         * stdlib/rpmatch.c: Likewise.
5055         * stdlib/seed48.c: Likewise.
5056         * stdlib/seed48_r.c: Likewise.
5057         * stdlib/srand48.c: Likewise.
5058         * stdlib/srand48_r.c: Likewise.
5059         * stdlib/strtod.c: Likewise.
5060         * stdlib/wcstombs.c: Likewise.
5061         * stdlib/wctomb.c: Likewise.
5063 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
5065         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
5066         as const.
5068 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
5070         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
5071         including <stddef.h>.
5073 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
5075         * time/Makefile (tzbases, tzlinks): New.
5076         (tzfiles): Changed to $(tzbases) $(tzlinks).
5077         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
5079 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
5081         * Makefile (install): Ignore error from ldconfig.
5083         * time/zic.c (mkdirs): Double check the error return of mkdir ().
5085 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
5087         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
5088         like PPC where va_list is no integral type.
5090 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
5092         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
5093         if nonoption_flags_len == -1.
5095 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
5097         * Version 2.0.1 net release.
5099 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
5101         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
5103 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
5105         * stdlib/getsubopt.c: Don't return `=' for suboption which has
5106         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
5108 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
5110         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
5111         values as in yp.x and yp.h.
5113 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
5115         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
5116         1997-02-03 02:17.  Sun's implementation internally corrects
5117         this bug but we don't want to hide this from the user.
5118         * nis/rpcsvc/yp.h: Likewise.
5120 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5122         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
5123         inclusion.
5125 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5127         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
5128         fixes.
5130 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5132         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
5133         (all-sources, all-headers): Use them instead of $(sources) and
5134         $(headers) when searching in sysdep directories.
5136 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5138         * Makerules (REAL_MAKE_VERSION): Use internal make function
5139         instead of shelling out.
5141 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5143         * time/Makefile (install-test-data): Remove mkdir command, zic can
5144         handle that gracefully.
5146 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5148         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
5149         somehow.
5151 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5153         * sunrpc/Makefile: Check $(cross-compiling) only after including
5154         ../Makeconfig.
5155         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
5156         being considered as a rule.
5157         (generated): Add stamp files before the inclusion of Makerules to
5158         magically mark them as not being intermediate via the `generated'
5159         target.
5161 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
5163         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
5164         entries.  This is still no complete implementation since AUXILIARY
5165         entries in other shared objects are not yet handled.
5167         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
5168         place.
5170         * po/es.po: Update.
5171         * po/fr.po: Update.
5172         * po/nl.po: Update.
5174         * time/Makefile: Better cross-compile support.  Avoid test which
5175         cannot be run.
5176         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
5177         tzfile.h file.
5178         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
5179         in SUID programs.
5180         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
5181         default values as in tzfile.c.
5183         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
5184         tags.
5185         * elf/link.h: Likewise.
5186         * elf/elf.h: Add tag definitions and data structures for versioning.
5188 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
5190         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
5191         "Sun bug".  This is the order of elements also used by 4.4BSD.
5192         * nis/rpcsvc/yp.h: Likewise.
5193         Reported by HJ Lu.
5195 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
5197         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
5198         action.
5200         * Makefile (install): Pass installation directories as arguments
5201         to ldconfig.
5203 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
5205         * malloc/malloc.c (__after_morecore_hook): New variable.
5206         (malloc_extend_top): Call __after_morecore_hook if set.
5207         (main_trim): Likewise.
5208         * malloc/malloc.h: Add declaration of __after_morecore_hook.
5209         Suggested by Marcus Daniels.
5211 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
5213         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
5214         #ifndef NO_THREADS.
5215         (mallinfo): Likewise.
5217         * malloc/malloc.c (__morecore): Make external since it is used in
5218         programs.
5220 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
5222         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
5223         unsigned.
5225 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
5227         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
5228         use t6 as a temporary; it contains bits we still need in $u_head.
5230 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
5232         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
5233         using __ prefix.  Add prototype for log1p.
5235 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
5237         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
5239 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
5241         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
5243 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
5245         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
5246         structure plus related macros.
5247         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
5248         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
5249         (sysdep_routines): Add cmsg_nxthdr.
5250         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
5251         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
5253 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
5255         * time/strftime.c: Define _strftime_copytm without protecting arguments
5256         which breaks the definition.
5258 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
5260         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
5261         definition of type for element.
5263 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
5265         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
5266         constants.
5268 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
5270         * Makefile: Pass PARALLELMFLAGS to sub-makes.
5271         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
5273 1997-01-31  Paul Eggert  <eggert@twinsun.com>
5275         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
5276         Define if _LIBC is defined.
5277         <limits.h>: Include if HAVE_LIMITS_H instead of if
5278         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
5279         <stdlib.h>: Similarly, include if STDC_HEADERS.
5280         (localtime_r): Redo #ifdef to make it clear that glibc has
5281         localtime_r now.
5283 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5285         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
5286         file to avoid unnecessary recompilation.
5288 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5290         * Makefile: Set install-others, not install_others.
5291         (before-compile): Use += to preserve previous value.
5292         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
5293         fix dependency name.
5294         ($(objpfx)lib-names.h): Remove rule.
5295         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
5296         with correct name, using an intermediate stamp file.
5297         (common-generated): Add gnu/lib-names.h.
5298         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
5300 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
5302         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
5303         to prevent warnings on 64 bit systems.
5304         Reported by Paul Wouters <paul@xtdnet.nl>.
5306         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
5307         we assume it works.
5309 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
5311         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
5312         double word boundary before pushing args for main.  This way we
5313         don't get penalties for misaligned memory accesses.  Reported by
5314         Edward Seidl <seidl@janed.com>.
5316         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
5317         Patch by HJ Lu.
5319         * misc/bsd-compat.c: Update copyright.
5320         * misc/efgcvt.c: Likewise.
5321         * misc/efgcvt_r.c: Likewise.
5322         * misc/error.c: Likewise.
5323         * misc/error.h: Likewise.
5324         * misc/fstab.c: Likewise.
5325         * misc/init-misc.c: Likewise.
5326         * misc/lsearch.c: Likewise.
5327         * misc/mntent.c: Likewise.
5328         * misc/qefgcvt.c: Likewise.
5329         * misc/qefgcvt_r.c: Likewise.
5330         * nss/databases.def: Likewise.
5331         * nss/db-Makefile: Likewise.
5332         * nss/ethers-lookup.c: Likewise.
5333         * nss/hosts-lookup.c: Likewise.
5334         * nss/netgrp-lookup.c: Likewise.
5335         * nss/nsswitch.h: Likewise.
5336         * nss/proto-lookup.c: Likewise.
5337         * nss/rpc-lookup.c: Likewise.
5338         * nss/service-lookup.c: Likewise.
5339         * nss/nss_db/db-netgrp.c: Likewise.
5340         * nss/nss_files/files-grp.c: Likewise.
5341         * nss/nss_files/files-hosts.c: Likewise.
5342         * nss/nss_files/files-network.c: Likewise.
5343         * nss/nss_files/files-proto.c: Likewise.
5344         * nss/nss_files/files-pwd.c: Likewise.
5345         * nss/nss_files/files-rpc.c: Likewise.
5346         * nss/nss_files/files-service.c: Likewise.
5347         * nss/nss_files/files-spwd.c: Likewise.
5348         * shadow/fgetspent.c: Likewise.
5349         * shadow/fgetspent_r.c: Likewise.
5350         * shadow/getspent.c: Likewise.
5351         * shadow/getspent_r.c: Likewise.
5352         * shadow/getspnam.c: Likewise.
5353         * shadow/getspnam_r.c: Likewise.
5354         * shadow/putspent.c: Likewise.
5355         * shadow/sgetspent.c: Likewise.
5356         * shadow/sgetspent_r.c: Likewise.
5357         * sysdeps/i386/init-first.c: Likewise.
5358         * sysdeps/unix/i386/sysdep.S: Likewise.
5360         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
5361         prepared to be running in a multi-threaded environment.  Change
5362         to __USE_MISC unless the function is defined in POSIX.1 (in this
5363         case also test for __USE_POSIX).
5364         * dirent/dirent.h: Likewise.
5365         * grp/grp.h: Likewise.
5366         * inet/aliases.h: Likewise.
5367         * libio/libio.h: Likewise.
5368         * libio/stdio.h: Likewise.
5369         * login/utmp.h: Likewise.
5370         * math/mathcalls.h: Likewise.
5371         * misc/mntent.h: Likewise.
5372         * pwd/pwd.h: Likewise.
5373         * resolv/netdb.h: Likewise.
5374         * stdlib/stdlib.h: Likewise.
5375         * string/string.h: Likewise.
5376         * sunrpc/rpc/netdb.h: Likewise.
5377         * sysdeps/generic/crypt.h: Likewise.
5378         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
5379         * time/time.h: Likewise.
5381 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
5383         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
5384         only if not cross compiling.
5386 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
5388         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
5389         NULL.
5390         * sysdeps/posix/sigwait.c: Likewise.
5392 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5394         * Makeconfig ($(common-objpfx)config.make): Depend on
5395         $(..)config.make.in.
5397 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
5399         * sunrpc/Makefile: Don't generate headers derived from .x files when
5400         crosscompiling.
5402 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
5404         * Makefile: Generate gnu/lib-names.h in before-compile.
5405         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
5406         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
5407         to the revision found for LIBNSS_FILES_SO.
5408         (nss_initilized): Removed.  It was tested but never set.
5409         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
5411         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
5412         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
5414         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
5416 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
5418         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
5419         override the definition.
5421 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
5423         * config.make.in (malloc): Remove.
5425 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
5427         * version.h (VERSION): Bump to 2.0.1.
5429         * posix/getopt.c: Handle another problem introduced by the
5430         nonoption_flags array.  We must be able to work with reordered
5431         argv arrays.  Reported by Andreas Schwab.
5433 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
5435         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
5436         stack.
5438 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
5440         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
5441         that it works with yp.h.
5443 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
5445         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
5446         __libc_malloc_initialized so that this variable is not shared with
5447         other users of GNU malloc.
5448         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
5450         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
5452         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
5453         variables to prevent warnings.
5454         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
5455         using attribute regparm.
5456         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
5457         is changed by the resolver code.
5459 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5461         * malloc/malloc.c (weak_variable): Define.
5462         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
5463         __memalign_hook): Make them weak definitions.
5465 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5467         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
5468         limits, correctly take structure padding into account, use correct
5469         offset when resetting the stream, change heuristic to assume an
5470         average name length of 14 characters.
5472 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5474         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
5475         inclusion.
5478 See ChangeLog.6 for earlier changes.